197003 Commits

Author SHA1 Message Date
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
davidcs
66312b96c4 MFC r271728
For ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() check bxe_debug flag before printing error message.

Approved by:	re(gjb)
2014-09-22 21:12:30 +00:00
davidcs
d20542b56a MFC r271727
remove clean option from Makefile

Approved by:	re(gjb)
2014-09-22 20:53:17 +00:00
jhb
09bff45095 MFC 270850,271053,271192,271717:
Save and restore FPU state across suspend and resume on i386.
- Create a separate structure for per-CPU state saved across suspend and
  resume that is a superset of a pcb.
- Store the FPU state for suspend and resume in the new structure
  (for amd64, this moves it out of the PCB)
- On both i386 and amd64, all of the FPU suspend/resume handling is now
  done in C.

Approved by:	re (hrs)
2014-09-22 20:34:36 +00:00
marcel
33a793a3e6 Make sure all memory updates are made visible before we let go
of the thread in cpu_switch(). It's otherwise possible that on
another CPU the thread continues from stale context data.

Note that this is prominent on newer CPUs, like the Montecito,
that really take advantage of the weak memory ordering. First
generation Itanium 2 is not that aggressive and does not need
this.

This is a direct commit to stable/10.

Approved by:	re@ (gjb)
2014-09-22 20:10:45 +00:00
brueffer
c546415691 Spelling, grammar and punctuation fixes.
Approved by:	re (gjb)
2014-09-22 20:04:59 +00:00
emaste
5068586346 MFC r271762: Switch to text mode in UEFI boot
The loader previously failed to display on MacBooks and other
    systems where the UEFI firmware remained in graphics mode.

    Submitted by:       Rafael Espindola

Approved by:	re
2014-09-22 19:56:21 +00:00
davidcs
aba13028ac MFC r271726
remove clean option from Makefile

Approved by: re(gjb)
2014-09-22 19:00:30 +00:00
dumbbell
c0941fa5be vt(4): Merge several bug fixes and improvements
SVN revisions in this MFC:
  271756 271758 271868 271871 271872 271899

Detailed commit list:

r271756:
  vt(4): Fix out-of-bounds array access in VT_ACTIVATE ioctl handling

  CID:		1229964

r271758
  vt(4): Use strncpy() to copy into a fixed-size buffer

  CID:		1230007

r271868:
  vt(4): Remove vt_buf->vb_dirtymask

  This structure and the associated functions were unused since the
  implementation of vd_bitblt_text_t callbacks.

r271871:
  vt(4): Rewrite history scrolling

  It's now possible to scroll up the 500 hard-coded lines of history, not
  just a fraction of them. For instance, one can reach the top of the boot
  process.

  Sometimes, when scrolling or when changing the screen size (by changing
  the font or loading a KMS driver for instance), one could see the
  history cycling (old content appeared below latest lines). This is
  fixed.

  Now, when the resolution changes are more lines can be shown, the
  displayed area is adjusted so that, if the screen was filled with
  content before, it's filled with content after as well: more history
  is visible, instead of having blank lines below the previously visible
  content.

r271872:
  vt(4): Remove superfluous word in comment

  Submitted by:	brueffer@

r271899:
  Make gcc happy by initialising the variable only set in a couple of
  case statements without a default.

Approved by:	re (marius)
2014-09-22 16:13:33 +00:00
bz
1d7a8c573a MFC r271679:
Merge atse(4) interrupt handling and race condition fixes from
  cheribsd.

  Obtained from:	cheribsd
  Submitted by:		rwatson, emaste
Sponsored by:		DARPA/AFRL
Approved by:		re (delphij)
2014-09-22 15:32:31 +00:00
marcel
a6288e6f8d MFC 271482: Add support for adding empty partition entries.
Relnotes:	yes
Approved by:	re@ (gjb)
2014-09-22 15:22:57 +00:00
gjb
d6ca07d629 MFC r271711:
Update the bhyve(8) manual to reflect that it is no
  longer considered 'experimental.'

Approved by:	re (delphij)
Sponsored by:	The FreeBSD Foundation
2014-09-22 14:54:12 +00:00
trasz
bff2829041 MFC r271459:
Fix ACL tests to correctly work with ZFS; previous version used wrong
paths.

PR:		191545
Approved by:	re (gjb)
Sponsored by:	The FreeBSD Foundation
2014-09-22 13:07:55 +00:00
np
ed8e08d5db MFC r271450:
cxgbe(4): knobs to enable/disable PAUSE frame based flow control.

Approved by:	re (glebius)
2014-09-22 13:07:03 +00:00
ray
d214dc3b20 MFC 271381-271382,271385,271463-271466,271485,271506
o Add sysctls to enable/disable potentially dengerous key combinations, like
        reboot/halt/debug.
o Add support for most key combinations supported by syscons(4).
o Some spelling fixes
o Remove stray whitespaces.
o Switch vt(4) to traditional behaviour with copy-paste same as syscons(4) do.
o Fix stray char on paste.
o Fix 'function declaration isn't a prototype' warning.
o vt(4): Enclose vt_mouse_paste() prototype inside #ifndef SC_NO_CUTPASTE/#endif

Approved by:	re (gjb)
Sponsored by:	The FreeBSD Foundation
2014-09-22 10:21:08 +00:00
des
dcca53b69e MFH (r271624): Upgrade to OpenPAM Ourouparia.
Approved by:	re (gjb)
2014-09-22 08:29:48 +00:00
gjb
e34350f59e MFC r271876:
When populating the dvd/packages/ directory, create
  a symlink to All/pkg-*.txz in the Latest/ directory.

  This allows 'pkg bootstrap' to work out-of-box if
  the REPOS_DIR environment is properly set.

Approved by:	re (delphij)
Sponsored by:	The FreeBSD Foundation
2014-09-22 05:00:55 +00:00
mav
0c6538f05f MFC r271797: Make kernel to update LUN size from the backing storage
on configuration reload also if that size was not specified in the new
configuration.

Previously it happened only if size was explicitly changed in config.

Approved by:	re (delphij)
2014-09-21 13:09:05 +00:00
mav
88996dc68a MFC r271794: When updating device media size use cached cdevsw pointer.
Using pointer from the cdev directly is dangerous since we have no
reference on it, and it may change any time.  That caused panic if
device has gone.

While there, report capacity change only if it really changed.

Approved by:	re (dephij)
2014-09-21 12:07:22 +00:00
kib
0d20ed9aa7 MFC r271586:
Fix mis-spelling of bits and types names in the vnode_pager_putpages().

Approved by:	re (delphij)
2014-09-21 09:09:37 +00:00
kib
42e5d75eb4 MFC r271716:
Presence of any VM_PROT bits in the permission argument on x86 implies
that the entry is readable and valid.

Approved by:	re (gjb)
2014-09-20 14:24:48 +00:00
mav
b701075b7b MFC r271702:
Fix tpc_create_token() introduced in r269497 to encode CREATOR LOGICAL
UNIT DESCRIPTOR field as Identification Descriptor CSCD descriptor, not
just as Identification Descriptor.

Approved by:	re (gjb)
2014-09-20 13:48:52 +00:00
mav
9cd8f95281 MFC r271700: Fix typo in defined ROD types in r269497.
Approved by:	re (gjb)
2014-09-20 13:46:16 +00:00
hselasky
a3656a12d1 MFC r271492:
Workaround for receiving Voice Calls using the E1750 dongle from
Huawei. It might appear as if the firmware is allocating memory blocks
according to the USB transfer size and if there is initially a lot of
data, like at the answering machine prompt, it simply dies without any
apparent reason. The simple workaround for this is to force a zero
length packet at hardware level after every 512 bytes of data. This
will force the other side to use smaller memory blocks aswell.

Approved by:    re, gjb
2014-09-20 07:59:34 +00:00
emaste
b462b88810 MFC r271475 by ambrisko:
Add support for serial and null console to UEFI boot loader.

Approved by:	re
2014-09-19 21:30:45 +00:00
gjb
ae99ef305c Update stable/10 to -BETA2 as part of the 10.1-RELEASE
cycle.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-09-19 00:03:25 +00:00