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

2010-10-14 Thread David Xu
Peter Holm wrote: On Tue, Oct 12, 2010 at 12:36:56AM +, David Xu wrote: Author: davidxu Date: Tue Oct 12 00:36:56 2010 New Revision: 213714 URL: http://svn.freebsd.org/changeset/base/213714 Log: Add a flag TDF_TIDHASH to prevent a thread from being added to or removed from thread hash

svn commit: r213829 - head/sys/kern

2010-10-14 Thread David Xu
Author: davidxu Date: Thu Oct 14 08:01:33 2010 New Revision: 213829 URL: http://svn.freebsd.org/changeset/base/213829 Log: In kern_sigtimedwait(), move initialization code out of process lock, instead of using SIGISMEMBER to test every interesting signal, just unmask the signal set and let

Re: svn commit: r213643 - head/usr.bin/ar

2010-10-14 Thread Erik Cederstrand
Den 13/10/2010 kl. 05.55 skrev Bruce Evans: I also don't like distributions that stamp every file with their release build time (or maybe a little later, with a single release time). How would do you prevent clobbering metadata outside of archives? What I do is install with -C -p (and also

svn commit: r213831 - head/usr.sbin/ntp

2010-10-14 Thread Gleb Smirnoff
Author: glebius Date: Thu Oct 14 11:20:23 2010 New Revision: 213831 URL: http://svn.freebsd.org/changeset/base/213831 Log: Enable the shared memory reference clock driver. The GPS devices are getting more and more popular, as source of precise time, and the gpsd daemon from ports is using

svn commit: r213832 - head/sys/netinet

2010-10-14 Thread Bjoern A. Zeeb
Author: bz Date: Thu Oct 14 12:32:49 2010 New Revision: 213832 URL: http://svn.freebsd.org/changeset/base/213832 Log: Use ifa_ifwithaddr_check() rather than ifa_ifwithaddr() as we are not interested in the result and would leak a reference otherwise. PR: kern/151435 Submitted

Re: svn commit: r213813 - in head: share/man/man9 sys/kern sys/sys

2010-10-14 Thread John Baldwin
On Wednesday, October 13, 2010 6:59:04 pm Matthew D Fleming wrote: Author: mdf Date: Wed Oct 13 22:59:04 2010 New Revision: 213813 URL: http://svn.freebsd.org/changeset/base/213813 Log: Use a safer mechanism for determining if a task is currently running, that does not rely on the

svn commit: r213835 - head/gnu/usr.bin/groff/tmac

2010-10-14 Thread Jaakko Heinonen
Author: jh Date: Thu Oct 14 14:48:11 2010 New Revision: 213835 URL: http://svn.freebsd.org/changeset/base/213835 Log: Add FreeBSD 8.2. Reviewed by: ru MFC after:3 days Modified: head/gnu/usr.bin/groff/tmac/mdoc.local Modified: head/gnu/usr.bin/groff/tmac/mdoc.local

svn commit: r213836 - head/sys/netipsec

2010-10-14 Thread Bjoern A. Zeeb
Author: bz Date: Thu Oct 14 14:49:49 2010 New Revision: 213836 URL: http://svn.freebsd.org/changeset/base/213836 Log: Style: make the asterisk go with the variable name, not the type. MFC after:3 days Modified: head/sys/netipsec/ipsec_output.c Modified:

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

2010-10-14 Thread Peter Holm
On Tue, Oct 12, 2010 at 12:36:56AM +, David Xu wrote: Author: davidxu Date: Tue Oct 12 00:36:56 2010 New Revision: 213714 URL: http://svn.freebsd.org/changeset/base/213714 Log: Add a flag TDF_TIDHASH to prevent a thread from being added to or removed from thread hash table

svn commit: r213837 - head/sys/netipsec

2010-10-14 Thread Bjoern A. Zeeb
Author: bz Date: Thu Oct 14 15:15:22 2010 New Revision: 213837 URL: http://svn.freebsd.org/changeset/base/213837 Log: Remove dead code: assignment to a local variable not used anywhere after that. MFC after:3 days Modified: head/sys/netipsec/ipsec_output.c Modified:

Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread John Nielsen
I'm migrating a box from 8-STABLE to -CURRENT this morning and this commit seems to break buildkernel: cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes

Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread Jung-uk Kim
On Thursday 14 October 2010 11:18 am, John Nielsen wrote: I'm migrating a box from 8-STABLE to -CURRENT this morning and this commit seems to break buildkernel: cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall

Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread John Nielsen
On Oct 14, 2010, at 12:17 PM, Jung-uk Kim wrote: On Thursday 14 October 2010 11:18 am, John Nielsen wrote: I'm migrating a box from 8-STABLE to -CURRENT this morning and this commit seems to break buildkernel: cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm

Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread Dmitry Morozovsky
On Thu, 14 Oct 2010, John Nielsen wrote: JN I'm migrating a box from 8-STABLE to -CURRENT this morning and this JN commit seems to break buildkernel: JN JN cc -O2 -pipe -nostdinc -I/usr/include -I. JN -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers JN -Werror -Wall

svn commit: r213839 - head/sys/dev/mps

2010-10-14 Thread Matthew D Fleming
Author: mdf Date: Thu Oct 14 16:44:05 2010 New Revision: 213839 URL: http://svn.freebsd.org/changeset/base/213839 Log: Re-work the internals of adding items to the driver's scatter-gather list. Use the new internals to simplify adding transaction context elements, and in future diffs, more

Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread John Baldwin
On Thursday, October 14, 2010 12:41:45 pm Dmitry Morozovsky wrote: On Thu, 14 Oct 2010, John Nielsen wrote: JN I'm migrating a box from 8-STABLE to -CURRENT this morning and this JN commit seems to break buildkernel: JN JN cc -O2 -pipe -nostdinc -I/usr/include -I. JN

svn commit: r213841 - head/sys/dev/dc

2010-10-14 Thread Pyun YongHyeon
Author: yongari Date: Thu Oct 14 17:22:38 2010 New Revision: 213841 URL: http://svn.freebsd.org/changeset/base/213841 Log: It seems some multi-port dc(4) controllers shares SROM of the first port such that reading station address from second port always returned

svn commit: r213842 - head/sys/dev/alc

2010-10-14 Thread Pyun YongHyeon
Author: yongari Date: Thu Oct 14 17:57:52 2010 New Revision: 213842 URL: http://svn.freebsd.org/changeset/base/213842 Log: Backout r204230. TX mbuf parser for VLAN is still required to enable TX checksum offloading if VLAN hardware tagging is disabled. Modified: head/sys/dev/alc/if_alc.c

svn commit: r213844 - in head/sys/dev: age alc ale bce bge fxp jme sge

2010-10-14 Thread Pyun YongHyeon
Author: yongari Date: Thu Oct 14 18:31:40 2010 New Revision: 213844 URL: http://svn.freebsd.org/changeset/base/213844 Log: Make sure to not use stale ip/tcp header pointers. The ip/tcp header parser uses m_pullup(9) to get access to mbuf chain. m_pullup(9) can allocate new mbuf chain and

Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread Jung-uk Kim
On Thursday 14 October 2010 01:06 pm, John Baldwin wrote: On Thursday, October 14, 2010 12:41:45 pm Dmitry Morozovsky wrote: On Thu, 14 Oct 2010, John Nielsen wrote: JN I'm migrating a box from 8-STABLE to -CURRENT this morning and this JN commit seems to break buildkernel: JN JN

Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread Dmitry Morozovsky
On Thu, 14 Oct 2010, Jung-uk Kim wrote: JK JN I'm migrating a box from 8-STABLE to -CURRENT this morning JK and this JN commit seems to break buildkernel: [snip] JK I can confirm this: my build machine, which is JK JK FreeBSD beaver.rinet.ru 8.1-STABLE FreeBSD 8.1-STABLE #1 JK

Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread Jung-uk Kim
On Thursday 14 October 2010 03:05 pm, Jung-uk Kim wrote: On Thursday 14 October 2010 01:06 pm, John Baldwin wrote: On Thursday, October 14, 2010 12:41:45 pm Dmitry Morozovsky wrote: On Thu, 14 Oct 2010, John Nielsen wrote: JN I'm migrating a box from 8-STABLE to -CURRENT this

svn commit: r213845 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread Rui Paulo
Author: rpaulo Date: Thu Oct 14 19:19:19 2010 New Revision: 213845 URL: http://svn.freebsd.org/changeset/base/213845 Log: Revert r213765. This is required because our build infrastructure uses the host lex instead of the lex built during buildworld. I will MFC the lex changes soon and in a

Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread Dmitry Morozovsky
On Thu, 14 Oct 2010, Jung-uk Kim wrote: JK JK JK JN I'm migrating a box from 8-STABLE to -CURRENT this JK morning JK and this JN commit seems to break buildkernel: JK JK [snip] JK JK JK I can confirm this: my build machine, which is JK JK JK JK FreeBSD beaver.rinet.ru

svn commit: r213846 - head/sys/compat/linux

2010-10-14 Thread Konstantin Belousov
Author: kib Date: Thu Oct 14 19:30:44 2010 New Revision: 213846 URL: http://svn.freebsd.org/changeset/base/213846 Log: Remove stale comment. Submitted by: arundel MFC after:3 days Modified: head/sys/compat/linux/linux_util.h Modified: head/sys/compat/linux/linux_util.h

Re: svn commit: r213845 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread John Baldwin
On Thursday, October 14, 2010 3:19:19 pm Rui Paulo wrote: Author: rpaulo Date: Thu Oct 14 19:19:19 2010 New Revision: 213845 URL: http://svn.freebsd.org/changeset/base/213845 Log: Revert r213765. This is required because our build infrastructure uses the host lex instead of the lex

Re: svn commit: r213793 - in head/sys/dev: ce cp

2010-10-14 Thread Jung-uk Kim
On Wednesday 13 October 2010 09:16 pm, Bruce Evans wrote: On Wed, 13 Oct 2010, Jung-uk Kim wrote: On Wednesday 13 October 2010 01:27 pm, Roman Divacky wrote: Modified: head/sys/dev/ce/if_ce.c === == = ---

svn commit: r213848 - head/lib/libusb

2010-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 14 20:04:36 2010 New Revision: 213848 URL: http://svn.freebsd.org/changeset/base/213848 Log: LibUSB (new API): - Add a new API function to check the connected status of the USB handle in the LibUSB v1.0 and LibUSB v0.1 interfaces. Approved by:

svn commit: r213849 - head/lib/libusb

2010-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 14 20:18:39 2010 New Revision: 213849 URL: http://svn.freebsd.org/changeset/base/213849 Log: - Fix some compile warnings regarding comparing signed to unsigned. Approved by:thompsa (mentor) Modified: head/lib/libusb/libusb10_io.c Modified:

Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread Dmitry Morozovsky
On Thu, 14 Oct 2010, Dmitry Morozovsky wrote: [snip] DM JK Hmm... That means make buildkernel did not pick up newly built lex. DM JK That's bad. :-( DM DM It seems Rui's r213845 should fix this; I'm checking this right now... Confirmed: this revision really fixed build. -- Sincerely,

svn commit: r213852 - in head: lib/libusb sys/dev/usb

2010-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 14 20:38:18 2010 New Revision: 213852 URL: http://svn.freebsd.org/changeset/base/213852 Log: - Add support for LibUSB in 32-bit compatibility mode. Approved by:thompsa (mentor) Modified: head/lib/libusb/Makefile head/lib/libusb/libusb20.c

svn commit: r213853 - head/lib/libusb

2010-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 14 20:50:33 2010 New Revision: 213853 URL: http://svn.freebsd.org/changeset/base/213853 Log: - Add missing LibUSB API functions: * libusb_strerror() * libusb_get_driver[_np]() * libusb_detach_kernel_driver[_np]() - Factor out setting of non-blocking

svn commit: r213856 - in head/sys/dev/usb: . quirk

2010-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 14 21:09:37 2010 New Revision: 213856 URL: http://svn.freebsd.org/changeset/base/213856 Log: - Add more USB devices to usbdevs and rename some previously unknown ones. - Add more USB mass storage quirks. Submitted by: Dmitry Luhtionov PR: usb/149934,

Re: svn commit: r213845 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread Dimitry Andric
On 2010-10-14 21:39, John Baldwin wrote: On Thursday, October 14, 2010 3:19:19 pm Rui Paulo wrote: ... Revert r213765. This is required because our build infrastructure uses the host lex instead of the lex built during buildworld. I will MFC the lex changes soon and in a few weeks

svn commit: r213857 - head/sys/dev/usb/controller

2010-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 14 21:14:33 2010 New Revision: 213857 URL: http://svn.freebsd.org/changeset/base/213857 Log: Correct EHCI port register read. Approved by:thompsa (mentor) Modified: head/sys/dev/usb/controller/ehci.c Modified: head/sys/dev/usb/controller/ehci.c

svn commit: r213861 - head/sys/dev/usb/controller

2010-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 14 21:18:18 2010 New Revision: 213861 URL: http://svn.freebsd.org/changeset/base/213861 Log: Correct EHCI root HUB interface descriptor. Approved by:thompsa (mentor) Modified: head/sys/dev/usb/controller/ehci.c Modified:

svn commit: r213864 - head/sys/dev/usb/controller

2010-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 14 21:26:06 2010 New Revision: 213864 URL: http://svn.freebsd.org/changeset/base/213864 Log: Avoid using endless retransmission at EHCI hardware level, hence this hide errors from the applications. Only use endless retransmission while in the non-addressed

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

2010-10-14 Thread Marius Strobl
Author: marius Date: Thu Oct 14 21:30:13 2010 New Revision: 213867 URL: http://svn.freebsd.org/changeset/base/213867 Log: Just like xmphy(4) this driver doesn't use any of the generic subroutines so there's no need to fill mii_{ext,}capabilities either. Modified: head/sys/dev/mii/brgphy.c

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

2010-10-14 Thread Marius Strobl
Author: marius Date: Thu Oct 14 21:34:53 2010 New Revision: 213868 URL: http://svn.freebsd.org/changeset/base/213868 Log: - In the spirit of r212559 add a comment describing what will eventually lower the PIL. - Just as with the AP ensure that the (S)TICK timer(s) are in a known state

svn commit: r213872 - head/sys/dev/usb/serial

2010-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 14 21:45:41 2010 New Revision: 213872 URL: http://svn.freebsd.org/changeset/base/213872 Log: Fix forwarding of Line Register Status changes to TTY layer. PR: usb/149675 Approved by:thompsa (mentor) Modified: head/sys/dev/usb/serial/usb_serial.c

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

2010-10-14 Thread Marius Strobl
Author: marius Date: Thu Oct 14 21:46:53 2010 New Revision: 213873 URL: http://svn.freebsd.org/changeset/base/213873 Log: Explicitly lower the PIL to 0 as part of enabling interrupts, similar to what is done on other platforms. Unlike as with the sched_throw(NULL) called on BSPs during

svn commit: r213875 - in head/usr.bin/calendar: . calendars

2010-10-14 Thread Edwin Groothuis
Author: edwin Date: Thu Oct 14 21:53:25 2010 New Revision: 213875 URL: http://svn.freebsd.org/changeset/base/213875 Log: Update manual with regarding to the status of calendars/calendar.judaic. Modified: head/usr.bin/calendar/calendar.1 head/usr.bin/calendar/calendars/calendar.judaic

svn commit: r213876 - head/sys/dev/usb/serial

2010-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 14 21:53:42 2010 New Revision: 213876 URL: http://svn.freebsd.org/changeset/base/213876 Log: Add more USB device IDs to supported list of devices. Submitted by: Nick Hibma PR: usb/149900 Approved by:thompsa (mentor) Modified:

svn commit: r213878 - in head/sys: dev/mii modules/mii

2010-10-14 Thread Marius Strobl
Author: marius Date: Thu Oct 14 22:01:40 2010 New Revision: 213878 URL: http://svn.freebsd.org/changeset/base/213878 Log: Add a NetBSD-compatible mii_attach(), which is intended to eventually replace mii_phy_probe() altogether. Compared to the latter the advantages of mii_attach() are: -

svn commit: r213879 - in head/sys/dev/usb: . serial

2010-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 14 22:06:52 2010 New Revision: 213879 URL: http://svn.freebsd.org/changeset/base/213879 Log: - Add more USB devices to usbdevs and rename some previously unknown ones. - Add more USB mass storage quirks. Submitted by: Dmitry Luhtionov PR: usb/149934,

svn commit: r213880 - head/sys/dev/usb/wlan

2010-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 14 22:14:55 2010 New Revision: 213880 URL: http://svn.freebsd.org/changeset/base/213880 Log: Add new USB device IDs to the list of supported devices. PR: usb/151043 Approved by:thompsa (mentor) Modified: head/sys/dev/usb/wlan/if_rum.c Modified:

Re: svn commit: r213879 - in head/sys/dev/usb: . serial

2010-10-14 Thread Hans Petter Selasky
On Friday 15 October 2010 00:06:52 Hans Petter Selasky wrote: r213879 Correct commit message: Add more USB device IDs to the supported list of devices. Fix U3G kernel build breakage since r213856 due to a missing usbdevs entry. Submitted by: Nick Hibma PR: usb/149764 Approved by:

svn commit: r213882 - head/sys/dev/mps

2010-10-14 Thread Matthew D Fleming
Author: mdf Date: Thu Oct 14 23:26:08 2010 New Revision: 213882 URL: http://svn.freebsd.org/changeset/base/213882 Log: Fixes to mps_user_command(): - fix the leak of command struct on error - simplify the cleanup logic - EINPROGRESS is not a fatal error - buggy comment and error

svn commit: r213883 - head/tools/regression/bin/sh/builtins

2010-10-14 Thread David E. O'Brien
Author: obrien Date: Thu Oct 14 23:28:31 2010 New Revision: 213883 URL: http://svn.freebsd.org/changeset/base/213883 Log: Embellish this testcase a little bit to be more clear what the output is and why. The first case is correct usage which has but one correct output. The 2nd and 3rd

Re: svn commit: r213846 - head/sys/compat/linux

2010-10-14 Thread Alexander Best
On Thu Oct 14 10, Konstantin Belousov wrote: Author: kib Date: Thu Oct 14 19:30:44 2010 New Revision: 213846 URL: http://svn.freebsd.org/changeset/base/213846 Log: Remove stale comment. thanks a lot. :) Submitted by: arundel MFC after: 3 days Modified:

svn commit: r213884 - in head/sys: conf modules/acpi/acpi

2010-10-14 Thread Jung-uk Kim
Author: jkim Date: Thu Oct 14 23:31:58 2010 New Revision: 213884 URL: http://svn.freebsd.org/changeset/base/213884 Log: Stop hard coding nm(1) and make it overridable. Modified: head/sys/conf/files.amd64 head/sys/modules/acpi/acpi/Makefile Modified: head/sys/conf/files.amd64

Re: svn commit: r213643 - head/usr.bin/ar

2010-10-14 Thread Benjamin Kaduk
On Thu, 14 Oct 2010, Erik Cederstrand wrote: Den 13/10/2010 kl. 05.55 skrev Bruce Evans: [Erik wrote, but the attribution was stripped] I'm a real beginner here. As I read the manuals (GNU ar and BSD ar), the only flags that really control archive contents on archive creation is 'q' and

Re: svn commit: r213793 - in head/sys/dev: ce cp

2010-10-14 Thread Bruce Evans
On Thu, 14 Oct 2010, Jung-uk Kim wrote: On Wednesday 13 October 2010 09:16 pm, Bruce Evans wrote: On Wed, 13 Oct 2010, Jung-uk Kim wrote: ... I think the attached patch should do. % Index: sys/dev/ce/if_ce.c % === % ---