]> CyberLeo.Net >> Repos - FreeBSD/releng/9.1.git/log
FreeBSD/releng/9.1.git
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