svn commit: r230101 - head/sys/ufs/ffs

2012-01-13 Thread Kirk McKusick
Author: mckusick Date: Sat Jan 14 07:26:16 2012 New Revision: 230101 URL: http://svn.freebsd.org/changeset/base/230101 Log: Convert FFS mount error messages from kernel printf's to using the vfs_mount_error error message facility provided by the nmount interface. Clean up formatting of

svn commit: r230100 - head/sys/fs/nfsserver

2012-01-13 Thread Rick Macklem
Author: rmacklem Date: Sat Jan 14 04:04:58 2012 New Revision: 230100 URL: http://svn.freebsd.org/changeset/base/230100 Log: Tai Horgan reported via email that there were two places in the new NFSv4 server where the code follows the wrong list. Fortunately, for these fairly rare cases, the lc

svn commit: r230099 - head/etc/rc.d

2012-01-13 Thread Doug Barton
Author: dougb Date: Sat Jan 14 02:18:41 2012 New Revision: 230099 URL: http://svn.freebsd.org/changeset/base/230099 Log: Prepare for the removal of set_rcvar() by changing the rcvar= assignments to the literal values it would have returned. The concept of set_rcvar() was nice in theory, b

svn commit: r230097 - head/sys/kern

2012-01-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jan 14 00:36:07 2012 New Revision: 230097 URL: http://svn.freebsd.org/changeset/base/230097 Log: Fix kernel modules loading for MIPS64 kernel: On amd64, link_elf_obj.c must specify KERNBASE rather than VM_MIN_KERNEL_ADDRESS to vm_map_find() because kernel l

svn commit: r230095 - in head: bin/sh tools/regression/bin/sh/builtins

2012-01-13 Thread Jilles Tjoelker
Author: jilles Date: Fri Jan 13 23:32:27 2012 New Revision: 230095 URL: http://svn.freebsd.org/changeset/base/230095 Log: sh: Properly show "Not a directory" error in cd builtin. The errno message display added in r92 did not take attempting to cd to a non-directory or something that

svn commit: r230094 - in head/sys/mips: include mips

2012-01-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Jan 13 23:31:36 2012 New Revision: 230094 URL: http://svn.freebsd.org/changeset/base/230094 Log: Fix backtrace for MIPS64: - Properly print 64-bit addresses - Get whole 64 bits of address using kdbpeekd - Make check for kernel address compatible with MIP

svn commit: r230093 - stable/8/sbin/dhclient

2012-01-13 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 13 23:25:58 2012 New Revision: 230093 URL: http://svn.freebsd.org/changeset/base/230093 Log: Merge r228463, that explicily uses 255.0.0.0 mask for the temporary prefix. This change isn't actually needed in the stable/8, but let it be here, in case if anyone trie

svn commit: r230092 - head/sbin/hastd

2012-01-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jan 13 23:25:35 2012 New Revision: 230092 URL: http://svn.freebsd.org/changeset/base/230092 Log: Style cleanups. MFC after:3 days Modified: head/sbin/hastd/secondary.c Modified: head/sbin/hastd/secondary.c ===

Re: svn commit: r229850 - in head: etc/rc.d sys/contrib/pf/net sys/netinet

2012-01-13 Thread Ermal Luçi
You ARE testing this right? Since you removed code that you do not actually mention at all in the commit message!!! On Mon, Jan 9, 2012 at 9:50 AM, Gleb Smirnoff wrote: > Author: glebius > Date: Mon Jan 9 08:50:22 2012 > New Revision: 229850 > URL: http://svn.freebsd.org/changeset/base/229850 >

Re: svn commit: r229850 - in head: etc/rc.d sys/contrib/pf/net sys/netinet

2012-01-13 Thread Gleb Smirnoff
On Fri, Jan 13, 2012 at 11:34:15PM +0100, Ermal Lu?i wrote: E> You ARE testing this right? Sure. E> Since you removed code that you do not actually mention at all in the E> commit message!!! What code are you worried about? E> On Mon, Jan 9, 2012 at 9:50 AM, Gleb Smirnoff wrote: E> E> > Autho

svn commit: r230091 - head/sys/dev/usb

2012-01-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 13 22:26:13 2012 New Revision: 230091 URL: http://svn.freebsd.org/changeset/base/230091 Log: Improve support for USB 3.0 HUBs. In certain states we should do a warm reset instead of the default reset. MFC after:5 days Modified: head/sys/dev/usb/usb_hu

svn commit: r230090 - head/sys/dev/usb/controller

2012-01-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 13 22:19:14 2012 New Revision: 230090 URL: http://svn.freebsd.org/changeset/base/230090 Log: Bugfix: Make sure the XHCI driver doesn't clear the route string field. Else USB 3.0 HUBs won't work. MFC after:5 days Modified: head/sys/dev/usb/controller

svn commit: r230089 - in head/usr.sbin/acpi: acpidb iasl

2012-01-13 Thread Jung-uk Kim
Author: jkim Date: Fri Jan 13 22:16:47 2012 New Revision: 230089 URL: http://svn.freebsd.org/changeset/base/230089 Log: Remove unused ACPICA sources from userland makefiles. Modified: head/usr.sbin/acpi/acpidb/Makefile head/usr.sbin/acpi/iasl/Makefile Modified: head/usr.sbin/acpi/acpidb/Ma

Re: svn commit: r230088 - stable/9/release/doc/en_US.ISO8859-1/errata

2012-01-13 Thread John Baldwin
On Friday, January 13, 2012 3:50:18 pm Hiroki Sato wrote: > Author: hrs > Date: Fri Jan 13 20:50:18 2012 > New Revision: 230088 > URL: http://svn.freebsd.org/changeset/base/230088 > > Log: > Add an open issue and workaround about possible device detection failure on > FreeBSD/{amd64,i386}. Th

svn commit: r230088 - stable/9/release/doc/en_US.ISO8859-1/errata

2012-01-13 Thread Hiroki Sato
Author: hrs Date: Fri Jan 13 20:50:18 2012 New Revision: 230088 URL: http://svn.freebsd.org/changeset/base/230088 Log: Add an open issue and workaround about possible device detection failure on FreeBSD/{amd64,i386}. Modified: stable/9/release/doc/en_US.ISO8859-1/errata/article.sgml Modifi

svn commit: r230087 - stable/8/sys/netinet

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 20:35:43 2012 New Revision: 230087 URL: http://svn.freebsd.org/changeset/base/230087 Log: MFC 221891,229665,229672,229700: Remove the assertion from tcp_input() that rcv_nxt is always greater than or equal to rcv_adv and fix tcp_twstart() to handle this case by

svn commit: r230086 - stable/9/sys/netinet

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 20:35:12 2012 New Revision: 230086 URL: http://svn.freebsd.org/changeset/base/230086 Log: MFC 229665,229672,229700: Remove the assertion from tcp_input() that rcv_nxt is always greater than or equal to rcv_adv and fix tcp_twstart() to handle this case by assumi

svn commit: r230085 - stable/9/sys/dev/acpica

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 20:28:11 2012 New Revision: 230085 URL: http://svn.freebsd.org/changeset/base/230085 Log: MFC 228961: Further relax the strictness of enforcing allocations to only come from decoded ranges. Pass any request for a specific range that fails because it is not in

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

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 20:25:56 2012 New Revision: 230084 URL: http://svn.freebsd.org/changeset/base/230084 Log: MFC 228960: Cap the priority calculated from the current thread's running tick count at SCHED_PRI_RANGE to prevent overflows in the priority value. This can happen due to

svn commit: r230083 - stable/9/sys/kern

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 20:25:38 2012 New Revision: 230083 URL: http://svn.freebsd.org/changeset/base/230083 Log: MFC 228960: Cap the priority calculated from the current thread's running tick count at SCHED_PRI_RANGE to prevent overflows in the priority value. This can happen due to

svn commit: r230082 - stable/8/sys/modules/kgssapi_krb5

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 20:23:18 2012 New Revision: 230082 URL: http://svn.freebsd.org/changeset/base/230082 Log: MFC 229519: Fix 'make clean' for this module so it cleans up the generated gssd.h. Modified: stable/8/sys/modules/kgssapi_krb5/Makefile Directory Properties: stable/8/sys

svn commit: r230081 - stable/9/sys/modules/kgssapi_krb5

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 20:22:57 2012 New Revision: 230081 URL: http://svn.freebsd.org/changeset/base/230081 Log: MFC 229519: Fix 'make clean' for this module so it cleans up the generated gssd.h. Modified: stable/9/sys/modules/kgssapi_krb5/Makefile Directory Properties: stable/9/sys

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

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 20:15:49 2012 New Revision: 230080 URL: http://svn.freebsd.org/changeset/base/230080 Log: MFC 229429: Some small fixes to CPU accounting for threads: - Only initialize the per-cpu switchticks and switchtime in sched_throw() for the very first context switch o

svn commit: r230079 - stable/9/sys/kern

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 20:15:27 2012 New Revision: 230079 URL: http://svn.freebsd.org/changeset/base/230079 Log: MFC 229429: Some small fixes to CPU accounting for threads: - Only initialize the per-cpu switchticks and switchtime in sched_throw() for the very first context switch o

svn commit: r230078 - stable/9/sys/x86/acpica

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 19:54:00 2012 New Revision: 230078 URL: http://svn.freebsd.org/changeset/base/230078 Log: MFC 229427: Fix a few bugs in the SRAT parsing code: - Actually increment ndomain when building our list of known domains so that we can properly renumber them to be 0-b

svn commit: r230077 - in stable/8/sys: netinet netinet6

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 19:51:15 2012 New Revision: 230077 URL: http://svn.freebsd.org/changeset/base/230077 Log: MFC 229390,229420,229479: Fix some races in the multicast code by removing places where we would drop the IF_ADDR_LOCK while walking an interface's multicast address list:

svn commit: r230076 - in stable/9/sys: netinet netinet6

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 19:50:52 2012 New Revision: 230076 URL: http://svn.freebsd.org/changeset/base/230076 Log: MFC 229390,229420,229479: Fix some races in the multicast code by removing places where we would drop the IF_ADDR_LOCK while walking an interface's multicast address list:

svn commit: r230075 - in stable/8/sys: netinet netinet6

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 19:20:33 2012 New Revision: 230075 URL: http://svn.freebsd.org/changeset/base/230075 Log: MFC 229414,229476,229477: Various fixes to the SIOC[DG]LIFADDR ioctl handlers: - Grab a reference on any matching interface address (ifa) before dropping the IF_ADDR_LOC

svn commit: r230074 - in stable/9/sys: netinet netinet6

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 19:20:09 2012 New Revision: 230074 URL: http://svn.freebsd.org/changeset/base/230074 Log: MFC 229414,229476,229477: Various fixes to the SIOC[DG]LIFADDR ioctl handlers: - Grab a reference on any matching interface address (ifa) before dropping the IF_ADDR_LOC

svn commit: r230073 - stable/8/sys

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 19:13:43 2012 New Revision: 230073 URL: http://svn.freebsd.org/changeset/base/230073 Log: MFC 215605,215606,222952,229400: Various improvements to the 'cscope' target: - Add x86 to ALL_ARCH. - Add lex and yacc sources to things cscope'd. - Include sys/xen in

svn commit: r230072 - stable/9/sys

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 19:10:53 2012 New Revision: 230072 URL: http://svn.freebsd.org/changeset/base/230072 Log: MFC 229400: Improve the cscope target's handling of MD directories. Automatically include the MACHINE_CPUARCH directory if it differents from MACHINE when building an ind

svn commit: r230071 - stable/9/sys/kern

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 19:03:30 2012 New Revision: 230071 URL: http://svn.freebsd.org/changeset/base/230071 Log: MFC 229728: Add 5 spare VOPs as placeholders to avoid breaking the KBI in the future when new VOPs are MFC'd to a branch. Modified: stable/9/sys/kern/vnode_if.src Directo

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

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 18:58:31 2012 New Revision: 230070 URL: http://svn.freebsd.org/changeset/base/230070 Log: MFC 229622: Fix a logic bug in change 228207 in the check for a thread's new user priority being a realtime priority. Modified: stable/8/sys/kern/kern_resource.c Director

svn commit: r230069 - stable/9/sys/kern

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 18:58:15 2012 New Revision: 230069 URL: http://svn.freebsd.org/changeset/base/230069 Log: MFC 229622: Fix a logic bug in change 228207 in the check for a thread's new user priority being a realtime priority. Modified: stable/9/sys/kern/kern_resource.c Director

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

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 18:54:10 2012 New Revision: 230068 URL: http://svn.freebsd.org/changeset/base/230068 Log: MFC 228849, 229727: Add post-VOP hooks for VOP_DELETEEXTATTR() and VOP_SETEXTATTR() and use these to trigger a NOTE_ATTRIB EVFILT_VNODE kevent when the extended attributes

svn commit: r230067 - in stable/9/sys: kern sys

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 18:53:48 2012 New Revision: 230067 URL: http://svn.freebsd.org/changeset/base/230067 Log: MFC 228849, 229727: Add post-VOP hooks for VOP_DELETEEXTATTR() and VOP_SETEXTATTR() and use these to trigger a NOTE_ATTRIB EVFILT_VNODE kevent when the extended attributes

svn commit: r230066 - in stable/8: sys/boot/i386/boot0 usr.sbin/boot0cfg

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 18:49:28 2012 New Revision: 230066 URL: http://svn.freebsd.org/changeset/base/230066 Log: MFC 228738: Allow boot0cfg to force a PXE boot via boot0 on the next boot. - Fix boot0 to check for PXE when using the pre-set setting for the preferred slice. - Updat

svn commit: r230065 - in stable/9: sys/boot/i386/boot0 usr.sbin/boot0cfg

2012-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 18:49:04 2012 New Revision: 230065 URL: http://svn.freebsd.org/changeset/base/230065 Log: MFC 228738: Allow boot0cfg to force a PXE boot via boot0 on the next boot. - Fix boot0 to check for PXE when using the pre-set setting for the preferred slice. - Updat

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

2012-01-13 Thread Don Lewis
Author: truckman Date: Fri Jan 13 18:32:56 2012 New Revision: 230064 URL: http://svn.freebsd.org/changeset/base/230064 Log: Allow an MBR primary or extended Linux swap partition to be specified as the system dump device. This was already allowed for GPT. The Linux swap metadata at the begi

svn commit: r230063 - head/sys/dev/hwpmc

2012-01-13 Thread George V. Neville-Neil
Author: gnn Date: Fri Jan 13 17:13:46 2012 New Revision: 230063 URL: http://svn.freebsd.org/changeset/base/230063 Log: Clean up a switch statement for uncore events on Westmere processors. Submitted by: Davide Italiano Reviewed by: gnn MFC after:1 week Modified: head/sys/dev/hwp

svn commit: r230062 - head/include

2012-01-13 Thread Ed Schouten
Author: ed Date: Fri Jan 13 16:01:34 2012 New Revision: 230062 URL: http://svn.freebsd.org/changeset/base/230062 Log: Correct mistake in atomic_flag macros. The _explicit versions only have two parameters, namely the object and the order. There is no need to pass the values of the atomic

svn commit: r230061 - head/share/man/man5

2012-01-13 Thread Ed Schouten
Author: ed Date: Fri Jan 13 15:43:01 2012 New Revision: 230061 URL: http://svn.freebsd.org/changeset/base/230061 Log: Regenerate src.conf(5). Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r230060 - in head: . lib/libc/gen tools/build/options usr.bin usr.bin/wtmpcvt

2012-01-13 Thread Ed Schouten
== --- head/ObsoleteFiles.inc Fri Jan 13 12:40:33 2012(r230059) +++ head/ObsoleteFiles.inc Fri Jan 13 15:40:49 2012(r230060) @@ -38,6 +38,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20120113: removal of wtmpcvt(1) +OLD_FILES+=usr/bin

svn commit: r230059 - head/sbin/geom/class/part

2012-01-13 Thread Dag-Erling Smorgrav
Author: des Date: Fri Jan 13 12:40:33 2012 New Revision: 230059 URL: http://svn.freebsd.org/changeset/base/230059 Log: Provide a better explanation for the sizing of the boot partition, and reduce the size of the partition in the example from 128 blocks to 94 blocks so it will end on a 128-b

svn commit: r230058 - head/sys/dev/netmap

2012-01-13 Thread Luigi Rizzo
Author: luigi Date: Fri Jan 13 11:58:06 2012 New Revision: 230058 URL: http://svn.freebsd.org/changeset/base/230058 Log: indentation and whitespace fixes Modified: head/sys/dev/netmap/netmap.c head/sys/dev/netmap/netmap_kern.h Modified: head/sys/dev/netmap/netmap.c

svn commit: r230057 - stable/8/share/man/man9

2012-01-13 Thread Jaakko Heinonen
Author: jh Date: Fri Jan 13 11:10:17 2012 New Revision: 230057 URL: http://svn.freebsd.org/changeset/base/230057 Log: MFC r228359: sbuf_data() hasn't returned NULL for overflowed buffers since r71721. Modified: stable/8/share/man/man9/sbuf.9 Directory Properties: stable/8/share/man/man

svn commit: r230056 - stable/8/share/man/man9

2012-01-13 Thread Jaakko Heinonen
Author: jh Date: Fri Jan 13 11:06:31 2012 New Revision: 230056 URL: http://svn.freebsd.org/changeset/base/230056 Log: Partially MFC r228358: Fix markup. Modified: stable/8/share/man/man9/sbuf.9 Directory Properties: stable/8/share/man/man9/ (props changed) Modified: stable/8/share/man/ma

svn commit: r230055 - head/sys/dev/netmap

2012-01-13 Thread Luigi Rizzo
Author: luigi Date: Fri Jan 13 11:01:23 2012 New Revision: 230055 URL: http://svn.freebsd.org/changeset/base/230055 Log: fix indentation Modified: head/sys/dev/netmap/if_re_netmap.h Modified: head/sys/dev/netmap/if_re_netmap.h =

svn commit: r230054 - stable/9/share/man/man9

2012-01-13 Thread Jaakko Heinonen
Author: jh Date: Fri Jan 13 10:54:26 2012 New Revision: 230054 URL: http://svn.freebsd.org/changeset/base/230054 Log: MFC r228358: - Fix markup. - Remove trailing whitespace. MFC r228359: sbuf_data() hasn't returned NULL for overflowed buffers since r71721. MFC r228784:

svn commit: r230053 - head/sys/cam/scsi

2012-01-13 Thread Alexander Motin
Author: mav Date: Fri Jan 13 10:21:17 2012 New Revision: 230053 URL: http://svn.freebsd.org/changeset/base/230053 Log: Add BIO_DELETE support for SCSI Direct Access devices (da). Depending on device capabilities use different methods to implement it. Currently used method can be read/set

svn commit: r230052 - head/sys/dev/netmap

2012-01-13 Thread Luigi Rizzo
Author: luigi Date: Fri Jan 13 10:21:15 2012 New Revision: 230052 URL: http://svn.freebsd.org/changeset/base/230052 Log: Two performance-related fixes: 1. as reported by Alexander Fiveg, the allocator was reporting half of the allocated memory. Fix this by exiting from the loop earli

Re: svn commit: r230044 - in head: usr.bin/mail usr.bin/tftp usr.bin/unzip usr.sbin/config usr.sbin/lpr/lpc usr.sbin/timed/timedc

2012-01-13 Thread Kevin Lo
On Fri, 2012-01-13 at 11:24 +0300, Sergey Kandaurov wrote: > On 13 January 2012 10:51, Kevin Lo wrote: > > Author: kevlo > > Date: Fri Jan 13 06:51:15 2012 > > New Revision: 230044 > > URL: http://svn.freebsd.org/changeset/base/230044 > > > > Log: > > fgets(3) returns a pointer, so compare agains

svn commit: r230051 - head/usr.sbin/config

2012-01-13 Thread Kevin Lo
Author: kevlo Date: Fri Jan 13 09:08:41 2012 New Revision: 230051 URL: http://svn.freebsd.org/changeset/base/230051 Log: Fix copyright year Spotted by: pluknet Modified: head/usr.sbin/config/mkmakefile.c Modified: head/usr.sbin/config/mkmakefile.c =

Re: svn commit: r230044 - in head: usr.bin/mail usr.bin/tftp usr.bin/unzip usr.sbin/config usr.sbin/lpr/lpc usr.sbin/timed/timedc

2012-01-13 Thread Sergey Kandaurov
On 13 January 2012 10:51, Kevin Lo wrote: > Author: kevlo > Date: Fri Jan 13 06:51:15 2012 > New Revision: 230044 > URL: http://svn.freebsd.org/changeset/base/230044 > > Log: >  fgets(3) returns a pointer, so compare against NULL, not integer 0. > [...] > Modified: head/usr.sbin/config/mkmakefile.