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

2012-01-20 Thread Andreas Tobler
On 21.01.12 03:52, Bruce Evans wrote: On Fri, 20 Jan 2012, Andreas Tobler wrote: Log: Disable GUPROF on archs other than i386/amd64 since the fine details are not implemented. This was intentionally not done. Just don't use config -pp on arches that don't suppport it. "profile 2" is alr

Re: svn commit: r230354 - head/usr.sbin/makefs

2012-01-20 Thread Eitan Adler
On Sat, Jan 21, 2012 at 12:52 AM, Bruce Evans wrote: > On Fri, 20 Jan 2012, Eitan Adler wrote: > >> On Fri, Jan 20, 2012 at 7:13 PM, Bruce Evans wrote: >>> >>> I agree.  Never fix vendor code.  Especially style bugs in it.  Not all >>> vendor code is in contrib. >> I'm sure this is a silly questi

Re: svn commit: r230354 - head/usr.sbin/makefs

2012-01-20 Thread Bruce Evans
On Fri, 20 Jan 2012, Eitan Adler wrote: On Fri, Jan 20, 2012 at 7:13 PM, Bruce Evans wrote: I agree. ??Never fix vendor code. ??Especially style bugs in it. ??Not all vendor code is in contrib. I'm sure this is a silly question, but why isn't this utility in a contrib/ folder? Probably his

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

2012-01-20 Thread Bruce Evans
On Fri, 20 Jan 2012, Andreas Tobler wrote: Log: Disable GUPROF on archs other than i386/amd64 since the fine details are not implemented. This was intentionally not done. Just don't use config -pp on arches that don't suppport it. "profile 2" is already left out of NOTES for all arches exc

Re: svn commit: r230409 - head/sys/net80211

2012-01-20 Thread Rui Paulo
On 2012/01/20, at 16:42, Adrian Chadd wrote: > Author: adrian > Date: Sat Jan 21 00:42:28 2012 > New Revision: 230409 > URL: http://svn.freebsd.org/changeset/base/230409 > > Log: > Fix the hwmp code to handle nodes in a "line" topology. > > For example, this particular topology didn't work cor

Re: svn commit: r230408 - head/sys/net80211

2012-01-20 Thread Rui Paulo
On 2012/01/20, at 16:38, Adrian Chadd wrote: > Author: adrian > Date: Sat Jan 21 00:38:18 2012 > New Revision: 230408 > URL: http://svn.freebsd.org/changeset/base/230408 > > Log: > Change the hwmp debugging to use %6D rather than ether_sprintf(). > > This allows for multiple MAC addresses to b

svn commit: r230409 - head/sys/net80211

2012-01-20 Thread Adrian Chadd
Author: adrian Date: Sat Jan 21 00:42:28 2012 New Revision: 230409 URL: http://svn.freebsd.org/changeset/base/230409 Log: Fix the hwmp code to handle nodes in a "line" topology. For example, this particular topology didn't work correctly from all nodes: [A] - [B] - [C] - [D] Sub

svn commit: r230408 - head/sys/net80211

2012-01-20 Thread Adrian Chadd
Author: adrian Date: Sat Jan 21 00:38:18 2012 New Revision: 230408 URL: http://svn.freebsd.org/changeset/base/230408 Log: Change the hwmp debugging to use %6D rather than ether_sprintf(). This allows for multiple MAC addresses to be printed on the same debugging line. ether_sprintf() use

Re: svn commit: r230354 - head/usr.sbin/makefs

2012-01-20 Thread Eitan Adler
On Fri, Jan 20, 2012 at 7:13 PM, Bruce Evans wrote: > I agree.  Never fix vendor code.  Especially style bugs in it.  Not all > vendor code is in contrib. I'm sure this is a silly question, but why isn't this utility in a contrib/ folder? > In fact, it seems that there there was a very large amo

Re: svn commit: r230354 - head/usr.sbin/makefs

2012-01-20 Thread Bruce Evans
On Fri, 20 Jan 2012, Hiroki Sato wrote: Eitan Adler wrote in <201201200138.q0k1csou016...@svn.freebsd.org>: ea> Log: ea> Fix a variety of warnings when compiling with gcc46 ea> ea> Approved by: dim, cperciva (mentor, blanket for pre-mentorship already-approved commits) ea> MFC after:

svn commit: r230407 - head/sys/kern

2012-01-20 Thread Martin Matuska
Author: mm Date: Sat Jan 21 00:06:21 2012 New Revision: 230407 URL: http://svn.freebsd.org/changeset/base/230407 Log: Use separate buffer for global path to avoid overflow of path buffer. Reviewed by: jamie@ MFC after:3 weeks Modified: head/sys/kern/kern_jail.c Modified: head/sys

Re: svn commit: r230354 - head/usr.sbin/makefs

2012-01-20 Thread Eitan Adler
On Thu, Jan 19, 2012 at 10:32 PM, Hiroki Sato wrote: > Eitan Adler wrote >  in <201201200138.q0k1csou016...@svn.freebsd.org>: > > ea> Author: eadler > ea> Date: Fri Jan 20 01:38:28 2012 > ea> New Revision: 230354 > ea> URL: http://svn.freebsd.org/changeset/base/230354 > ea> > ea> Log: > ea>   Fix

svn commit: r230405 - head/sys/mips/cavium/usb

2012-01-20 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Jan 20 23:37:04 2012 New Revision: 230405 URL: http://svn.freebsd.org/changeset/base/230405 Log: We use port_index field of struct octusb_qh to reference USB state of root HUB. Although it is initialized with port index of the device's parent hub, which is worng. So t

svn commit: r230404 - head/cddl/contrib/opensolaris/lib/libzfs/common

2012-01-20 Thread Martin Matuska
Author: mm Date: Fri Jan 20 22:56:57 2012 New Revision: 230404 URL: http://svn.freebsd.org/changeset/base/230404 Log: Add one more copyright line accidentially removed in r228103 MFC after:3 days Modified: head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h Modified: head/cddl/

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

2012-01-20 Thread Brooks Davis
Author: brooks Date: Fri Jan 20 22:55:19 2012 New Revision: 230403 URL: http://svn.freebsd.org/changeset/base/230403 Log: When creating the jails /dev/log symlink, do it by full path to avoid creating stray "log" symlinks if the mount fails. That apparently happens in some ezjail configs.

svn commit: r230402 - in head/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2012-01-20 Thread Martin Matuska
Author: mm Date: Fri Jan 20 22:55:16 2012 New Revision: 230402 URL: http://svn.freebsd.org/changeset/base/230402 Log: Add accidentially removed copyright lines in r228103 Reported by: pjd MFC after:3 days Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c head/cddl/contr

svn commit: r230401 - in head/sys: conf dev/sound/pci gnu/dev/sound/pci modules/sound/driver/maestro3

2012-01-20 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jan 20 22:37:10 2012 New Revision: 230401 URL: http://svn.freebsd.org/changeset/base/230401 Log: Replace GPLd headers from the Maestro3 driver with BSD licensed versions derived from /usr/ports/audio/oss. The particular headers used were taken from the attic/drv/os

svn commit: r230400 - in head: lib/libc/powerpc64/sys sys/powerpc/aim sys/powerpc/include sys/powerpc/ofw sys/powerpc/powerpc

2012-01-20 Thread Andreas Tobler
Author: andreast Date: Fri Jan 20 22:34:19 2012 New Revision: 230400 URL: http://svn.freebsd.org/changeset/base/230400 Log: This commit adds profiling support for powerpc64. Now we can do application profiling and kernel profiling. To enable kernel profiling one has to build kgmon(8). I will

svn commit: r230398 - in head/sys/powerpc: ofw powermac

2012-01-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jan 20 22:24:39 2012 New Revision: 230398 URL: http://svn.freebsd.org/changeset/base/230398 Log: Prevent an error resulting from signed/unsigned comparison on systems that do not comply with the OF spec. Submitted by: Anders Gavare MFC after:1 week Modi

svn commit: r230397 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-01-20 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jan 20 22:04:59 2012 New Revision: 230397 URL: http://svn.freebsd.org/changeset/base/230397 Log: By default turn off prefetch when listing snapshots. In my tests it makes listing snapshots 19% faster with cold cache and 47% faster with warm cache. MFC after:1 w

Re: svn commit: r230230 - head/sys/dev/random

2012-01-20 Thread Andrey Chernov
On Fri, Jan 20, 2012 at 03:12:53PM +, Mark Murray wrote: > Andrey Chernov writes: > > > Look at the function random_yarrow_unblock(). Thats where yopu want to > > > be doing this. This function is where the random device is unblocked > > > once safely seeded. > > > > Thanx for your hint, but I

svn commit: r230396 - head/sbin/hastd

2012-01-20 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jan 20 21:49:56 2012 New Revision: 230396 URL: http://svn.freebsd.org/changeset/base/230396 Log: Remove another unused token. MFC after:3 days Modified: head/sbin/hastd/parse.y Modified: head/sbin/hastd/parse.y ==

svn commit: r230395 - head/sbin/hastd

2012-01-20 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jan 20 21:45:24 2012 New Revision: 230395 URL: http://svn.freebsd.org/changeset/base/230395 Log: Remove unused token 'port'. MFC after:3 days Modified: head/sbin/hastd/parse.y head/sbin/hastd/token.l Modified: head/sbin/hastd/parse.y =

Re: svn commit: r230363 - in head/lib/libc/softfloat: . bits32 bits64

2012-01-20 Thread David Schultz
On Fri, Jan 20, 2012, John Baldwin wrote: > On Friday, January 20, 2012 1:11:08 pm David Schultz wrote: > > On Fri, Jan 20, 2012, John Baldwin wrote: > > > On Friday, January 20, 2012 1:50:06 am David Schultz wrote: > > > > On Fri, Jan 20, 2012, David Schultz wrote: > > > > > Merge in the latest

Re: svn commit: r230394 - in head/sys: fs/nfsclient kern nfsclient sys

2012-01-20 Thread John Baldwin
On Friday, January 20, 2012 3:02:01 pm John Baldwin wrote: > Author: jhb > Date: Fri Jan 20 20:02:01 2012 > New Revision: 230394 > URL: http://svn.freebsd.org/changeset/base/230394 > > Log: > Close a race in NFS lookup processing that could result in stale name cache > entries on one client wh

svn commit: r230394 - in head/sys: fs/nfsclient kern nfsclient sys

2012-01-20 Thread John Baldwin
Author: jhb Date: Fri Jan 20 20:02:01 2012 New Revision: 230394 URL: http://svn.freebsd.org/changeset/base/230394 Log: Close a race in NFS lookup processing that could result in stale name cache entries on one client when a directory was renamed on another client. The root cause for the sta

Re: svn commit: r230363 - in head/lib/libc/softfloat: . bits32 bits64

2012-01-20 Thread John Baldwin
On Friday, January 20, 2012 1:11:08 pm David Schultz wrote: > On Fri, Jan 20, 2012, John Baldwin wrote: > > On Friday, January 20, 2012 1:50:06 am David Schultz wrote: > > > On Fri, Jan 20, 2012, David Schultz wrote: > > > > Merge in the latest SoftFloat changes from NetBSD. (NetBSD isn't the >

svn commit: r230393 - head/contrib/llvm/lib/Target/X86

2012-01-20 Thread Dimitry Andric
Author: dim Date: Fri Jan 20 19:18:11 2012 New Revision: 230393 URL: http://svn.freebsd.org/changeset/base/230393 Log: Pull in r148240 from upstream llvm trunk: Make sure the non-SSE lowering for fences correctly clobbers EFLAGS. PR11768. In particular, this fixes segfaults durin

svn commit: r230392 - head/usr.bin/make

2012-01-20 Thread Robert Millan
Author: rmh Date: Fri Jan 20 18:55:56 2012 New Revision: 230392 URL: http://svn.freebsd.org/changeset/base/230392 Log: Map foreign architecture names to FreeBSD naming convention. Approved by: kib (mentor) Modified: head/usr.bin/make/main.c Modified: head/usr.bin/make/main.c ==

svn commit: r230391 - head/sys/conf

2012-01-20 Thread Andreas Tobler
Author: andreast Date: Fri Jan 20 18:52:31 2012 New Revision: 230391 URL: http://svn.freebsd.org/changeset/base/230391 Log: Add the .opd section, this is helps booting a profiled kernel. Adjust the OUTPUT_ARCH and use the builtin ALIGN() to adjust the data segment. Modified: head/sys/conf/l

svn commit: r230390 - head/sys/conf

2012-01-20 Thread Andreas Tobler
Author: andreast Date: Fri Jan 20 18:49:47 2012 New Revision: 230390 URL: http://svn.freebsd.org/changeset/base/230390 Log: Disable GUPROF on archs other than i386/amd64 since the fine details are not implemented. Modified: head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.pre.mk

Re: svn commit: r230363 - in head/lib/libc/softfloat: . bits32 bits64

2012-01-20 Thread David Schultz
On Fri, Jan 20, 2012, John Baldwin wrote: > On Friday, January 20, 2012 1:50:06 am David Schultz wrote: > > On Fri, Jan 20, 2012, David Schultz wrote: > > > Merge in the latest SoftFloat changes from NetBSD. (NetBSD isn't the > > > original vendor, but we're using their heavily modified versio

svn commit: r230389 - head/etc

2012-01-20 Thread Eygene Ryabinkin
Author: rea (ports committer) Date: Fri Jan 20 17:25:15 2012 New Revision: 230389 URL: http://svn.freebsd.org/changeset/base/230389 Log: /etc/netstart: remove invocation of dhclient dhclient is no longer a real service, it is a helper script for /etc/rc.d/netif and devd. Its direct invoc

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

2012-01-20 Thread Eygene Ryabinkin
Author: rea (ports committer) Date: Fri Jan 20 17:19:50 2012 New Revision: 230388 URL: http://svn.freebsd.org/changeset/base/230388 Log: dhclient: don't use syslog for logging non-DHCP interface errors We should show the error to user, but it doesn't deserve syslog. Approved by: jhb M

svn commit: r230387 - head/sys/netinet

2012-01-20 Thread Bjoern A. Zeeb
Author: bz Date: Fri Jan 20 17:18:54 2012 New Revision: 230387 URL: http://svn.freebsd.org/changeset/base/230387 Log: Remove a superfluous INET6 check (no opt_inet6.h included anyway). MFC after:3 days Modified: head/sys/netinet/if_ether.c Modified: head/sys/netinet/if_ether.c =

Re: svn commit: r230007 - in head: etc etc/rc.d share/man/man8

2012-01-20 Thread Brooks Davis
On Fri, Jan 20, 2012 at 03:06:02PM +0400, Eygene Ryabinkin wrote: > Thu, Jan 19, 2012 at 11:27:59AM -0600, Brooks Davis wrote: > > Arguably it should be moved to /libexec since it's not an rc.d > > script and simply uses the framework because it had similar needs > > Well, I fear that some user sc

Re: svn commit: r230230 - head/sys/dev/random

2012-01-20 Thread Mark Murray
Andrey Chernov writes: > > Look at the function random_yarrow_unblock(). Thats where yopu want to > > be doing this. This function is where the random device is unblocked > > once safely seeded. > > Thanx for your hint, but I fear one moment using random_yarrow_unblock(). > It is called under mtx_

Re: svn commit: r230368 - head/tools/regression/usr.bin/cc

2012-01-20 Thread David Schultz
On Fri, Jan 20, 2012, Dimitry Andric wrote: > On 2012-01-20 08:55, Roman Divacky wrote: > >http://llvm.org/bugs/show_bug.cgi?id=11406 says this has been > >fixed, is this just problem with us having older clang in base? > > Obviously, it has only been fixed in llvm trunk. If this is a pressing >

Re: svn commit: r230363 - in head/lib/libc/softfloat: . bits32 bits64

2012-01-20 Thread David Schultz
On Fri, Jan 20, 2012, Bjoern A. Zeeb wrote: > I assume it's been this commit... > > mips.mips64eb buildworld failed, check _.mips.mips64eb.buildworld for details > mips.mipseb buildworld failed, check _.mips.mipseb.buildworld for details > mips.mipsn32eb buildworld failed, check _.mips.mipsn32eb.b

Re: svn commit: r230363 - in head/lib/libc/softfloat: . bits32 bits64

2012-01-20 Thread John Baldwin
On Friday, January 20, 2012 1:50:06 am David Schultz wrote: > On Fri, Jan 20, 2012, David Schultz wrote: > > Merge in the latest SoftFloat changes from NetBSD. (NetBSD isn't the > > original vendor, but we're using their heavily modified version.) > > This brings in functions for long double

Re: svn commit: r230201 - head/lib/libc/gen

2012-01-20 Thread John Baldwin
On Thursday, January 19, 2012 7:36:33 pm David Xu wrote: > On 2012/1/19 23:23, John Baldwin wrote: > > On Thursday, January 19, 2012 12:57:50 am David Xu wrote: > >> rdtsc() may not work on SMP, so I have updated it to use clock_gettime > >> to get total time. > >> http://people.freebsd.org/~davidx

svn commit: r230380 - head/lib/libc/softfloat/bits64

2012-01-20 Thread David Schultz
Author: das Date: Fri Jan 20 14:44:21 2012 New Revision: 230380 URL: http://svn.freebsd.org/changeset/base/230380 Log: Conditionalize the __floatunsisf and __floatunsidf functions, added in NetBSD's rev 1.6 of this file, on !defined(SOFTFLOAT_FOR_GCC). These functions are provided by libgcc

Re: svn commit: r230368 - head/tools/regression/usr.bin/cc

2012-01-20 Thread Dimitry Andric
On 2012-01-20 08:55, Roman Divacky wrote: http://llvm.org/bugs/show_bug.cgi?id=11406 says this has been fixed, is this just problem with us having older clang in base? Obviously, it has only been fixed in llvm trunk. If this is a pressing problem, we can backport the fix. Otherwise, it will b

svn commit: r230379 - head/sys/netinet

2012-01-20 Thread Michael Tuexen
Author: tuexen Date: Fri Jan 20 13:26:11 2012 New Revision: 230379 URL: http://svn.freebsd.org/changeset/base/230379 Log: Fix a problem when using the CBAPI. While there, remove an old comment which does not apply anymore. Modified: head/sys/netinet/sctp_input.c Modified: head/sys/netinet/

Re: svn commit: r230363 - in head/lib/libc/softfloat: . bits32 bits64

2012-01-20 Thread Bjoern A. Zeeb
On 20. Jan 2012, at 06:16 , David Schultz wrote: > Author: das > Date: Fri Jan 20 06:16:14 2012 > New Revision: 230363 > URL: http://svn.freebsd.org/changeset/base/230363 > > Log: > Merge in the latest SoftFloat changes from NetBSD. (NetBSD isn't the > original vendor, but we're using their h

svn commit: r230377 - head/sbin/mount

2012-01-20 Thread Jaakko Heinonen
Author: jh Date: Fri Jan 20 12:59:12 2012 New Revision: 230377 URL: http://svn.freebsd.org/changeset/base/230377 Log: Don't print the nmount(2) provided error message if it is empty. Modified: head/sbin/mount/mount_fs.c Modified: head/sbin/mount/mount_fs.c ===

Re: svn commit: r230201 - head/lib/libc/gen

2012-01-20 Thread David Chisnall
On 20 Jan 2012, at 00:46, David Xu wrote: > It depends on hardware, if it is a large machine with lots of cpu, > a small conflict on dual-core machine can become a large conflict > on large machine because it is possible more cpus are now > running same code which becomes a bottleneck. On a large

Re: svn commit: r230007 - in head: etc etc/rc.d share/man/man8

2012-01-20 Thread Eygene Ryabinkin
Thu, Jan 19, 2012 at 11:27:59AM -0600, Brooks Davis wrote: > On Fri, Jan 13, 2012 at 11:21:48AM +0400, Eygene Ryabinkin wrote: > > The related topic: in the process of grepping for dhclient within > > /etc, I had found that /etc/netstart still wants to invoke it. But it > > will do a lone '/etc/rc

svn commit: r230374 - head/etc

2012-01-20 Thread Doug Barton
Author: dougb Date: Fri Jan 20 10:31:27 2012 New Revision: 230374 URL: http://svn.freebsd.org/changeset/base/230374 Log: If we're booting there is no need to waste time determining if the service is running or not. PR: conf/150752 Submitted by: YIN Xiaofeng <75394...@qq.com>

svn commit: r230373 - head/sbin/mount

2012-01-20 Thread Jaakko Heinonen
Author: jh Date: Fri Jan 20 10:06:28 2012 New Revision: 230373 URL: http://svn.freebsd.org/changeset/base/230373 Log: Change mount_fs() to not exit on error. The "failok" mount option requires that errors are passed to the caller. PR: 163668 Reviewed by: Garrett Cooper Modif

Re: svn commit: r230368 - head/tools/regression/usr.bin/cc

2012-01-20 Thread Roman Divacky
http://llvm.org/bugs/show_bug.cgi?id=11406 says this has been fixed, is this just problem with us having older clang in base? On Fri, Jan 20, 2012 at 06:57:22AM +, David Schultz wrote: > Author: das > Date: Fri Jan 20 06:57:21 2012 > New Revision: 230368 > URL: http://svn.freebsd.org/changeset