]> CyberLeo.Net >> Repos - FreeBSD/releng/9.1.git/log
FreeBSD/releng/9.1.git
11 years agoMFC r241096:
gabor [Thu, 11 Oct 2012 15:49:42 +0000 (15:49 +0000)]
MFC r241096:
  - Rename files to track the XML migration in the doc tree and make the
    release notes build again

Approved by: re (hrs)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241445 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r241414:
delphij [Wed, 10 Oct 2012 20:37:57 +0000 (20:37 +0000)]
MFC r241414:

Upgrade to 9.8.3-P4:

Prevents a lockup when queried a deliberately constructed combination
of records. [CVE-2012-5166]

For more information: https://kb.isc.org/article/AA-00801

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241417 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r240985 from head:
glebius [Tue, 2 Oct 2012 13:03:11 +0000 (13:03 +0000)]
Merge r240985 from head:
  Fix bug in TCP_KEEPCNT setting, which slipped in in the last round
  of reviewing of r231025.

  Unlike other options from this family TCP_KEEPCNT doesn't specify
  time interval, but a count, thus parameter supplied doesn't need
  to be multiplied by hz.

  Reported & tested by:       amdmi3

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241133 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240917:
mav [Mon, 1 Oct 2012 10:52:10 +0000 (10:52 +0000)]
MFC r240917:
Reduce delays in several wait loops from 10ms to 10us, same is it is
done in Linux. This substantially increases graphics performance on Ivy
Bridge.

Submitted by: avg@
Reviewed by: kib@
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241093 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240884:
mav [Thu, 27 Sep 2012 08:24:34 +0000 (08:24 +0000)]
MFC r240884:
Fix panic caused by wrong pointer dereference, left after pin sense rewrite
at r230551.

Also while there, make sense polling use reported for each node separately
instead of reporting accumulated total status.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240988 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoReady for 9.1-RC2 builds.
kensmith [Wed, 26 Sep 2012 14:29:15 +0000 (14:29 +0000)]
Ready for 9.1-RC2 builds.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240964 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 240729 (dougb):
delphij [Sat, 22 Sep 2012 08:48:26 +0000 (08:48 +0000)]
MFC 240729 (dougb):

Upgrade to 9.8.3-P3:

Prevents a crash when queried for a record whose RDATA exceeds
65535 bytes.

Prevents a crash when validating caused by using "Bad cache" data
before it has been initialized.

ISC_QUEUE handling for recursive clients was updated to address
a race condition that could cause a memory leak. This rarely
occurred with UDP clients, but could be a significant problem
for a server handling a steady rate of TCP queries.

A condition has been corrected where improper handling of
zero-length RDATA could cause undesirable behavior, including
termination of the named process.

For more information: https://kb.isc.org/article/AA-00788

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240808 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240079:
delphij [Thu, 20 Sep 2012 17:30:26 +0000 (17:30 +0000)]
MFC r240079:

Update arcmsr(4) to vendor version 1.20.00.25.

Many thanks to Areca for continuing to support FreeBSD.

Submitted by: Ching-Lung Huang <ching2048 areca com tw>
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240758 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years ago- Fix release notes build on releng/9.1 [1]
gjb [Wed, 19 Sep 2012 21:44:39 +0000 (21:44 +0000)]
- Fix release notes build on releng/9.1 [1]
- MFC r240508, r240516, r240519 (gabor):
  o Update releng/9.1/release/doc files post-XML conversion.
  o This commit fixes most of the 9-STABLE release build problems.
- Close colspec tags to conform to XML standards. [1]
- Convert installation article to XML stanards. [1]

[1] - These are direct commits to releng/9.1

Approved by: re (hrs)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240710 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r240476
jkim [Wed, 19 Sep 2012 19:14:21 +0000 (19:14 +0000)]
MFC: r240476

Do not change owner, group, or mode when package database directory
and its contents are created with pkg_add(1).  It may happen when the
packing list contains @owner, @group, or @mode.

Approved by: re (kib), portmgr (bapt)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240702 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240412:
emaste [Tue, 18 Sep 2012 13:13:28 +0000 (13:13 +0000)]
MFC r240412:

  According to a clarification at http://austingroupbugs.net/view.php?id=503
  ptsname may set errno, so avoid saving and restoring errno across the
  function.

PR: standards/171572
Approved by: re
Sponsored by: ADARA Networks

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240648 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240410:
emaste [Tue, 18 Sep 2012 13:03:00 +0000 (13:03 +0000)]
MFC r240410:

  Avoid mapping ENOENT to ENOTDIR for non-existent path components.

  The ENOTDIR mapping was introduced in r235266 for kern/128933 based on
  an interpretation of the somewhat ambiguous language in the POSIX realpath
  specification.  The interpretation is inconsistent with Solaris and Linux,
  a regression from 9.0, and does not appear to be permitted by the
  description of ENOTDIR:

       20 ENOTDIR Not a directory.  A component of the specified pathname
               existed, but it was not a directory, when a directory was
               expected.

PR: standards/171577
Approved by: re
Sponsored by: ADARA Networks

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240647 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r238182 by theraven@:
glebius [Mon, 17 Sep 2012 19:25:24 +0000 (19:25 +0000)]
Merge r238182 by theraven@:
  Restore the __collate_load_error global that was accidentally removed in the
  xlocale refactoring.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240617 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240514:
jimharris [Mon, 17 Sep 2012 16:39:32 +0000 (16:39 +0000)]
MFC r240514:

isci(4): Fix SCSI/ATA translation for SCSI_WRITE_BUFFER w/ mode==0x7
(download microcode with offsets, save, and activate).

SATI translation layer was incorrectly using allocation length instead
of blocks, and was constructing the ATA command incorrectly.

Also change #define to specify that the 512 block size here is
specific for DOWNLOAD_MICROCODE, and does not relate to the device's
logical block size.

Approved by:   re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240614 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240465:
mav [Sun, 16 Sep 2012 11:02:22 +0000 (11:02 +0000)]
MFC r240465:
Add global and per-module sysctls/tunables to enable/disable metadata taste.
That should help to handle some cases when disk has some RAID metadata that
should be ignored, especially during boot.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240558 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240286:
mav [Wed, 12 Sep 2012 10:53:08 +0000 (10:53 +0000)]
MFC r240286:
At least from A70M FCH chipsets AMD started to use their real vendor ID
(1022) in HPET. But according to report they still haven't fixed problem
with level-triggered interrupts.
Make workaround used for earlier chipsets apply to this new ID also.

PR: amd64/171355
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240390 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r226738:
pjd [Tue, 11 Sep 2012 13:58:03 +0000 (13:58 +0000)]
MFC r226738:

Don't look for includes in userland directories. There is no need for it
and it breaks building the kernel without userland sources.

Reported by: andre, imp
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240363 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFH (r240107, r240111): warn against using these for cryptographic purposes.
des [Tue, 11 Sep 2012 11:05:32 +0000 (11:05 +0000)]
MFH (r240107, r240111): warn against using these for cryptographic purposes.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240360 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240315:
jpaetzel [Mon, 10 Sep 2012 16:25:52 +0000 (16:25 +0000)]
MFC r240315:

Add TRIM support, enabled by default.
Fix a bug installing components from a localPath.
Allow autosizing of any partition, not just the last partition.
Adjust how ZFS is laid out to work with Boot Environments.

Submitted by: kmoore
Approved by: re (kib)
Obtained from: PC-BSD

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240320 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r239663, r239664
bapt [Mon, 10 Sep 2012 08:14:58 +0000 (08:14 +0000)]
MFC: r239663, r239664

change ALWAYS_ASSUME_YES to ASSUME_ALWAYS_YES for consistency with pkg(8)
if not on a tty prompt about the missing pkg(8) but default on 'no' except if
ASSUME_ALWAYS_YES is set

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240300 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r230454 (pjd):
mm [Sun, 9 Sep 2012 20:26:19 +0000 (20:26 +0000)]
MFC r230454 (pjd):
Use provided name when allocating ksid domain. It isn't really used
on FreeBSD, but should fix a panic when pool is imported from another OS
that is using this.

MFC r240162 (mm):
Make r230454 more readable and vendor-like.

PR: kern/171380
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240288 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239125:
kib [Sat, 8 Sep 2012 16:47:52 +0000 (16:47 +0000)]
MFC r239125:
Do not apply errata 721 workaround when under hypervisor, since
typical hypervisor does not implement access to the required MSR,
causing #GP on boot.

PR: amd64/170388
Approved by: re (kensmith)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240240 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r232197 (by phk):
kib [Sat, 8 Sep 2012 16:45:48 +0000 (16:45 +0000)]
MFC r232197 (by phk):
Also call the low-level driver if ->c_iflag & (IXON|IXOFF|IXANY) changes.

Approved by: re (kensmith)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240239 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238935,238960:
bz [Fri, 7 Sep 2012 09:45:08 +0000 (09:45 +0000)]
MFC r238935,238960:

  Properly apply #ifdef INET and leave a comment that we are (will) apply
  delayed IPv6 checksum processing in ip6_output.c when doing IPsec.

  In case of IPsec he have to do delayed checksum calculations before
  adding any extension header, or rather before calling into IPsec
  processing as we may send the packet and not return to IPv6 output
  processing here.

PR: kern/170116
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240194 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238877-238878:
bz [Fri, 7 Sep 2012 09:22:11 +0000 (09:22 +0000)]
MFC r238877-238878:
 Fix a comment that we do not have an SA yet but need to acquire one.
 For consistency put the IPsec comment iside the #fidef section.

MFC r238934
  Improve the should-never-hit printf to ease debugging in case we'd ever hit
  it again when doing the delayed IPv6 checksum calculations.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240193 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFS r240157 (MFC r235638,r239348):
mckay [Fri, 7 Sep 2012 00:20:46 +0000 (00:20 +0000)]
MFS r240157 (MFC r235638,r239348):
- Work around failure to compile on FreeBSD 7.x machines.
- Correct a regression introduced during the import of file(1) 5.11.

PR: 170415
Reviewed by: obrien
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240179 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC rr240007:
tuexen [Thu, 6 Sep 2012 18:31:56 +0000 (18:31 +0000)]
MFC rr240007:

Fix a typo which results in RTT to be off by a factor of 10, if the RTT is
larger than 1 second.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240171 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239889:
jimharris [Thu, 6 Sep 2012 16:38:55 +0000 (16:38 +0000)]
MFC r239889:

Do not call sati_check_data_io() for SATI_UNMAP sequences.

This routine is intended only for commands such as INQUIRY where
the controller may fill out a smaller amount of data than allocated
by the host.

The end result of this bug was that isci(4) would report non-zero
resid for successful SCSI_UNMAP commands.

Sponsored by:   Intel
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240168 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFH (r239836): align the boot partition on a 4 kB boundary.
des [Thu, 6 Sep 2012 16:27:59 +0000 (16:27 +0000)]
MFH (r239836): align the boot partition on a 4 kB boundary.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240167 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFS r239854 (including MFC r239601, r239602, r239621):
jamie [Wed, 29 Aug 2012 18:40:12 +0000 (18:40 +0000)]
MFS r239854 (including MFC r239601, r239602, r239621):

 Remember that I'm using length-defined strings in parameters:

  Don't include the null terminator when recomputing the parameter
  length when stripping the netmask from IP addresses.  This was
  causing later addresses in a comma-separated string to disappear.

  Use memcpy instead of strcpy.  This could just cause Bad Things.

  Add a null byte when comma-combining array parameters.

  Pre-separate IP addresses passed on the command line, so they can be
  properly parsed for interface prefixes and netmask suffixes.  This was
  already done for the old-style (fixed) command line, but missed for
  the new-style.

PR: 170832
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239871 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238418: acpi_cpu: separate a notion of current deepest
avg [Wed, 29 Aug 2012 11:28:59 +0000 (11:28 +0000)]
MFC r238418: acpi_cpu: separate a notion of current deepest
allowed+available Cx level from a user-set persistent limit on the said
level

Reviewed by: jhb, gianni, sbruno
Tested by: sbruno, Vitaly Magerya <vmagerya@gmail.com>
Approved by: re(kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239819 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r238933
fjoe [Tue, 28 Aug 2012 17:09:34 +0000 (17:09 +0000)]
MFC: r238933

- Change back "d_ofs" to int8_t to not pessimize padding and size of "struct puc_cfg".
- Use "puc_config_moxa" for Moxa boards that need d_ofs greater than 0x7f

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239784 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239665:
jimharris [Mon, 27 Aug 2012 18:14:22 +0000 (18:14 +0000)]
MFC r239665:

  Clear freeze bit before calling xpt_release_devq.

  This ensures that any ccbs which immediately start during the call to
  xpt_release_devq see an accurate picture of the frozen_lun_mask.

Sponsored by: Intel
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239743 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239655:
jimharris [Mon, 27 Aug 2012 18:12:08 +0000 (18:12 +0000)]
MFC r239655:

  Fix scsi_da's BIO_DELETE->SCSI_UNMAP translation to use correct local
  variable when determining various sizes related to SCSI UNMAP block
  descriptor lists.

Sponsored by: Intel
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239742 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239545:
jimharris [Mon, 27 Aug 2012 18:10:25 +0000 (18:10 +0000)]
MFC r239545:

  Fix/add isci(4) support for SCSI UNMAP to ATA DSM translation.

  This addresses kernel panic observed when sending SCSI UNMAP
  commands to SATA disks attached to isci(4).

  1) Flesh out callback routines to allocate/free buffers needed for
     translating SCSI UNMAP data to ATA DSM data.
  2) Add controller-level pool for storing buffers previously allocated
     for UNMAP translation, to lessen chance of no buffer available
     under memory pressure.
  3) Ensure driver properly handles case where buffer pool is empty
     and contigmalloc returns NULL.

Sponsored by: Intel
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239741 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFS: r239148
imp [Sun, 26 Aug 2012 05:11:52 +0000 (05:11 +0000)]
MFS: r239148

    r239148 | imp | 2012-08-08 14:21:33 -0600 (Wed, 08 Aug 2012) | 8 lines

    Make the addition of the d_gone binary compatible.  This allows
    storage drivers compiled for 9.0 to work on 9.1 and preserves the ABI
    for disks.

    Reviewed by:    scottl, ken
    Approved by:    re@ (kensmith)
    MFS after:      releng/9.1 gets sorted

This change fixes the binary compatibility problems with additions to
the disk(9) API.  Disk drivers compiled against 9.0 will not work on
9.1-RC1, but should start working after this change or in 9.1-RC2 and
later.  Disk drivers should not be linked against 9.1-RC1 for
distribution, except specifically for testing on RC1.  This was
planned for RC1, but it was delayed due to circumstancs beyond my
control.

Approved by: re@ (kensmith)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239707 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239649:
bschmidt [Fri, 24 Aug 2012 14:50:44 +0000 (14:50 +0000)]
MFC r239649:
Document update of 802.11s IE identifiers.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239653 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r231187:
bschmidt [Fri, 24 Aug 2012 06:56:44 +0000 (06:56 +0000)]
MFC r231187:
Update the 802.11s IE numbers to represent the latest 802.11 amendment
standard.

This update breaks compatibility with older mesh setups but is necessary as
the previous IDs are used by another amendment leading to unexpected results
when trying to associate with an accesspoint using the affected IDs.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239641 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239228: Build modules along with the XENHVM kernels.
cperciva [Fri, 24 Aug 2012 05:36:37 +0000 (05:36 +0000)]
MFC r239228: Build modules along with the XENHVM kernels.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239639 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239464:
delphij [Thu, 23 Aug 2012 04:57:56 +0000 (04:57 +0000)]
MFC r239464:
>
As of r232844 we no longer need the maxpoll 9 workaround.
>
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239608 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239346:
lstewart [Wed, 22 Aug 2012 01:28:16 +0000 (01:28 +0000)]
MFC r239346:

The TCP PAWS fix for kernels with fast tick rates (r231767) changed the TCP
timestamp related stack variables to reference ms directly instead of ticks. The
h_ertt(4) Khelp module relies on TCP timestamp information in order to calculate
its enhanced RTT estimates, but was not updated as part of r231767.

Consequently, h_ertt has not been calculating correct RTT estimates since
r231767 was comitted, which in turn broke all delay-based congestion control
algorithms because they rely on the h_ertt RTT estimates.

Fix the breakage by switching h_ertt to use tcp_ts_getticks() in place of all
previous uses of the ticks variable. This ensures all timestamp related
variables in h_ertt use the same units as the TCP stack and therefore results in
meaningful comparisons and RTT estimate calculations.

Reported & tested by: Naeem Khademi (naeemk at ifi uio no)
Discussed with: bz
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239550 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239470: Do not call process_nodelete with NULL object pointer.
kan [Tue, 21 Aug 2012 22:42:46 +0000 (22:42 +0000)]
MFC r239470: Do not call process_nodelete with NULL object pointer.

The place where the function is called can be reached if object loading
and relocation fails too, in which case obj pointer will be NULL. Do not
call process_nodelete then, or crash will follow.

Pointy hat to: kan
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239546 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238673:
mav [Tue, 21 Aug 2012 12:37:37 +0000 (12:37 +0000)]
MFC r238673:
Use 16bit PIO instead of 32bit in case of misaligned buffer.
It fixes kernel panic during CD write with cdrecord on sparc64.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239496 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r232844: Remove extraneous log message
emaste [Tue, 21 Aug 2012 11:35:54 +0000 (11:35 +0000)]
MFC r232844: Remove extraneous log message

  When ntp switched between PLL and FLL mode it produced a log message
  "kernel time sync status change %04x".  This issue is reported in ntp
  bug 452[1] which claims that this behaviour is normal and the log
  message isn't necessary.  I'm not sure exactly when it was removed, but
  it's gone in the latest ntp release (4.2.6p5).

  [1] http://bugs.ntp.org/show_bug.cgi?id=452

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239493 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238718: Quirk MS keyboard so that function keys work
emaste [Tue, 21 Aug 2012 11:34:40 +0000 (11:34 +0000)]
MFC r238718: Quirk MS keyboard so that function keys work

  The function keys on a Microsoft Natural Egronomic Keyboard 4000 have been
  repurposed as "Help", "Undo", "Redo" etc., and a special "F Lock" key is
  required to return them to their normal purpose.

  This change enables the UQ_KBD_BOOTPROTO quirk for the MS Natural 4000
  keyboard to get the keys working again.  More extensive changes to the USB
  keyboard infrastructure would be needed to fully support the "F Lock" mode
  and the extended keys on this keyboard.

PR:             usb/116947
Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239492 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r239079
marius [Tue, 21 Aug 2012 11:17:11 +0000 (11:17 +0000)]
MFC: r239079

Merge r236494 from x86:

Isolate the global TTE list lock from data and other locks to prevent false
sharing within the cache.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239491 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238631:
delphij [Tue, 21 Aug 2012 09:55:57 +0000 (09:55 +0000)]
MFC r238631:

Import an updated version of moduli(5) manual page from OpenBSD.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239489 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r239089
marius [Tue, 21 Aug 2012 09:43:03 +0000 (09:43 +0000)]
MFC: r239089

- Merge from NetBSD:
  When issuing a non-DMA command, make sure to set the "remaining length of
  command to be transferred via DMA" (sc_cmdlen) to zero up-front, otherwise
  we might get confused on command competition interrupt (no DMA active but
  still data left to transfer).
- Implement handling of MSG_IGN_WIDE_RESIDUE which some targets produce, as
  just rejecting these leads to a resend and disconnect loop.
  Reported and tested by: mjacob

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239488 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239169:
delphij [Tue, 21 Aug 2012 09:05:23 +0000 (09:05 +0000)]
MFC r239169:

RFC 2289 requires all hashes be stored in little endian format before
folding to 64 bits, while SHA1 code is big endian.  Therefore, a bswap32
is required before using the value.

Without this change, the implementation does not conform to test vector
found in RFC 2289.

PR: bin/170519
Submitted by: Arthur Mesh <arthurmesh gmail com> (with changes)
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239482 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239084:
delphij [Tue, 21 Aug 2012 08:31:30 +0000 (08:31 +0000)]
MFC r239084:

Add PCI IDs for various new High Point RocketRAID 43xx and 3xxx devices.

Obtained from: FreeNAS
Approved by: re (implicit, follow-up for r239460)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239481 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239084
delphij [Mon, 20 Aug 2012 18:27:02 +0000 (18:27 +0000)]
MFC r239084

Add PCI IDs for various new High Point RocketRAID 43xx and 3xxx devices.

Obtained from: FreeNAS
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239460 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238997:
delphij [Mon, 20 Aug 2012 18:10:48 +0000 (18:10 +0000)]
MFC r238997:

Correct a typo.

Reported by: Sascha Wildner <swildner dragonflybsd org>
Reviewed by: scottl
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239456 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFH r236106: avoid segfault with SSH 1 keys
des [Mon, 20 Aug 2012 17:50:20 +0000 (17:50 +0000)]
MFH r236106: avoid segfault with SSH 1 keys

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239454 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239052:
tuexen [Mon, 20 Aug 2012 17:36:10 +0000 (17:36 +0000)]
MFC r239052:
Fix a refcount issue. The caller only decrements if stcb is NULL.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239452 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239041:
tuexen [Mon, 20 Aug 2012 17:06:50 +0000 (17:06 +0000)]
MFC r239041:

Fix a bug reported by Simon L. B. Nielsen:
If an SCTP endpoint receives an ASCONF with a wildcard
lookup address and incorrect verification tag, the system
crashes.
This bug was found by Shaun Colley.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239451 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239253: Pospone the DF_1_NODELETE processing until object DAG is
kan [Mon, 20 Aug 2012 16:57:27 +0000 (16:57 +0000)]
MFC r239253: Pospone the DF_1_NODELETE processing until object DAG is
fully loaded.

Trying to up the reference from the load loop risks missing
dependencies that have not been loaded yet.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239450 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239021:
jimharris [Mon, 20 Aug 2012 16:55:55 +0000 (16:55 +0000)]
MFC r239021:

In virstor_ctl_stop(), check for a valid softc before trying to update
metadata.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239449 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239233:
wblock [Mon, 20 Aug 2012 16:37:41 +0000 (16:37 +0000)]
MFC r239233:

Correct description of minfree to kilobytes rather than blocks.

PR: 125921
Submitted by: Andre Albsmeier <Andre.Albsmeier@siemens.com>
Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239444 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239095: Do not add handler to event handlers list until ithread
kan [Mon, 20 Aug 2012 15:19:34 +0000 (15:19 +0000)]
MFC r239095: Do not add handler to event handlers list until ithread
is created.

In rare event when fast and ithread interrupts share the same vector
and the fast handler was registered first, we can end up trying to
schedule the ithread that is not created yet. The kernel built with
INVARIANTS then triggers an assertion.

Change the order to create the ithread first and only then add the
handler that needs it to the interrupt event handlers list.

Approved by: re (kib)
Reviewed by: jhb

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239437 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239019: Parse notes only after object structure had been allocated.
kan [Mon, 20 Aug 2012 15:05:29 +0000 (15:05 +0000)]
MFC r239019: Parse notes only after object structure had been allocated.
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239434 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239216, r239217:
gjb [Mon, 20 Aug 2012 13:07:22 +0000 (13:07 +0000)]
MFC r239216, r239217:

r239216:
 - Remove a leading space that breaks rendering

r239217:
 - Fix source dataset snapshot name in Example 15.
 - Bump date.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239420 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238969:
mav [Mon, 20 Aug 2012 12:53:29 +0000 (12:53 +0000)]
MFC r238969:
Fix kernel panic on `camcontrol reset` for specific target, caused by
uninitialized cm_targ in mpssas_action_resetdev().

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239418 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoPrep for 9.1-RC1 builds.
kensmith [Wed, 8 Aug 2012 18:39:29 +0000 (18:39 +0000)]
Prep for 9.1-RC1 builds.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239144 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoUpdate __FreeBSD_version to reflect this being the 9.1-RELEASE release
kensmith [Mon, 6 Aug 2012 00:15:49 +0000 (00:15 +0000)]
Update __FreeBSD_version to reflect this being the 9.1-RELEASE release
branch.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239082 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoCopy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.
kensmith [Sun, 5 Aug 2012 23:54:33 +0000 (23:54 +0000)]
Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239080 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f