svn commit: r245590 - stable/9/sys/dev/md

2013-01-18 Thread Jaakko Heinonen
Author: jh Date: Fri Jan 18 08:10:00 2013 New Revision: 245590 URL: http://svnweb.freebsd.org/changeset/base/245590 Log: MFC r243373: Print correct unit number when attaching preloaded memory disks. Retire now unused mdunits variable. Modified: stable/9/sys/dev/md/md.c Directory Proper

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

2013-01-18 Thread Sergey Kandaurov
Author: pluknet Date: Fri Jan 18 08:27:12 2013 New Revision: 245591 URL: http://svnweb.freebsd.org/changeset/base/245591 Log: MFC r245268: The Giant lock is no longer used in the vm_map(9) part of the VM. While here, document that the process lock is acquired in vm_map_stack, too. Modified:

svn commit: r245592 - stable/8/cddl/contrib/opensolaris/cmd/zpool

2013-01-18 Thread Sergey Kandaurov
Author: pluknet Date: Fri Jan 18 08:34:21 2013 New Revision: 245592 URL: http://svnweb.freebsd.org/changeset/base/245592 Log: MFC r243102: Sort SEE ALSO xrefs by the manual section number and add a missing comma. Modified: stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8 Directory Prope

svn commit: r245593 - stable/9/cddl/contrib/opensolaris/cmd/zpool

2013-01-18 Thread Sergey Kandaurov
Author: pluknet Date: Fri Jan 18 08:34:50 2013 New Revision: 245593 URL: http://svnweb.freebsd.org/changeset/base/245593 Log: MFC r243102: Sort SEE ALSO xrefs by the manual section number and add a missing comma. Modified: stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8 Directory Prope

Re: bin/174831: geli segfaults with the new locked memory limit default

2013-01-18 Thread Andrey Zonov
On 1/17/13 6:00 PM, Fabian Keil wrote: > Konstantin Belousov wrote: > >> On Tue, Jan 15, 2013 at 11:18:19PM +0400, Andrey Zonov wrote: >>> On 1/14/13 11:09 PM, Fabian Keil wrote: Andrey Zonov wrote: > On 1/14/13 3:26 PM, Fabian Keil wrote: >> Andrey Zonov wrote: >> >>>

Re: svn commit: r245415 - stable/9/etc

2013-01-18 Thread Andrey Zonov
On 1/17/13 6:57 PM, Andriy Gapon wrote: > on 17/01/2013 16:29 Andriy Gapon said the following: >> sudo -c - /sbin/geli attach /dev/label/test >> >> Perhaps it would make sense to make the behavior of '-c -' the default, but >> I am >> far from sure. > > And a side note. I think that pam_limits +

Re: bin/174831: geli segfaults with the new locked memory limit default

2013-01-18 Thread Konstantin Belousov
On Fri, Jan 18, 2013 at 01:50:52PM +0400, Andrey Zonov wrote: > The code that you copy/pasted is under HAVE_BROKEN_MLOCK. > > The code that is executed on my machine is: > > gnupg-1.4.13/util/secmem.c: > 167 #else > 168 err = mlock( p, n ); > 169 if( err && errno ) > 170 err = err

Re: bin/174831: geli segfaults with the new locked memory limit default

2013-01-18 Thread Fabian Keil
Konstantin Belousov wrote: > On Fri, Jan 18, 2013 at 01:50:52PM +0400, Andrey Zonov wrote: > > The code that you copy/pasted is under HAVE_BROKEN_MLOCK. > > > > The code that is executed on my machine is: > > > > gnupg-1.4.13/util/secmem.c: > > 167 #else > > 168 err = mlock( p, n ); > > 169

svn commit: r245604 - stable/9/etc/rc.d

2013-01-18 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 18 13:16:02 2013 New Revision: 245604 URL: http://svnweb.freebsd.org/changeset/base/245604 Log: Belatedly merge etc part of r229850. pfsync.ko is working. Noticed by: des Modified: stable/9/etc/rc.d/pfsync Directory Properties: stable/9/etc/ (props cha

svn commit: r245606 - in head: share/mk tools/build/mk tools/build/options usr.sbin

2013-01-18 Thread Eitan Adler
Author: eadler Date: Fri Jan 18 15:57:09 2013 New Revision: 245606 URL: http://svnweb.freebsd.org/changeset/base/245606 Log: Add option to make pc-sysinstall optional Approved by: cperciva Added: head/tools/build/options/WITHOUT_PC_SYSINSTALL (contents, props changed) Modified: head

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

2013-01-18 Thread John Baldwin
On Thursday, January 17, 2013 11:03:32 pm Konstantin Belousov wrote: > On Thu, Jan 17, 2013 at 09:32:26PM +, John Baldwin wrote: > > Author: jhb > > Date: Thu Jan 17 21:32:25 2013 > > New Revision: 245577 > > URL: http://svnweb.freebsd.org/changeset/base/245577 > > > > Log: > > Don't attempt

svn commit: r245608 - stable/8/usr.sbin/pkg

2013-01-18 Thread Baptiste Daroussin
Author: bapt Date: Fri Jan 18 17:48:10 2013 New Revision: 245608 URL: http://svnweb.freebsd.org/changeset/base/245608 Log: MFC: r245412 Directly uses calloc(3) instread of malloc(3) + memset(3) Reported by: Jeremy Chadwick Modified: stable/8/usr.sbin/pkg/dns_utils.c Directory Propert

svn commit: r245609 - stable/9/usr.sbin/pkg

2013-01-18 Thread Baptiste Daroussin
Author: bapt Date: Fri Jan 18 17:49:00 2013 New Revision: 245609 URL: http://svnweb.freebsd.org/changeset/base/245609 Log: MFC: r245412 Directly uses calloc(3) instread of malloc(3) + memset(3) Reported by: Jeremy Chadwick Modified: stable/9/usr.sbin/pkg/dns_utils.c Directory Propert

svn commit: r245610 - head/bin/ps

2013-01-18 Thread John Baldwin
Author: jhb Date: Fri Jan 18 18:24:40 2013 New Revision: 245610 URL: http://svnweb.freebsd.org/changeset/base/245610 Log: Include the thread name along with the command name when displaying the command name of a thread from a multi-threaded process that doesn't have an available argument lis

svn commit: r245611 - in head/sys: fs/nfsclient fs/nfsserver nfsclient nfsserver

2013-01-18 Thread John Baldwin
Author: jhb Date: Fri Jan 18 18:43:38 2013 New Revision: 245611 URL: http://svnweb.freebsd.org/changeset/base/245611 Log: Use vfs_timestamp() to set file timestamps rather than invoking getmicrotime() or getnanotime() directly in NFS. Reviewed by: rmacklem, bde MFC after:1 week Mo

svn commit: r245612 - head/sys/fs/ext2fs

2013-01-18 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jan 18 19:11:17 2013 New Revision: 245612 URL: http://svnweb.freebsd.org/changeset/base/245612 Log: ext2fs: Add some DOINGASYNC check to match ffs. This is mostly cosmetical. Reviewed by: bde MFC after:3 days Modified: head/sys/fs/ext2fs/ext2_inode.c Mo

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

2013-01-18 Thread Xin LI
Author: delphij Date: Fri Jan 18 19:42:08 2013 New Revision: 245613 URL: http://svnweb.freebsd.org/changeset/base/245613 Log: Make it possible to force async at server side on new NFS server, similar to the old one's nfs.nfsrv.async. Please note that by enabling this option (default is di

Re: svn commit: r243631 - in head/sys: kern sys

2013-01-18 Thread Andre Oppermann
On 14.01.2013 16:00, Andre Oppermann wrote: On 13.01.2013 11:10, Alan Cox wrote: 3. The function vm_ksubmap_init() has a dependency on the global variable maxpipekva. vm_ksubmap_init() is executed under SI_SUB_CPU, which comes after SI_SUB_KMEM. Am I missing anything? I'm attaching a patch th

svn commit: r245617 - in head: . usr.bin/xinstall

2013-01-18 Thread Brooks Davis
most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20130118: + The install(1) option -M has changed meaning and now takes an + argument that is a file or path to append logs to. In the + unlikely event

svn commit: r245622 - head

2013-01-18 Thread Brooks Davis
Author: brooks Date: Fri Jan 18 22:17:21 2013 New Revision: 245622 URL: http://svnweb.freebsd.org/changeset/base/245622 Log: Remove a harmless (somewhat to my surprise) bogon that crept into r245440. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ==

Re: svn commit: r245610 - head/bin/ps

2013-01-18 Thread Andrew Turner
On Fri, 18 Jan 2013 18:24:41 + (UTC) John Baldwin wrote: > Author: jhb > Date: Fri Jan 18 18:24:40 2013 > New Revision: 245610 > URL: http://svnweb.freebsd.org/changeset/base/245610 > > Log: > Include the thread name along with the command name when displaying > the command name of a threa

svn commit: r245628 - in head/contrib/compiler-rt: . lib lib/arm

2013-01-18 Thread Andrew Turner
Author: andrew Date: Fri Jan 18 22:52:59 2013 New Revision: 245628 URL: http://svnweb.freebsd.org/changeset/base/245628 Log: Import compiler-rt r172839. This brings in __aeabi_lcmp and __aeabi_ulcmp. It also fixes the spelling of __aeabi_f2lz. Both changes originated on the arm_eabi proje

svn commit: r245630 - head/lib/libthr/thread

2013-01-18 Thread Jilles Tjoelker
Author: jilles Date: Fri Jan 18 23:08:40 2013 New Revision: 245630 URL: http://svnweb.freebsd.org/changeset/base/245630 Log: libthr: Always use the threaded rtld lock implementation. The threaded rtld lock implementation is faster even in the single-threaded case because it postpones sign

svn commit: r245633 - head/usr.bin/w

2013-01-18 Thread Xin LI
Author: delphij Date: Fri Jan 18 23:54:27 2013 New Revision: 245633 URL: http://svnweb.freebsd.org/changeset/base/245633 Log: Set showthread = 0 for w(1). X-MFC:together with r245610 Modified: head/usr.bin/w/w.c Modified: head/usr.bin/w/w.c ==

Re: svn commit: r245610 - head/bin/ps

2013-01-18 Thread John Baldwin
On 1/18/13 5:29 PM, Andrew Turner wrote: > On Fri, 18 Jan 2013 18:24:41 + (UTC) > John Baldwin wrote: > >> Author: jhb >> Date: Fri Jan 18 18:24:40 2013 >> New Revision: 245610 >> URL: http://svnweb.freebsd.org/changeset/base/245610 >> >> Log: >> Include the thread name along with the comma

Re: svn commit: r245633 - head/usr.bin/w

2013-01-18 Thread John Baldwin
On 1/18/13 6:54 PM, Xin LI wrote: > Author: delphij > Date: Fri Jan 18 23:54:27 2013 > New Revision: 245633 > URL: http://svnweb.freebsd.org/changeset/base/245633 > > Log: > Set showthread = 0 for w(1). > > X-MFC: together with r245610 Please no, this is not the correct fix. Note tha

svn commit: r245635 - in head: bin/ps usr.bin/w

2013-01-18 Thread John Baldwin
Author: jhb Date: Sat Jan 19 00:21:55 2013 New Revision: 245635 URL: http://svnweb.freebsd.org/changeset/base/245635 Log: - Move 'showthreads' check out of fmt.c. - Update shadow copy of fmt_argv() prototype in w.c and fix calls for additional parameter. Modified: head/bin/ps/fmt.c he

svn commit: r245636 - head/sys/contrib/dev/acpica/components/disassembler

2013-01-18 Thread Jung-uk Kim
Author: jkim Date: Sat Jan 19 00:37:17 2013 New Revision: 245636 URL: http://svnweb.freebsd.org/changeset/base/245636 Log: Work around build breakage with GCC 4.2. Modified: head/sys/contrib/dev/acpica/components/disassembler/dmresrc.c Modified: head/sys/contrib/dev/acpica/components/disasse

svn commit: r245637 - in head/sys/arm: arm include

2013-01-18 Thread Ian Lepore
Author: ian Date: Sat Jan 19 00:50:12 2013 New Revision: 245637 URL: http://svnweb.freebsd.org/changeset/base/245637 Log: Eliminate the need for an intermediate array of indices into the arrays of interrupt counts and names, by making the names into an array of fixed-length strings that can

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

2013-01-18 Thread John Baldwin
Author: jhb Date: Sat Jan 19 01:18:22 2013 New Revision: 245640 URL: http://svnweb.freebsd.org/changeset/base/245640 Log: Fix build with SMP disabled.` Reported by: bf Modified: head/sys/amd64/amd64/pmap.c head/sys/i386/i386/pmap.c Modified: head/sys/amd64/amd64/pmap.c ==

Re: svn commit: r245610 - head/bin/ps

2013-01-18 Thread John Baldwin
On 1/18/13 7:05 PM, John Baldwin wrote: > On 1/18/13 5:29 PM, Andrew Turner wrote: >> On Fri, 18 Jan 2013 18:24:41 + (UTC) >> John Baldwin wrote: >> >>> Author: jhb >>> Date: Fri Jan 18 18:24:40 2013 >>> New Revision: 245610 >>> URL: http://svnweb.freebsd.org/changeset/base/245610 >>> >>> Log:

svn commit: r245641 - head/contrib/compiler-rt/lib/arm

2013-01-18 Thread Andrew Turner
Author: andrew Date: Sat Jan 19 02:22:01 2013 New Revision: 245641 URL: http://svnweb.freebsd.org/changeset/base/245641 Log: Add a newline at the end of the file to stop gcc from complaining Modified: head/contrib/compiler-rt/lib/arm/aeabi_uldivmod.S Modified: head/contrib/compiler-rt/lib/ar

svn commit: r245642 - head/contrib/compiler-rt/lib

2013-01-18 Thread Andrew Turner
Author: andrew Date: Sat Jan 19 02:24:14 2013 New Revision: 245642 URL: http://svnweb.freebsd.org/changeset/base/245642 Log: Don't use the pcs attribute on compilers that don't support it. We can revert this when we stop supporting old versions of gcc. Modified: head/contrib/compiler-rt/lib

svn commit: r245643 - head/lib/libcompiler_rt

2013-01-18 Thread Andrew Turner
Author: andrew Date: Sat Jan 19 02:28:44 2013 New Revision: 245643 URL: http://svnweb.freebsd.org/changeset/base/245643 Log: Add the __aeabi_*divmod functions to the compiler-rt build Modified: head/lib/libcompiler_rt/Makefile Modified: head/lib/libcompiler_rt/Makefile ==

svn commit: r245644 - head/lib/libc/quad

2013-01-18 Thread Andrew Turner
Author: andrew Date: Sat Jan 19 02:33:57 2013 New Revision: 245644 URL: http://svnweb.freebsd.org/changeset/base/245644 Log: For ARM EABI we only need a subset of the quad functions, the rest are provided by libgcc. Modified: head/lib/libc/quad/Makefile.inc Modified: head/lib/libc/quad/Mak

svn commit: r245647 - in head/sys: cam/scsi dev/usb/storage

2013-01-18 Thread Alexander Kabaev
Author: kan Date: Sat Jan 19 03:19:39 2013 New Revision: 245647 URL: http://svnweb.freebsd.org/changeset/base/245647 Log: Do not pretend to have autosense data when no such data is available. Make umass return an error code if SCSI sense retrieval request has failed. Make sure scsi_error_

svn commit: r245648 - head/sbin/newfs_msdos

2013-01-18 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jan 19 03:34:02 2013 New Revision: 245648 URL: http://svnweb.freebsd.org/changeset/base/245648 Log: newfs_msdos: cosmetical cleanups - Simplify diagnostic messages. - Adopt lowercase first letters to make the messages more canonical. PR: bin/175404

svn commit: r245649 - head/lib/libcompiler_rt

2013-01-18 Thread Andrew Turner
Author: andrew Date: Sat Jan 19 03:47:18 2013 New Revision: 245649 URL: http://svnweb.freebsd.org/changeset/base/245649 Log: There should have been a tab after SRCS+= Modified: head/lib/libcompiler_rt/Makefile Modified: head/lib/libcompiler_rt/Makefile ===

svn commit: r245650 - head/lib/libc/arm

2013-01-18 Thread Andrew Turner
Author: andrew Date: Sat Jan 19 04:03:18 2013 New Revision: 245650 URL: http://svnweb.freebsd.org/changeset/base/245650 Log: Update the syscall calling convention for ARM EABI. We store the syscall in r7 and use ip to store the old version of r7 as it is not guaranteed to be kept when callin

svn commit: r245651 - in head/lib: libc/arm libc/arm/gen libcompiler_rt

2013-01-18 Thread Andrew Turner
Author: andrew Date: Sat Jan 19 04:11:45 2013 New Revision: 245651 URL: http://svnweb.freebsd.org/changeset/base/245651 Log: Use the compiler-rt version __{u,}divsi3 and __{u,}modsi3 on ARM EABI Added: head/lib/libc/arm/Symbol_oabi.map (contents, props changed) Modified: head/lib/libc/arm

svn commit: r245652 - in head: lib share/man/man4 share/mk sys/amd64/include sys/conf sys/modules usr.sbin

2013-01-18 Thread Neel Natu
Author: neel Date: Sat Jan 19 04:18:52 2013 New Revision: 245652 URL: http://svnweb.freebsd.org/changeset/base/245652 Log: Merge projects/bhyve to head. 'bhyve' was developed by grehan@ and myself at NetApp (thanks!). Special thanks to Peter Snyder, Joe Caradonna and Michael Dexter for

svn commit: r245653 - head/libexec/rtld-elf

2013-01-18 Thread Andrew Turner
Author: andrew Date: Sat Jan 19 04:34:33 2013 New Revision: 245653 URL: http://svnweb.freebsd.org/changeset/base/245653 Log: When building for ARM EABI link against libgcc for the __aeabi_* functions. Modified: head/libexec/rtld-elf/Makefile Modified: head/libexec/rtld-elf/Makefile =

svn commit: r245655 - in head/lib/libc/arm: . aeabi

2013-01-18 Thread Andrew Turner
Author: andrew Date: Sat Jan 19 05:33:55 2013 New Revision: 245655 URL: http://svnweb.freebsd.org/changeset/base/245655 Log: Add the required __aeabi_* functions to libc. The floating point functions are here rather than compiler-rt because the libc softfloat code allows us to set the rou

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

2013-01-18 Thread Konstantin Belousov
On Fri, Jan 18, 2013 at 10:52:54AM -0500, John Baldwin wrote: > On Thursday, January 17, 2013 11:03:32 pm Konstantin Belousov wrote: > > On Thu, Jan 17, 2013 at 09:32:26PM +, John Baldwin wrote: > > > Author: jhb > > > Date: Thu Jan 17 21:32:25 2013 > > > New Revision: 245577 > > > URL: http://

svn commit: r245659 - stable/9/sbin/geom/class/journal

2013-01-18 Thread Konstantin Belousov
Author: kib Date: Sat Jan 19 06:17:27 2013 New Revision: 245659 URL: http://svnweb.freebsd.org/changeset/base/245659 Log: MFC r245072: Do not round up the size of the UFS filesystem to the fragment size when comparing its size with the size of the media, to determine if the last disk block

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

2013-01-18 Thread Konstantin Belousov
Author: kib Date: Sat Jan 19 06:24:17 2013 New Revision: 245660 URL: http://svnweb.freebsd.org/changeset/base/245660 Log: MFC r245405: Rename vfs_hash_index() to vfs_hash_bucket(). Modified: stable/9/sys/kern/vfs_hash.c Directory Properties: stable/9/sys/ (props changed) Modified: stab

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

2013-01-18 Thread Konstantin Belousov
Author: kib Date: Sat Jan 19 06:27:39 2013 New Revision: 245661 URL: http://svnweb.freebsd.org/changeset/base/245661 Log: MFC r245406: Add vfs_hash_index(). Modified: stable/9/sys/kern/vfs_hash.c stable/9/sys/sys/vnode.h Directory Properties: stable/9/sys/ (props changed) Modified: s

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

2013-01-18 Thread Konstantin Belousov
Author: kib Date: Sat Jan 19 06:31:37 2013 New Revision: 245662 URL: http://svnweb.freebsd.org/changeset/base/245662 Log: MFC r245407,245411: Set the v_hash for a new vnode in the getnewvnode() to the value calculated based on the vnode structure address. Modified: stable/9/sys/kern/vfs_s

svn commit: r245663 - stable/9/sys/fs/nullfs

2013-01-18 Thread Konstantin Belousov
Author: kib Date: Sat Jan 19 06:34:41 2013 New Revision: 245663 URL: http://svnweb.freebsd.org/changeset/base/245663 Log: MFC r245408: Size the nullfs hashtbl based on the current value of desiredvnodes. Use vfs_hash_index() to calculate the hash bucket for a given vnode. Modified: stab

svn commit: r245664 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2013-01-18 Thread Konstantin Belousov
Author: kib Date: Sat Jan 19 06:37:12 2013 New Revision: 245664 URL: http://svnweb.freebsd.org/changeset/base/245664 Log: MFC r245409: For zfs vnodes, use the standard inode number based hash algorithm. Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c Directory

svn commit: r245665 - stable/9/sys/fs/nullfs

2013-01-18 Thread Konstantin Belousov
Author: kib Date: Sat Jan 19 06:39:49 2013 New Revision: 245665 URL: http://svnweb.freebsd.org/changeset/base/245665 Log: MFC r245495: Remove the filtering of the acceptable mount options for nullfs, added in r245004. Modified: stable/9/sys/fs/nullfs/null_vfsops.c Directory Properties:

svn commit: r245666 - head/usr.sbin/bhyveload

2013-01-18 Thread Joel Dahl
Author: joel (doc committer) Date: Sat Jan 19 07:04:30 2013 New Revision: 245666 URL: http://svnweb.freebsd.org/changeset/base/245666 Log: Minor mdoc fixes. Modified: head/usr.sbin/bhyveload/bhyveload.8 Modified: head/usr.sbin/bhyveload/bhyveload.8 ===

svn commit: r245667 - in head: usr.bin/xinstall usr.sbin/bhyveload

2013-01-18 Thread Joel Dahl
Author: joel (doc committer) Date: Sat Jan 19 07:07:05 2013 New Revision: 245667 URL: http://svnweb.freebsd.org/changeset/base/245667 Log: Remove EOL whitespace. Modified: head/usr.bin/xinstall/install.1 head/usr.sbin/bhyveload/bhyveload.8 Modified: head/usr.bin/xinstall/install.1