Re: svn commit: r216591 - head

2010-12-21 Thread Alexander Leidinger
On Mon, 20 Dec 2010 19:42:51 -0500 Ben Kaduk minimar...@gmail.com wrote: On Mon, Dec 20, 2010 at 10:17 AM, Alexander Leidinger netch...@freebsd.org wrote: == --- head/UPDATING       Mon Dec 20 14:54:24 2010        

svn commit: r216608 - stable/8/sys/dev/wpi

2010-12-21 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Dec 21 09:13:24 2010 New Revision: 216608 URL: http://svn.freebsd.org/changeset/base/216608 Log: Fix a panic while disabling the RF kill button, caller of the wpi_rfkill_resume() function will take care of the lock. PR: kern/14489 Approved by: re

svn commit: r216609 - stable/8/sys/dev/wpi

2010-12-21 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Dec 21 09:14:59 2010 New Revision: 216609 URL: http://svn.freebsd.org/changeset/base/216609 Log: Fix association on 5GHz channels. The device is initially configured using a 2GHz channel with appropriate flags set to sc-config. Due to not zeroing sc-config for

svn commit: r216610 - stable/8/sys/dev/wpi

2010-12-21 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Dec 21 09:16:42 2010 New Revision: 216610 URL: http://svn.freebsd.org/changeset/base/216610 Log: Add 2 missing bus_dmamap_sync() calls. Those fix random 'scan timeout', 'could not set power mode', 'device config failed' and other errors due reading invalid memory.

svn commit: r216611 - stable/8/sys/kern

2010-12-21 Thread Andrew Thompson
Author: thompsa Date: Tue Dec 21 09:31:48 2010 New Revision: 216611 URL: http://svn.freebsd.org/changeset/base/216611 Log: MFC r216371: Fix race in devfs by using LIST_FIRST() instead of LIST_FOREACH_SAFE() when freeing the devfs private data entries. Approved by: re (kib)

svn commit: r216612 - stable/7/sys/kern

2010-12-21 Thread Andrew Thompson
Author: thompsa Date: Tue Dec 21 09:33:06 2010 New Revision: 216612 URL: http://svn.freebsd.org/changeset/base/216612 Log: MFC r216371: Fix race in devfs by using LIST_FIRST() instead of LIST_FOREACH_SAFE() when freeing the devfs private data entries. Approved by: re (kib)

svn commit: r216613 - stable/8/sys/netinet

2010-12-21 Thread Michael Tuexen
Author: tuexen Date: Tue Dec 21 10:43:51 2010 New Revision: 216613 URL: http://svn.freebsd.org/changeset/base/216613 Log: MFC c216495: Bugfix: Take also the nr-mapping array into account when detecting gaps. Approved by: re@ Modified: stable/8/sys/netinet/sctp_indata.c

svn commit: r216614 - head/sys/dev/atkbdc

2010-12-21 Thread John Baldwin
Author: jhb Date: Tue Dec 21 12:49:37 2010 New Revision: 216614 URL: http://svn.freebsd.org/changeset/base/216614 Log: Only use the BIOS-supplied IRQ for the atkbdc device for a child atkbd device. Specifically, do not reuse it for a child psm device. Tested by:many Modified:

svn commit: r216615 - in head/sys: conf kern sys

2010-12-21 Thread Lawrence Stewart
Author: lstewart Date: Tue Dec 21 13:45:29 2010 New Revision: 216615 URL: http://svn.freebsd.org/changeset/base/216615 Log: - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9), and in many respects can be thought of as a more generic superset of pfil. Hhook

svn commit: r216616 - in head/sys: kern sys

2010-12-21 Thread Matthew D Fleming
Author: mdf Date: Tue Dec 21 16:29:58 2010 New Revision: 216616 URL: http://svn.freebsd.org/changeset/base/216616 Log: Move the fail_point_entry definition from fail.h to kern_fail.c, which allows putting the enumeration constants of fail point types with the text string that matches them.

Re: svn commit: r216616 - in head/sys: kern sys

2010-12-21 Thread mdf
On Tue, Dec 21, 2010 at 8:29 AM, Matthew D Fleming m...@freebsd.org wrote: Author: mdf Date: Tue Dec 21 16:29:58 2010 New Revision: 216616 URL: http://svn.freebsd.org/changeset/base/216616 Log:  Move the fail_point_entry definition from fail.h to kern_fail.c, which  allows putting the

Re: svn commit: r216616 - in head/sys: kern sys

2010-12-21 Thread Stefan Farfeleder
On Tue, Dec 21, 2010 at 04:29:58PM +, Matthew D Fleming wrote: Author: mdf Date: Tue Dec 21 16:29:58 2010 New Revision: 216616 URL: http://svn.freebsd.org/changeset/base/216616 Log: Move the fail_point_entry definition from fail.h to kern_fail.c, which allows putting the

svn commit: r216617 - releng/8.2

2010-12-21 Thread Ken Smith
Author: kensmith Date: Tue Dec 21 17:09:25 2010 New Revision: 216617 URL: http://svn.freebsd.org/changeset/base/216617 Log: Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit) Added: - copied from r216616, stable/8/ Directory Properties:

svn commit: r216618 - releng/7.4

2010-12-21 Thread Ken Smith
Author: kensmith Date: Tue Dec 21 17:10:29 2010 New Revision: 216618 URL: http://svn.freebsd.org/changeset/base/216618 Log: Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit) Added: - copied from r216617, stable/7/ Directory Properties:

Re: svn commit: r216616 - in head/sys: kern sys

2010-12-21 Thread mdf
On Tue, Dec 21, 2010 at 8:52 AM, Stefan Farfeleder stef...@freebsd.org wrote: On Tue, Dec 21, 2010 at 04:29:58PM +, Matthew D Fleming wrote: Author: mdf Date: Tue Dec 21 16:29:58 2010 New Revision: 216616 URL: http://svn.freebsd.org/changeset/base/216616 Log:   Move the

svn commit: r216619 - head/sbin/geom/class/part

2010-12-21 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 21 17:24:32 2010 New Revision: 216619 URL: http://svn.freebsd.org/changeset/base/216619 Log: Check number of arguments before trying to read arg0. This prevents access to arg0 and dumping core when `gpart bootcode` called without arguments. Modified:

svn commit: r216620 - in head/sys: kern sys

2010-12-21 Thread Matthew D Fleming
Author: mdf Date: Tue Dec 21 18:23:03 2010 New Revision: 216620 URL: http://svn.freebsd.org/changeset/base/216620 Log: Initialize fp_location for explicitly managed fail points, and push the parentheses around the location for simple fail points into the location string. This makes the

svn commit: r216621 - head/sys/netinet

2010-12-21 Thread John Baldwin
Author: jhb Date: Tue Dec 21 19:30:24 2010 New Revision: 216621 URL: http://svn.freebsd.org/changeset/base/216621 Log: Fix a typo in a comment. MFC after:1 week Modified: head/sys/netinet/tcp_timer.c Modified: head/sys/netinet/tcp_timer.c

svn commit: r216622 - in head/bin/sh: . bltin

2010-12-21 Thread Jilles Tjoelker
Author: jilles Date: Tue Dec 21 20:47:06 2010 New Revision: 216622 URL: http://svn.freebsd.org/changeset/base/216622 Log: sh: Add a function to print warnings (with command name and newline). This is like error() but without raising an exception. It is particularly useful as a replacement

svn commit: r216623 - head/sys/dev/mii

2010-12-21 Thread Marius Strobl
Author: marius Date: Tue Dec 21 21:12:18 2010 New Revision: 216623 URL: http://svn.freebsd.org/changeset/base/216623 Log: - Add a comment regarding the fact that as documented in the datasheet manual 1000BASE-T modes of DP83865 only work together with other National Semiconductor PHYs.

svn commit: r216625 - head/sys/sparc64/include

2010-12-21 Thread Marius Strobl
Author: marius Date: Tue Dec 21 21:32:17 2010 New Revision: 216625 URL: http://svn.freebsd.org/changeset/base/216625 Log: Revert r216080 so kmem_map is capped at 3/5 of the currently rather modest kernel address space in order to leave space for the buffer cache, pipes, thread stacks, etc

Re: svn commit: r216625 - head/sys/sparc64/include

2010-12-21 Thread Alan Cox
Marius Strobl wrote: Author: marius Date: Tue Dec 21 21:32:17 2010 New Revision: 216625 URL: http://svn.freebsd.org/changeset/base/216625 Log: Revert r216080 so kmem_map is capped at 3/5 of the currently rather modest kernel address space in order to leave space for the buffer cache, pipes,

svn commit: r216626 - head/sys/sys

2010-12-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Dec 21 21:59:21 2010 New Revision: 216626 URL: http://svn.freebsd.org/changeset/base/216626 Log: Close body of the VFS_UNLOCK_GIANT() macro into do { } while (0) loop, so it can be used in code like this: if (cond) VFS_UNLOCK_GIANT(vfslocked);

svn commit: r216627 - head/sys/nfsserver

2010-12-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Dec 21 22:01:26 2010 New Revision: 216627 URL: http://svn.freebsd.org/changeset/base/216627 Log: After r216626 no extra { } are needed with VFS_UNLOCK_GIANT(). Modified: head/sys/nfsserver/nfs_srvsubs.c Modified: head/sys/nfsserver/nfs_srvsubs.c

svn commit: r216628 - in head/sys/sparc64: include sparc64

2010-12-21 Thread Marius Strobl
Author: marius Date: Tue Dec 21 22:03:12 2010 New Revision: 216628 URL: http://svn.freebsd.org/changeset/base/216628 Log: Extend the hack of r182730 to trick GAS/GCC into compiling access to STICK/STICK_COMPARE independently of the selected instruction set by TICK_COMPARE so tick.c as of

svn commit: r216629 - in head: bin/kill bin/sh bin/sh/bltin share/man/man1

2010-12-21 Thread Jilles Tjoelker
Author: jilles Date: Tue Dec 21 22:47:34 2010 New Revision: 216629 URL: http://svn.freebsd.org/changeset/base/216629 Log: sh: Add kill builtin. This allows specifying a %job (which is equivalent to the corresponding process group). Additionally, it improves reliability of kill from

svn commit: r216630 - head/bin/sh

2010-12-21 Thread Jilles Tjoelker
Author: jilles Date: Tue Dec 21 22:48:56 2010 New Revision: 216630 URL: http://svn.freebsd.org/changeset/base/216630 Log: sh(1): Explain why it is a bad idea to use aliases in scripts. Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1

svn commit: r216631 - head/sys/nfsserver

2010-12-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Dec 21 23:04:04 2010 New Revision: 216631 URL: http://svn.freebsd.org/changeset/base/216631 Log: On error, unbusy file system and jump to the end, so we won't try to unlock NULL *vpp. Reviewed by: kib MFC after:5 days Modified:

svn commit: r216632 - head/sys/nfsserver

2010-12-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Dec 21 23:12:45 2010 New Revision: 216632 URL: http://svn.freebsd.org/changeset/base/216632 Log: - Move pubflag and lockflag handling from nfsrv_fhtovp() to nfs_namei() - this is the only place that is different from all the other nfsrv_fhtovp() consumers. This

svn commit: r216633 - head/sys/nfsserver

2010-12-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Dec 21 23:15:40 2010 New Revision: 216633 URL: http://svn.freebsd.org/changeset/base/216633 Log: Use newly added NFSRV_FLAG_BUSY flag for nfsrv_fhtovp() to keep mount point busy. This fixes a race where we can pass invalid mount point to VFS_VGET() via vp-v_mount when

svn commit: r216634 - in head/sys/amd64: amd64 ia32 include linux32

2010-12-21 Thread Jung-uk Kim
Author: jkim Date: Wed Dec 22 00:18:42 2010 New Revision: 216634 URL: http://svn.freebsd.org/changeset/base/216634 Log: Improve PCB flags handling and make it more robust. Add two new functions for manipulating pcb_flags. These inline functions are very similar to atomic_set_char(9) and

svn commit: r216635 - releng/8.2

2010-12-21 Thread Ken Smith
Author: kensmith Date: Wed Dec 22 04:37:44 2010 New Revision: 216635 URL: http://svn.freebsd.org/changeset/base/216635 Log: Adjust branch tag for 'make update'. Approved by: re (implicit) Modified: releng/8.2/Makefile.inc1 Modified: releng/8.2/Makefile.inc1

svn commit: r216636 - releng/8.2/gnu/usr.bin/groff/tmac

2010-12-21 Thread Ken Smith
Author: kensmith Date: Wed Dec 22 04:40:58 2010 New Revision: 216636 URL: http://svn.freebsd.org/changeset/base/216636 Log: Adjust the FreeBSD version printed as part of manual pages. Approved by: re (implicit) Modified: releng/8.2/gnu/usr.bin/groff/tmac/mdoc.local Modified:

svn commit: r216637 - releng/8.2/release

2010-12-21 Thread Ken Smith
Author: kensmith Date: Wed Dec 22 04:44:38 2010 New Revision: 216637 URL: http://svn.freebsd.org/changeset/base/216637 Log: Misc. 8.1 - 8.2 adjustments for the 8.2 release. Approved by: re (implicit) Modified: releng/8.2/release/Makefile Modified: releng/8.2/release/Makefile

svn commit: r216638 - releng/8.2/share/examples/cvsup

2010-12-21 Thread Ken Smith
Author: kensmith Date: Wed Dec 22 04:47:14 2010 New Revision: 216638 URL: http://svn.freebsd.org/changeset/base/216638 Log: Adjust branch tag in example. Approved by: re (implicit) Modified: releng/8.2/share/examples/cvsup/standard-supfile Modified:

svn commit: r216639 - releng/8.2/sys/sys

2010-12-21 Thread Ken Smith
Author: kensmith Date: Wed Dec 22 04:51:05 2010 New Revision: 216639 URL: http://svn.freebsd.org/changeset/base/216639 Log: Adjust __FreeBSD_version for the 8.2 release. Approved by: re (implicit) Modified: releng/8.2/sys/sys/param.h Modified: releng/8.2/sys/sys/param.h

svn commit: r216640 - releng/8.2/usr.sbin/pkg_install/add

2010-12-21 Thread Ken Smith
Author: kensmith Date: Wed Dec 22 04:56:55 2010 New Revision: 216640 URL: http://svn.freebsd.org/changeset/base/216640 Log: Add packages-7.4-release and packages-8.2-release for the upcoming releases. Approved by: re (implicit) Modified: releng/8.2/usr.sbin/pkg_install/add/main.c

svn commit: r216641 - in head: lib/libthr/thread sys/kern sys/sys

2010-12-21 Thread David Xu
Author: davidxu Date: Wed Dec 22 05:01:52 2010 New Revision: 216641 URL: http://svn.freebsd.org/changeset/base/216641 Log: MFp4: - Add flags CVWAIT_ABSTIME and CVWAIT_CLOCKID for umtx kernel based condition variable, this should eliminate an extra system call to get current time.

svn commit: r216642 - head/lib/libthr/thread

2010-12-21 Thread David Xu
Author: davidxu Date: Wed Dec 22 05:03:24 2010 New Revision: 216642 URL: http://svn.freebsd.org/changeset/base/216642 Log: Add sleep queue code. Added: head/lib/libthr/thread/thr_sleepq.c (contents, props changed) Added: head/lib/libthr/thread/thr_sleepq.c

svn commit: r216643 - releng/7.4

2010-12-21 Thread Ken Smith
Author: kensmith Date: Wed Dec 22 05:44:24 2010 New Revision: 216643 URL: http://svn.freebsd.org/changeset/base/216643 Log: Adjust branch tag for 'make update'. Approved by: re (implicit) Modified: releng/7.4/Makefile.inc1 Modified: releng/7.4/Makefile.inc1

svn commit: r216644 - releng/7.4/gnu/usr.bin/groff/tmac

2010-12-21 Thread Ken Smith
Author: kensmith Date: Wed Dec 22 05:47:15 2010 New Revision: 216644 URL: http://svn.freebsd.org/changeset/base/216644 Log: Adjust FreeBSD version printed for manual pages. Approved by: re (implicit) Modified: releng/7.4/gnu/usr.bin/groff/tmac/mdoc.local Modified:

svn commit: r216645 - releng/7.4/release

2010-12-21 Thread Ken Smith
Author: kensmith Date: Wed Dec 22 05:49:19 2010 New Revision: 216645 URL: http://svn.freebsd.org/changeset/base/216645 Log: Misc. 7.3 - 7.4 adjustments for upcoming release. Approved by: re (implicit) Modified: releng/7.4/release/Makefile Modified: releng/7.4/release/Makefile

svn commit: r216646 - releng/7.4/share/examples/cvsup

2010-12-21 Thread Ken Smith
Author: kensmith Date: Wed Dec 22 05:50:22 2010 New Revision: 216646 URL: http://svn.freebsd.org/changeset/base/216646 Log: Adjust branch tag in example. Approved by: re (implicit) Modified: releng/7.4/share/examples/cvsup/standard-supfile Modified:

svn commit: r216647 - releng/7.4/sys/sys

2010-12-21 Thread Ken Smith
Author: kensmith Date: Wed Dec 22 05:51:44 2010 New Revision: 216647 URL: http://svn.freebsd.org/changeset/base/216647 Log: Adjust __FreeBSD_version for upcoming FreeBSD 7.4 release. Approved by: re (implicit) Modified: releng/7.4/sys/sys/param.h Modified: releng/7.4/sys/sys/param.h

svn commit: r216648 - releng/7.4/usr.sbin/pkg_install/add

2010-12-21 Thread Ken Smith
Author: kensmith Date: Wed Dec 22 05:53:46 2010 New Revision: 216648 URL: http://svn.freebsd.org/changeset/base/216648 Log: Add release package directories for upcoming releases, and one past release. Approved by: re (implicit) Modified: releng/7.4/usr.sbin/pkg_install/add/main.c