svn commit: r233291 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include kern sys vm

2012-03-21 Thread Alan Cox
Author: alc Date: Thu Mar 22 04:52:51 2012 New Revision: 233291 URL: http://svn.freebsd.org/changeset/base/233291 Log: Handle spurious page faults that may occur in no-fault sections of the kernel. When access restrictions are added to a page table entry, we flush the corresponding virt

svn commit: r233290 - head/sys/amd64/amd64

2012-03-21 Thread Alan Cox
Author: alc Date: Thu Mar 22 04:40:22 2012 New Revision: 233290 URL: http://svn.freebsd.org/changeset/base/233290 Log: Change pv_entry_count to a long. During the lifetime of FreeBSD 10.x, physical memory sizes at the high-end will likely reach a point that the number of pv entries could ov

Re: svn commit: r233250 - in head: share/man/man4 sys/amd64/acpica sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/c

2012-03-21 Thread Jung-uk Kim
On Wednesday 21 March 2012 05:18 pm, Andreas Tobler wrote: > On 21.03.12 15:31, Nathan Whitehorn wrote: > > On 03/20/12 14:37, Jung-uk Kim wrote: > >> Author: jkim > >> Date: Tue Mar 20 21:37:52 2012 > >> New Revision: 233250 > >> URL: http://svn.freebsd.org/changeset/base/233250 > >> > >> Log: > >

Re: svn commit: r233250 - in head: share/man/man4 sys/amd64/acpica sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/c

2012-03-21 Thread Andreas Tobler
On 21.03.12 15:31, Nathan Whitehorn wrote: On 03/20/12 14:37, Jung-uk Kim wrote: Author: jkim Date: Tue Mar 20 21:37:52 2012 New Revision: 233250 URL: http://svn.freebsd.org/changeset/base/233250 Log: Merge ACPICA 20120320. After this, I get an endless series of "Large reference count -

svn commit: r233288 - in head/sys: boot/common libkern sys

2012-03-21 Thread Marius Strobl
Author: marius Date: Wed Mar 21 20:55:21 2012 New Revision: 233288 URL: http://svn.freebsd.org/changeset/base/233288 Log: Declare the CRC lookup-tables const as they hardly should change at run-time. Modified: head/sys/boot/common/crc32.c head/sys/libkern/crc32.c head/sys/sys/libkern.h

svn commit: r233287 - head/sys/boot/uboot/lib

2012-03-21 Thread Marius Strobl
Author: marius Date: Wed Mar 21 20:53:47 2012 New Revision: 233287 URL: http://svn.freebsd.org/changeset/base/233287 Log: Use the common/shared CRC-32 implementation instead of duplicating it. MFC after:1 week Modified: head/sys/boot/uboot/lib/Makefile head/sys/boot/uboot/lib/glue.

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

2012-03-21 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Mar 21 19:08:44 2012 New Revision: 233283 URL: http://svn.freebsd.org/changeset/base/233283 Log: Load the firmware during init not attach, as a root filesystem might not yet be available. While here, also print the firmware version. Submitted by: PseudoCylon M

Re: svn commit: r233249 - head/sys/amd64/acpica

2012-03-21 Thread Jung-uk Kim
On Wednesday 21 March 2012 01:57 pm, Andriy Gapon wrote: > on 21/03/2012 19:41 Jung-uk Kim said the following: > > I am well aware of the problem. In fact, that's why I had to > > merge ACPICA 20120320 rather quickly, which added a new flag to > > not execute _GTS method. Both _GTS and _BFS are t

Re: svn commit: r233250 - in head: share/man/man4 sys/amd64/acpica sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/c

2012-03-21 Thread Jung-uk Kim
On Wednesday 21 March 2012 10:31 am, Nathan Whitehorn wrote: > On 03/20/12 14:37, Jung-uk Kim wrote: > > Author: jkim > > Date: Tue Mar 20 21:37:52 2012 > > New Revision: 233250 > > URL: http://svn.freebsd.org/changeset/base/233250 > > > > Log: > >Merge ACPICA 20120320. > > After this, I get an

Re: svn commit: r233273 - head/sys/conf

2012-03-21 Thread Bruce Evans
On Wed, 21 Mar 2012, Marius Strobl wrote: On Thu, Mar 22, 2012 at 03:28:04AM +1100, Bruce Evans wrote: On Wed, 21 Mar 2012, Marius Strobl wrote: Log: Exclude devices which are mutually exclusive with ATA_CAM. For better or worse, the former are still built as modules as part of the LINT build

Re: svn commit: r233249 - head/sys/amd64/acpica

2012-03-21 Thread Andriy Gapon
on 21/03/2012 19:41 Jung-uk Kim said the following: > I am well aware of the problem. In fact, that's why I had to merge > ACPICA 20120320 rather quickly, which added a new flag to not execute > _GTS method. Both _GTS and _BFS are turned off by default. You can > control them with a new tunab

Re: svn commit: r233249 - head/sys/amd64/acpica

2012-03-21 Thread Jung-uk Kim
On Wednesday 21 March 2012 06:07 am, Konstantin Belousov wrote: > On Tue, Mar 20, 2012 at 08:37:23PM +, Jung-uk Kim wrote: > > Author: jkim > > Date: Tue Mar 20 20:37:23 2012 > > New Revision: 233249 > > URL: http://svn.freebsd.org/changeset/base/233249 > > > > Log: > > Fix another witness pa

svn commit: r233282 - in head/sys/dev/ata: . chipsets

2012-03-21 Thread Marius Strobl
Author: marius Date: Wed Mar 21 16:59:39 2012 New Revision: 233282 URL: http://svn.freebsd.org/changeset/base/233282 Log: - First pass at const'ifying ata(4) as appropriate. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers MFC after:1 week Modified: head/sys/dev/ata/ata-

Re: svn commit: r233273 - head/sys/conf

2012-03-21 Thread Marius Strobl
On Thu, Mar 22, 2012 at 03:28:04AM +1100, Bruce Evans wrote: > On Wed, 21 Mar 2012, Marius Strobl wrote: > > >Log: > > Exclude devices which are mutually exclusive with ATA_CAM. For better > > or worse, the former are still built as modules as part of the LINT > > builds > > > > Reviewed by:

Re: svn commit: r233271 - in head/sys: amd64/conf arm/conf i386/conf ia64/conf mips/conf pc98/conf powerpc/conf sparc64/conf

2012-03-21 Thread Sergey Kandaurov
On 21 March 2012 17:42, John Baldwin wrote: > On Wednesday, March 21, 2012 6:44:09 am Ed Schouten wrote: >> Hi Sergey, >> >> * Sergey Kandaurov , 20120321 11:18: >> > Will this affect old binaries like misc/mc build for e.g. 6.x running on > GENERIC >> >

Re: svn commit: r233273 - head/sys/conf

2012-03-21 Thread Bruce Evans
On Wed, 21 Mar 2012, Marius Strobl wrote: Log: Exclude devices which are mutually exclusive with ATA_CAM. For better or worse, the former are still built as modules as part of the LINT builds Reviewed by: mav MFC after: 1 week This breaks NOTES on these devices. The purpose of NOT

Re: svn commit: r233271 - in head/sys: amd64/conf arm/conf i386/conf ia64/conf mips/conf pc98/conf powerpc/conf sparc64/conf

2012-03-21 Thread John Baldwin
On Wednesday, March 21, 2012 6:44:09 am Ed Schouten wrote: > Hi Sergey, > > * Sergey Kandaurov , 20120321 11:18: > > Will this affect old binaries like misc/mc build for e.g. 6.x running on GENERIC > > w/o kldoaded pty(4), so that I will have to `kldload pty'? >

Re: svn commit: r233250 - in head: share/man/man4 sys/amd64/acpica sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/c

2012-03-21 Thread Nathan Whitehorn
On 03/20/12 14:37, Jung-uk Kim wrote: Author: jkim Date: Tue Mar 20 21:37:52 2012 New Revision: 233250 URL: http://svn.freebsd.org/changeset/base/233250 Log: Merge ACPICA 20120320. After this, I get an endless series of "Large reference count - (increasingly large hex number) - utdelete-4

Re: svn commit: r233273 - head/sys/conf

2012-03-21 Thread Marius Strobl
On Wed, Mar 21, 2012 at 10:08:51AM +0100, Andre Oppermann wrote: > On 21.03.2012 09:50, Marius Strobl wrote: > >Author: marius > >Date: Wed Mar 21 08:50:47 2012 > >New Revision: 233273 > >URL: http://svn.freebsd.org/changeset/base/233273 > > > >Log: > > Exclude devices which are mutually exclusiv

Re: svn commit: r233271 - in head/sys: amd64/conf arm/conf i386/conf ia64/conf mips/conf pc98/conf powerpc/conf sparc64/conf

2012-03-21 Thread Ed Schouten
Hi Sergey, * Sergey Kandaurov , 20120321 11:18: > Will this affect old binaries like misc/mc build for e.g. 6.x running on > GENERIC > w/o kldoaded pty(4), so that I will have to `kldload pty'? > Currently executing old mc results in emitting the following kernel message: >

svn commit: r233278 - head/sys/mips/cavium

2012-03-21 Thread Juli Mallett
Author: jmallett Date: Wed Mar 21 10:27:12 2012 New Revision: 233278 URL: http://svn.freebsd.org/changeset/base/233278 Log: o) Don't keep drive parameters in a global, put them in the softc. o) Don't report a bogus stripesize. o) Eliminate a nearby gratuitous "proxy" indirection. Modified:

Re: svn commit: r233271 - in head/sys: amd64/conf arm/conf i386/conf ia64/conf mips/conf pc98/conf powerpc/conf sparc64/conf

2012-03-21 Thread Sergey Kandaurov
On 21 March 2012 12:38, Ed Schouten wrote: > Author: ed > Date: Wed Mar 21 08:38:42 2012 > New Revision: 233271 > URL: http://svn.freebsd.org/changeset/base/233271 > > Log: >  Remove pty(4) from our kernel configurations. > >  As of FreeBSD 8, this driver should not be used. Applications that use

Re: svn commit: r233249 - head/sys/amd64/acpica

2012-03-21 Thread Konstantin Belousov
On Tue, Mar 20, 2012 at 08:37:23PM +, Jung-uk Kim wrote: > Author: jkim > Date: Tue Mar 20 20:37:23 2012 > New Revision: 233249 > URL: http://svn.freebsd.org/changeset/base/233249 > > Log: > Fix another witness panic. We cannot enter critical section at all because > AcpiEnterSleepState()

svn commit: r233276 - head/sys/kern

2012-03-21 Thread Andrey V. Elsukov
Author: ae Date: Wed Mar 21 09:48:32 2012 New Revision: 233276 URL: http://svn.freebsd.org/changeset/base/233276 Log: Acquire modules lock before call module_getname() in the KLD_DEBUG case. MFC after:1 week Modified: head/sys/kern/kern_linker.c Modified: head/sys/kern/kern_linker.c

Re: svn commit: r233273 - head/sys/conf

2012-03-21 Thread Andre Oppermann
On 21.03.2012 09:50, Marius Strobl wrote: Author: marius Date: Wed Mar 21 08:50:47 2012 New Revision: 233273 URL: http://svn.freebsd.org/changeset/base/233273 Log: Exclude devices which are mutually exclusive with ATA_CAM. For better or worse, the former are still built as modules as part

Re: svn commit: r232721 - head/sys/x86/include

2012-03-21 Thread Bruce Evans
On Wed, 21 Mar 2012, Tijl Coosemans wrote: On Tuesday 20 March 2012 19:56:14 John Baldwin wrote: On Tuesday, March 20, 2012 10:19:07 am Tijl Coosemans wrote: ... No, on i386 bswap64 with a variable argument currently expands to two bswap instructions. With your change it would be many shifts

svn commit: r233274 - in head/sys/dev/ata: . chipsets

2012-03-21 Thread Marius Strobl
Author: marius Date: Wed Mar 21 08:57:15 2012 New Revision: 233274 URL: http://svn.freebsd.org/changeset/base/233274 Log: Remove remnants of ATA_LOCKING uses in the ATA_CAM case and wrap it along with functions, SYSCTLs and tunables that are not used with ATA_CAM in #ifndef ATA_CAM, similar

svn commit: r233273 - head/sys/conf

2012-03-21 Thread Marius Strobl
Author: marius Date: Wed Mar 21 08:50:47 2012 New Revision: 233273 URL: http://svn.freebsd.org/changeset/base/233273 Log: Exclude devices which are mutually exclusive with ATA_CAM. For better or worse, the former are still built as modules as part of the LINT builds Reviewed by: mav

svn commit: r233272 - head/sys/netinet6

2012-03-21 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 21 08:43:38 2012 New Revision: 233272 URL: http://svn.freebsd.org/changeset/base/233272 Log: in6_pcblookup_local() still can return a pcb with NULL inp_socket. To avoid panic, do not dereference inp_socket, but obtain reuse port option from inp_flags2, like this

svn commit: r233271 - in head/sys: amd64/conf arm/conf i386/conf ia64/conf mips/conf pc98/conf powerpc/conf sparc64/conf

2012-03-21 Thread Ed Schouten
Author: ed Date: Wed Mar 21 08:38:42 2012 New Revision: 233271 URL: http://svn.freebsd.org/changeset/base/233271 Log: Remove pty(4) from our kernel configurations. As of FreeBSD 8, this driver should not be used. Applications that use posix_openpt(2) and openpty(3) use the pts(4) that is

Re: svn commit: r232721 - head/sys/x86/include

2012-03-21 Thread Tijl Coosemans
On Tuesday 20 March 2012 19:56:14 John Baldwin wrote: > On Tuesday, March 20, 2012 10:19:07 am Tijl Coosemans wrote: >> On Tuesday 20 March 2012 13:34:10 John Baldwin wrote: >>> BTW, I think I found an old "bug" in this file. The _gen() variants >>> should only use the _gen() variants of smaller t

svn commit: r233269 - head/usr.bin/wall

2012-03-21 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 21 08:03:07 2012 New Revision: 233269 URL: http://svn.freebsd.org/changeset/base/233269 Log: Add multibyte char support. PR: 165429 Submitted by: amdmi3 Modified: head/usr.bin/wall/wall.1 head/usr.bin/wall/wall.c Modified: head/usr.bin/wall/wa

svn commit: r233263 - head/lib/libc/gen

2012-03-21 Thread David Xu
Author: davidxu Date: Wed Mar 21 07:16:58 2012 New Revision: 233263 URL: http://svn.freebsd.org/changeset/base/233263 Log: Revert previous change. It is an incomplete change from old branch. :-( Modified: head/lib/libc/gen/sem_new.c Modified: head/lib/libc/gen/sem_new.c =

svn commit: r233262 - head/lib/libc/gen

2012-03-21 Thread David Xu
Author: davidxu Date: Wed Mar 21 07:12:52 2012 New Revision: 233262 URL: http://svn.freebsd.org/changeset/base/233262 Log: Use version 2 of semaphore provided by kernel umtx code, now if there is no waiters, we still increase and decrease count in user mode without entering kernel, once ther

svn commit: r233258 - head/usr.sbin/newsyslog

2012-03-21 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 21 07:02:17 2012 New Revision: 233258 URL: http://svn.freebsd.org/changeset/base/233258 Log: Fix a sentence in a paragraph that describes time and interval based trimming. This sentence vaguely can be interpreted as if it was speaking about time and size interac