Re: svn commit: r217229 - head/usr.sbin/pc-sysinstall/backend

2011-01-11 Thread Garrett Cooper
On Jan 10, 2011, at 11:26 PM, Pawel Jakub Dawidek wrote: > On Mon, Jan 10, 2011 at 03:52:12PM -0800, Garrett Cooper wrote: +if [ "${FS}" != "UFS" -a "${FS}" != "UFS+S" -a "${FS}" != "UFS+J" -a "${FS}" != "UFS+SUJ" ] ; then >>> >>> Something like this should work too: >>> >>>

svn commit: r217262 - head/sys/geom/nop

2011-01-11 Thread Andrey V. Elsukov
Author: ae Date: Tue Jan 11 11:42:22 2011 New Revision: 217262 URL: http://svn.freebsd.org/changeset/base/217262 Log: Round GNOP provider's mediasize to its sectorsize. This prevents KASSERT in g_io_request when geom classes doing tasting. PR: kern/147852 MFC after:1 week

Re: svn commit: r217262 - head/sys/geom/nop

2011-01-11 Thread Giovanni Trematerra
On Tue, Jan 11, 2011 at 12:42 PM, Andrey V. Elsukov wrote: > Author: ae > Date: Tue Jan 11 11:42:22 2011 > New Revision: 217262 > URL: http://svn.freebsd.org/changeset/base/217262 > > Log: >  Round GNOP provider's mediasize to its sectorsize. This prevents KASSERT >  in g_io_request when geom clas

svn commit: r217263 - head/sys/geom/nop

2011-01-11 Thread Andrey V. Elsukov
Author: ae Date: Tue Jan 11 13:22:20 2011 New Revision: 217263 URL: http://svn.freebsd.org/changeset/base/217263 Log: Remove redundant check. MFC after:1 week Modified: head/sys/geom/nop/g_nop.c Modified: head/sys/geom/nop/g_nop.c

svn commit: r217264 - head/share/man/man3

2011-01-11 Thread Gavin Atkinson
Author: gavin Date: Tue Jan 11 13:33:42 2011 New Revision: 217264 URL: http://svn.freebsd.org/changeset/base/217264 Log: Remove a bullet point that appears to have been accidentally inserted twice. It has also been included within the feature lists to which it is relevant. Submitted by: t

svn commit: r217265 - in head/sys: arm/econa cam dev/sound/usb dev/usb dev/usb/controller dev/usb/input dev/usb/misc dev/usb/net dev/usb/quirk dev/usb/serial dev/usb/storage dev/usb/template ia64/a...

2011-01-11 Thread John Baldwin
Author: jhb Date: Tue Jan 11 13:59:06 2011 New Revision: 217265 URL: http://svn.freebsd.org/changeset/base/217265 Log: Remove unneeded includes of . Other headers that use it internally contain nested includes. Reviewed by: bde Modified: head/sys/arm/econa/ehci_ebus.c head/sys/arm/

Re: svn commit: r217213 - head/lib/bind

2011-01-11 Thread John Baldwin
On Tuesday, January 11, 2011 12:04:56 am Doug Barton wrote: > On 01/10/2011 11:33, John Baldwin wrote: > > On Sunday, January 09, 2011 6:47:11 pm Doug Barton wrote: > > >> # Use the right version of the atomic.h file from lib/isc > >> -ISC_ATOMIC_ARCH=${MACHINE_CPUARCH:S/i386/x86_32/:S/amd64/x86

svn commit: r217268 - stable/8/sys/geom/part

2011-01-11 Thread Matthew D Fleming
Author: mdf Date: Tue Jan 11 17:16:50 2011 New Revision: 217268 URL: http://svn.freebsd.org/changeset/base/217268 Log: MFC r217109: Fix a memory overflow where the input length to g_gpt_utf8_to_utf16() was specified incorrectly, causing the bzero to run past the end of a malloc(9)'d obj

svn commit: r217269 - in stable/8/sys: kern sys

2011-01-11 Thread Matthew D Fleming
Author: mdf Date: Tue Jan 11 17:26:36 2011 New Revision: 217269 URL: http://svn.freebsd.org/changeset/base/217269 Log: Move the fail_point_entry definition from fail.h to kern_fail.c, which allows putting the enumeration constants of fail point types with the text string that matches them.

Re: svn commit: r217269 - in stable/8/sys: kern sys

2011-01-11 Thread mdf
Gah! Forgot to mention this is a MFC of r216616. On Tue, Jan 11, 2011 at 9:26 AM, Matthew D Fleming wrote: > Author: mdf > Date: Tue Jan 11 17:26:36 2011 > New Revision: 217269 > URL: http://svn.freebsd.org/changeset/base/217269 > > Log: >  Move the fail_point_entry definition from fail.h to ker

svn commit: r217270 - in stable/8/sys: kern sys

2011-01-11 Thread Matthew D Fleming
Author: mdf Date: Tue Jan 11 17:29:34 2011 New Revision: 217270 URL: http://svn.freebsd.org/changeset/base/217270 Log: (Note the previous commit was a MFC of r216616). MFC r216620: Initialize fp_location for explicitly managed fail points, and push the parentheses around the location

svn commit: r217271 - stable/8/sys/kern

2011-01-11 Thread Matthew D Fleming
Author: mdf Date: Tue Jan 11 17:31:59 2011 New Revision: 217271 URL: http://svn.freebsd.org/changeset/base/217271 Log: MFC r216058 and r216059: r216058: Use the SYSCTL_CHILDREN macro in kern_sysctl.c to help de-obfuscate the code. r216059: Slightly modify the logic in sysct

svn commit: r217272 - stable/8/sys/kern

2011-01-11 Thread Matthew D Fleming
Author: mdf Date: Tue Jan 11 17:33:29 2011 New Revision: 217272 URL: http://svn.freebsd.org/changeset/base/217272 Log: MFC r216463: One of the compat32 functions was copying in a raw timespec, instead of a 32-bit one. This can cause weird timeout issues, as the copying reads garbage fr

svn commit: r217273 - head

2011-01-11 Thread Warner Losh
Author: imp Date: Tue Jan 11 18:32:05 2011 New Revision: 217273 URL: http://svn.freebsd.org/changeset/base/217273 Log: Minor improvements in the wording of a comment. Document tinderbox target. Modified: head/Makefile Modified: head/Makefile =

Re: svn commit: r217213 - head/lib/bind

2011-01-11 Thread Doug Barton
On 01/11/2011 05:47, John Baldwin wrote: On Tuesday, January 11, 2011 12:04:56 am Doug Barton wrote: On 01/10/2011 11:33, John Baldwin wrote: On Sunday, January 09, 2011 6:47:11 pm Doug Barton wrote: # Use the right version of the atomic.h file from lib/isc -ISC_ATOMIC_ARCH=${MACHINE_CPUA

Re: svn commit: r217213 - head/lib/bind

2011-01-11 Thread John Baldwin
On Tuesday, January 11, 2011 1:49:10 pm Doug Barton wrote: > On 01/11/2011 05:47, John Baldwin wrote: > > On Tuesday, January 11, 2011 12:04:56 am Doug Barton wrote: > >> On 01/10/2011 11:33, John Baldwin wrote: > >>> On Sunday, January 09, 2011 6:47:11 pm Doug Barton wrote: > >> > # Use th

svn commit: r217274 - head/sys/dev/usb/serial

2011-01-11 Thread Gavin Atkinson
Author: gavin Date: Tue Jan 11 19:05:55 2011 New Revision: 217274 URL: http://svn.freebsd.org/changeset/base/217274 Log: Improve or fix some comments. No functional change. MFC after:1 week Modified: head/sys/dev/usb/serial/uplcom.c Modified: head/sys/dev/usb/serial/uplcom.c ==

svn commit: r217275 - head/share/man/man4

2011-01-11 Thread Gavin Atkinson
Author: gavin Date: Tue Jan 11 19:07:34 2011 New Revision: 217275 URL: http://svn.freebsd.org/changeset/base/217275 Log: Update the uplcom(4) man page to reflect the devices currently supported by uplcom(4). MFC after:1 week Modified: head/share/man/man4/uplcom.4 Modified: head/sh

Re: svn commit: r217213 - head/lib/bind

2011-01-11 Thread Doug Barton
On 01/11/2011 11:00, John Baldwin wrote: .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" And_this_ line is still MACHINE_ARCH here, which is wrong. This should use MACHINE_CPUARCH. That is the only line I have been talking about the entire time. Yep, sorry, I wasn't kidding w

svn commit: r217276 - stable/8/sys/net

2011-01-11 Thread Dimitry Andric
Author: dim Date: Tue Jan 11 19:13:29 2011 New Revision: 217276 URL: http://svn.freebsd.org/changeset/base/217276 Log: MFC r215212: Similar to r212647, remove the workaround in sys/net/vnet.h for an ld bug (incorrect placement of __start_SECNAME in some cases) that was fixed in r210245.

svn commit: r217277 - stable/8/sys/amd64/amd64

2011-01-11 Thread Dimitry Andric
Author: dim Date: Tue Jan 11 19:17:13 2011 New Revision: 217277 URL: http://svn.freebsd.org/changeset/base/217277 Log: MFC r215801: Change ambiguous (or invalid, depending on how strict you want to be :) assembly instruction "movw %rcx,2(%rax)" to "movw %cx,2(%rax)", since the intent wa

svn commit: r217278 - head/sys/dev/acpica/Osd

2011-01-11 Thread Jung-uk Kim
Author: jkim Date: Tue Jan 11 19:20:01 2011 New Revision: 217278 URL: http://svn.freebsd.org/changeset/base/217278 Log: Fix a witness(4) warning introduced in r217238. Modified: head/sys/dev/acpica/Osd/OsdInterrupt.c Modified: head/sys/dev/acpica/Osd/OsdInterrupt.c ==

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

2011-01-11 Thread Jung-uk Kim
Author: jkim Date: Tue Jan 11 19:26:39 2011 New Revision: 217279 URL: http://svn.freebsd.org/changeset/base/217279 Log: Work around a witness(4) panic introduced in r217238. Reported by: jh Modified: head/sys/dev/acpica/acpi.c Modified: head/sys/dev/acpica/acpi.c ==

Re: svn commit: r217273 - head

2011-01-11 Thread Alexander Best
On Tue Jan 11 11, Warner Losh wrote: > Author: imp > Date: Tue Jan 11 18:32:05 2011 > New Revision: 217273 > URL: http://svn.freebsd.org/changeset/base/217273 > > Log: > Minor improvements in the wording of a comment. Document tinderbox target. > > Modified: > head/Makefile > > Modified: he

svn commit: r217280 - releng/8.2/sys/netinet

2011-01-11 Thread Daniel Eischen
Author: deischen Date: Tue Jan 11 19:43:35 2011 New Revision: 217280 URL: http://svn.freebsd.org/changeset/base/217280 Log: MFC: 217169 Make sure to always do source address selection on an unbound socket, regardless of any multicast options. If an address is specified via a multicast o

svn commit: r217281 - stable/8/usr.bin/stat

2011-01-11 Thread Doug Barton
Author: dougb Date: Tue Jan 11 20:04:37 2011 New Revision: 217281 URL: http://svn.freebsd.org/changeset/base/217281 Log: MFC r203971: The NetBSD Foundation has granted permission to remove clause 3 and 4 from their software. Obtained from: NetBSD Modified: stable/8/usr.bin/stat/s

svn commit: r217282 - stable/7/usr.bin/stat

2011-01-11 Thread Doug Barton
Author: dougb Date: Tue Jan 11 20:05:53 2011 New Revision: 217282 URL: http://svn.freebsd.org/changeset/base/217282 Log: MFC r203971: The NetBSD Foundation has granted permission to remove clause 3 and 4 from their software. Obtained from: NetBSD Modified: stable/7/usr.bin/stat/s

svn commit: r217283 - stable/8/usr.bin/stat

2011-01-11 Thread Doug Barton
Author: dougb Date: Tue Jan 11 20:08:34 2011 New Revision: 217283 URL: http://svn.freebsd.org/changeset/base/217283 Log: For stat.c == MFC r216196: Bring in the change from NetBSD 1.18: "If using stat (the -L flag) and it fails, fall back to lstat(). It may be the cas

Re: svn commit: r217273 - head

2011-01-11 Thread Bjoern A. Zeeb
On Tue, 11 Jan 2011, Warner Losh wrote: Author: imp Date: Tue Jan 11 18:32:05 2011 New Revision: 217273 URL: http://svn.freebsd.org/changeset/base/217273 Log: Minor improvements in the wording of a comment. Document tinderbox target. Modified: head/Makefile Modified: head/Makefile

svn commit: r217286 - head/sys/powerpc/powermac

2011-01-11 Thread Andreas Tobler
Author: andreast Date: Tue Jan 11 21:18:29 2011 New Revision: 217286 URL: http://svn.freebsd.org/changeset/base/217286 Log: Add new functions, fcu_fan_set_pwm and fcu_fan_get_pwm, to set and get the pwm values. We can now set the fan's speed of a PWM controlled fan with % numbers between 30

svn commit: r217288 - head/sys/conf

2011-01-11 Thread Andrew Thompson
Author: thompsa Date: Tue Jan 11 21:46:29 2011 New Revision: 217288 URL: http://svn.freebsd.org/changeset/base/217288 Log: Allow runfw(4) to be compiled in to the kernel. Submitted by: Akinori Furukoshi Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r217289 - head/share/man/man4

2011-01-11 Thread Andrew Thompson
Author: thompsa Date: Tue Jan 11 21:51:46 2011 New Revision: 217289 URL: http://svn.freebsd.org/changeset/base/217289 Log: Add manpage for runfw, the Ralink RT2700U, RT2800U and RT3000U firmware module. Also fix a few nits in run.4. Submitted by: Akinori Furukoshi Added: head/share/man

svn commit: r217290 - head/sys/arm/include

2011-01-11 Thread Marcel Moolenaar
Author: marcel Date: Tue Jan 11 22:07:39 2011 New Revision: 217290 URL: http://svn.freebsd.org/changeset/base/217290 Log: Don't re-use MODINFOMD_BOOTINFO as MODINFOMD_DTBP. It breaks compatibility without any means for the kernel to work with an older loader. Modified: head/sys/arm/includ

svn commit: r217291 - head/sys/kern

2011-01-11 Thread John Baldwin
Author: jhb Date: Tue Jan 11 22:13:19 2011 New Revision: 217291 URL: http://svn.freebsd.org/changeset/base/217291 Log: Always use PRI_BASE() when checking the base type of a thread's priority class. MFC after:2 weeks Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sche

svn commit: r217292 - in head/sys: kern sys

2011-01-11 Thread John Baldwin
Author: jhb Date: Tue Jan 11 22:15:30 2011 New Revision: 217292 URL: http://svn.freebsd.org/changeset/base/217292 Log: - Retire some unused ithread priorities: PI_TTYHIGH, PI_TAPE, and PI_DISKLOW. While here, rename PI_TTYLOW to PI_TTY. - Add a macro PI_SWI() that takes a SWI_* constant a

svn commit: r217294 - head

2011-01-11 Thread Warner Losh
Author: imp Date: Tue Jan 11 22:57:41 2011 New Revision: 217294 URL: http://svn.freebsd.org/changeset/base/217294 Log: Proving once again, I can't typo: fix a type. Modified: head/Makefile Modified: head/Makefile ==

Re: svn commit: r217213 - head/lib/bind

2011-01-11 Thread Warner Losh
On 01/11/2011 06:47, John Baldwin wrote: On Tuesday, January 11, 2011 12:04:56 am Doug Barton wrote: I have no objection to putting it back to the state that it was in at r209886, although frankly less diffs to RELENG_[78] without good reason make my life easier. 209886 did not use MACHINE_CPUA

Re: svn commit: r217213 - head/lib/bind

2011-01-11 Thread Warner Losh
On 01/10/2011 22:04, Doug Barton wrote: On 01/10/2011 11:33, John Baldwin wrote: On Sunday, January 09, 2011 6:47:11 pm Doug Barton wrote: # Use the right version of the atomic.h file from lib/isc -ISC_ATOMIC_ARCH=${MACHINE_CPUARCH:S/i386/x86_32/:S/amd64/x86_32/} +.if ${MACHINE_ARCH} == "am

svn commit: r217295 - head/sys/dev/e1000

2011-01-11 Thread Jack F Vogel
Author: jfv Date: Wed Jan 12 00:23:47 2011 New Revision: 217295 URL: http://svn.freebsd.org/changeset/base/217295 Log: A couple problems discovered by Andrew Boyer: - failure code in em_xmit got mangled along the way and was not properly handling errors. - local timer code had a

svn commit: r217296 - head/sys/dev/re

2011-01-11 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 12 03:43:47 2011 New Revision: 217296 URL: http://svn.freebsd.org/changeset/base/217296 Log: For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E), limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuring it to 16KB. Due to

svn commit: r217297 - head

2011-01-11 Thread Warner Losh
Author: imp Date: Wed Jan 12 04:59:29 2011 New Revision: 217297 URL: http://svn.freebsd.org/changeset/base/217297 Log: Provide up-to-date estimates that are pessimal today... Modified: head/Makefile Modified: head/Makefile =

svn commit: r217298 - stable/7/usr.bin/stat

2011-01-11 Thread Doug Barton
Author: dougb Date: Wed Jan 12 05:37:13 2011 New Revision: 217298 URL: http://svn.freebsd.org/changeset/base/217298 Log: MFC 178651: The referenced section name is 'Formats', not 'FORMATS'. Modified: stable/7/usr.bin/stat/stat.1 Directory Properties: stable/7/usr.bin/stat/ (props cha

svn commit: r217299 - stable/7/usr.bin/stat

2011-01-11 Thread Doug Barton
Author: dougb Date: Wed Jan 12 07:27:30 2011 New Revision: 217299 URL: http://svn.freebsd.org/changeset/base/217299 Log: MFC r188498 (partial): "I've changed main() to set file properly, so output() is never called with file set to NULL." Obtained from:ed The other bits

svn commit: r217300 - stable/7/usr.bin/stat

2011-01-11 Thread Doug Barton
Author: dougb Date: Wed Jan 12 07:38:48 2011 New Revision: 217300 URL: http://svn.freebsd.org/changeset/base/217300 Log: For stat.c == MFC r216196: Bring in the change from NetBSD 1.18: "If using stat (the -L flag) and it fails, fall back to lstat(). It may be the cas