Commit Graph

197028 Commits

Author SHA1 Message Date
emaste
82aeda321d MFC r272105: Remove duplicated header content
Approved by:	re (gjb, kib)
2014-09-30 13:56:32 +00:00
wblock
37636a7bdc MFC r272137:
Revised to better point to release notes and errata, security
advisories, and be more specific about the -questions list.

Approved by:	re (gjb)
2014-09-28 23:15:18 +00:00
kib
2a73c68cd0 MFC r272132:
Fix fcntl(2) compat32 after r270691.

Approved by:	re (glebius)
2014-09-28 11:08:32 +00:00
dteske
faff28354b MFC revisions 268999, 269027, 269351-269352, 269354, 269460, 270283,
270505, 270954, and 270989:
r268999: Add new bsdconfig example scripts; remove obsolete ones
r269027: Update bsdconfig dot module; fixes and enhancements
r269351: Add setvar() for non-FreeBSD platforms using bash as /bin/sh
r269352: Fix syntax error when run under bash
r269354: Update setvar() function introduced in r269351
r269460: Update f_xdialog_info() in bsdconfig's dialog.subr include
r270283: Add `-A' flag to pkg-install(8) when installing dependencies
r270505: Optimize f_which() to be slightly faster still (common.subr)
r270954: Update f_dialog_init() for safer getopts usage (dialog.subr)
r270989: Fix for previously mentioned r270954

Approved by:	re (gjb)
2014-09-27 23:57:21 +00:00
smh
881bf9eca2 MFC r272071:
Fix ticks wrap issue of lowmem test in vm_pageout_scan

Approved by:	re (kib)
Sponsored by:	Multiplay
2014-09-27 18:20:45 +00:00
hselasky
b68daa4fac MFC r271874:
Add new USB IDs.

PR:		193775
Approved by:	re, gjb
2014-09-27 18:08:39 +00:00
mav
e094f2b407 MFC r272059:
Remake Linux' SOUND_MIXER_INFO IOCTL as a wrapper around new FreeBSD's one.

Submitted by:	Dmitry Luhtionov <dmitryluhtionov@gmail.com>

Approved by:	re (kib)
2014-09-27 08:33:50 +00:00
mav
5df569ca0a MFC r272040:
When reporting some major UNIT ATTENTION condition, like POWER ON OCCURRED
or I_T NEXUS LOSS, clear all minor UAs for the LUN, redundant in this case.

All SAM specifications tell that target MAY do it, but libiscsi initiator
seems require it to be done, terminating connection with error if some more
UAs happen to be reported during iSCSI connection.

Approved by:	re (gjb)
2014-09-27 08:14:15 +00:00
kib
6a9b8ab035 MFC r272036:
Avoid calling vm_map_pmap_enter() for the MADV_WILLNEED on the wired
entry, the pages must be already mapped.

Approved by:	re (gjb)
2014-09-27 07:54:27 +00:00
dteske
48d7d19be1 MFC revisions 271553, 271567:
r271553: Rename choices in partitioning method dialog (nwhitehorn)
r271567: ZFS support isn't actually experimental anymore (nwhitehorn)

Approved by:	re (gjb)
2014-09-27 01:50:03 +00:00
dteske
786740ec0a MFC revisions 262864-262865, 263114, 267970:
r262864: Stop pw(8) from segfaulting when given certain input (julian)
r262865: Part 2 of bug 187310 (julian)
r263114: Fix pw(8) edge-case deletion of group "username" on userdel
r267970: Fix infinite-loop during deletion of users from groups

PR:		187310, 169471, 191427
Submitted by:	Voradesh Yenbut, Alexander Pyhalov, Kim Shrier
Obtained from:	bug
Approved by:	re (gjb)
2014-09-26 23:01:27 +00:00
dteske
b381042f0d MFC revisions 268860, 268863:
r268860: Minor enhancements, bug fixes, and man-page adjustments.
r268863: Bump .Dd in manual

Reported by:	lme
Approved by:	re (gjb)
2014-09-26 22:54:10 +00:00
mjg
c60179fc3c MFC r270993:
Fix up proc_realparent to always return correct process.

Prior to the change it would always return initproc for non-traced processes.

This fixes a regression in inferior().

Approved by:	re (marius)
2014-09-26 20:05:28 +00:00
gjb
f86886920c Forced commit to mark the real 10.1-BETA3 point, after
r272152.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-26 09:52:39 +00:00
gjb
91dd3107b1 Properly revert r272128.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-26 03:03:58 +00:00
gjb
d7f7435644 Revert r272149, which introduces obscure vestiges from the
r272128 reversal.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-26 02:30:47 +00:00
gjb
8c4f6ee128 Forced commit to reflect the real 10.1-BETA3 point.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-26 01:14:11 +00:00
gjb
9ffa63da8b Revert r272128:
Though this passes the buildworld test, this fails during
  installworld with:

  make[3]: "/releng/scripts-release/chroots/10/i386/release/etc/devd/Makefile"
  line 13: Malformed conditional (${MK_HYPERV} != "no")

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-26 01:08:31 +00:00
gjb
b4e7c78b8f Update stable/10 to -BETA3 as part of the 10.1-RELEASE
cycle.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-26 00:00:13 +00:00
grehan
2a5b8e77b1 MFC r272007
Correct display of bhyve SMBIOS UUIDs with dmidecode by bumping the version.

The mixed little/big-endianness of SMBIOS UUIDs was clarified in v2.6
of the SMBIOS spec. dmidecode uses the reported version of SMBIOS to
determine the layout and what to byte-swap.

bhyve's SMBIOS reported as 2.4 though it implemented the 2.6-style of
memory layout. This resulted in dmidecode reporting a different
UUID than one passed in via the -U option.

Fix by exporting a version of 2.6.

Approved by:	re (gjb)
2014-09-25 23:09:35 +00:00
delphij
fae0398507 MFC r271227: MFV r271225:
Iterate through all the children instead of returning error when we hit
the first error.  This makes the error message give more information
rather than just the first device that causes problem.

Illumos issue:
    5118 When verifying or creating a storage pool, error messages only
       show one device

Approved by:	re (gjb)
2014-09-25 21:45:07 +00:00
delphij
085d517a22 MFC r271536: MFV r271518:
Correctly report hole at end of file.

When asked to find a hole, the DMU sees that there are no holes in the
object, and returns ESRCH.  The ZPL interprets this as "no holes before
the end of the file", and therefore inserts the "virtual hole" at the
end of the file.  Because DMU and ZPL have different ideas of where the
end of an object/file is, we will end up returning the end of file,
which is generally larger, instead of returning the end of object.

The fix is to handle the "virtual hole" in the DMU. If no hole is found,
the DMU will return a hole at the end of the file, rather than an error.

Illumos issue:
    5139 SEEK_HOLE failed to report a hole at end of file

Approved by:	re (gjb)
2014-09-25 21:28:19 +00:00
delphij
93af829dad MFC r271534: MFV r271517:
In zil_claim, don't issue warning if we get EBUSY (inconsistent) when
opening an objset, instead, ignore it silently.

Illumos issue:

    5140 message about "%recv could not be opened" is printed when
         booting after crash

Approved by:	re (gjb)
2014-09-25 21:07:30 +00:00
delphij
add3b90199 Regen.
This is a direct commit to stable/10 instead of a MFC of
r271494.

Approved by:	re (gjb)
2014-09-25 20:56:05 +00:00
delphij
8e573ba7c9 MFC r271493,271688,271689,271696,271854:
Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,
many thanks for their continued support of FreeBSD.

While I'm there, also implement a new build knob, WITHOUT_HYPERV to
disable building and installing of the HyperV utilities when necessary.

The HyperV utilities are only built for i386 and amd64 targets.

Approved by:	re (gjb)
2014-09-25 20:34:13 +00:00
trasz
bb5379e9a2 MFC r271259:
Make it possible to use empty user name ("-U ''") for mount_smbfs(8).
It's just like "-U guest", except that it actually works, at least
with Samba 4, which seems to return authentication failure for "-U guest".

Approved by:	re (gjb)
Sponsored by:	The FreeBSD Foundation
2014-09-25 17:59:00 +00:00
trasz
7688b8f62e MFC r271258:
Make mount_smbfs(8) preserve the "automounted" mount flag.

The issue here is that we have to pass this flag as a string,
in iov, because it doesn't fit in mntflags, which is an int.

Approved by:	re (gjb)
Sponsored by:	The FreeBSD Foundation
2014-09-25 17:47:26 +00:00
trasz
ac1ecb285f MFC r272037:
Fix thinko that, with two map entries like shown below, in that order,
made automountd(8) mix them up: trying to access the second one would
trigger mount for the first one.

foo             host:/foo
foobar          host:/foobar

PR:		193584
Approved by:	re (gjb)
Sponsored by:	The FreeBSD Foundation
2014-09-25 17:38:42 +00:00
trasz
22dfed7064 MFC r272025:
Fix thinko that, with two map entries like shown below, in that order,
made autofs mix them up: the second one wasn't visible in ls(1) output,
and trying to access it would trigger mount for the first one.

foobar          host:/foobar
foo             host:/foo

Approved by:	re (gjb)
Sponsored by:	The FreeBSD Foundation
2014-09-25 17:28:29 +00:00
gjb
b5e5f060ae Document r271947, OpenPAM updated to Ourouparia (20140912).
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-25 16:48:23 +00:00
gjb
d1d1b8fe18 Document r271943, Latest/pkg.txz symlink included on the DVD to
make bootstrapping pkg(8) easier.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-25 16:48:21 +00:00
gjb
74ceae8d3b Document r271880, serial and null console support added to UEFI
boot loader.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-25 16:48:19 +00:00
se
0ccdbbebd3 MFC r271958:
Permit use of "no" as specification of a Norwegian keymap file.
Only "keymap=NO" (the default in defaults/rc.conf) or "keymap="
(an empty value) will prevent loading of a keymap file.

Approved by:	re (gjb)
2014-09-25 16:35:19 +00:00
ray
878cc3db14 MFC r268981
Remove #ifdef-s to reduce difference to upstream.

Pointed by:     kib
Approved by:    re (glebius)

Sponsored by:	The FreeBSD Foundation
2014-09-25 13:08:31 +00:00
mav
5f1a68aede MFC r271957: Fix read overrun handling, broken by using wrong variable.
Approved by:	re (marius)
2014-09-25 09:12:11 +00:00
mav
9f773a51bb MFC r271949:
Fix UNMAP stuck if the last block descriptor in the list is empty.

Approved by:	re (glebius)
2014-09-25 09:11:01 +00:00
hselasky
fd7a3a7bfd MFC r271953:
Some XHCI hardware requires dropping the endpoint context before
adding it again.

Approved by:	re, glebius
2014-09-25 07:37:41 +00:00
peter
e2c082688a MFC r269392: Add /usr/lib32/compat to the default ld-elf32.so.1 path.
Approved by:	re (gjb, delphij)
2014-09-24 19:30:36 +00:00
smh
971865d1c7 MFC r271934:
Output boot code warning when zpool upgrade -a is used to add features.

PR:		188328
Approved by:	re (marius)
Sponsored by:	Multiplay
2014-09-24 09:59:48 +00:00
rodrigc
75fc77c650 MFC r271447, r271496
- Attach the ISO to an ahci-cd emulated device
 - Propagate the error status of /usr/sbin/bhyve

Approved by:re (delphij)
2014-09-24 07:29:07 +00:00
smh
a5b312526c MFC r271429, r271882:
Add support for controlling mfi(4) controller properties

Approved by:	re (glebius)
Sponsored by:	Multiplay
2014-09-23 21:38:05 +00:00
marcel
0eb256ebfd MFC 271881: Fix partition alignment and image rounding when any of
-P (block size),  -T (track size) or -H (number of heads) is given.

Approved by:	re@ (gjb)
2014-09-23 16:05:23 +00:00
bz
26cc830ced This is a direct commit rather than an MFC of r271744.
Re-gen after r272020 (r271743 in head) implementing most of
  timer_{create,settime,gettime,getoverrun,delete}.

Approved by:	re (gjb)
Sponsored by:	DARPA/AFRL
2014-09-23 07:53:32 +00:00
bz
cbd13542a7 MFC r271743:
Implement most of timer_{create,settime,gettime,getoverrun,delete}
  for amd64/linux32.  Fix the entirely bogus (untested) version from
  r161310 for i386/linux using the same shared code in compat/linux.

  It is unclear to me if we could support more clock mappings but
  the current set allows me to successfully run commercial
  32bit linux software under linuxolator on amd64.

  Reviewed by:			jhb
  Differential Revision:	D784
Sponsored by:			DARPA, AFRL
Approved by:			re (gjb)
2014-09-23 07:50:04 +00:00
gjb
1dbb0a1907 Document r272006, GEOM_ELI passphrase caching on boot with multiple
providers.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:18 +00:00
gjb
d7e6a9f504 Document r271967, mkimg(1) empty partition support.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:16 +00:00
gjb
d63d137b6a Add sponsor attribution for r271470
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:13 +00:00
gjb
d36a045e13 Document r271816, drm/i915 HW context support.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:11 +00:00
gjb
66a7fec3b0 Document r271470, addition of BIOS- and UEFI-capable CDROM images.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-23 01:18:09 +00:00
cperciva
925d357775 MFC r271664:
Cache GELI passphrases entered at the console during the boot process,
  in order to improve user-friendliness when a system has multiple disks
  encrypted using the same passphrase.

Relnotes:	yes
Approved by:	re (gjb)
2014-09-23 00:43:18 +00:00