svn commit: r226554 - head/sys/boot/common

2011-10-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Oct 19 23:48:15 2011 New Revision: 226554 URL: http://svn.freebsd.org/changeset/base/226554 Log: Fix missing return when LOADER_GPT_SUPPORT is defined, but LOADER_MBR_SUPPORT is not. MFC after:3 days Modified: head/sys/boot/common/disk.c Modified: head/sys/bo

svn commit: r226553 - in head/sys: boot/zfs cddl/boot/zfs

2011-10-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Oct 19 23:44:38 2011 New Revision: 226553 URL: http://svn.freebsd.org/changeset/base/226553 Log: Always pass data size for checksum verification function, as using physical block size declared in bp may not always be what we want. For example in case of gang block heade

svn commit: r226552 - head/sys/boot/zfs

2011-10-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Oct 19 23:40:37 2011 New Revision: 226552 URL: http://svn.freebsd.org/changeset/base/226552 Log: Never pass NULL block pointer when reading. This is neither expected nor handled by lower layers like vdev_raidz, which uses bp for checksum verification. This bug could lea

svn commit: r226551 - head/sys/boot/zfs

2011-10-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Oct 19 23:37:30 2011 New Revision: 226551 URL: http://svn.freebsd.org/changeset/base/226551 Log: Don't mark vdev as healthy too soon, so we won't try to use invalid vdevs. MFC after:3 days Modified: head/sys/boot/zfs/zfsimpl.c Modified: head/sys/boot/zfs/zfsimp

svn commit: r226550 - head/sys/cddl/boot/zfs

2011-10-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Oct 19 23:33:48 2011 New Revision: 226550 URL: http://svn.freebsd.org/changeset/base/226550 Log: Initialize 'rc' properly before using it. This error could lead to infinite loop when data reconstruction was needed. MFC after:3 days Modified: head/sys/cddl/boot

svn commit: r226549 - head/sys/cddl/boot/zfs

2011-10-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Oct 19 23:31:50 2011 New Revision: 226549 URL: http://svn.freebsd.org/changeset/base/226549 Log: Remove redundant size calculation. MFC after:3 days Modified: head/sys/cddl/boot/zfs/zfssubr.c Modified: head/sys/cddl/boot/zfs/zfssubr.c ==

svn commit: r226548 - in stable/9: . sys/ia64/conf

2011-10-19 Thread Ken Smith
Author: kensmith Date: Wed Oct 19 23:02:57 2011 New Revision: 226548 URL: http://svn.freebsd.org/changeset/base/226548 Log: Remove the last of the debugging support (INVARIANT*) from the ia64 GENERIC config file, the ia64 kernel runs OK without it. Reviewed by: marcel Approved by: re

Re: svn commit: r226547 - in head/sys: amd64/conf i386/conf ia64/conf powerpc/conf sparc64/conf

2011-10-19 Thread Doug Barton
On 10/19/2011 14:55, Ken Smith wrote: > Add a warning about why sbp(4) is commented out so that curious folks > are forewarned they might wind up with a hole in their foot if they > decide to give it a try. That's awesome, thanks! I think (hope?) that this will help avoid user confusion, wh

svn commit: r226547 - in head/sys: amd64/conf i386/conf ia64/conf powerpc/conf sparc64/conf

2011-10-19 Thread Ken Smith
Author: kensmith Date: Wed Oct 19 21:55:20 2011 New Revision: 226547 URL: http://svn.freebsd.org/changeset/base/226547 Log: Add a warning about why sbp(4) is commented out so that curious folks are forewarned they might wind up with a hole in their foot if they decide to give it a try.

Re: svn commit: r226544 - head/sys/contrib/pf/net

2011-10-19 Thread Sergey Kandaurov
On 19 October 2011 17:13, Bjoern A. Zeeb wrote: > Author: bz > Date: Wed Oct 19 13:13:56 2011 > New Revision: 226544 > URL: http://svn.freebsd.org/changeset/base/226544 > > Log: >  Fix recursive pf locking leading to panics.  Splatter PF_LOCK_ASSERT()s >  to document where we are expecting to be c

svn commit: r226546 - head/bin/ls

2011-10-19 Thread Dag-Erling Smorgrav
Author: des Date: Wed Oct 19 15:35:41 2011 New Revision: 226546 URL: http://svn.freebsd.org/changeset/base/226546 Log: If ls was invoked with -i but neither -l nor -s, blocksize was used in display() to calculate column widths, but was not initialized in main(). This resulted in a division

svn commit: r226545 - head/sys/mips/conf

2011-10-19 Thread Jayachandran C.
Author: jchandra Date: Wed Oct 19 14:38:01 2011 New Revision: 226545 URL: http://svn.freebsd.org/changeset/base/226545 Log: Keep FDT options commented until dtc is build by default for mips Otherwise automated builds will fail for XLP and XLP64 Modified: head/sys/mips/conf/XLP head/sys

svn commit: r226544 - head/sys/contrib/pf/net

2011-10-19 Thread Bjoern A. Zeeb
Author: bz Date: Wed Oct 19 13:13:56 2011 New Revision: 226544 URL: http://svn.freebsd.org/changeset/base/226544 Log: Fix recursive pf locking leading to panics. Splatter PF_LOCK_ASSERT()s to document where we are expecting to be called with a lock held to more easily catch unnoticed code p

svn commit: r226541 - stable/8/usr.bin/fetch

2011-10-19 Thread Dag-Erling Smorgrav
Author: des Date: Wed Oct 19 12:15:16 2011 New Revision: 226541 URL: http://svn.freebsd.org/changeset/base/226541 Log: MFH r225982: fix name in copyright statements Modified: stable/8/usr.bin/fetch/fetch.1 stable/8/usr.bin/fetch/fetch.c Directory Properties: stable/8/usr.bin/fetch/ (pro

svn commit: r226540 - stable/8/usr.bin/fetch

2011-10-19 Thread Dag-Erling Smorgrav
Author: des Date: Wed Oct 19 12:14:14 2011 New Revision: 226540 URL: http://svn.freebsd.org/changeset/base/226540 Log: MFH r225599,225800,225805: improve handling of resumed http transfers PR: bin/117277 Modified: stable/8/usr.bin/fetch/fetch.c Directory Properties: stable/8/

svn commit: r226539 - stable/8/lib/libfetch

2011-10-19 Thread Dag-Erling Smorgrav
Author: des Date: Wed Oct 19 11:49:14 2011 New Revision: 226539 URL: http://svn.freebsd.org/changeset/base/226539 Log: MFH r221830: mark all sockets and file descriptors close-on-exec PR: bin/151866 Modified: stable/8/lib/libfetch/common.c stable/8/lib/libfetch/file.c Directo

svn commit: r226538 - stable/8/lib/libfetch

2011-10-19 Thread Dag-Erling Smorgrav
Author: des Date: Wed Oct 19 11:48:21 2011 New Revision: 226538 URL: http://svn.freebsd.org/changeset/base/226538 Log: MFH r221820-221823,225814,22653: whitespace, warnings, cosmetic nits Modified: stable/8/lib/libfetch/Makefile stable/8/lib/libfetch/common.c stable/8/lib/libfetch/common.

svn commit: r226537 - head/lib/libfetch

2011-10-19 Thread Dag-Erling Smorgrav
Author: des Date: Wed Oct 19 11:43:51 2011 New Revision: 226537 URL: http://svn.freebsd.org/changeset/base/226537 Log: latin1 -> utf8 Modified: head/lib/libfetch/common.c head/lib/libfetch/common.h head/lib/libfetch/fetch.3 head/lib/libfetch/fetch.c head/lib/libfetch/fetch.h head/li

svn commit: r226536 - head/sys/contrib/pf/net

2011-10-19 Thread Bjoern A. Zeeb
Author: bz Date: Wed Oct 19 11:04:49 2011 New Revision: 226536 URL: http://svn.freebsd.org/changeset/base/226536 Log: De-virtualize the pf_task_mtx lock. At the current state of pf locking and virtualization it is not helpful but complicates things. Current state of art is to not virtual

svn commit: r226535 - head/sys/contrib/pf/net

2011-10-19 Thread Bjoern A. Zeeb
Author: bz Date: Wed Oct 19 10:16:42 2011 New Revision: 226535 URL: http://svn.freebsd.org/changeset/base/226535 Log: Adjust the PF_ASSERT() macro to what we usually use in the network stack: PF_LOCK_ASSERT() and PF_UNLOCK_ASSERT(). MFC after:3 days Modified: head/sys/contrib/pf/ne

svn commit: r226534 - in head: etc/devd sys/dev/usb sys/dev/usb/wlan

2011-10-19 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 19 10:09:01 2011 New Revision: 226534 URL: http://svn.freebsd.org/changeset/base/226534 Log: Add new USB IDs to RUN driver. Update usb.conf. PR: usb/161798 MFC after:3 days Modified: head/etc/devd/usb.conf head/sys/dev/usb/usbdevs head/s

svn commit: r226533 - head/sys/contrib/pf/net

2011-10-19 Thread Bjoern A. Zeeb
Author: bz Date: Wed Oct 19 10:08:58 2011 New Revision: 226533 URL: http://svn.freebsd.org/changeset/base/226533 Log: In the non-FreeBSD case we do not expect PF_LOCK and friends to do anything. MFC after:3 days Modified: head/sys/contrib/pf/net/pfvar.h Modified: head/sys/contrib/pf

svn commit: r226532 - head/sys/contrib/pf/net

2011-10-19 Thread Bjoern A. Zeeb
Author: bz Date: Wed Oct 19 10:04:24 2011 New Revision: 226532 URL: http://svn.freebsd.org/changeset/base/226532 Log: Pseudo interfaces should go at SI_SUB_PSEUDO. However at least pfsync also depends on pf to be initialized already so pf goes at FIRST and the interfaces go at ANY. Then t

svn commit: r226531 - head/sys/contrib/pf/net

2011-10-19 Thread Bjoern A. Zeeb
Author: bz Date: Wed Oct 19 09:34:40 2011 New Revision: 226531 URL: http://svn.freebsd.org/changeset/base/226531 Log: Fix an obvious locking bug where we would lock again rather than unlock. MFC after:3 days Modified: head/sys/contrib/pf/net/if_pfsync.c Modified: head/sys/contrib/pf

Re: svn commit: r226514 - in head: lib/libpmc sys/dev/hwpmc sys/sys usr.sbin/pmcstat

2011-10-19 Thread Bjoern A. Zeeb
On 19. Oct 2011, at 07:17 , Fabien Thomas wrote: > Badly merged my patchset... > Corrected with r226526. > Thanks! > On Oct 18, 2011, at 6:23 PM, Bjoern A. Zeeb wrote: > >> >> On 18. Oct 2011, at 15:25 , Fabien Thomas wrote: >> >>> Author: fabient >>> Date: Tue Oct 18 15:25:43 2011 >>> New

svn commit: r226530 - head/sys/contrib/pf/net

2011-10-19 Thread Bjoern A. Zeeb
Author: bz Date: Wed Oct 19 08:57:17 2011 New Revision: 226530 URL: http://svn.freebsd.org/changeset/base/226530 Log: Fix a bug when NPFSYNC > 0 that on FreeBSD we would always return and never remove state. This fixes the problem some people are seeing that state is removed when pf is

svn commit: r226527 - head/sys/contrib/pf/net

2011-10-19 Thread Bjoern A. Zeeb
Author: bz Date: Wed Oct 19 08:37:48 2011 New Revision: 226527 URL: http://svn.freebsd.org/changeset/base/226527 Log: Fix indentation in a loop and a tiny maze of #ifdefs for just the __FreeBSD__ parts that had it wrong. MFC after:3 days Modified: head/sys/contrib/pf/net/pf.c Modi

Re: svn commit: r226514 - in head: lib/libpmc sys/dev/hwpmc sys/sys usr.sbin/pmcstat

2011-10-19 Thread Fabien Thomas
Badly merged my patchset... Corrected with r226526. On Oct 18, 2011, at 6:23 PM, Bjoern A. Zeeb wrote: > > On 18. Oct 2011, at 15:25 , Fabien Thomas wrote: > >> Author: fabient >> Date: Tue Oct 18 15:25:43 2011 >> New Revision: 226514 >> URL: http://svn.freebsd.org/changeset/base/226514 >> >>

svn commit: r226526 - head/sys/sys

2011-10-19 Thread Fabien Thomas
Author: fabient Date: Wed Oct 19 07:16:57 2011 New Revision: 226526 URL: http://svn.freebsd.org/changeset/base/226526 Log: Add missing DEBUG define from r226514. Modified: head/sys/sys/pmc.h Modified: head/sys/sys/pmc.h