Re: svn commit: r242074 - head/etc/rc.d

2012-10-26 Thread Hiroki Sato
Brian Somers wrote in <20121026235044.ga77...@thong.lan.awfulhak.org>: br> When I reboot and don't use -accept_rtadv (and leave br> net.inet6.ip6.accept_rtadv set to zero), I repeatedly see this in br> /var/log/messages: br> br> Oct 26 16:31:26 gw rtadvd[2879]: non-zero lifetime RA on RA receiv

Re: svn commit: r241610 - in head: . sys/dev/usb sys/net sys/net80211 sys/netpfil/ipfw sys/netpfil/pf sys/sys

2012-10-26 Thread Rui Paulo
I second Adrian's comments and I would like to add that you must NOT commit something like this, breaking the ABI, when you discussed this *ONE YEAR* ago with only two people (one of them is not very active in the networking stack). This is against all reasonable software development practices.

svn commit: r242171 - head/sys/arm/conf

2012-10-26 Thread Tim Kientzle
Author: kientzle Date: Sat Oct 27 04:02:12 2012 New Revision: 242171 URL: http://svn.freebsd.org/changeset/base/242171 Log: Comment out the other BOOTP option This should make PANDABOARD suitable for building bootable SD images. Submitted by: Giovanni Trematerra Modified: head/sys/ar

Re: svn commit: r242074 - head/etc/rc.d

2012-10-26 Thread Brian Somers
On Fri, Oct 26, 2012 at 03:52:15AM +0900, Hiroki Sato wrote: > Brian Somers wrote > in <20121025171827.ga59...@thong.lan.awfulhak.org>: > > br> After upgrading from 8-STABLE to 9-STABLE on Monday, IPv6 routing > br> advertisments were broken. Disabling accept (enabling send) appeared > br> to

svn commit: r242162 - head/sys/conf

2012-10-26 Thread Warner Losh
Author: imp Date: Fri Oct 26 21:25:10 2012 New Revision: 242162 URL: http://svn.freebsd.org/changeset/base/242162 Log: stack_machdep.c is dependent on ddb or stack options, not standard. Modified: head/sys/conf/files.mips Modified: head/sys/conf/files.mips ===

svn commit: r242161 - in head/sys: net netinet netpfil/pf

2012-10-26 Thread Gleb Smirnoff
Author: glebius Date: Fri Oct 26 21:06:33 2012 New Revision: 242161 URL: http://svn.freebsd.org/changeset/base/242161 Log: o Remove last argument to ip_fragment(), and obtain all needed information on checksums directly from mbuf flags. This simplifies code. o Clear CSUM_IP from the mbuf i

svn commit: r242160 - head/sys/conf

2012-10-26 Thread Warner Losh
Author: imp Date: Fri Oct 26 20:43:30 2012 New Revision: 242160 URL: http://svn.freebsd.org/changeset/base/242160 Log: Siba, in theory, is a architecturally neutral bus, so place it in files. It used to be in files.mips before the clean-room rewrite and really doesn't belong there. If we n

svn commit: r242159 - head/usr.sbin/cpucontrol

2012-10-26 Thread Eitan Adler
Author: eadler Date: Fri Oct 26 20:25:05 2012 New Revision: 242159 URL: http://svn.freebsd.org/changeset/base/242159 Log: While 'make universe' passed this didn't work with clang. This reverts r242120 Submitted by: Jan Beich Approved by: cperciva (implicit) Modified: head/usr.sbin

svn commit: r242158 - head/sys/dev/filemon

2012-10-26 Thread David E. O'Brien
Author: obrien Date: Fri Oct 26 20:24:13 2012 New Revision: 242158 URL: http://svn.freebsd.org/changeset/base/242158 Log: A little bit easier to read. Modified: head/sys/dev/filemon/filemon.c Modified: head/sys/dev/filemon/filemon.c ===

Re: svn commit: r242120 - head/usr.sbin/cpucontrol

2012-10-26 Thread Eitan Adler
On 26 October 2012 10:02, Dimitry Andric wrote: > Yes, on x86, you can safely turn off the -Wcast-align warnings, if it is > easier. It is probably not worth the trouble to go through the code and > fix the alignment issues, if it will never be run on alignment-sensitive > architectures. Oh joy,

svn commit: r242157 - head/tools/regression/filemon

2012-10-26 Thread David E. O'Brien
Author: obrien Date: Fri Oct 26 20:14:40 2012 New Revision: 242157 URL: http://svn.freebsd.org/changeset/base/242157 Log: Test both active and non-active cases. Modified: head/tools/regression/filemon/Makefile Modified: head/tools/regression/filemon/Makefile =

svn commit: r242156 - in head/sys/dev/ata: . chipsets

2012-10-26 Thread Alexander Motin
Author: mav Date: Fri Oct 26 20:03:08 2012 New Revision: 242156 URL: http://svn.freebsd.org/changeset/base/242156 Log: Implement CAM_ATAIO_NEEDRESULT (fetching full set of result registers) for ata(4) driver in ATA_CAM mode. That slighty improves error reporting and also should fix `smartct

svn commit: r242155 - head/sys/net80211

2012-10-26 Thread Adrian Chadd
Author: adrian Date: Fri Oct 26 19:46:55 2012 New Revision: 242155 URL: http://svn.freebsd.org/changeset/base/242155 Log: Oops, missed in my last commit. Modified: head/sys/net80211/ieee80211_freebsd.c Modified: head/sys/net80211/ieee80211_freebsd.c ==

svn commit: r242154 - head/sys/net80211

2012-10-26 Thread Adrian Chadd
Author: adrian Date: Fri Oct 26 19:06:24 2012 New Revision: 242154 URL: http://svn.freebsd.org/changeset/base/242154 Log: Allow net80211 to be built on -9 and -8. There are some people who use the -HEAD net80211 and wireless drivers on earlier FreeBSD versions in order to get the updated

svn commit: r242152 - in head: lib/libmemstat sys/vm

2012-10-26 Thread Matthew D Fleming
Author: mdf Date: Fri Oct 26 17:51:05 2012 New Revision: 242152 URL: http://svn.freebsd.org/changeset/base/242152 Log: Const-ify the zone name argument to uma_zcreate(9). MFC after:3 days Modified: head/lib/libmemstat/memstat_uma.c head/sys/vm/uma.h head/sys/vm/uma_core.c head/

svn commit: r242151 - in head/sys: vm xen/evtchn

2012-10-26 Thread Andre Oppermann
Author: andre Date: Fri Oct 26 17:31:35 2012 New Revision: 242151 URL: http://svn.freebsd.org/changeset/base/242151 Log: Move the corresponding MTX_SYSINIT() next to their struct mtx declaration to make their relationship more obvious as done with the other such mutexs. Modified: head/sys/v

Re: svn commit: r241610 - in head: . sys/dev/usb sys/net sys/net80211 sys/netpfil/ipfw sys/netpfil/pf sys/sys

2012-10-26 Thread Adrian Chadd
So with this change, you've broken building -HEAD net80211 on -9. Can we please sit down and make this work on both freebsd-9 and freebsd-head? I do a lot of wifi development on -9 with -HEAD wireless and this change broke everything for me. You could've at least asked the maintainers first befor

svn commit: r242149 - head/sys/net80211

2012-10-26 Thread Adrian Chadd
Author: adrian Date: Fri Oct 26 16:56:55 2012 New Revision: 242149 URL: http://svn.freebsd.org/changeset/base/242149 Log: Fix up some initial issues with creation and deletion of hotplugged net80211 devices and vaps. * vnet sets vnet0 during kldload and device probe/attach, but not for

svn commit: r242146 - head/share/man/man9

2012-10-26 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Oct 26 16:40:03 2012 New Revision: 242146 URL: http://svn.freebsd.org/changeset/base/242146 Log: mdoc: sort sections. Modified: head/share/man/man9/zero_copy.9 Modified: head/share/man/man9/zero_copy.9 ===

svn commit: r242145 - head/sys/boot/common

2012-10-26 Thread Alexander Motin
Author: mav Date: Fri Oct 26 16:32:20 2012 New Revision: 242145 URL: http://svn.freebsd.org/changeset/base/242145 Log: Fix loader crash when some unhalted exception happens during `include` command execution. In case of such unhandled exception, vmReset() inside ficlExecC() flushes the VM s

svn commit: r242144 - head/sys/dev/ath

2012-10-26 Thread Adrian Chadd
Author: adrian Date: Fri Oct 26 16:31:12 2012 New Revision: 242144 URL: http://svn.freebsd.org/changeset/base/242144 Log: Since it's not immediately obvious whether the current TX path handles fragment rate lookups correctly, add a comment describing exactly that. The assumption in the fr

svn commit: r242140 - head/usr.bin/rctl

2012-10-26 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Oct 26 16:03:13 2012 New Revision: 242140 URL: http://svn.freebsd.org/changeset/base/242140 Log: Add pcpu to the the rctl(8) manual page. Modified: head/usr.bin/rctl/rctl.8 Modified: head/usr.bin/rctl/rctl.8

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

2012-10-26 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Oct 26 16:01:08 2012 New Revision: 242139 URL: http://svn.freebsd.org/changeset/base/242139 Log: Add CPU percentage limit enforcement to RCTL. The resouce name is "pcpu". It was implemented by Rudolf Tomori during Google Summer of Code 2012. Modified: head/sys/kern/

svn commit: r242138 - head/usr.bin/script

2012-10-26 Thread David E. O'Brien
Author: obrien Date: Fri Oct 26 15:56:28 2012 New Revision: 242138 URL: http://svn.freebsd.org/changeset/base/242138 Log: Add "-f" to also output filemon(4) information. Modified: head/usr.bin/script/script.1 head/usr.bin/script/script.c Modified: head/usr.bin/script/script.1 =

svn commit: r242137 - in head: sys/dev/filemon tools/regression/filemon

2012-10-26 Thread David E. O'Brien
Author: obrien Date: Fri Oct 26 15:44:29 2012 New Revision: 242137 URL: http://svn.freebsd.org/changeset/base/242137 Log: Iterate rather than use recursion. We can blow out the kernel stack if there is a long chain of fork(2)s. Added: head/tools/regression/filemon/timed-forkb.c (contents

svn commit: r242136 - head/usr.bin/uuencode

2012-10-26 Thread Eitan Adler
Author: eadler Date: Fri Oct 26 15:21:23 2012 New Revision: 242136 URL: http://svn.freebsd.org/changeset/base/242136 Log: Prefer an example users born after myself might use. Approved by: bcr (mentor) MFC after:3 days Modified: head/usr.bin/uuencode/uuencode.1 Modified: head/usr.

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

2012-10-26 Thread Andriy Gapon
Author: avg Date: Fri Oct 26 14:50:16 2012 New Revision: 242135 URL: http://svn.freebsd.org/changeset/base/242135 Log: zfs: fix label validation code in vdev_geom_read_config POOL_STATE_SPARE and POOL_STATE_L2CACHE were not handled correctly and thus the cache and spare disks would not be

svn commit: r242134 - head/sys/conf

2012-10-26 Thread Warner Losh
Author: imp Date: Fri Oct 26 14:36:02 2012 New Revision: 242134 URL: http://svn.freebsd.org/changeset/base/242134 Log: These no longer appera to be necessary for either 32-bit or 64-bit builds, eliminate them. Modified: head/sys/conf/files.mips Modified: head/sys/conf/files.mips ==

svn commit: r242132 - head/sys/dev/drm

2012-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Oct 26 14:29:57 2012 New Revision: 242132 URL: http://svn.freebsd.org/changeset/base/242132 Log: Make sure to define __BIG_ENDIAN and __LITTLE_ENDIAN with the appropriate number of underscores for Linux compatibility in drm(4). Submitted by: sendtomatt at gmai

Re: svn commit: r242120 - head/usr.sbin/cpucontrol

2012-10-26 Thread Dimitry Andric
On 2012-10-26 15:37, Jan Beich wrote: Eitan Adler writes: Author: eadler Date: Fri Oct 26 02:50:16 2012 New Revision: 242120 URL: http://svn.freebsd.org/changeset/base/242120 Log: This utility builds without NO_WCAST_ALIGN Not for clang. It probably predates NO_WCAST_ALIGN.clang= support

Re: svn commit: r242120 - head/usr.sbin/cpucontrol

2012-10-26 Thread Jan Beich
Eitan Adler writes: > Author: eadler > Date: Fri Oct 26 02:50:16 2012 > New Revision: 242120 > URL: http://svn.freebsd.org/changeset/base/242120 > > Log: > This utility builds without NO_WCAST_ALIGN Not for clang. It probably predates NO_WCAST_ALIGN.clang= support. intel.c:66:3: warning: cast

Re: svn commit: r242079 - in head: sbin/ipfw share/man/man4 sys/conf sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw

2012-10-26 Thread Andre Oppermann
On 26.10.2012 15:24, Andre Oppermann wrote: On 26.10.2012 14:29, Andrey V. Elsukov wrote: On 26.10.2012 15:43, Andre Oppermann wrote: A> If you can show with your performance profiling that the sysctl A> isn't even necessary, you could leave it completely away and have A> pfil_forward enabled p

Re: svn commit: r242079 - in head: sbin/ipfw share/man/man4 sys/conf sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw

2012-10-26 Thread Andre Oppermann
On 26.10.2012 14:29, Andrey V. Elsukov wrote: On 26.10.2012 15:43, Andre Oppermann wrote: A> If you can show with your performance profiling that the sysctl A> isn't even necessary, you could leave it completely away and have A> pfil_forward enabled permanently. That would be even better for A>

svn commit: r242130 - head/lib/libgeom

2012-10-26 Thread Jaakko Heinonen
Author: jh Date: Fri Oct 26 12:46:33 2012 New Revision: 242130 URL: http://svn.freebsd.org/changeset/base/242130 Log: Improve libgeom XML parsing error handling. - Abort parsing and return an error if we run out of memory. - Return EILSEQ from geom_xml2tree() for XML syntax errors. S

svn commit: r242129 - head/sys/dev/sound/usb

2012-10-26 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 26 12:41:01 2012 New Revision: 242129 URL: http://svn.freebsd.org/changeset/base/242129 Log: Make sure the vendor class quirk only matches the vendor specific class, else multiple pcm devices can appear on certain USB audio devices. MFC after:1 week M

Re: svn commit: r242079 - in head: sbin/ipfw share/man/man4 sys/conf sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw

2012-10-26 Thread Andrey V. Elsukov
On 26.10.2012 15:43, Andre Oppermann wrote: >> A> If you can show with your performance profiling that the sysctl >> A> isn't even necessary, you could leave it completely away and have >> A> pfil_forward enabled permanently. That would be even better for >> A> everybody. >> >> I'd prefer to have

Re: svn commit: r242079 - in head: sbin/ipfw share/man/man4 sys/conf sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw

2012-10-26 Thread Andre Oppermann
On 26.10.2012 13:26, Gleb Smirnoff wrote: On Thu, Oct 25, 2012 at 10:29:51PM +0200, Andre Oppermann wrote: A> On 25.10.2012 18:25, Andrey V. Elsukov wrote: A> > On 25.10.2012 19:54, Andre Oppermann wrote: A> >> I still don't agree with naming the sysctl net.pfil.forward. This A> >> type of forwa

svn commit: r242127 - in head/sys/dev/usb: . quirk

2012-10-26 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 26 11:41:57 2012 New Revision: 242127 URL: http://svn.freebsd.org/changeset/base/242127 Log: Add support for Fast Track Ultra 8R from M-audio. MFC after:1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/usbdevs Modified: head/sys/d

Re: svn commit: r242079 - in head: sbin/ipfw share/man/man4 sys/conf sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw

2012-10-26 Thread Gleb Smirnoff
On Thu, Oct 25, 2012 at 10:29:51PM +0200, Andre Oppermann wrote: A> On 25.10.2012 18:25, Andrey V. Elsukov wrote: A> > On 25.10.2012 19:54, Andre Oppermann wrote: A> >> I still don't agree with naming the sysctl net.pfil.forward. This A> >> type of forwarding is a property of IPv4 and IPv6 and thu

Re: svn commit: r242124 - head/sys/arm/conf

2012-10-26 Thread Giovanni Trematerra
On Fri, Oct 26, 2012 at 7:41 AM, Tim Kientzle wrote: > Author: kientzle > Date: Fri Oct 26 05:41:58 2012 > New Revision: 242124 > URL: http://svn.freebsd.org/changeset/base/242124 > > Log: > Comment out the BOOTP/NFSROOT support. Transition this > config file to support a production kernel mo