svn commit: r220909 - in head/usr.sbin/pc-sysinstall: backend backend-query

2011-04-20 Thread Josh Paetzel
Author: jpaetzel Date: Thu Apr 21 06:25:12 2011 New Revision: 220909 URL: http://svn.freebsd.org/changeset/base/220909 Log: - Allows using full device name paths, such as /dev/ad0 or /dev/mirror/gm0 in config files - Fixes some issues creating gmirror devices, including on GPT partitions -

svn commit: r220908 - in head/sys: conf net80211

2011-04-20 Thread Adrian Chadd
Author: adrian Date: Thu Apr 21 03:59:37 2011 New Revision: 220908 URL: http://svn.freebsd.org/changeset/base/220908 Log: Implement very basic ALQ logging for net80211. This is destined to be a lightweight and optional set of ALQ probes for debugging events which are just impossible to de

svn commit: r220907 - in head: sbin/ifconfig sys/net80211

2011-04-20 Thread Adrian Chadd
Author: adrian Date: Thu Apr 21 03:47:40 2011 New Revision: 220907 URL: http://svn.freebsd.org/changeset/base/220907 Log: Change the MIMO userland export ABI to include flags, number of radio chains, extended EVM statistics and EXT channel data. ifconfig still displays 3 chains worth of c

Re: svn commit: r220877 - head/sys/fs/nfsclient

2011-04-20 Thread Bruce Evans
On Wed, 20 Apr 2011, Rick Macklem wrote: Well, its value will be consistent, but not necessarily the "up to date" value set by another thread, if I understood alc@'s recent post. If you haven't yet read it, take a look at his post today on freebsd-hackers@ under the Subject Re: SMP question w.r.

Re: svn commit: r220877 - head/sys/fs/nfsclient

2011-04-20 Thread Bruce Evans
On Wed, 20 Apr 2011, Pawel Jakub Dawidek wrote: On Wed, Apr 20, 2011 at 08:09:32AM -0400, Rick Macklem wrote: + tmp_off = uio->uio_offset + uio->uio_resid; + mtx_lock(&nmp->nm_mtx); + if (tmp_off > nmp->nm_maxfilesize || tmp_off < uio->uio_offset) { + mtx_unlock(&nmp->nm_mtx); r

svn commit: r220906 - head/sys/fs/nfsclient

2011-04-20 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 20 23:25:18 2011 New Revision: 220906 URL: http://svn.freebsd.org/changeset/base/220906 Log: Add a check for VI_DOOMED at the beginning of nfscl_request() so that it won't try and use vp->v_mount to do an RPC during a forced dismount. There needs to be at least

svn commit: r220905 - head/sys/dev/cxgbe

2011-04-20 Thread Navdeep Parhar
Author: np Date: Wed Apr 20 23:20:00 2011 New Revision: 220905 URL: http://svn.freebsd.org/changeset/base/220905 Log: Ring the freelist doorbell from within refill_fl. While here, fix a bug that could have allowed the hardware pidx to reach the cidx even though the freelist isn't empty. (H

svn commit: r220903 - in head: bin/sh tools/regression/bin/sh/expansion

2011-04-20 Thread Jilles Tjoelker
Author: jilles Date: Wed Apr 20 22:24:54 2011 New Revision: 220903 URL: http://svn.freebsd.org/changeset/base/220903 Log: sh: Do not word split "${#parameter}". This is only a problem if IFS contains digits, which is unusual but valid. Because of an incorrect fix for PR bin/12137, "${#

Re: svn commit: r220877 - head/sys/fs/nfsclient

2011-04-20 Thread Rick Macklem
> > This is not that easy, I'm afraid. You need to ask yourself a question > what you are trying to protect from. Here, the mutex only guarantees > to > have consistent view of the nm_maxfilesize field. For example if this > field modification wouldn't be atomic you would need the mutex to > ensur

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

2011-04-20 Thread Hans Petter Selasky
Author: hselasky Date: Wed Apr 20 19:41:08 2011 New Revision: 220900 URL: http://svn.freebsd.org/changeset/base/220900 Log: Only set the sample rate if the USB audio channel reports that it supports the frequency control request. MFC after:7 days Approved by: thompsa (mentor) Modi

svn commit: r220899 - head/sbin/hastd

2011-04-20 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Apr 20 18:49:12 2011 New Revision: 220899 URL: http://svn.freebsd.org/changeset/base/220899 Log: Correct comment. MFC after:1 week Modified: head/sbin/hastd/hastd.c Modified: head/sbin/hastd/hastd.c ==

svn commit: r220898 - head/sbin/hastd

2011-04-20 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Apr 20 18:43:28 2011 New Revision: 220898 URL: http://svn.freebsd.org/changeset/base/220898 Log: When we become primary, we connect to the remote and expect it to be in secondary role. It is possible that the remote node is primary, but only because there was a role cha

svn commit: r220897 - head/sys/dev/cxgbe

2011-04-20 Thread Navdeep Parhar
Author: np Date: Wed Apr 20 18:04:34 2011 New Revision: 220897 URL: http://svn.freebsd.org/changeset/base/220897 Log: Use the correct free routine when destroying a control queue. X-MFC after: r220873 Modified: head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev/cxgbe/t4_sge.c =

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

2011-04-20 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Apr 20 17:53:39 2011 New Revision: 220896 URL: http://svn.freebsd.org/changeset/base/220896 Log: Add ref to the latest firmware additions. Modified: head/share/man/man4/iwnfw.4 Modified: head/share/man/man4/iwnfw.4 ==

svn commit: r220895 - head/sys/dev/iwn

2011-04-20 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Apr 20 17:49:05 2011 New Revision: 220895 URL: http://svn.freebsd.org/changeset/base/220895 Log: Now that all bits are in for 1030/6230 adapters enable those. While here pull the adapter names from the Linux driver and sort the list by ID. Modified: head/sys/dev

svn commit: r220894 - head/sys/dev/iwn

2011-04-20 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Apr 20 17:43:20 2011 New Revision: 220894 URL: http://svn.freebsd.org/changeset/base/220894 Log: The 6000 series gen2 adapters have 2 firmware images, one with advanced btcoex support and one without. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn

svn commit: r220891 - head/sys/dev/iwn

2011-04-20 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Apr 20 16:59:27 2011 New Revision: 220891 URL: http://svn.freebsd.org/changeset/base/220891 Log: Add basic support for advanced bluetooth coexistence required for 6005 gen2b (1030/6030) adapters. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h

svn commit: r220890 - head/sbin/hastd

2011-04-20 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Apr 20 16:38:05 2011 New Revision: 220890 URL: http://svn.freebsd.org/changeset/base/220890 Log: If we act in different role than requested by the remote node, log it as a warning and not an error. MFC after:1 week Modified: head/sbin/hastd/hastd.c Modified:

svn commit: r220889 - head/sbin/hastd

2011-04-20 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Apr 20 16:36:59 2011 New Revision: 220889 URL: http://svn.freebsd.org/changeset/base/220889 Log: Timeout must be positive. MFC after:1 week Modified: head/sbin/hastd/parse.y Modified: head/sbin/hastd/parse.y =

Re: svn commit: r220877 - head/sys/fs/nfsclient

2011-04-20 Thread Pawel Jakub Dawidek
On Wed, Apr 20, 2011 at 08:09:32AM -0400, Rick Macklem wrote: > > > + tmp_off = uio->uio_offset + uio->uio_resid; > > > + mtx_lock(&nmp->nm_mtx); > > > + if (tmp_off > nmp->nm_maxfilesize || tmp_off < uio->uio_offset) { > > > + mtx_unlock(&nmp->nm_mtx); > > > return (EFBIG); > > > + } > >

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

2011-04-20 Thread Ryan Stone
Author: rstone Date: Wed Apr 20 14:19:34 2011 New Revision: 220888 URL: http://svn.freebsd.org/changeset/base/220888 Log: r179417 introduced a bug into pthread_once(). Previously pthread_once() used a global pthread_mutex_t for synchronization. r179417 replaced that with an implementation

svn commit: r220887 - head/sbin/camcontrol

2011-04-20 Thread Alexander Motin
Author: mav Date: Wed Apr 20 14:16:22 2011 New Revision: 220887 URL: http://svn.freebsd.org/changeset/base/220887 Log: When calling XPT_REL_SIMQ to ajust number of openings, do not try to really release device. We haven't frozen the device before and attempt to release it will at least cause

svn commit: r220886 - head/sys/cam/ata

2011-04-20 Thread Alexander Motin
Author: mav Date: Wed Apr 20 13:27:50 2011 New Revision: 220886 URL: http://svn.freebsd.org/changeset/base/220886 Log: Add basic support for DMA-capable ATA disks on DMA-incapable controller. This is really rare situation these days, but still may happen in embedded. Modified: head/sys/cam/

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

2011-04-20 Thread Bjoern A. Zeeb
On Wed, 20 Apr 2011, Bjoern A. Zeeb wrote: Author: bz Date: Wed Apr 20 12:58:30 2011 New Revision: 220885 URL: http://svn.freebsd.org/changeset/base/220885 Log: Compile in in_cksum* implementations for both IPv6 and IPv6. IPv4 and IPv6 as Erwin noticed. While in_pseudo() etc. is often use

svn commit: r220885 - head/sys/conf

2011-04-20 Thread Bjoern A. Zeeb
Author: bz Date: Wed Apr 20 12:58:30 2011 New Revision: 220885 URL: http://svn.freebsd.org/changeset/base/220885 Log: Compile in in_cksum* implementations for both IPv6 and IPv6. While in_pseudo() etc. is often used in offloading feature support, in_cksum() is mostly used to fix some broken

Re: svn commit: r220877 - head/sys/fs/nfsclient

2011-04-20 Thread Rick Macklem
> > + tmp_off = uio->uio_offset + uio->uio_resid; > > + mtx_lock(&nmp->nm_mtx); > > + if (tmp_off > nmp->nm_maxfilesize || tmp_off < uio->uio_offset) { > > + mtx_unlock(&nmp->nm_mtx); > > return (EFBIG); > > + } > > + mtx_unlock(&nmp->nm_mtx); > > I don't think you need the lock to pro

svn commit: r220882 - head/contrib/bsnmp/snmpd

2011-04-20 Thread Ruslan Ermilov
Author: ru Date: Wed Apr 20 08:38:25 2011 New Revision: 220882 URL: http://svn.freebsd.org/changeset/base/220882 Log: Don't spam syslog with "inet_ntop(): Address family not supported by protocol family" when processing requests received from the UNIX domain socket. MFC after:3 days

svn commit: r220881 - head/sys/netinet6

2011-04-20 Thread Bjoern A. Zeeb
Author: bz Date: Wed Apr 20 08:05:23 2011 New Revision: 220881 URL: http://svn.freebsd.org/changeset/base/220881 Log: MFp4 CH=191760,191770: Not compiling in and not initializing from inetsw from in_proto.c for IPv6 only, we need to initialize upper layer protocols from inet6sw. Make su

svn commit: r220880 - head/sys/netinet

2011-04-20 Thread Bjoern A. Zeeb
Author: bz Date: Wed Apr 20 08:03:22 2011 New Revision: 220880 URL: http://svn.freebsd.org/changeset/base/220880 Log: MFp4 CH=191760: When compiling out INET we still need the initialization routines as well as the tuning and montoring sysctls shared with IPv6. Move the two send/recv

svn commit: r220879 - head/sys/netinet

2011-04-20 Thread Bjoern A. Zeeb
Author: bz Date: Wed Apr 20 08:00:29 2011 New Revision: 220879 URL: http://svn.freebsd.org/changeset/base/220879 Log: MFp4 CH=191470: Move the ipport_tick_callout and related functions from ip_input.c to in_pcb.c. The random source port allocation code has been merged and is now local

svn commit: r220878 - in head/sys/netinet: . ipfw

2011-04-20 Thread Bjoern A. Zeeb
Author: bz Date: Wed Apr 20 07:55:33 2011 New Revision: 220878 URL: http://svn.freebsd.org/changeset/base/220878 Log: MFp4 CH=191466: Move fw_one_pass to where it belongs: it is a property of ipfw, not of ip_input. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored