svn commit: r230861 - head/sys/geom/part

2012-02-01 Thread Andrey V. Elsukov
Author: ae Date: Wed Feb 1 09:28:16 2012 New Revision: 230861 URL: http://svn.freebsd.org/changeset/base/230861 Log: The scheme code may not know about some inconsistency in the metadata. So, add an integrity check after recovery attempt. MFC after:1 week Modified: head/sys/geom/p

svn commit: r230863 - head/sys/netinet

2012-02-01 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 1 11:07:41 2012 New Revision: 230863 URL: http://svn.freebsd.org/changeset/base/230863 Log: o Provide functions carp_ifa_addroute()/carp_ifa_delroute() to cleanup routes from a single ifa. o Implement carp_addroute()/carp_delroute() via above functions. o C

svn commit: r230864 - in head: lib/libc/amd64/gen lib/libc/arm/gen lib/libc/i386/gen lib/libc/ia64/gen lib/libc/mips/gen lib/libc/powerpc/gen lib/libc/powerpc64/gen lib/libc/sparc64/gen sys/sys

2012-02-01 Thread Konstantin Belousov
Author: kib Date: Wed Feb 1 13:33:53 2012 New Revision: 230864 URL: http://svn.freebsd.org/changeset/base/230864 Log: Make the sys/ucontext.h self-contained by changing the return type of __getcontextx_size(3) from size_t to int. PR: ports/164654 MFC after:1 month Modified: he

svn commit: r230865 - head/sys/dev/mvs

2012-02-01 Thread Rafal Jaworowski
Author: raj Date: Wed Feb 1 13:39:52 2012 New Revision: 230865 URL: http://svn.freebsd.org/changeset/base/230865 Log: Adjust mvs(4) to handle interrupt cause reg depending on the actual number of channels available - current code treats bits 4:7 in 'SATAHC interrupt mask' and 'SATAHC

svn commit: r230866 - head/sys/kern

2012-02-01 Thread Konstantin Belousov
Author: kib Date: Wed Feb 1 14:34:52 2012 New Revision: 230866 URL: http://svn.freebsd.org/changeset/base/230866 Log: Add kqueue support to /dev/klog. Submitted by: Mateusz Guzik PR: kern/156423 MFC after:1 weeks Modified: head/sys/kern/subr_log.c Modified: head/sys/kern/s

svn commit: r230867 - stable/9/sys/boot/forth

2012-02-01 Thread Sergey Kandaurov
Author: pluknet Date: Wed Feb 1 15:04:27 2012 New Revision: 230867 URL: http://svn.freebsd.org/changeset/base/230867 Log: MFC r230545: Clarify and improve the boot menu with some small changes. PR: misc/160818 Submitted by: Warren Block Modified: stable/9/sys/boot/forth/men

svn commit: r230868 - in stable/9/sys: contrib/pf/net netinet

2012-02-01 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 1 15:57:49 2012 New Revision: 230868 URL: http://svn.freebsd.org/changeset/base/230868 Log: Merge some cleanups and bugfixes to pfsync(4) and pf(4) from head. Merged revisions: r229773,229777,229849-229853,229857,229959,229961-229964,229976. r229777: Mer

svn commit: r230869 - head/usr.sbin/daemon

2012-02-01 Thread Guy Helmer
Author: ghelmer Date: Wed Feb 1 16:40:59 2012 New Revision: 230869 URL: http://svn.freebsd.org/changeset/base/230869 Log: Change the notes about the pidfile to include Doug's preference for pre-creating the pidfile with appropriate owner and permissions. Requested by dougb Modified: h

svn commit: r230870 - stable/7/share/man/man9

2012-02-01 Thread Jaakko Heinonen
Author: jh Date: Wed Feb 1 17:04:14 2012 New Revision: 230870 URL: http://svn.freebsd.org/changeset/base/230870 Log: Partially MFC r228358: Fix markup. Modified: stable/7/share/man/man9/sbuf.9 Directory Properties: stable/7/share/man/man9/ (props changed) Modified: stable/7/share/man/ma

svn commit: r230871 - stable/7/share/man/man9

2012-02-01 Thread Jaakko Heinonen
Author: jh Date: Wed Feb 1 17:07:29 2012 New Revision: 230871 URL: http://svn.freebsd.org/changeset/base/230871 Log: MFC r228359: sbuf_data() hasn't returned NULL for overflowed buffers since r71721. Modified: stable/7/share/man/man9/sbuf.9 Directory Properties: stable/7/share/man/man

Re: svn commit: r230864 - in head: lib/libc/amd64/gen lib/libc/arm/gen lib/libc/i386/gen lib/libc/ia64/gen lib/libc/mips/gen lib/libc/powerpc/gen lib/libc/powerpc64/gen lib/libc/sparc64/gen sys/sys

2012-02-01 Thread Joerg Sonnenberger
On Wed, Feb 01, 2012 at 01:33:53PM +, Konstantin Belousov wrote: > Log: > Make the sys/ucontext.h self-contained by changing the return type > of __getcontextx_size(3) from size_t to int. Are you sure that this doesn't break the ABI? That is: are you sure that it doesn't return garbage in

svn commit: r230872 - stable/9/sys/cam/scsi

2012-02-01 Thread Alexander Motin
Author: mav Date: Wed Feb 1 17:56:38 2012 New Revision: 230872 URL: http://svn.freebsd.org/changeset/base/230872 Log: MFC r228820, r228851: Merge to da driver quirks hinting 4K physical sector sizes for SATA disks connected via SAS or USB. Unluckily I've found that SAS (mps) and USB-SATA

svn commit: r230873 - head/lib/libkvm

2012-02-01 Thread Mikolaj Golub
Author: trociny Date: Wed Feb 1 18:02:13 2012 New Revision: 230873 URL: http://svn.freebsd.org/changeset/base/230873 Log: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short the return oldlen

svn commit: r230874 - head/usr.bin/sockstat

2012-02-01 Thread Mikolaj Golub
Author: trociny Date: Wed Feb 1 18:03:21 2012 New Revision: 230874 URL: http://svn.freebsd.org/changeset/base/230874 Log: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short the return oldlen

svn commit: r230875 - stable/8/sys/cam/scsi

2012-02-01 Thread Alexander Motin
Author: mav Date: Wed Feb 1 18:05:54 2012 New Revision: 230875 URL: http://svn.freebsd.org/changeset/base/230875 Log: MFC r228820, r228851: Merge to da driver quirks hinting 4K physical sector sizes for SATA disks connected via SAS or USB. Unluckily I've found that SAS (mps) and USB-SATA

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

2012-02-01 Thread Davide Italiano
Author: davide Date: Wed Feb 1 19:46:12 2012 New Revision: 230876 URL: http://svn.freebsd.org/changeset/base/230876 Log: Add myself to the relevant docs. Approved by: alc, gnn (mentors) Modified: head/share/misc/committers-src.dot head/usr.bin/calendar/calendars/calendar.freebsd Modi

svn commit: r230877 - head/sys/vm

2012-02-01 Thread Alexander Motin
Author: mav Date: Wed Feb 1 20:12:44 2012 New Revision: 230877 URL: http://svn.freebsd.org/changeset/base/230877 Log: Fix NULL dereference panic on attempt to turn off (on system shutdown) disconnected swap device. This is quick and imperfect solution, as swap device will still be opened

svn commit: r230878 - head/sys/conf

2012-02-01 Thread Kenneth D. Merry
Author: ken Date: Wed Feb 1 20:18:57 2012 New Revision: 230878 URL: http://svn.freebsd.org/changeset/base/230878 Log: Add the netback driver to the build. MFC after:3 days Modified: head/sys/conf/files Modified: head/sys/conf/files ==

svn commit: r230879 - head/sys/xen/interface/io

2012-02-01 Thread Kenneth D. Merry
Author: ken Date: Wed Feb 1 20:19:33 2012 New Revision: 230879 URL: http://svn.freebsd.org/changeset/base/230879 Log: Add the GSO prefix descriptor define. MFC after:3 days Modified: head/sys/xen/interface/io/netif.h Modified: head/sys/xen/interface/io/netif.h =

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-01 Thread Doug Barton
Thanks! Sorry I didn't get a chance to reply to your last message, totally buried lately. Doug On 02/01/2012 08:41, Guy Helmer wrote: > Author: ghelmer > Date: Wed Feb 1 16:40:59 2012 > New Revision: 230869 > URL: http://svn.freebsd.org/changeset/base/230869 > > Log: > Change the notes abo

svn commit: r230880 - stable/9/sys/dev/ata/chipsets

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:08:33 2012 New Revision: 230880 URL: http://svn.freebsd.org/changeset/base/230880 Log: MFC: r230627 Using ATA_CAM along with ATAPI DMA causes data corruption with ALI_NEW and CMD controllers for reasons unknown so disable it. PR: 164226 Modified:

svn commit: r230881 - stable/8/sys/dev/ata/chipsets

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:08:35 2012 New Revision: 230881 URL: http://svn.freebsd.org/changeset/base/230881 Log: MFC: r230627 Using ATA_CAM along with ATAPI DMA causes data corruption with ALI_NEW and CMD controllers for reasons unknown so disable it. PR: 164226 Modified:

svn commit: r230882 - stable/9/sys/sparc64/include

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:09:59 2012 New Revision: 230882 URL: http://svn.freebsd.org/changeset/base/230882 Log: MFC: r230630 For machines where the kernel address space is unrestricted increase VM_KMEM_SIZE_SCALE to 2, awaiting more insight from alc@. As it turns out, the VM a

svn commit: r230883 - stable/8/sys/sparc64/include

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:10:00 2012 New Revision: 230883 URL: http://svn.freebsd.org/changeset/base/230883 Log: MFC: r230630 For machines where the kernel address space is unrestricted increase VM_KMEM_SIZE_SCALE to 2, awaiting more insight from alc@. As it turns out, the VM a

svn commit: r230884 - stable/9/sys/dev/ofw

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:11:06 2012 New Revision: 230884 URL: http://svn.freebsd.org/changeset/base/230884 Log: MFC: r230631 Implement OF_printf() using kvprintf() directly, avoiding to use a buffer and allowing to handle newlines properly. Modified: stable/9/sys/dev/ofw/open

svn commit: r230885 - stable/8/sys/dev/ofw

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:11:09 2012 New Revision: 230885 URL: http://svn.freebsd.org/changeset/base/230885 Log: MFC: r230631 Implement OF_printf() using kvprintf() directly, avoiding to use a buffer and allowing to handle newlines properly. Modified: stable/8/sys/dev/ofw/open

svn commit: r230886 - in stable/9/sys/sparc64: include sparc64

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:14:04 2012 New Revision: 230886 URL: http://svn.freebsd.org/changeset/base/230886 Log: MFC: r230632 - Now that we have a working OF_printf() since r230631 (MFC'ed to stable/9 in r230884), use it for implementing a simple OF_panic() that may be used

svn commit: r230887 - in stable/8/sys/sparc64: include sparc64

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:14:07 2012 New Revision: 230887 URL: http://svn.freebsd.org/changeset/base/230887 Log: MFC: r230632 - Now that we have a working OF_printf() since r230631 (MFC'ed to stable/8 in r230885), use it for implementing a simple OF_panic() that may be used

svn commit: r230888 - stable/9/sys/sparc64/include

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:15:24 2012 New Revision: 230888 URL: http://svn.freebsd.org/changeset/base/230888 Log: MFC: r230628 Mark cpu_{halt,reset}() as __dead2 as appropriate. Modified: stable/9/sys/sparc64/include/cpu.h Directory Properties: stable/9/sys/ (props changed)

svn commit: r230889 - stable/8/sys/sparc64/include

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:15:27 2012 New Revision: 230889 URL: http://svn.freebsd.org/changeset/base/230889 Log: MFC: r230628 Mark cpu_{halt,reset}() as __dead2 as appropriate. Modified: stable/8/sys/sparc64/include/cpu.h Directory Properties: stable/8/sys/ (props changed)

svn commit: r230890 - in stable/9/sys/sparc64: include sparc64

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:19:52 2012 New Revision: 230890 URL: http://svn.freebsd.org/changeset/base/230890 Log: MFC: r230633, r230634 Now that we have a working OF_printf() since r230631 and a OF_panic() helper since r230632 (MFC'ed to stable/9 in r230884 and r230886 respectiv

svn commit: r230891 - in stable/8/sys/sparc64: include sparc64

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:19:54 2012 New Revision: 230891 URL: http://svn.freebsd.org/changeset/base/230891 Log: MFC: r230633, r230634 Now that we have a working OF_printf() since r230631 and a OF_panic() helper since r230632 (MFC'ed to stable/8 in r230885 and r230887 respectiv

svn commit: r230892 - stable/9/sys/sparc64/sparc64

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:24:03 2012 New Revision: 230892 URL: http://svn.freebsd.org/changeset/base/230892 Log: MFC: r230662 Fully disable interrupts while we fiddle with the FP context in the VIS-based block copy/zero implementations. While with 4BSD it's sufficient to just d

svn commit: r230893 - stable/8/sys/sparc64/sparc64

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:24:06 2012 New Revision: 230893 URL: http://svn.freebsd.org/changeset/base/230893 Log: MFC: r230662 Fully disable interrupts while we fiddle with the FP context in the VIS-based block copy/zero implementations. While with 4BSD it's sufficient to just d

svn commit: r230894 - stable/9/sys/sparc64/pci

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:28:13 2012 New Revision: 230894 URL: http://svn.freebsd.org/changeset/base/230894 Log: MFC: r230664 As it turns out r227960 (MFC'ed to stable/9 in r228126) may still be insufficient with PREEMPTION so try harder to get the CDMA sync interrupt delivered

svn commit: r230895 - stable/8/sys/sparc64/pci

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:28:16 2012 New Revision: 230895 URL: http://svn.freebsd.org/changeset/base/230895 Log: MFC: r230664 As it turns out r227960 (MFC'ed to stable/8 in r228145) may still be insufficient with PREEMPTION so try harder to get the CDMA sync interrupt delivered

svn commit: r230896 - stable/9/sys/sparc64/conf

2012-02-01 Thread Marius Strobl
Author: marius Date: Wed Feb 1 21:31:46 2012 New Revision: 230896 URL: http://svn.freebsd.org/changeset/base/230896 Log: MFC: r227980 Move to SCHED_ULE by default. Since r226057 SCHED_ULE and sparc64 are compatible with each other and since r227539 the last issue seen when using SCHED_

svn commit: r230897 - in head/sys: conf dev/sound/pci gnu/dev

2012-02-01 Thread Pedro F. Giffuni
Author: pfg Date: Wed Feb 1 21:38:01 2012 New Revision: 230897 URL: http://svn.freebsd.org/changeset/base/230897 Log: Use new OSS-based BSD-licensed header for cs sound driver. The cs driver requires a table with firmware values. An alternative firmware is available in a similar Open Sou

svn commit: r230898 - in head/sys/modules/sound/driver: emu10k1 emu10kx maestro3

2012-02-01 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 2 00:10:20 2012 New Revision: 230898 URL: http://svn.freebsd.org/changeset/base/230898 Log: Cleanup some sound headers that don't need to be in the modules makefiles. Approved by: jhb (mentor) MFC after:1 week Modified: head/sys/modules/sound/driver/emu1

Re: svn commit: r230484 - head/release

2012-02-01 Thread Bjoern A. Zeeb
On 23. Jan 2012, at 16:17 , Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Mon Jan 23 16:17:54 2012 > New Revision: 230484 > URL: http://svn.freebsd.org/changeset/base/230484 > > Log: > Part of r230482 didn't actually work. Revert it for now. This means PR > 161047 isn't actually fixed.

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

2012-02-01 Thread Bjoern A. Zeeb
On 1. Feb 2012, at 20:18 , Kenneth D. Merry wrote: > Author: ken > Date: Wed Feb 1 20:18:57 2012 > New Revision: 230878 > URL: http://svn.freebsd.org/changeset/base/230878 > > Log: > Add the netback driver to the build. I guess only tested on amd64... ===> i386 XENHVM failed (_.i386.XENHVM):

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

2012-02-01 Thread Konstantin Belousov
On Tue, Jan 31, 2012 at 12:48:49PM -0500, David Schultz wrote: > On Tue, Jan 31, 2012, Konstantin Belousov wrote: > > On Mon, Jan 30, 2012 at 02:07:03PM -0500, David Schultz wrote: > > > On Mon, Jan 30, 2012, Kostik Belousov wrote: > > > > On Sun, Jan 29, 2012 at 05:39:04PM -0500, David Schultz wro

svn commit: r230900 - stable/9/sys/sys

2012-02-01 Thread Konstantin Belousov
Author: kib Date: Thu Feb 2 06:18:41 2012 New Revision: 230900 URL: http://svn.freebsd.org/changeset/base/230900 Log: MFC r230783: Add definition for PT_GNU_RELRO. Modified: stable/9/sys/sys/elf_common.h Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/sys/el

svn commit: r230901 - stable/8/sys/sys

2012-02-01 Thread Konstantin Belousov
Author: kib Date: Thu Feb 2 06:39:33 2012 New Revision: 230901 URL: http://svn.freebsd.org/changeset/base/230901 Log: MFC r230783: Add definition for PT_GNU_RELRO. Modified: stable/8/sys/sys/elf_common.h Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/sys/el

svn commit: r230902 - head/sys/conf

2012-02-01 Thread Kenneth D. Merry
Author: ken Date: Thu Feb 2 07:38:40 2012 New Revision: 230902 URL: http://svn.freebsd.org/changeset/base/230902 Log: Unbreak the i386 full PV (XEN kernel) build by reverting rev 230878 and taking the netback driver out of the build temporarily. Modified: head/sys/conf/files Modified: hea

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

2012-02-01 Thread Kenneth D. Merry
On Thu, Feb 02, 2012 at 03:56:03 +, Bjoern A. Zeeb wrote: > On 1. Feb 2012, at 20:18 , Kenneth D. Merry wrote: > > > Author: ken > > Date: Wed Feb 1 20:18:57 2012 > > New Revision: 230878 > > URL: http://svn.freebsd.org/changeset/base/230878 > > > > Log: > > Add the netback driver to the bu