svn commit: r213048 - head/sys/sys

2010-09-22 Thread Jayachandran C.
Author: jchandra Date: Thu Sep 23 05:24:50 2010 New Revision: 213048 URL: http://svn.freebsd.org/changeset/base/213048 Log: Add MIPS platform, this will make bsdlabel(8) work on MIPS (when invoked without a -m option. -m mips is still not supported) Modified: head/sys/sys/disklabel.h Modif

svn commit: r213047 - head/sys/dev/ata/chipsets

2010-09-22 Thread Jayachandran C.
Author: jchandra Date: Thu Sep 23 05:17:36 2010 New Revision: 213047 URL: http://svn.freebsd.org/changeset/base/213047 Log: Add missing byteswap, works on big endian systems now (tested on Netlogic XLS MIPS processor). Submitted by: Sreekanth M. S. Reviewed by: mav Modified: head/s

svn commit: r213044 - head/usr.bin/gzip

2010-09-22 Thread Xin LI
Author: delphij Date: Thu Sep 23 01:24:33 2010 New Revision: 213044 URL: http://svn.freebsd.org/changeset/base/213044 Log: In the past gunzip(1) write()'s after each inflate return. This is not optimal from a performance standpoint since the write buffer is not necessarily be filled up when

svn commit: r213042 - head/lib/libbluetooth

2010-09-22 Thread Maksim Yevmenkin
Author: emax Date: Wed Sep 22 23:41:02 2010 New Revision: 213042 URL: http://svn.freebsd.org/changeset/base/213042 Log: Add the following Linux BlueZ compatibility macros: htobs(), htobl(), btohs() and btohl() PR: kern/136386 Submitted by: Monty Hall < kungfu_disciple at sbcgl

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

2010-09-22 Thread Bruce Cran
On Thu, 23 Sep 2010 00:02:30 +0300 Andriy Gapon wrote: > But what was the reason that dumpdev="AUTO" was reverted? > I remember that POLA was quoted at the time. > I am not sure what the astonishment actually was - perhaps 'AUTO' was > not smart enough and destroyed somebody's data? > The probl

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

2010-09-22 Thread John Baldwin
On Wednesday, September 22, 2010 5:15:25 pm Ken Smith wrote: > On 9/22/10 5:02 PM, Andriy Gapon wrote: > > on 22/09/2010 22:58 John Baldwin said the following: > > > >> Agreed. FWIW, I actually think that this is the only change needed as > >> crashinfo is enabled by default in 8.x and later. We

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

2010-09-22 Thread Ken Smith
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/22/10 5:02 PM, Andriy Gapon wrote: > on 22/09/2010 22:58 John Baldwin said the following: > >> Agreed. FWIW, I actually think that this is the only change needed as >> crashinfo is enabled by default in 8.x and later. We already include symbols

svn commit: r213033 - head/usr.bin/calendar/calendars

2010-09-22 Thread Edwin Groothuis
Author: edwin Date: Wed Sep 22 21:14:18 2010 New Revision: 213033 URL: http://svn.freebsd.org/changeset/base/213033 Log: And now the 2nd part of the patch: Also fix the year. PR: 150504 Submitted by: Douglas Berry Modified: head/usr.bin/calendar/calendars/calendar.history M

svn commit: r213032 - head/usr.bin/calendar/calendars

2010-09-22 Thread Edwin Groothuis
Author: edwin Date: Wed Sep 22 21:10:45 2010 New Revision: 213032 URL: http://svn.freebsd.org/changeset/base/213032 Log: Fix location of the Battle of the Plains of Abraham PR: 150504 Submitted by: Douglas Berry MFC after:1 week Modified: head/usr.bin/calendar/calendar

svn commit: r213028 - head/sys/net

2010-09-22 Thread John Baldwin
Author: jhb Date: Wed Sep 22 21:02:43 2010 New Revision: 213028 URL: http://svn.freebsd.org/changeset/base/213028 Log: - Expand scope of tun/tap softc locks to cover more softc fields and driver-maintained ifnet fields (such as if_drv_flags). - Use soft locks as the mutex that protects eac

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

2010-09-22 Thread Andriy Gapon
on 22/09/2010 22:58 John Baldwin said the following: > Agreed. FWIW, I actually think that this is the only change needed as > crashinfo is enabled by default in 8.x and later. We already include symbols > in kernels by default now, so just setting dumpdev will give you the same > info you gener

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

2010-09-22 Thread John Baldwin
On Wednesday, September 22, 2010 11:23:37 am Gavin Atkinson wrote: > On Wed, 2010-09-22 at 17:43 +0300, Andriy Gapon wrote: > > on 22/09/2010 16:46 Gavin Atkinson said the following: > > > Ignoring the rest of the discussion about locking, I think this is a > > > step in the right direction. Howev

svn commit: r213013 - head/gnu/usr.bin/gdb/kgdb

2010-09-22 Thread Ed Maste
Author: emaste Date: Wed Sep 22 19:41:01 2010 New Revision: 213013 URL: http://svn.freebsd.org/changeset/base/213013 Log: Move test for zero bufp or size before rseq and wseq calculation. This avoids spinning in an infinite loop for some (possibly corrupt?) core files at work. Modified:

svn commit: r213012 - head/bin/ps

2010-09-22 Thread Ed Maste
Author: emaste Date: Wed Sep 22 19:26:41 2010 New Revision: 213012 URL: http://svn.freebsd.org/changeset/base/213012 Log: Correct sort order. Modified: head/bin/ps/extern.h Modified: head/bin/ps/extern.h == --- head/

svn commit: r213009 - head/sbin/hastd

2010-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Sep 22 19:08:11 2010 New Revision: 213009 URL: http://svn.freebsd.org/changeset/base/213009 Log: Switch to sigprocmask(2) API also in the main process and secondary process. This way the primary process inherits signal mask from the main process, which fixes a race wher

svn commit: r213008 - head/sbin/hastd

2010-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Sep 22 19:05:54 2010 New Revision: 213008 URL: http://svn.freebsd.org/changeset/base/213008 Log: Assert that descriptor numbers are sane. MFC after:3 days Modified: head/sbin/hastd/hastd.c Modified: head/sbin/hastd/hastd.c ==

svn commit: r213007 - head/sbin/hastd

2010-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Sep 22 19:03:11 2010 New Revision: 213007 URL: http://svn.freebsd.org/changeset/base/213007 Log: Fix possible deadlock where worker process sends an event to the main process while the main process sends control message to the worker process, but worker process hasn't s

svn commit: r213006 - head/sbin/hastd

2010-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Sep 22 18:57:06 2010 New Revision: 213006 URL: http://svn.freebsd.org/changeset/base/213006 Log: Fix descriptor leaks: when child exits, we have to close control and event socket pairs. We did that only in one case out of three. MFC after:3 days Modified: head

svn commit: r213005 - head/usr.sbin/named

2010-09-22 Thread Doug Barton
Author: dougb Date: Wed Sep 22 18:46:17 2010 New Revision: 213005 URL: http://svn.freebsd.org/changeset/base/213005 Log: Eliminate the --disable-ipv6 string which while technically correct in terms of the arguments that configure was called with is misleading because if IPv6 support is prese

svn commit: r213004 - head/sbin/hastd

2010-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Sep 22 18:39:43 2010 New Revision: 213004 URL: http://svn.freebsd.org/changeset/base/213004 Log: If we are unable to receive control message is most likely because the main process died. Instead of entering infinite loop, terminate. MFC after:3 days Modified:

svn commit: r213003 - head/sbin/hastd

2010-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Sep 22 18:38:02 2010 New Revision: 213003 URL: http://svn.freebsd.org/changeset/base/213003 Log: Sort includes. MFC after:3 days Modified: head/sbin/hastd/control.c Modified: head/sbin/hastd/control.c

svn commit: r213001 - in head: share/misc usr.bin/calendar/calendars

2010-09-22 Thread Sunpoet Po-Chuan Hsieh
Author: sunpoet (ports committer) Date: Wed Sep 22 16:54:22 2010 New Revision: 213001 URL: http://svn.freebsd.org/changeset/base/213001 Log: Add myself as a ports committer Approved by: pgollucci (mentor) Modified: head/share/misc/committers-ports.dot head/usr.bin/calendar/calendars/c

svn commit: r213000 - head/sys/dev/stge

2010-09-22 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 22 16:48:24 2010 New Revision: 213000 URL: http://svn.freebsd.org/changeset/base/213000 Log: Fix build breakage introduced in r212972. Modified: head/sys/dev/stge/if_stge.c Modified: head/sys/dev/stge/if_stge.c ===

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

2010-09-22 Thread Andriy Gapon
on 22/09/2010 18:23 Gavin Atkinson said the following: > I'm not subscribed to -arch at the moment, I probably should be. I > guess you're talking about the thread in June? I wish I'd seen that at > the time, I'm 100% in favour of it. No, a thread in September, third decade of it :) -- Andriy

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

2010-09-22 Thread Gavin Atkinson
On Wed, 2010-09-22 at 17:43 +0300, Andriy Gapon wrote: > on 22/09/2010 16:46 Gavin Atkinson said the following: > > Ignoring the rest of the discussion about locking, I think this is a > > step in the right direction. However, what I feel we should be strongly > > considering is for textdumps to b

svn commit: r212999 - head/sys/sys

2010-09-22 Thread John Baldwin
Author: jhb Date: Wed Sep 22 15:10:03 2010 New Revision: 212999 URL: http://svn.freebsd.org/changeset/base/212999 Log: Copy td_rqindex during fork instead of zero'ing it to match the comments. I do not believe there is any functional change. Modified: head/sys/sys/proc.h Modified: head/sys

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

2010-09-22 Thread Andriy Gapon
on 22/09/2010 16:46 Gavin Atkinson said the following: > Ignoring the rest of the discussion about locking, I think this is a > step in the right direction. However, what I feel we should be strongly > considering is for textdumps to be enabled by default on release media. > > As more groups choo

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

2010-09-22 Thread Gavin Atkinson
On Tue, 2010-09-21 at 15:07 +, Andriy Gapon 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 an

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

2010-09-22 Thread Konstantin Belousov
Author: kib Date: Wed Sep 22 12:52:12 2010 New Revision: 212998 URL: http://svn.freebsd.org/changeset/base/212998 Log: For sparc64 relocations that directly put bits of the symbol value into the location, apply elf_relocaddr to the symbol value to have right values for the symbols from dpcpu

svn commit: r212997 - head/sys/dev/acpica

2010-09-22 Thread Alexander Motin
Author: mav Date: Wed Sep 22 11:32:22 2010 New Revision: 212997 URL: http://svn.freebsd.org/changeset/base/212997 Log: Quick fix for unmotivated C2 state usage during boot, introduced at r212541. That caused LAPIC timer failure and huge delays during boot on some systems. Modified: head/sys