svn commit: r214446 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread Attilio Rao
Author: attilio Date: Thu Oct 28 07:58:06 2010 New Revision: 214446 URL: http://svn.freebsd.org/changeset/base/214446 Log: Merge the mptable support from MD bits to x86 subtree. Sponsored by: Sandvine Incorporated Discussed with: jhb Added: head/sys/x86/x86/mptable.c -

Re: svn commit: r214431 - head/bin/rm

2010-10-28 Thread Gary Jennejohn
On Thu, 28 Oct 2010 16:22:05 +1100 (EST) Bruce Evans b...@optusnet.com.au wrote: On Wed, 27 Oct 2010, Xin LI wrote: I think what really defeats -P is the fact that the file system or underlying data storage would not overwrite data on a file at sync(). COW is of course one of the case,

Re: svn commit: r214431 - head/bin/rm

2010-10-28 Thread Ceri Davies
On Thu, Oct 28, 2010 at 09:55:38AM +0200, Gary Jennejohn wrote: On Thu, 28 Oct 2010 16:22:05 +1100 (EST) Bruce Evans b...@optusnet.com.au wrote: On Wed, 27 Oct 2010, Xin LI wrote: I think what really defeats -P is the fact that the file system or underlying data storage would not

Re: svn commit: r214431 - head/bin/rm

2010-10-28 Thread Alexander Best
On Thu Oct 28 10, Gary Jennejohn wrote: On Thu, 28 Oct 2010 16:22:05 +1100 (EST) Bruce Evans b...@optusnet.com.au wrote: On Wed, 27 Oct 2010, Xin LI wrote: I think what really defeats -P is the fact that the file system or underlying data storage would not overwrite data on a file

Re: svn commit: r214431 - head/bin/rm

2010-10-28 Thread Ceri Davies
On Thu, Oct 28, 2010 at 10:25:47AM +, Alexander Best wrote: On Thu Oct 28 10, Gary Jennejohn wrote: On Thu, 28 Oct 2010 16:22:05 +1100 (EST) Bruce Evans b...@optusnet.com.au wrote: On Wed, 27 Oct 2010, Xin LI wrote: I think what really defeats -P is the fact that the file

svn commit: r214447 - head/usr.sbin/rtadvd

2010-10-28 Thread Bjoern A. Zeeb
Author: bz Date: Thu Oct 28 11:09:12 2010 New Revision: 214447 URL: http://svn.freebsd.org/changeset/base/214447 Log: Correct a typo. MFC after:3 days Modified: head/usr.sbin/rtadvd/rtadvd.conf.5 Modified: head/usr.sbin/rtadvd/rtadvd.conf.5

Re: svn commit: r214431 - head/bin/rm

2010-10-28 Thread Alexander Best
On Thu Oct 28 10, Ceri Davies wrote: On Thu, Oct 28, 2010 at 10:25:47AM +, Alexander Best wrote: On Thu Oct 28 10, Gary Jennejohn wrote: On Thu, 28 Oct 2010 16:22:05 +1100 (EST) Bruce Evans b...@optusnet.com.au wrote: On Wed, 27 Oct 2010, Xin LI wrote: I think what

svn commit: r214448 - in head/sys: amd64/amd64 i386/i386

2010-10-28 Thread John Baldwin
Author: jhb Date: Thu Oct 28 13:44:19 2010 New Revision: 214448 URL: http://svn.freebsd.org/changeset/base/214448 Log: Use 'PCPU_GET(apic_id)' to determine the BSP's APIC ID on a UP machine when routing interrupts instead of cpu_apic_ids[0] since cpu_apic_ids[] is only populated for

svn commit: r214449 - head/sys/kern

2010-10-28 Thread John Baldwin
Author: jhb Date: Thu Oct 28 14:17:06 2010 New Revision: 214449 URL: http://svn.freebsd.org/changeset/base/214449 Log: Set bootverbose directly in mi_startup() rather than via a SYSINIT. This ensures 'bootverbose' is in a valid state for all SYSINITs. Reported by: avg MFC after:1

svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread Attilio Rao
Author: attilio Date: Thu Oct 28 16:31:39 2010 New Revision: 214457 URL: http://svn.freebsd.org/changeset/base/214457 Log: Merge nexus.c from amd64 and i386 to x86 subtree. Sponsored by: Sandvine Incorporated Tested by:gianni Added: head/sys/x86/x86/nexus.c - copied, changed

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread John Baldwin
On Thursday, October 28, 2010 12:31:39 pm Attilio Rao wrote: Author: attilio Date: Thu Oct 28 16:31:39 2010 New Revision: 214457 URL: http://svn.freebsd.org/changeset/base/214457 Log: Merge nexus.c from amd64 and i386 to x86 subtree. Sponsored by: Sandvine Incorporated

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread Attilio Rao
2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 12:31:39 pm Attilio Rao wrote: Author: attilio Date: Thu Oct 28 16:31:39 2010 New Revision: 214457 URL: http://svn.freebsd.org/changeset/base/214457 Log:   Merge nexus.c from amd64 and i386 to x86 subtree.  

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread Bruce Evans
On Thu, 28 Oct 2010, John Baldwin wrote: On Thursday, October 28, 2010 12:31:39 pm Attilio Rao wrote: Log: Merge nexus.c from amd64 and i386 to x86 subtree. ... == --- head/sys/i386/i386/nexus.c Thu Oct 28

Re: svn commit: r214431 - head/bin/rm

2010-10-28 Thread Robert Watson
On Thu, 28 Oct 2010, Gary Jennejohn wrote: The -P option assumes that the underlying storage overwrites file block when data is written on existing offset. Several factors including the file system and its backing store could defeat the assumption, this includes, but is not limited to file

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread John Baldwin
On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote: 2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 12:31:39 pm Attilio Rao wrote: Author: attilio Date: Thu Oct 28 16:31:39 2010 New Revision: 214457 URL: http://svn.freebsd.org/changeset/base/214457

Re: svn commit: r214431 - head/bin/rm

2010-10-28 Thread Alexander Best
On Thu Oct 28 10, Robert Watson wrote: On Thu, 28 Oct 2010, Gary Jennejohn wrote: The -P option assumes that the underlying storage overwrites file block when data is written on existing offset. Several factors including the file system and its backing store could defeat the assumption,

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread John Baldwin
On Thursday, October 28, 2010 2:11:40 pm John Baldwin wrote: On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote: + vm_paddr_t *p; caddr_t kmdp; uint32_t smapsize; - int error, rid; + int error, i, rid; /* Retrieve the system memory

svn commit: r214478 - in head/contrib/tcpdump: . lbl missing tests win32

2010-10-28 Thread Rui Paulo
Author: rpaulo Date: Thu Oct 28 19:06:17 2010 New Revision: 214478 URL: http://svn.freebsd.org/changeset/base/214478 Log: Merge tcpdump-4.1.1. Added: head/contrib/tcpdump/Makefile-devel-adds - copied unchanged from r214475, vendor/tcpdump/dist/Makefile-devel-adds

svn commit: r214481 - head/usr.sbin/tcpdump/tcpdump

2010-10-28 Thread Rui Paulo
Author: rpaulo Date: Thu Oct 28 19:08:56 2010 New Revision: 214481 URL: http://svn.freebsd.org/changeset/base/214481 Log: Update for the new tcpdump 4.1.1. The man page is a result of running tcpdump's autoconf on FreeBSD. Added: head/usr.sbin/tcpdump/tcpdump/tcpdump.1 (contents, props

svn commit: r214482 - in head/contrib/tcpdump: . win32

2010-10-28 Thread Rui Paulo
Author: rpaulo Date: Thu Oct 28 19:10:15 2010 New Revision: 214482 URL: http://svn.freebsd.org/changeset/base/214482 Log: Remove useless stuff. Deleted: head/contrib/tcpdump/FREEBSD-Xlist head/contrib/tcpdump/FREEBSD-upgrade head/contrib/tcpdump/Readme.Win32 head/contrib/tcpdump/win32/

Re: svn commit: r214431 - head/bin/rm

2010-10-28 Thread Robert Watson
On Thu, 28 Oct 2010, Alexander Best wrote: For example, you could imagine a pathconf() call that asks the file system if overwriting a file is likely to result in the data going away -- UFS could answer yes unless it's snapshotting the file system, and ZFS could simply answer no. In

svn commit: r214489 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2010-10-28 Thread Ulrich Spoerlein
Author: uqs Date: Thu Oct 28 20:18:26 2010 New Revision: 214489 URL: http://svn.freebsd.org/changeset/base/214489 Log: Fix CPU load reporting independent of scheduler used. - Sample CPU usage data from kern.cp_times, this makes for a far more accurate and scheduler independent

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread Attilio Rao
2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 2:11:40 pm John Baldwin wrote: On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote: +       vm_paddr_t *p;         caddr_t kmdp;         uint32_t smapsize; -       int error, rid; +       int error, i, rid;

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread Attilio Rao
2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote: 2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 12:31:39 pm Attilio Rao wrote: Author: attilio Date: Thu Oct 28 16:31:39 2010 New Revision: 214457 URL:

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread Attilio Rao
2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote: 2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 12:31:39 pm Attilio Rao wrote: Author: attilio Date: Thu Oct 28 16:31:39 2010 New Revision: 214457 URL:

svn commit: r214490 - in head: bin/sh tools/regression/bin/sh/expansion

2010-10-28 Thread Jilles Tjoelker
Author: jilles Date: Thu Oct 28 21:51:14 2010 New Revision: 214490 URL: http://svn.freebsd.org/changeset/base/214490 Log: sh: Make double-quotes quote a '}' inside ${v#...} and ${v%...}. Exp-run done by: pav (with some other sh(1) changes) PR: bin/57554 Added:

svn commit: r214491 - head/usr.sbin/rtadvd

2010-10-28 Thread Ulrich Spoerlein
Author: uqs Date: Thu Oct 28 22:28:45 2010 New Revision: 214491 URL: http://svn.freebsd.org/changeset/base/214491 Log: Fix another string typo. MFC after:3 days Modified: head/usr.sbin/rtadvd/rtadvd.conf.5 Modified: head/usr.sbin/rtadvd/rtadvd.conf.5

svn commit: r214492 - in head: bin/sh tools/regression/bin/sh/expansion

2010-10-28 Thread Jilles Tjoelker
Author: jilles Date: Thu Oct 28 22:34:49 2010 New Revision: 214492 URL: http://svn.freebsd.org/changeset/base/214492 Log: sh: Only accept a '}' inside ${v+-=?...} if double-quote state matches. If double-quote state does not match, treat the '}' literally. This ensures double-quote state

svn commit: r214493 - in head/sys/boot/ofw: common libofw

2010-10-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Oct 28 23:46:05 2010 New Revision: 214493 URL: http://svn.freebsd.org/changeset/base/214493 Log: Fix some memory management issues discovered when trying to boot the PPC OF loader on systems where address cells and size cells are both 2 (the Mambo simulator) and

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread Attilio Rao
2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 4:28:12 pm Attilio Rao wrote: 2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote: 2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 12:31:39 pm

svn commit: r214494 - head/sys/boot/ofw/libofw

2010-10-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Oct 29 00:36:44 2010 New Revision: 214494 URL: http://svn.freebsd.org/changeset/base/214494 Log: Fix netboot on some Apple machines on which calling dma-free on the network device can hang the machine. This causes the loss of 64 KB of accessible memory on

svn commit: r214495 - head/sys/boot/ofw/common

2010-10-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Oct 29 00:37:35 2010 New Revision: 214495 URL: http://svn.freebsd.org/changeset/base/214495 Log: Fix the printf() in init_heap so that it can run before the console is up. Pointed out by: marius Modified: head/sys/boot/ofw/common/main.c Modified:

pending em0 commits for FreeBSD 8.1 STABLE

2010-10-28 Thread Denis Ahrens
Hi Jack It seems that I am also victim to some strange bug which is possibly the fault of the em0 code. After some research I have seen that you have changed that code awhile ago which could possibly have fixed my problems already. The code changes:

Re: pending em0 commits for FreeBSD 8.1 STABLE

2010-10-28 Thread Bjoern A. Zeeb
On Fri, 29 Oct 2010, Denis Ahrens wrote: Hi Jack It seems that I am also victim to some strange bug which is possibly the fault of the em0 code. After some research I have seen that you have changed that code awhile ago which could possibly have fixed my problems already. The code changes:

Re: pending em0 commits for FreeBSD 8.1 STABLE

2010-10-28 Thread Mike Tancsa
At 09:39 PM 10/28/2010, Bjoern A. Zeeb wrote: On Fri, 29 Oct 2010, Denis Ahrens wrote: Hi Jack It seems that I am also victim to some strange bug which is possibly the fault of the em0 code. After some research I have seen that you have changed that code awhile ago which could possibly have

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

2010-10-28 Thread David Xu
Garrett Cooper wrote: On Thu, Oct 28, 2010 at 2:54 AM, David Xu davi...@freebsd.org wrote: Garrett Cooper wrote: On Wed, Oct 27, 2010 at 9:22 AM, Andriy Gapon a...@freebsd.org wrote: [patch attachment was lost] Ugh... Mailman hates me I guess :(... on 27/10/2010 19:07 Garrett Cooper said