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

2010-09-21 Thread David Xu
Author: davidxu Date: Tue Sep 21 06:47:04 2010 New Revision: 212952 URL: http://svn.freebsd.org/changeset/base/212952 Log: If we are at cancellation point, always work as deferred mode despite whether asynchronous mode is turned on or not, this always gives us a chance to decide whether

svn commit: r212954 - head/sys/conf

2010-09-21 Thread Andrew Thompson
Author: thompsa Date: Tue Sep 21 07:03:53 2010 New Revision: 212954 URL: http://svn.freebsd.org/changeset/base/212954 Log: Fix the path to the sys dir when cross compiling after r209510. Reviewed by: imp Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh

svn commit: r212957 - in head/sys/mips/rmi: . dev/nlge

2010-09-21 Thread Jayachandran C.
Author: jchandra Date: Tue Sep 21 07:58:47 2010 New Revision: 212957 URL: http://svn.freebsd.org/changeset/base/212957 Log: n32 fixes for nlge. Use correct define (__mips_n64) for n64 compilation and use correct parameter type for xlr_paddr_lw() in n32. Modified:

svn commit: r212958 - head/sys/kern

2010-09-21 Thread Alexander Motin
Author: mav Date: Tue Sep 21 08:02:02 2010 New Revision: 212958 URL: http://svn.freebsd.org/changeset/base/212958 Log: Until hardclock() and respectively tc_windup() called first time, system is running on dummy time counter. But to function properly in one-shot mode, event timer management

svn commit: r212959 - head/sbin/mount_unionfs

2010-09-21 Thread Ed Schouten
Author: ed Date: Tue Sep 21 08:25:00 2010 New Revision: 212959 URL: http://svn.freebsd.org/changeset/base/212959 Log: Add a notice to the man page that batteries should be installed. Modified: head/sbin/mount_unionfs/mount_unionfs.8 Modified: head/sbin/mount_unionfs/mount_unionfs.8

svn commit: r212961 - in head/crypto/openssl/crypto: . rc5

2010-09-21 Thread Rui Paulo
Author: rpaulo Date: Tue Sep 21 10:22:29 2010 New Revision: 212961 URL: http://svn.freebsd.org/changeset/base/212961 Log: Bring in OpenSSL checkin 19821: Make inline assembler clang-friendly [from HEAD]. openssl/crypto/md32_common.h 1.45.2.1 - 1.45.2.2

Re: svn commit: r212886 - head/sbin/growfs

2010-09-21 Thread Brian Somers
On Mon, 20 Sep 2010 16:55:57 +1000 (EST) Bruce Evans b...@optusnet.com.au wrote: On Mon, 20 Sep 2010, Marcel Moolenaar wrote: Log: Unbreak the build on strong-aligned architectures (arm, ia64). Casting from (char *) to (struct ufs1_dinode *) changes the alignment requirement of the

Re: svn commit: r212886 - head/sbin/growfs

2010-09-21 Thread Bruce Evans
On Tue, 21 Sep 2010, Brian Somers wrote: On Mon, 20 Sep 2010 16:55:57 +1000 (EST) Bruce Evans b...@optusnet.com.au wrote: On Mon, 20 Sep 2010, Marcel Moolenaar wrote: Log: Unbreak the build on strong-aligned architectures (arm, ia64). Casting from (char *) to (struct ufs1_dinode *)

svn commit: r212964 - head/sys/kern

2010-09-21 Thread Andriy Gapon
Author: avg Date: Tue Sep 21 15:07:44 2010 New Revision: 212964 URL: http://svn.freebsd.org/changeset/base/212964 Log: kdb_backtrace: stack(9)-based code to print backtrace without any backend The idea is to add KDB and KDB_TRACE options to GENERIC kernels on stable branches, so that at

Re: svn commit: r212964 - head/sys/kern

2010-09-21 Thread mdf
On Tue, Sep 21, 2010 at 8:07 AM, Andriy Gapon a...@freebsd.org wrote: Author: avg Date: Tue Sep 21 15:07:44 2010 New Revision: 212964 URL: http://svn.freebsd.org/changeset/base/212964 Log:  kdb_backtrace: stack(9)-based code to print backtrace without any backend  The idea is to add KDB

Re: svn commit: r212964 - head/sys/kern

2010-09-21 Thread Andriy Gapon
on 21/09/2010 18:27 Andriy Gapon said the following: on 21/09/2010 18:17 m...@freebsd.org said the following: I'd recommend using stack_print_ddb(), as that avoids any locking which may hang depending on how the kernel panic'd. It seems that stack_print_ddb() depends on DDB? But the point

Re: svn commit: r212964 - head/sys/kern

2010-09-21 Thread Attilio Rao
2010/9/21 Andriy Gapon a...@freebsd.org: on 21/09/2010 18:27 Andriy Gapon said the following: on 21/09/2010 18:17 m...@freebsd.org said the following: I'd recommend using stack_print_ddb(), as that avoids any locking which may hang depending on how the kernel panic'd. It seems that

Re: svn commit: r209510 - head

2010-09-21 Thread M. Warner Losh
In message: 20100920.230006.634347869592887498@bsdimp.com M. Warner Losh i...@bsdimp.com writes: : In message: aanlktikbuhdm+cbowity4sbdwlxx74jysxhwvgg+h...@mail.gmail.com : Andrew Thompson thom...@freebsd.org writes: : : On 25 June 2010 04:32, Warner Losh

Re: svn commit: r212964 - head/sys/kern

2010-09-21 Thread Andriy Gapon
on 21/09/2010 18:17 m...@freebsd.org said the following: I'd recommend using stack_print_ddb(), as that avoids any locking which may hang depending on how the kernel panic'd. How does the following look to you? I hope I haven't freed too much from under DDB. The patch compiles fine with STACK

Re: svn commit: r212964 - head/sys/kern

2010-09-21 Thread Attilio Rao
2010/9/21 Andriy Gapon a...@freebsd.org: on 21/09/2010 18:17 m...@freebsd.org said the following: I'd recommend using stack_print_ddb(), as that avoids any locking which may hang depending on how the kernel panic'd. How does the following look to you? I hope I haven't freed too much from

svn commit: r212965 - in head: lib/libc/sys sys/kern sys/sys

2010-09-21 Thread Alan Cox
Author: alc Date: Tue Sep 21 16:24:51 2010 New Revision: 212965 URL: http://svn.freebsd.org/changeset/base/212965 Log: Fix exec_imgact_shell()'s handling of two error cases: (1) Previously, if the first line of a script exceeded MAXSHELLCMDLEN characters, then exec_imgact_shell() silently

Re: svn commit: r212964 - head/sys/kern

2010-09-21 Thread mdf
On Tue, Sep 21, 2010 at 8:40 AM, Andriy Gapon a...@freebsd.org wrote: on 21/09/2010 18:27 Andriy Gapon said the following: on 21/09/2010 18:17 m...@freebsd.org said the following: I'd recommend using stack_print_ddb(), as that avoids any locking which may hang depending on how the kernel

svn commit: r212967 - head/sys/kern

2010-09-21 Thread Alexander Motin
Author: mav Date: Tue Sep 21 16:50:24 2010 New Revision: 212967 URL: http://svn.freebsd.org/changeset/base/212967 Log: Remember last kern.eventtimer.periodic value, explicitly set by user. If timer capabilities forcing us to change periodicity mode, try to restore it back later, as soon as

Re: svn commit: r212964 - head/sys/kern

2010-09-21 Thread John Baldwin
On Tuesday, September 21, 2010 12:31:01 pm m...@freebsd.org wrote: On Tue, Sep 21, 2010 at 8:40 AM, Andriy Gapon a...@freebsd.org wrote: on 21/09/2010 18:27 Andriy Gapon said the following: on 21/09/2010 18:17 m...@freebsd.org said the following: I'd recommend using stack_print_ddb(), as

Re: svn commit: r212964 - head/sys/kern

2010-09-21 Thread Matthew Jacob
Err, I don't think _mtx_lock_sleep() is guarded in that fashion? I have an old patch to do that but have never committed it. If we want that we should probably change rwlocks and sxlocks to have also not block when panicstr is set. Seems to me you are backing into interesting territory

Re: svn commit: r212964 - head/sys/kern

2010-09-21 Thread Alexander Motin
Matthew Jacob wrote: Err, I don't think _mtx_lock_sleep() is guarded in that fashion? I have an old patch to do that but have never committed it. If we want that we should probably change rwlocks and sxlocks to have also not block when panicstr is set. Seems to me you are backing

Re: svn commit: r212964 - head/sys/kern

2010-09-21 Thread Matthew Jacob
Absolutely. I have patches for RELENG_7, but have had trouble moving it to head. Seems to me you are backing into interesting territory here- getting a bit more like Solaris. If you *do* do this, then you really *do* need to stop all other CPUs when you panic, or else it's likely you'll

svn commit: r212968 - head/sys/dev/ae

2010-09-21 Thread Pyun YongHyeon
Author: yongari Date: Tue Sep 21 17:25:15 2010 New Revision: 212968 URL: http://svn.freebsd.org/changeset/base/212968 Log: Remove unnecessary controller reinitialization. PR: kern/87506 Modified: head/sys/dev/ae/if_ae.c Modified: head/sys/dev/ae/if_ae.c

svn commit: r212969 - head/sys/dev/et

2010-09-21 Thread Pyun YongHyeon
Author: yongari Date: Tue Sep 21 17:31:14 2010 New Revision: 212969 URL: http://svn.freebsd.org/changeset/base/212969 Log: Make sure to clear IFF_DRV_RUNNING to reinitialize controller. While I'm here update if_oerrors counter when driver encounters watchdog timeout. Modified:

svn commit: r212970 - head/sys/kern

2010-09-21 Thread Alexander Motin
Author: mav Date: Tue Sep 21 17:37:28 2010 New Revision: 212970 URL: http://svn.freebsd.org/changeset/base/212970 Log: If new callout scheduled to another CPU and we are using global timer, there is high probability that timer is already programmed by some other CPU. Especially by one that

Re: svn commit: r212964 - head/sys/kern

2010-09-21 Thread mdf
On Tue, Sep 21, 2010 at 9:50 AM, John Baldwin j...@freebsd.org wrote: On Tuesday, September 21, 2010 12:31:01 pm m...@freebsd.org wrote: On Tue, Sep 21, 2010 at 8:40 AM, Andriy Gapon a...@freebsd.org wrote: on 21/09/2010 18:27 Andriy Gapon said the following: on 21/09/2010 18:17

Re: svn commit: r212964 - head/sys/kern

2010-09-21 Thread Matthew Jacob
FWIW, I think that this would be a *good* thing. One of the problems with panic is that you can't really reset the state of the world, so most kernel services are not reliable. Unfortunately, mechanisms for preserving forensics for debug require some kernel services. Seems to me you are

Re: svn commit: r212959 - head/sbin/mount_unionfs

2010-09-21 Thread Doug Barton
You forgot to bump .Dd On 9/21/2010 1:25 AM, Ed Schouten wrote: Author: ed Date: Tue Sep 21 08:25:00 2010 New Revision: 212959 URL: http://svn.freebsd.org/changeset/base/212959 Log: Add a notice to the man page that batteries should be installed. Modified:

svn commit: r212974 - head/sys/kern

2010-09-21 Thread John Baldwin
Author: jhb Date: Tue Sep 21 19:12:22 2010 New Revision: 212974 URL: http://svn.freebsd.org/changeset/base/212974 Log: Comment nit, set TDF_NEEDRESCHED after the comment describing why it is done rather than before. MFC after:1 week Modified: head/sys/kern/sched_ule.c Modified:

svn commit: r212976 - head/lib/libc/i386/gen

2010-09-21 Thread Rui Paulo
Author: rpaulo Date: Tue Sep 21 20:23:19 2010 New Revision: 212976 URL: http://svn.freebsd.org/changeset/base/212976 Log: Workaround LLVM bug #4434: Reorder inline assembly arguments temp2, temp, value and texp to follow the st(0), st(1), etc. style. Also mark the temp2 variable as

Re: svn commit: r212976 - head/lib/libc/i386/gen

2010-09-21 Thread Rui Paulo
On 21 Sep 2010, at 21:23, Rui Paulo wrote: Author: rpaulo Date: Tue Sep 21 20:23:19 2010 New Revision: 212976 URL: http://svn.freebsd.org/changeset/base/212976 Log: Workaround LLVM bug #4434: Reorder inline assembly arguments temp2, temp, value and texp to follow the st(0), st(1),

svn commit: r212978 - head/cddl/usr.sbin/plockstat

2010-09-21 Thread Christian Brueffer
Author: brueffer Date: Tue Sep 21 21:07:46 2010 New Revision: 212978 URL: http://svn.freebsd.org/changeset/base/212978 Log: Minor grammar fixes. Modified: head/cddl/usr.sbin/plockstat/plockstat.1 Modified: head/cddl/usr.sbin/plockstat/plockstat.1

svn commit: r212979 - in head: gnu/lib/libobjc sys/boot/i386/boot2 sys/boot/pc98/boot2

2010-09-21 Thread Dimitry Andric
Author: dim Date: Tue Sep 21 21:41:45 2010 New Revision: 212979 URL: http://svn.freebsd.org/changeset/base/212979 Log: When building world with clang, for gnu/lib/libobjc, sys/boot/i386/boot2 and sys/boot/pc98/boot2, do not simply assign 'gcc' to CC, since compile flags are sometimes passed

svn commit: r212980 - in head: share/man/man4 sys/dev/usb sys/dev/usb/net

2010-09-21 Thread MIHIRA Sanpei Yoshiro
Author: sanpei Date: Tue Sep 21 22:42:14 2010 New Revision: 212980 URL: http://svn.freebsd.org/changeset/base/212980 Log: Add new device ids. Buffalo (Melco Inc.) LUA3-U2-AGT Logitec LAN-GTJ/U2A(usb/119981) PR: usb/119981 and me Submitted by: Y.Okabe be_works_us at

Re: svn commit: r212959 - head/sbin/mount_unionfs

2010-09-21 Thread Alexey Dokuchaev
On Tue, Sep 21, 2010 at 12:01:03PM -0700, Doug Barton wrote: You forgot to bump .Dd I thought it is required when manpages undergoes substantial or at least functional changes. ./danfe ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r212959 - head/sbin/mount_unionfs

2010-09-21 Thread Doug Barton
On 9/21/2010 7:14 PM, Alexey Dokuchaev wrote: On Tue, Sep 21, 2010 at 12:01:03PM -0700, Doug Barton wrote: You forgot to bump .Dd I thought it is required when manpages undergoes substantial or at least functional changes. Seriously? You people are so humor-deficient that you didn't

Re: svn commit: r212959 - head/sbin/mount_unionfs

2010-09-21 Thread Steve Kargl
On Tue, Sep 21, 2010 at 07:16:28PM -0700, Doug Barton wrote: On 9/21/2010 7:14 PM, Alexey Dokuchaev wrote: On Tue, Sep 21, 2010 at 12:01:03PM -0700, Doug Barton wrote: You forgot to bump .Dd I thought it is required when manpages undergoes substantial or at least functional changes.

svn commit: r212989 - in head/sys/mips: include mips sibyte

2010-09-21 Thread Neel Natu
Author: neel Date: Wed Sep 22 02:26:07 2010 New Revision: 212989 URL: http://svn.freebsd.org/changeset/base/212989 Log: Enforce that 'pmap_kenter()' is only used to establish cacheable mappings. Mappings with other cacheability attributes can be established, if needed, by using

Re: svn commit: r212959 - head/sbin/mount_unionfs

2010-09-21 Thread Doug Barton
On 9/21/2010 7:19 PM, Steve Kargl wrote: On Tue, Sep 21, 2010 at 07:16:28PM -0700, Doug Barton wrote: On 9/21/2010 7:14 PM, Alexey Dokuchaev wrote: On Tue, Sep 21, 2010 at 12:01:03PM -0700, Doug Barton wrote: You forgot to bump .Dd I thought it is required when manpages undergoes

svn commit: r212990 - head/tools/tools/nanobsd

2010-09-21 Thread Warner Losh
Author: imp Date: Wed Sep 22 04:48:39 2010 New Revision: 212990 URL: http://svn.freebsd.org/changeset/base/212990 Log: Make the labels match the device name that's mounted, not just the slice they are on. When NANO_LABEL is not defined, the fstab generates entries that specify /dev/ad0s1a.

svn commit: r212991 - head/sys/cam

2010-09-21 Thread Alexander Motin
Author: mav Date: Wed Sep 22 05:17:18 2010 New Revision: 212991 URL: http://svn.freebsd.org/changeset/base/212991 Log: Decrease poll interval from 1000 to 100us. This significantly reduces kernel dump time, especially with minidump. Modified: head/sys/cam/cam_xpt.c Modified:

svn commit: r212992 - head/sys/kern

2010-09-21 Thread Alexander Motin
Author: mav Date: Wed Sep 22 05:32:37 2010 New Revision: 212992 URL: http://svn.freebsd.org/changeset/base/212992 Log: If kernel built with DEVICE_POLLING, keep one CPU always in active state to handle it. Modified: head/sys/kern/kern_clocksource.c Modified: