]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
10 years agoMFC 251637:
jhb [Fri, 21 Jun 2013 19:30:32 +0000 (19:30 +0000)]
MFC 251637:
Borrow the algorithm from kvm_getprocs() to fix procstat(1) to handle the
case where the process tables grows in between the calls to fetch the size
and fetch the table.

Note that this is not a true MFC as the libprocstat library doesn't exist
in 8.x and the relevant code is in the procstat binary instead.

git-svn-id: svn://svn.freebsd.org/base/stable/8@252066 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 250333: Don't pad disk partition sizes with leading zeros.
jhb [Fri, 21 Jun 2013 15:30:18 +0000 (15:30 +0000)]
MFC 250333: Don't pad disk partition sizes with leading zeros.

git-svn-id: svn://svn.freebsd.org/base/stable/8@252058 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r249406
gahr [Thu, 20 Jun 2013 16:50:05 +0000 (16:50 +0000)]
MFC: r249406

- Do not bail out if stat(2) fails with ENOENT in the spool directory. This
  happens if another atrm process removes a job while we're scanning through
  the directory.
- While at it, optimize a bit the directory scanning, so that we quit
  looping as soon as all jobs specified in argv have been dealt with.

Approved by: cognet

git-svn-id: svn://svn.freebsd.org/base/stable/8@252034 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251485:
jh [Wed, 19 Jun 2013 18:01:37 +0000 (18:01 +0000)]
MFC r251485:

Revert r238399.

The "failok" option doesn't have any effect at all unless specified in
fstab(5) and combined with the -a flag. The "failok" option is already
documented in fstab(5).

PR: 177630

git-svn-id: svn://svn.freebsd.org/base/stable/8@251999 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251616:
mav [Tue, 18 Jun 2013 09:48:56 +0000 (09:48 +0000)]
MFC r251616:
Don't update provider properties and don't set DISKFLAG_OPEN if d_open()
disk method call returned error.  GEOM considers devices in such case as
still closed, and won't call symmetric d_close() for them.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251932 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r248720:
mav [Tue, 18 Jun 2013 09:36:01 +0000 (09:36 +0000)]
MFC r248720:
Remove extra bio_data and bio_length copying to child request after calling
g_clone_bio(), that already copied them.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251923 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251349:
delphij [Tue, 18 Jun 2013 04:06:12 +0000 (04:06 +0000)]
MFC r251349:

Fix a typo: XPORT_SPI should be tested against transport, nor protocol.

Submitted by: Sascha Wildner <swildner dragonflybsd org>
Reviewed by: mjacob

git-svn-id: svn://svn.freebsd.org/base/stable/8@251892 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251187:
delphij [Tue, 18 Jun 2013 04:04:15 +0000 (04:04 +0000)]
MFC r251187:

Explicitly use a pair of parentheses to ensure correct evaluation
ordering for bitwise operation.

Submitted by: swildner (DragonFly)

git-svn-id: svn://svn.freebsd.org/base/stable/8@251890 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r249252:
ae [Mon, 17 Jun 2013 20:18:12 +0000 (20:18 +0000)]
MFC r249252:
  Remove reference to the nonexistent sysctl node net.inet6.mld.stats.
  Also add cross reference to the icmp6(4).

  PR: 177696

git-svn-id: svn://svn.freebsd.org/base/stable/8@251865 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251659:
mav [Mon, 17 Jun 2013 15:01:40 +0000 (15:01 +0000)]
MFC r251659:
Use CAM_DIR_NONE for requests without data.
Wrong values there confuse some drivers.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251853 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251661:
mav [Mon, 17 Jun 2013 14:56:49 +0000 (14:56 +0000)]
MFC r251661:
Replicate r242422 from ata(4) to mvs(4):
Only four specific ATA PIO commands transfer several sectors per DRQ block
(interrupt).  All other ATA PIO commands transfer one sector or 512 bytes
at one time.  Hardcode these exceptions in mvs(4).
This fixes timeout of READ LOG EXT command used by `smartctl -x /dev/adaX`.
Also it fixes timeout of DOWNLOAD_MICROCODE on `camcontrol fwdownload`.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251851 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251600:
yongari [Mon, 17 Jun 2013 04:42:02 +0000 (04:42 +0000)]
MFC r251600:
  Avoid unnecessary controller reinitialization by checking driver
  running state.  fxp(4) requires controller reinitialization for the
  following cases.
   o RX lockup condition on i82557
   o promiscuous mode change
   o multicast filter change
   o WOL configuration
   o TSO/VLAN hardware tagging/checksum offloading configuration
   o MAC reprogramming after speed/duplex/flow-control resolution
   o Any events that result in MAC reprogramming(link UP/DOWN,
     remote link partner's restart of auto-negotiation etc)
   o Microcode loading/unloading
  Apart from above cases which come from hardware limitation, upper
  stack also blindly reinitializes controller whenever an IP address
  is assigned. After r194573, fxp(4) no longer needs to reinitialize
  the controller to program multicast filter after upping the
  interface. So keeping track of driver running state should remove
  all unnecessary controller reinitializations.

  This change will also address endless controller reinitialization
  triggered by dhclient(8).

git-svn-id: svn://svn.freebsd.org/base/stable/8@251830 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251490:
trociny [Sat, 15 Jun 2013 08:07:47 +0000 (08:07 +0000)]
MFC r251490:

Properly set curvnet context in lagg_port_setlladdr() task handler.

Reported by: Nikos Vassiliadis <nvass gmx.com>
Submitted by: zec
Tested by: Nikos Vassiliadis <nvass gmx.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@251780 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r249623
rmacklem [Sat, 15 Jun 2013 01:35:52 +0000 (01:35 +0000)]
MFC: r249623
Both NFS clients can deadlock when using the "rdirplus" mount
option. This can occur when an nfsiod thread that already holds
a buffer lock attempts to acquire a vnode lock on an entry in
the directory (a LOR) when another thread holding the vnode lock
is waiting on an nfsiod thread. This patch avoids the deadlock by disabling
readahead for this case, so the nfsiod threads never do readdirplus.
Since readaheads for directories need the directory offset cookie
from the previous read, they cannot normally happen in parallel.
As such, testing by jhb@ and myself didn't find any performance
degredation when this patch is applied. If there is a case where
this results in a significant performance degradation, mounting
without the "rdirplus" option can be done to re-enable readahead
for directories.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251768 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 250220:
jhb [Fri, 14 Jun 2013 22:06:45 +0000 (22:06 +0000)]
MFC 250220:
Fix FIONREAD on regular files.  The computed result was being ignored and
it was being passed down to VOP_IOCTL() where it promptly resulted in
ENOTTY due to a missing else for the past 8 years.  While here, use a
shared vnode lock while fetching the current file's size.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251764 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 250053:
jhb [Fri, 14 Jun 2013 20:44:23 +0000 (20:44 +0000)]
MFC 250053:
Only cleanup CMI-related state on detach if the system supports CMI.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251760 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 246619,247187,247265,247348,247398,247540,247585,248265,248267,248571,
mm [Fri, 14 Jun 2013 19:26:32 +0000 (19:26 +0000)]
MFC 246619,247187,247265,247348,247398,247540,247585,248265,248267,248571,
    248976,249004,249042,249047,249188,249195,249196,249206,249207,249319,
    249326,249356,249357,249787,249883,249858

Merge libzfs_core, zfs deadman thread and other ZFS bugfixes and improvements.

MFC r246619:
  Correct spelling of "daemon".  No .Dd bump.
  Noticed by: Nathan Rich <Nathan.Rich dynastysystems com>

MFC r247187:
  Import vendor change to avoid "unitialized variable" warnings.

  Illumos ZFS issues:
  3522 zfs module should not allow uninitialized variables

MFC r247265:
  Merge the ZFS I/O deadman thread from vendor (illumos).
  This feature panics the system on hanging ZFS I/O, helps debugging
  and resumes failed service.

  The panic behavior can be controlled with the loader-only tunables:
  vfs.zfs.deadman_enabled (enable or disable panic on stalled ZFS I/O)
  vfs.zfs.deadman_synctime (expiration time for stalled ZFS I/O)

  By default, ZFS I/O deadman is enabled by default on amd64 and i386
  excluding virtual guest machines.

MFC r247348:
  Be more verbose on ZFS deadman I/O panic
  Patch suggested upstream.

MFC r247398:
  Import metaslab_sync() speedup from vendor (illumos).

  Illumos ZFS issues:
  3552 condensing one space map burns 3 seconds of CPU in spa_sync() thread
  3564 spa_sync() spends 5-10% of its time in metaslab_sync() (when not
condensing)
  3578 transferring the freed map to the defer map should be constant time
  3579 ztest trips assertion in metaslab_weight()

MFC r247540:
  Fix the zfs_ioctl compat layer to support zfs_cmd size change introduced
  in r247265 (ZFS deadman thread). Both new utilities now support the old
  kernel and new kernel properly detects old utilities.

  For future backwards compatibility, the vfs.zfs.version.ioctl read-only
  sysctl has been introduced. With this sysctl zfs utilities will be able
  to detect the ioctl interface version of the currently loaded zfs module.

MFC r247585:
  Merge new read-only zfs properties from vendor (illumos)

  Illumos ZFS issues:
  3588 provide zfs properties for logical (uncompressed) space used and
       referenced

MFC r248265:
  Update zfs.8 manpage date (missing in r247585)

MFC r248267:
  Import minor ZFS changes from vendor

  Illumos ZFS issues:
  3604 zdb should print bpobjs more verbosely (fix zdb hang)
  3606 zpool status -x shouldn't warn about old on-disk format

MFC r248571:
  MFV 238590, 238592:
  In the first zfs ioctl restructuring phase, the libzfs_core library was
  introduced. It is a new thin library that wraps around kernel ioctl's.
  The idea is to provide a forward-compatible way of dealing with new
  features. Arguments are passed in nvlists and not random zfs_cmd fields,
  new-style ioctls are logged to pool history using a new method of
  history logging.

  http://blog.delphix.com/matt/2012/01/17/the-future-of-libzfs/

  MFV 247580 [1]:
  To address issues of several deadlocks and race conditions the locking
  code around dsl_dataset was rewritten and the interface to synctasks
  was changed.

  User-Visible Changes:
  "zfs snapshot" can create more arbitrary snapshots at once (atomically)
  "zfs destroy" destroys multiple snapshots at once
  "zfs recv" has improved performance

  Backward Compatibility:
  I have extended the compatibility layer to support full backward
  compatibility by remapping or rewriting the responsible ioctl arguments.
  Old utilities are fully supported by the new kernel module.

  Forward Compatibility:
  New utilities work with old kernels with the following restrictions:
    - creating, destroying, holding and releasing of multiple snapshots
      at once is not supported, this includes recursive (-r) commands

  Illumos ZFS issues:
    2882 implement libzfs_core
    2900 "zfs snapshot" should be able to create multiple,
         arbitrary snapshots at once
    3464 zfs synctask code needs restructuring

MFC r248976:
  Call dmu_snapshot_list_next() in zvol.c with dsl_pool_config lock held

MFC r249004:
  Do not check against uninitialized rc and comment out vendor code

MFC r249042:
  Fix possible pool hold leak in dmu_send_impl()

  Illumos ZFS issues:
    3645 dmu_send_impl: possibilty of pool hold leak

MFC r249047 (avg):
  spa_open_common: fix argument to zvol_create_minors

  Prior to r248571 spa_open was always called with a bare pool name,
  but now it is called with a dataset name instead (spa_lookup handles
  that).
  So, when a ZFS root is mounted spa_open is called with a name of a root
  dataset, which can very well be different from the pool name.
  But zvol_create_minors should be called with the pool name, because it
  performs a recursive traversal of all datasets under the name to find
  all those that are volumes.

MFC r249188:
  Import vendor change to reduce diff, no effect on FreeBSD.

  Illumos ZFS issues:
    3517 importing pool with autoreplace=on and "hole" vdevs crashes
 syseventd

MFC r249195:
  Merge change from vendor to reduce diff only.
  ZFS dtrace probes are not supported on FreeBSD yet.

  Illumos ZFS issues:
    3598 want to dtrace when errors are generated in zfs

MFC r249196:
  Provide a fix for kernel panic if receiving recursive deduplicated
  streams. Problem reported to vendor.

  Illumos ZFS issues:
    3692 Panic on zfs receive of a recursive deduplicated stream

MFC r249206:
  Merge vendor change - modify time processing in deadman thread.

  Illumos ZFS issues:
    3618 ::zio dcmd does not show timestamp data

MFC r249207:
  Allow zdb to output a histogram of compressed block sizes.

  Illumos ZFS issues:
    3641 want a histogram of compressed block sizes

MFC r249319:
  ZFS expects a copyout of zfs_cmd_t on an ioctl error. Our sys_ioctl()
  doesn't copyout in this case.

  To solve this a new struct zfs_iocparm_t is introduced consisting of:
  - zfs_ioctl_version (future backwards compatibility purposes)
  - user space pointer to zfs_cmd_t (copyin and copyout)
  - size of zfs_cmd_t (verification purposes)

  The copyin and copyout of zfs_cmd_t is now done the illumos (vendor) way
  what makes porting of new changes easier and ensures correct behavior if
  returning an error.

MFC r249326:
  Cast (void *)(uintptr_t) on copyout and copyin of zfs_iocparm_t.zfs_cmd

MFC r249356:
  Merge bugfixes accepted and integrated by vendor. Underlying problems
  have been reported by us and fixed in r240942 and r249196.

  Illumos ZFS issues:
    3645 dmu_send_impl: possibilty of pool hold leak
    3692 Panic on zfs receive of a recursive deduplicated stream

MFC r249357:
  Fix libzfs to report error instead of returning zero if trying to hold or
  release a non-existing snapshot of a existing dataset. In recursive case
  error is reported if no snapshots with the requested name have been found.

  Illumos ZFS issues:
    3699 zfs hold or release of a non-existent snapshot does not output
 error

MFC r249787:
  The zfs synctask code restructuring introduced a new bug that makes it
  impossible to set quota and reservation on pools lower than version 22.
  Problem has been reported and a solution discussed with vendor.

  Illumos ZFS issues:
    3739 cannot set zfs quota or reservation on pool version < 22

MFC r249883:
  Respect the enoent_ok flag if reporting error for holding an non-existing
  snapshot.

  Related illumos ZFS issue:
    3699 zfs hold or release of a non-existent snapshot does not output error

MFC r249858:
  Merge vendor bugfix for a possible deadlock related to async destroy
  and improve write performance by introducing a new lock protecting
  tx_open_txg.

  Illumos ZFS issues:
    3642 dsl_scan_active() should not issue I/O to determine if async
         destroying is active
    3643 txg_delay should not hold the tc_lock

git-svn-id: svn://svn.freebsd.org/base/stable/8@251757 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 249767:
jhb [Fri, 14 Jun 2013 18:42:08 +0000 (18:42 +0000)]
MFC 249767:
- Some BIOSes use an Extended IRQ resource descriptor in _PRS for a link
  that uses non-ISA IRQs but use a plain IRQ resource in _CRS.  However,
  a non-ISA IRQ can't fit into a plain IRQ resource.  If we encounter a
  link like this, build the resource buffer from _PRS instead of _CRS.
- Set the correct size of the end tag in a resource buffer.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251755 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250550:
pfg [Fri, 14 Jun 2013 10:45:31 +0000 (10:45 +0000)]
MFC r250550:

(Missing libcpp merge)

Add support for "d" floating-point suffix, as defined by draft N1312
of TR 24732.

Reported by: dim
Pointy hat: pfg

git-svn-id: svn://svn.freebsd.org/base/stable/8@251746 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250550, r250566;
pfg [Fri, 14 Jun 2013 03:28:29 +0000 (03:28 +0000)]
MFC r250550, r250566;

Update the gcc43 ChangeLog.

Add support for "d" floating-point suffix, as defined by draft N1312
of TR 24732.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251728 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251561:
pfg [Fri, 14 Jun 2013 03:21:53 +0000 (03:21 +0000)]
MFC r251561:

libstand: Reset the seek pointer in ext2fs as done in UFS.

PR: 177328
Submitted by: Eric van Gyzen
Reviewed by: iedowse

git-svn-id: svn://svn.freebsd.org/base/stable/8@251727 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r250177
rmacklem [Fri, 14 Jun 2013 00:33:55 +0000 (00:33 +0000)]
MFC: r250177
Fix the getpwnam_r() call in the pname_to_uid() kerberos library function so
that it handles the ERANGE error return case. Without this fix, authentication
of users for certain system setups could fail unexpectedly.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251722 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r250176
rmacklem [Fri, 14 Jun 2013 00:30:11 +0000 (00:30 +0000)]
MFC: r250176
Fix the getpwuid_r() call in the gssd daemon so that it handles
the ERANGE error return case. Without this fix, authentication
of users for certain system setups could fail unexpectedly.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251721 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r251089
rmacklem [Fri, 14 Jun 2013 00:02:29 +0000 (00:02 +0000)]
MFC: r251089
Add a patch analygous to r248567, r248581, r251079 to the
old NFS client to avoid the panic reported in the PR by
doing the vnode_pager_setsize() call after unlocking the mutex.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251719 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r227183,r229905,r250432,r250451,r250882:
eadler [Thu, 13 Jun 2013 21:06:17 +0000 (21:06 +0000)]
MFC r227183,r229905,r250432,r250451,r250882:

- Add missing static keywords to split(1)

- Fix warning when compiling with gcc46:
 error: variable 'defname' set but not use

- Implement 'split -d' which allows a numeric suffix instead of an
alphabetic one.

- Bump .Dd for recent content change.
Avoid signed overflow in error handling code.

PR: bin/116209

git-svn-id: svn://svn.freebsd.org/base/stable/8@251710 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 249766: Use a higher TTL (128) for DHCP packets.
jhb [Thu, 13 Jun 2013 21:03:23 +0000 (21:03 +0000)]
MFC 249766: Use a higher TTL (128) for DHCP packets.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251708 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 249315:
jhb [Thu, 13 Jun 2013 21:01:33 +0000 (21:01 +0000)]
MFC 249315:
Proxy allocation requests for the PCI ROM BAR from child devices similar
to how the VGA bus driver currently proxies allocation requests for other
PCI BARs.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251706 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250462:
eadler [Thu, 13 Jun 2013 20:46:30 +0000 (20:46 +0000)]
MFC r250462:
Add option to lockf to avoid creating a file if it does not exist.

PR: bin/170775

git-svn-id: svn://svn.freebsd.org/base/stable/8@251705 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251109:
eadler [Thu, 13 Jun 2013 20:41:09 +0000 (20:41 +0000)]
MFC r251109:
Add support for tethering on the iPhone 4S

PR: usb/179078

git-svn-id: svn://svn.freebsd.org/base/stable/8@251702 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 249263: Fix a potential socket leak in the NFS server.
jhb [Thu, 13 Jun 2013 19:35:56 +0000 (19:35 +0000)]
MFC 249263: Fix a potential socket leak in the NFS server.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251699 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoDocument an issue in vtnet(4) + QEMU 1.4.1 or later.
hrs [Thu, 13 Jun 2013 05:51:59 +0000 (05:51 +0000)]
Document an issue in vtnet(4) + QEMU 1.4.1 or later.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251680 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251249, r251251, r251252, r251253, r251254 and r251515:
hselasky [Tue, 11 Jun 2013 06:22:09 +0000 (06:22 +0000)]
MFC r251249, r251251, r251252, r251253, r251254 and r251515:
Correct XHCI DMA descriptor programming.
Correct maximum IRQ rate.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251615 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251324:
kib [Mon, 10 Jun 2013 04:23:11 +0000 (04:23 +0000)]
MFC r251324:
Assert that interrupts are enabled in the trap handlers on x86 before
calling generic code to deliver signals.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251595 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r247221:
markj [Sun, 9 Jun 2013 17:47:16 +0000 (17:47 +0000)]
MFC r247221:
Merge part of r1712 from elftoolchain, making it possible to resize ELF
sections and indirectly change the layout of an ELF file when
ELF_F_LAYOUT is not set.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251583 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years ago- Remove bge(4) item [*].
hrs [Sun, 9 Jun 2013 15:08:51 +0000 (15:08 +0000)]
- Remove bge(4) item [*].
- Add jail_parameters incompatibility.

Discussed with: yongari [*]

git-svn-id: svn://svn.freebsd.org/base/stable/8@251576 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250939:
markj [Sat, 8 Jun 2013 15:48:29 +0000 (15:48 +0000)]
MFC r250939:
Correct the description of the -a option: rtsol(d) -a will in fact send out
router solicitations on multiple interfaces.

MFC r251059:
- Fix wording.
- Improve the descriptions in the FILES section.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251537 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250941:
markj [Sat, 8 Jun 2013 15:47:18 +0000 (15:47 +0000)]
MFC r250941:
Include descriptions of the flags and fields printed when dumping the IPv6
prefix list.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251535 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r235647 for newsyslog (by gleb):
markj [Sat, 8 Jun 2013 15:46:09 +0000 (15:46 +0000)]
MFC r235647 for newsyslog (by gleb):
Hide DIR definition by making it an opaque struct typedef.

Introduce dirfd() libc exported symbol replacing macro with same name,
preserve _dirfd() macro for internal use.

Replace dirp->dd_fd with dirfd() call. Avoid using dirfd as variable
name to prevent shadowing global symbol.

MFC r250545:
Some filesystems (NFS in particular) do not fill out the d_type field when
returning directory entries through readdir(3). In this case we need to
obtain the file type ourselves; otherwise newsyslog -t will not be able to
find archived log files and will fail to both delete old log files and to
do interval-based rotations properly.

MFC r251240:
We want to stat the archived log file rather than the logfile itself.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251533 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoRevert the previous change and fix the tag name.
hrs [Sat, 8 Jun 2013 13:48:27 +0000 (13:48 +0000)]
Revert the previous change and fix the tag name.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251531 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoOne more s/RELEASE_8_4_0/RELENG_8_4_0_RELEASE/
hrs [Sat, 8 Jun 2013 13:45:43 +0000 (13:45 +0000)]
One more s/RELEASE_8_4_0/RELENG_8_4_0_RELEASE/

Spotted by: nyan

git-svn-id: svn://svn.freebsd.org/base/stable/8@251530 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agos/RELEASE_8_4_0/RELENG_8_4_0_RELEASE/
hrs [Sat, 8 Jun 2013 13:40:36 +0000 (13:40 +0000)]
s/RELEASE_8_4_0/RELENG_8_4_0_RELEASE/

Spotted by: nyan

git-svn-id: svn://svn.freebsd.org/base/stable/8@251528 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoDocument that CVS repository is no longer supported.
hrs [Sat, 8 Jun 2013 12:10:52 +0000 (12:10 +0000)]
Document that CVS repository is no longer supported.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251521 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMF9: r237968, r251504:
obrien [Fri, 7 Jun 2013 21:39:46 +0000 (21:39 +0000)]
MF9: r237968, r251504:
   MFC: r251368, r251382: Match the options of the kernel.
   MFC: r237279: install filemon.h into /usr/include for userland consumption.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251511 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoAdd the entry for 8.4-RELEASE.
pluknet [Fri, 7 Jun 2013 15:52:33 +0000 (15:52 +0000)]
Add the entry for 8.4-RELEASE.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251500 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r249895:
smh [Fri, 7 Jun 2013 13:59:41 +0000 (13:59 +0000)]
MFC r249895:
Add Host Protected Area (HPA) support to camcontrol

MFC r249904:
mdoc: remove superfluous paragraph macro.

MFC r249153: (included in r251494)
mdoc: remove superfluous paragraph macro.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251496 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r249115:
smh [Fri, 7 Jun 2013 13:30:59 +0000 (13:30 +0000)]
MFC r249115:
Adds security command to camcontrol which provides the ability to secure erase
SSD's

git-svn-id: svn://svn.freebsd.org/base/stable/8@251494 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251061:
smh [Fri, 7 Jun 2013 12:42:49 +0000 (12:42 +0000)]
MFC r251061:
More 4k quirks for SSD's

git-svn-id: svn://svn.freebsd.org/base/stable/8@251493 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250792:
smh [Fri, 7 Jun 2013 12:33:40 +0000 (12:33 +0000)]
MFC r250792:
Added output of device QUIRKS for CAM and AHCI devices during boot.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251492 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoEnhanced BIO_DELETE support for CAM SCSI to add ATA_TRIM support.
smh [Fri, 7 Jun 2013 12:24:15 +0000 (12:24 +0000)]
Enhanced BIO_DELETE support for CAM SCSI to add ATA_TRIM support.

Disable CAM BIO queue sorting for non-rotating media by default.

MFC r245253 Use sysctl tunable values for scsi_da & retry_count (stable/8 only)
MFC r249939 Added available delete methods discovery during device probe
MFC r249941 Automatically disable BIO queue sorting for non-rotating media
MFC r250033 Correct comment typo's
MFC r250179 Update probe flow so that devices with lbp can also disable disksort
MFC r250181 Check for ATA Information VPD before querying for ATA
MFC r250183 Enable CAM SCSI to choice ATA TRIM during autodetection
MFC r250967 Enforce validation on the selected delete method via sysctl

git-svn-id: svn://svn.freebsd.org/base/stable/8@251491 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoDocument a bge(4) issue.
hrs [Fri, 7 Jun 2013 09:06:50 +0000 (09:06 +0000)]
Document a bge(4) issue.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251489 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r216088:
smh [Thu, 6 Jun 2013 22:31:52 +0000 (22:31 +0000)]
MFC r216088:
Manual partial MFC of only basic VPD support for scsi_xpt

MFC r249937:
Refactored scsi_xpt use of device_has_vpd

git-svn-id: svn://svn.freebsd.org/base/stable/8@251477 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r249934:
smh [Thu, 6 Jun 2013 11:47:54 +0000 (11:47 +0000)]
MFC r249934:
Updated TRIM calculations in cam/ata to be based off ATA_DSM_* defines

git-svn-id: svn://svn.freebsd.org/base/stable/8@251467 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r249933:
smh [Thu, 6 Jun 2013 11:41:22 +0000 (11:41 +0000)]
MFC r249933:
Added the ability to send ATA identify and TRIM commands via SCSI

git-svn-id: svn://svn.freebsd.org/base/stable/8@251466 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r249931:
smh [Thu, 6 Jun 2013 10:27:34 +0000 (10:27 +0000)]
MFC r249931:
Added Dataset Management defines to be used by TRIM

git-svn-id: svn://svn.freebsd.org/base/stable/8@251465 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r249930:
smh [Thu, 6 Jun 2013 10:25:58 +0000 (10:25 +0000)]
MFC r249930:
Added a sysctl to control the maximum size of a delete request

git-svn-id: svn://svn.freebsd.org/base/stable/8@251464 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r248992:
smh [Thu, 6 Jun 2013 10:09:20 +0000 (10:09 +0000)]
MFC r248992:
Added ATA Pass-Through support to CAM

git-svn-id: svn://svn.freebsd.org/base/stable/8@251463 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r248922:
smh [Thu, 6 Jun 2013 10:06:32 +0000 (10:06 +0000)]
MFC r248922:
Adds the ability to enable / disable sorting of BIO requests

git-svn-id: svn://svn.freebsd.org/base/stable/8@251462 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r246146:
smh [Thu, 6 Jun 2013 10:00:22 +0000 (10:00 +0000)]
MFC r246146:
Format CDB output as 2 digit hex correcting the length

git-svn-id: svn://svn.freebsd.org/base/stable/8@251461 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r245253:
smh [Thu, 6 Jun 2013 09:58:23 +0000 (09:58 +0000)]
MFC r245253:
Use sysctl tuneable values for scsi_da and retry_count

git-svn-id: svn://svn.freebsd.org/base/stable/8@251460 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r245252:
smh [Thu, 6 Jun 2013 09:55:00 +0000 (09:55 +0000)]
MFC r245252:
Always maintain disk d_flags

MFC r249929:
Removed unneeded tests in dadeletemethodset

git-svn-id: svn://svn.freebsd.org/base/stable/8@251459 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r245251:
smh [Thu, 6 Jun 2013 09:50:42 +0000 (09:50 +0000)]
MFC r245251:
Remove essentially unused variables from scsi_da probe setups

git-svn-id: svn://svn.freebsd.org/base/stable/8@251458 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r230053:
smh [Thu, 6 Jun 2013 09:45:22 +0000 (09:45 +0000)]
MFC r230053:
BIO_DELETE for SCSI da devices

MFC r239655:
Fix scsi_da's BIO_DELETE->SCSI_UNMAP translation

git-svn-id: svn://svn.freebsd.org/base/stable/8@251457 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r226737:
smh [Thu, 6 Jun 2013 09:23:21 +0000 (09:23 +0000)]
MFC r226737:
Allow upper layers to discover that BIO_DELETE / BIO_FLUSH is not supported.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251456 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r221855:
smh [Thu, 6 Jun 2013 09:13:07 +0000 (09:13 +0000)]
MFC r221855:
Move the ZERO_REGION_SIZE to a machine-dependent

git-svn-id: svn://svn.freebsd.org/base/stable/8@251455 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r221853:
smh [Thu, 6 Jun 2013 08:57:32 +0000 (08:57 +0000)]
MFC r221853:
Global zeros region

git-svn-id: svn://svn.freebsd.org/base/stable/8@251454 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r221229:
smh [Thu, 6 Jun 2013 08:48:02 +0000 (08:48 +0000)]
MFC r221229:
Implement BIO_DELETE for vnode devices

git-svn-id: svn://svn.freebsd.org/base/stable/8@251453 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoUpdate errata document for 8.4R:
hrs [Thu, 6 Jun 2013 06:11:43 +0000 (06:11 +0000)]
Update errata document for 8.4R:

 - dhclient does not work on fxp(4).
 - ZFS pool interoperability issue between 8.4 and 9.[01].

git-svn-id: svn://svn.freebsd.org/base/stable/8@251451 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoRemove obsolete translations.
hrs [Thu, 6 Jun 2013 05:20:05 +0000 (05:20 +0000)]
Remove obsolete translations.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251449 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r250746 and r250805.
hrs [Thu, 6 Jun 2013 05:17:51 +0000 (05:17 +0000)]
MFC: r250746 and r250805.
Fix build after DocBook 4.5 conversion.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251448 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250286:
mav [Wed, 5 Jun 2013 18:49:28 +0000 (18:49 +0000)]
MFC r250286:
Some fixes to snd_envy24ht(4) driver:
 - Allow DMA addresses anywhere in the lower 4GB; Envy24HT has a 32-bit DMA
engine, not 28-bit like Envy24.
 - Mark interrupt handler as MPSAFE, seems to be correctly synchronized.

PR: kern/152378
Submitted by: Jason Harmening <jason.harmening@gmail.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@251428 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r245250:
smh [Wed, 5 Jun 2013 11:37:00 +0000 (11:37 +0000)]
MFC r245250:
Allow perl scripts to be used in rc.d scripts

git-svn-id: svn://svn.freebsd.org/base/stable/8@251413 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r219696:
smh [Wed, 5 Jun 2013 11:28:55 +0000 (11:28 +0000)]
MFC r219696:
Add ZFS to UFS-like file systems.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251412 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r244194:
smh [Wed, 5 Jun 2013 11:23:10 +0000 (11:23 +0000)]
MFC r244194:
Fixe zfs receive errors caused by snapshot replication being processed in
random order.

PR: kern/172259

git-svn-id: svn://svn.freebsd.org/base/stable/8@251411 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r245479:
smh [Wed, 5 Jun 2013 11:16:17 +0000 (11:16 +0000)]
MFC r245479:
Report pools which have a removed l2cache disk under zpool status -x

git-svn-id: svn://svn.freebsd.org/base/stable/8@251410 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250206:
smh [Wed, 5 Jun 2013 10:53:27 +0000 (10:53 +0000)]
MFC r250206:
Fix uninitialized warning in mps

git-svn-id: svn://svn.freebsd.org/base/stable/8@251409 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r248579:
smh [Wed, 5 Jun 2013 10:37:27 +0000 (10:37 +0000)]
MFC r248579:
Add missing descriptions for ZFS sysctls

git-svn-id: svn://svn.freebsd.org/base/stable/8@251408 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r247426:
smh [Wed, 5 Jun 2013 10:19:21 +0000 (10:19 +0000)]
MFC r247426:
Add hw.mfi.cmd_timeout loader / sysctl tuneable.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251407 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251039:
kib [Mon, 3 Jun 2013 18:17:47 +0000 (18:17 +0000)]
MFC r251039:
Use slightly more idiomatic expression to get the address of array.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251332 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251038:
kib [Mon, 3 Jun 2013 18:15:48 +0000 (18:15 +0000)]
MFC r251038:
Use _MC_IA32_HASFPXSTATE name instead of _MC_HASFPXSTATE.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251331 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251037:
kib [Mon, 3 Jun 2013 18:13:25 +0000 (18:13 +0000)]
MFC r251037:
The ia32_get_mcontext() does not need to set PCB_FULL_IRET.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251329 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 248200: Remove fortunes-o from the base system.
jhb [Mon, 3 Jun 2013 17:34:48 +0000 (17:34 +0000)]
MFC 248200: Remove fortunes-o from the base system.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251320 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r251033:
kib [Mon, 3 Jun 2013 17:13:37 +0000 (17:13 +0000)]
MFC r251033:
When handling an exception from the attempt from loading the faulting
context on return from the trap handler, re-enable the interrupts on
i386 and amd64.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251313 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 248167:
jhb [Mon, 3 Jun 2013 17:07:57 +0000 (17:07 +0000)]
MFC 248167:
Fix the 'C' field for a running thread to match the behavior described
in the manpage by having it display the current CPU (ki_oncpu) rather
than the previously used CPU (ki_lastcpu).  ki_lastcpu is still used for
all other thread states.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251312 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r251186
jkim [Mon, 3 Jun 2013 16:47:46 +0000 (16:47 +0000)]
MFC: r251186

Fix a long standing logic bug introduced in r167814.  The code was added to
get RSDP from loader(8) hint via kenv(2) but the bug nullified the new code
and we always fell back to the previous method, i. e., sysctlbyname(3).

git-svn-id: svn://svn.freebsd.org/base/stable/8@251308 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250868: Remove an extra semicolon from the DOT language output.
jh [Mon, 3 Jun 2013 16:10:30 +0000 (16:10 +0000)]
MFC r250868: Remove an extra semicolon from the DOT language output.

PR: kern/178540

git-svn-id: svn://svn.freebsd.org/base/stable/8@251304 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoSince release/8.4.0 tag is created, make stable/8 -STABLE again.
gjb [Sun, 2 Jun 2013 17:03:11 +0000 (17:03 +0000)]
Since release/8.4.0 tag is created, make stable/8 -STABLE again.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@251260 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250050:
delphij [Thu, 30 May 2013 21:50:25 +0000 (21:50 +0000)]
MFC r250050:

Add missing braces.

Submitted by: Sascha Wildner <saw online de>
Obtained from: DragonFly

git-svn-id: svn://svn.freebsd.org/base/stable/8@251163 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: less v458.
delphij [Thu, 30 May 2013 20:42:51 +0000 (20:42 +0000)]
MFC: less v458.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251155 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 249566-249567:
jhb [Thu, 30 May 2013 20:11:31 +0000 (20:11 +0000)]
MFC 249566-249567:
Document that sem_wait() can fail with EINTR if it is interrupted by a
signal.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251153 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 246417,247116,248584:
jhb [Thu, 30 May 2013 19:24:29 +0000 (19:24 +0000)]
MFC 246417,247116,248584:
Rework the handling of stop signals in the NFS client.  The changes in
195702, 195703, and 195821 prevented a thread from suspending while holding
locks inside of NFS by forcing the thread to fail sleeps with EINTR or
ERESTART but defer the thread suspension to the user boundary.  However,
this had the effect that stopping a process during an NFS request could
abort the request and trigger EINTR errors that were visible to userland
processes (previously the thread would have suspended and completed the
request once it was resumed).

This change instead effectively masks stop signals while in the NFS client.
It uses the existing TDF_SBDRY flag to effect this since SIGSTOP cannot
be masked directly.  Instead of setting PBDRY on individual sleeps, change
the VFS_*() and VOP_*() methods to defer stop signals for filesystems which
request this behavior via a new VFCF_SBDRY flag.  Note that this has to be
a VFC flag rather than a MNTK flag so that it works properly with
VFS_MOUNT() when the mount is not yet fully constructed.  For now, only the
NFS clients set this new flag in VFS_SET().

A few other related changes:
- Add an assertion to ensure that TDF_SBDRY doesn't leak to userland.
- When a lookup request uses VOP_READLINK() to follow a symlink, mark
  the request as being on behalf of the thread performing the lookup
  (cnp_thread) rather than using a NULL thread pointer.  This causes
  NFS to properly handle signals during this VOP on an interruptible
  mount.
- Ignore thread suspend requests due to SIGSTOP if stop signals are
  currently deferred.  This can occur if a process is stopped via
  SIGSTOP while a thread is running or runnable but before it has set
  TDF_SBDRY.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251148 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoRevert my previous merge. There's a variable name difference between head
markj [Wed, 29 May 2013 22:29:33 +0000 (22:29 +0000)]
Revert my previous merge. There's a variable name difference between head
and stable (dirfd vs. dir_fd) and I managed to get it wrong again when I
did the MFC, even after I tested.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251112 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250545:
markj [Wed, 29 May 2013 21:08:23 +0000 (21:08 +0000)]
MFC r250545:
  Some filesystems (NFS in particular) do not fill out the d_type field when
  returning directory entries through readdir(3). In this case we need to
  obtain the file type ourselves; otherwise newsyslog -t will not be able to
  find archived log files and will fail to both delete old log files and to
  do interval-based rotations properly.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251111 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFH r250595:
bdrewery [Wed, 29 May 2013 17:31:34 +0000 (17:31 +0000)]
MFH r250595:
  The HPN patch added a new BUG bit for SSH_BUG_LARGEWINDOW
  and the update to 6.1 added SSH_BUG_DYNAMIC_RPORT with the
  same value.

  Fix the HPN SSH_BUG_LARGEWINDOW bit so it is unique.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251106 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMF9 (r248915): remove harmless duplicate entry for VersionAddendum.
des [Wed, 29 May 2013 16:55:33 +0000 (16:55 +0000)]
MF9 (r248915): remove harmless duplicate entry for VersionAddendum.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251104 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250508:
mav [Wed, 29 May 2013 04:18:02 +0000 (04:18 +0000)]
MFC r250508:
Disable sending Early R_OK on SiI3726/SiI3826 port multipliers.
With "cached read" HDD testing and multiple ports busy on a SATA
host controller, 3726/3826 PMP will very rarely drop a deferred
R_OK that was intended for the host. Symptom will be all 5 drives
under test will timeout, get reset, and recover.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251097 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250819:
mav [Wed, 29 May 2013 04:14:41 +0000 (04:14 +0000)]
MFC r250819:
Fix vdc->Secondary_Element_Count metadata field access from 16 to 8 bit.
In some cases it could cause kernel panic during failed drive replacement.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251095 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r250900:
mav [Wed, 29 May 2013 04:10:57 +0000 (04:10 +0000)]
MFC r250900:
Fix NULL-dereference kernel panic in case of mps_attach() failure.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251093 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 247332:
jhb [Tue, 28 May 2013 18:43:58 +0000 (18:43 +0000)]
MFC 247332:
Add a quirk to disable this driver for certain older laptops with an ICH2
southbridge and an Intel 82815_MC host bridge where the host bridge's
revision is less than 5

git-svn-id: svn://svn.freebsd.org/base/stable/8@251064 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC of 250708:
mckusick [Mon, 27 May 2013 22:41:43 +0000 (22:41 +0000)]
MFC of 250708:

Clean up trailing whitespace.

Submitted by: Andy Kosela

MFC of 250710: (delete addition of -k which does not exist in 8-stable)

When running the -m option to generate a newfs(8) command suitable for
recreating the filesystem, check for and output the -i, -k, and -l
options if appropriate.

Note the remaining deficiencies of the -m option in the dumpfs(8)
manual page. Specifically that newfs(8) options -E, -R, -S, and -T
options are not handled and that -p is not useful so is omitted.
Also document that newfs(8) options -n and -r are neither checked
for nor output but should be. The -r flag is needed if the filesystem
uses gjournal(8).

PR:           bin/163992
Reported by:  Dieter <freebsd@sopwith.solgatos.com>
Submitted by: Andy Kosela <akosela@andykosela.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@251045 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoPreparation for MFC revs r248291 and r249741:
marck [Mon, 27 May 2013 13:51:57 +0000 (13:51 +0000)]
Preparation for MFC revs r248291 and r249741:

Add 'list' command, for now the exact equivalent of 'status',
so users of the latter could change their scripts.

This is direct commit to stable, and is temporary.

Requested by: Pete French <petefrench@ingresso.co.uk>
Approved by: trociny
2B cleaned after: 6 weeks

git-svn-id: svn://svn.freebsd.org/base/stable/8@251026 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f