svn commit: r223976 - head/sbin/hastctl

2011-07-12 Thread Mikolaj Golub
Author: trociny Date: Wed Jul 13 05:56:51 2011 New Revision: 223976 URL: http://svn.freebsd.org/changeset/base/223976 Log: When exiting with error because of an invalid command line argument use errx(3), not err(3), and the exit code from sysexits(3). Approved by: pjd (mentor) Modified:

svn commit: r223974 - head/sbin/hastd

2011-07-12 Thread Mikolaj Golub
Author: trociny Date: Wed Jul 13 05:32:55 2011 New Revision: 223974 URL: http://svn.freebsd.org/changeset/base/223974 Log: Fix indentation. Approved by: pjd (mentor) Modified: head/sbin/hastd/primary.c Modified: head/sbin/hastd/primary.c

svn commit: r223971 - head/sys/fs/nfsclient

2011-07-12 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 13 00:48:36 2011 New Revision: 223971 URL: http://svn.freebsd.org/changeset/base/223971 Log: r222389 introduced a case where the NFSv4 client could loop in nfscl_getcl() when a forced dismount is in progress, because nfsv4_lock() will return 0 without sleeping

Re: svn commit: r223917 - head/etc/rc.d

2011-07-12 Thread Ryan Stone
I can confirm that on a 8.2-RELEASE derived system, the loader is setting module_path correctly: (TPC-F4-42:wheel)# cat /boot/loader.conf.local kernel="STOCK" module_path="/boot/kernel;/boot/modules;/modules" (TPC-F4-42:wheel)# sysctl kern.module_path kern.module_path: /boot/STOCK;/boot/kernel;/b

Re: svn commit: r223917 - head/etc/rc.d

2011-07-12 Thread Doug Barton
On 07/12/2011 04:58, John Baldwin wrote: > On Monday, July 11, 2011 8:13:19 pm Doug Barton wrote: >> On 07/11/2011 08:14, John Baldwin wrote: >>> On Sunday, July 10, 2011 8:53:31 pm Doug Barton wrote: On 07/10/2011 17:42, Pan Tsu wrote: > Doug Barton writes: > > Doesn't /boot/supp

svn commit: r223967 - head/lib/libc/sys

2011-07-12 Thread Konstantin Belousov
Author: kib Date: Tue Jul 12 20:38:42 2011 New Revision: 223967 URL: http://svn.freebsd.org/changeset/base/223967 Log: Document RFTSIGZMB. Fix spelling of SIGCHLD. Note that signals are delivered, not returned. MFC after:1 week Modified: head/lib/libc/sys/rfork.2 Modified: head/li

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

2011-07-12 Thread Konstantin Belousov
Author: kib Date: Tue Jul 12 20:37:18 2011 New Revision: 223966 URL: http://svn.freebsd.org/changeset/base/223966 Log: Implement an RFTSIGZMB flag to rfork(2) to specify a signal that is delivered to parent when the child exists. Submitted by: Petr Salinger (Debian/kFreeBSD) MFC after:

Re: svn commit: r198351 - head/share/zoneinfo

2011-07-12 Thread Pawel Jakub Dawidek
On Tue, Oct 27, 2009 at 05:45:17PM +1100, Edwin Groothuis wrote: > On Tue, Oct 27, 2009 at 06:52:51AM +0200, Andriy Gapon wrote: > > on 27/10/2009 02:42 Edwin Groothuis said the following: > > > On Mon, Oct 26, 2009 at 08:05:31PM -0400, Ben Kaduk wrote: > > >>> + fi; \ > > >>>

svn commit: r223965 - head/sys/netinet

2011-07-12 Thread Michael Tuexen
Author: tuexen Date: Tue Jul 12 20:14:03 2011 New Revision: 223965 URL: http://svn.freebsd.org/changeset/base/223965 Log: Don't check for SOCK_DGRAM anymore. Also remove multicast related code which is not necessary anymore. Modified: head/sys/netinet/sctp_pcb.c Modified: head/sys/netinet/

svn commit: r223964 - head/lib/libprocstat

2011-07-12 Thread Sergey Kandaurov
Author: pluknet Date: Tue Jul 12 19:48:21 2011 New Revision: 223964 URL: http://svn.freebsd.org/changeset/base/223964 Log: Mention myself in the AUTHORS section. Requested by: stas Modified: head/lib/libprocstat/libprocstat.3 Modified: head/lib/libprocstat/libprocstat.3

Re: svn commit: r223917 - head/etc/rc.d

2011-07-12 Thread John Baldwin
On Monday, July 11, 2011 8:13:19 pm Doug Barton wrote: > On 07/11/2011 08:14, John Baldwin wrote: > > On Sunday, July 10, 2011 8:53:31 pm Doug Barton wrote: > >> On 07/10/2011 17:42, Pan Tsu wrote: > >>> Doug Barton writes: > >>> > >>> Doesn't /boot/support.4th already populates kern.module_path w

svn commit: r223963 - in head/sys: netinet netinet6

2011-07-12 Thread Michael Tuexen
Author: tuexen Date: Tue Jul 12 19:29:29 2011 New Revision: 223963 URL: http://svn.freebsd.org/changeset/base/223963 Log: The socket API only specifies SCTP for SOCK_SEQPACKET and SOCK_STREAM, but not SOCK_DGRAM. So don't register it for SOCK_DGRAM. While there, fix some indentation. Modi

Re: svn commit: r223947 - head/usr.bin/netstat

2011-07-12 Thread Michael Tuexen
On Jul 12, 2011, at 8:17 PM, Doug Barton wrote: > On 07/12/2011 04:47, Michael Tuexen wrote: >> Author: tuexen >> Date: Tue Jul 12 11:47:08 2011 >> New Revision: 223947 >> URL: http://svn.freebsd.org/changeset/base/223947 >> >> Log: >> Truncate link addresses like it is done for any >> other ad

Re: svn commit: r223947 - head/usr.bin/netstat

2011-07-12 Thread Doug Barton
On 07/12/2011 04:47, Michael Tuexen wrote: > Author: tuexen > Date: Tue Jul 12 11:47:08 2011 > New Revision: 223947 > URL: http://svn.freebsd.org/changeset/base/223947 > > Log: > Truncate link addresses like it is done for any > other address type. The more IPv6 is used the less optimal this

svn commit: r223962 - head/sys/sparc64/sparc64

2011-07-12 Thread Marius Strobl
Author: marius Date: Tue Jul 12 18:10:56 2011 New Revision: 223962 URL: http://svn.freebsd.org/changeset/base/223962 Log: Remove NULL assignments which are redundant for static timecounters. Submitted by: jkim Modified: head/sys/sparc64/sparc64/tick.c Modified: head/sys/sparc64/sparc64/

svn commit: r223961 - head/sys/sparc64/sparc64

2011-07-12 Thread Marius Strobl
Author: marius Date: Tue Jul 12 18:02:37 2011 New Revision: 223961 URL: http://svn.freebsd.org/changeset/base/223961 Log: - Remove redundant timecounter masking from counter_get_timecount(). - Zero the timecounter when allocation so we don't need to initialize unused members and remove a n

svn commit: r223960 - head/sys/sparc64/pci

2011-07-12 Thread Marius Strobl
Author: marius Date: Tue Jul 12 17:56:42 2011 New Revision: 223960 URL: http://svn.freebsd.org/changeset/base/223960 Log: - Current testing shows that (ab)using the JBC performance counter in bus cycle mode as timecounter just works fine. My best guess is that a firmware update has fixed

svn commit: r223959 - head/sys/sparc64/pci

2011-07-12 Thread Marius Strobl
Author: marius Date: Tue Jul 12 17:55:34 2011 New Revision: 223959 URL: http://svn.freebsd.org/changeset/base/223959 Log: - Add a missing shift in schizo_get_timecount(). This happened to be non-fatal as STX_CTRL_PERF_CNT_CNT0_SHIFT actually is zero, if we were using the second counter i

Re: svn commit: r223604 - head/etc/devd

2011-07-12 Thread Warner Losh
On Jul 12, 2011, at 2:16 AM, Hans Petter Selasky wrote: > On Monday 27 June 2011 22:32:19 Hans Petter Selasky wrote: >> Author: hselasky >> Date: Mon Jun 27 20:32:19 2011 >> New Revision: 223604 >> URL: http://svn.freebsd.org/changeset/base/223604 >> >> Log: >> Regenerate usb.conf after r223566

svn commit: r223957 - head/sys/dev/mxge

2011-07-12 Thread Andrew Gallatin
Author: gallatin Date: Tue Jul 12 14:43:49 2011 New Revision: 223957 URL: http://svn.freebsd.org/changeset/base/223957 Log: Fix media reporting for dual port CX4 myri10ge NICs MFC after: 7 days Sponsored by: Myricom, Inc. Modified: head/sys/dev/mxge/if_mxge.c Modified: head/sys/dev/mx

svn commit: r223955 - head/share/man/man8

2011-07-12 Thread Ivan Voras
Author: ivoras Date: Tue Jul 12 14:18:54 2011 New Revision: 223955 URL: http://svn.freebsd.org/changeset/base/223955 Log: Sort Xr's by number then by name Nitpicked by: niclas zeising at gmail.com :) Modified: head/share/man/man8/picobsd.8 Modified: head/share/man/man8/picobsd.8 ===

svn commit: r223954 - head/usr.sbin/mountd

2011-07-12 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 12 14:04:36 2011 New Revision: 223954 URL: http://svn.freebsd.org/changeset/base/223954 Log: Try and fix the exports.5 man page so that it clarifies how NFSv4 exports are handled. Improved by informal review comments from mckusick, kudak at mit.edu and bde. T

svn commit: r223953 - in head: gnu/usr.bin/groff/tmac lib/libprocstat

2011-07-12 Thread Sergey Kandaurov
Author: pluknet Date: Tue Jul 12 13:46:13 2011 New Revision: 223953 URL: http://svn.freebsd.org/changeset/base/223953 Log: Provide a simple manual page for libprocstat(3). Reviewed by: jilles, gjb Added: head/lib/libprocstat/libprocstat.3 (contents, props changed) Modified: head/gnu

svn commit: r223952 - head/sys/dev/pci

2011-07-12 Thread John Baldwin
Author: jhb Date: Tue Jul 12 13:28:39 2011 New Revision: 223952 URL: http://svn.freebsd.org/changeset/base/223952 Log: Properly align the end of a candidate back region based on the window's granularity when growing a PCI-PCI window up. Tested by:dougb MFC after:3 days Modified

svn commit: r223951 - head/sys/dev/cas

2011-07-12 Thread Marius Strobl
Author: marius Date: Tue Jul 12 13:22:17 2011 New Revision: 223951 URL: http://svn.freebsd.org/changeset/base/223951 Log: Partially merge r223648, r223648 and r223949 from gem(4): - Consistently use the newly introduced sc_mac_rxcfg throughout the driver instead of reading the old content

svn commit: r223949 - head/sys/dev/gem

2011-07-12 Thread Marius Strobl
Author: marius Date: Tue Jul 12 13:06:44 2011 New Revision: 223949 URL: http://svn.freebsd.org/changeset/base/223949 Log: Correct r223648; as gem_init_locked() was calling gem_setladrf(), which sets GEM_MAC_RX_CONFIG based on sc_mac_rxcfg which in turn is initialized to zero, before reading

svn commit: r223947 - head/usr.bin/netstat

2011-07-12 Thread Michael Tuexen
Author: tuexen Date: Tue Jul 12 11:47:08 2011 New Revision: 223947 URL: http://svn.freebsd.org/changeset/base/223947 Log: Truncate link addresses like it is done for any other address type. MFC after: 4 weeks Modified: head/usr.bin/netstat/if.c Modified: head/usr.bin/netstat/if.c

Re: svn commit: r223930 - head/sys/geom

2011-07-12 Thread Bruce Evans
On Mon, 11 Jul 2011, Andrey V. Elsukov wrote: Log: Remove include of sys/sbuf.h from geom/geom.h. sbuf support is not always required for geom/geom.h users, and no need to depend from it. PR:kern/158398 Thanks. It's not easy to recover from pollution. Modified: head/sys/geo

svn commit: r223946 - head/sbin/newfs_msdos

2011-07-12 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 12 10:07:07 2011 New Revision: 223946 URL: http://svn.freebsd.org/changeset/base/223946 Log: Use NULL instead of 0 for third argument of sigaction(2). Pointed by: kib MFC after:2 weeks Modified: head/sbin/newfs_msdos/newfs_msdos.c Modified: head/sbin/new

svn commit: r223945 - head/sbin/newfs_msdos

2011-07-12 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 12 09:03:38 2011 New Revision: 223945 URL: http://svn.freebsd.org/changeset/base/223945 Log: Add SIGINFO handler. Reviewed by: kib Obtained from:NetBSD (partly) MFC after:2 weeks Modified: head/sbin/newfs_msdos/newfs_msdos.c Modified: head/sbin/

svn commit: r223944 - head/sys/dev/gem

2011-07-12 Thread Marius Strobl
Author: marius Date: Tue Jul 12 08:20:15 2011 New Revision: 223944 URL: http://svn.freebsd.org/changeset/base/223944 Log: According to the OpenSolaris source the PCI latency and the cache line size should be set for Sun ERI. Tested by:yongari Modified: head/sys/dev/gem/if_gem.c head

Re: svn commit: r223604 - head/etc/devd

2011-07-12 Thread Hans Petter Selasky
On Monday 27 June 2011 22:32:19 Hans Petter Selasky wrote: > Author: hselasky > Date: Mon Jun 27 20:32:19 2011 > New Revision: 223604 > URL: http://svn.freebsd.org/changeset/base/223604 > > Log: > Regenerate usb.conf after r223566. > > Modified: > head/etc/devd/usb.conf > Should the install