svn commit: r226714 - head/usr.sbin/boot0cfg

2011-10-24 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 25 04:15:45 2011 New Revision: 226714 URL: http://svn.freebsd.org/changeset/base/226714 Log: Fix argument name. This fixes EINVAL when boot0cfg uses GEOM_PART' control interface. MFC after:3 days Modified: head/usr.sbin/boot0cfg/boot0cfg.c Modified: head/u

svn commit: r226713 - head/sys/netinet

2011-10-24 Thread Qing Li
Author: qingli Date: Tue Oct 25 04:06:29 2011 New Revision: 226713 URL: http://svn.freebsd.org/changeset/base/226713 Log: Exclude host routes when checking for prefix coverage on multiple interfaces. A host route has a NULL mask so check for that condition. I have also been told by developer

svn commit: r226712 - head/sbin/swapon

2011-10-24 Thread Maxim Sobolev
Author: sobomax Date: Tue Oct 25 01:47:33 2011 New Revision: 226712 URL: http://svn.freebsd.org/changeset/base/226712 Log: Add new option -F to specify alternative location of the /etc/fstab file. MFC after:1 month Modified: head/sbin/swapon/swapon.8 head/sbin/swapon/swapon.c Mo

svn commit: r226711 - head/sbin/fsck

2011-10-24 Thread Maxim Sobolev
Author: sobomax Date: Tue Oct 25 01:46:42 2011 New Revision: 226711 URL: http://svn.freebsd.org/changeset/base/226711 Log: Add new option -c to specify alternatve location of the /etc/fstab file. MFC after:1 month Modified: head/sbin/fsck/fsck.8 head/sbin/fsck/fsck.c Modified: h

svn commit: r226710 - head/sys/net

2011-10-24 Thread Qing Li
Author: qingli Date: Tue Oct 25 00:34:39 2011 New Revision: 226710 URL: http://svn.freebsd.org/changeset/base/226710 Log: The host-id/interface-id can have a specific value and is properly masked out when adding a prefix route through the "route" command. However, when deleting the route, si

svn commit: r226709 - head/sys/dev/usb/net

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 23:38:11 2011 New Revision: 226709 URL: http://svn.freebsd.org/changeset/base/226709 Log: This change makes it possible to define driver specific attach handler such that driver can announce interface capabilities and can do its own MII attach. Currently all

svn commit: r226708 - head/usr.sbin/pkg_install/info

2011-10-24 Thread Xin LI
Author: delphij Date: Mon Oct 24 21:38:25 2011 New Revision: 226708 URL: http://svn.freebsd.org/changeset/base/226708 Log: Staticify elide_root() for now to fix build. Modified: head/usr.sbin/pkg_install/info/show.c Modified: head/usr.sbin/pkg_install/info/show.c

svn commit: r226707 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2011-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Oct 24 21:31:53 2011 New Revision: 226707 URL: http://svn.freebsd.org/changeset/base/226707 Log: - Use better naming now that we allow to rename any mounted file system (not only legacy). - Update copyright to include myself. MFC after:2 weeks Modified: he

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

2011-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Oct 24 21:22:55 2011 New Revision: 226706 URL: http://svn.freebsd.org/changeset/base/226706 Log: Update copyright to include myself. MFC after:2 weeks Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c head/cddl/contrib/opensolaris/lib/libzfs/common/li

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

2011-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Oct 24 21:14:50 2011 New Revision: 226705 URL: http://svn.freebsd.org/changeset/base/226705 Log: Extend r226676 to allow rename without unmount even for file systems with non-legacy mountpoints. It is better to be able to rename such file systems and let them be mounte

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

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 21:01:20 2011 New Revision: 226704 URL: http://svn.freebsd.org/changeset/base/226704 Log: All dc(4) controllers support VLAN over-sized frame. Xr vlan Modified: head/share/man/man4/dc.4 Modified: head/share/man/man4/dc.4

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

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 20:57:50 2011 New Revision: 226703 URL: http://svn.freebsd.org/changeset/base/226703 Log: Add ALi/ULi M5261/M5263 to supported hardware chipets. Modified: head/share/man/man4/dc.4 Modified: head/share/man/man4/dc.4

svn commit: r226702 - in head: contrib/gcc gnu/usr.bin/cc

2011-10-24 Thread David E. O'Brien
Author: obrien Date: Mon Oct 24 20:52:41 2011 New Revision: 226702 URL: http://svn.freebsd.org/changeset/base/226702 Log: * Don't give the impression that this compiler is GPLv3. (It is "well known" that GCC 4.2.2 is GPLv3.) * Don't give the impression that this compiler isn't "trustable".

svn commit: r226701 - head/sys/dev/dc

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 20:48:02 2011 New Revision: 226701 URL: http://svn.freebsd.org/changeset/base/226701 Log: Add support for ALi/ULi, now NVIDIA, M5261/M5263 PCI FastEthernet controller which is found on ULi M1563 South Bridge & M1689 Bridge. These controllers look like a tulip

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

2011-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Oct 24 20:41:31 2011 New Revision: 226700 URL: http://svn.freebsd.org/changeset/base/226700 Log: Don't forget to rename mounted snapshots of the file system being renamed. MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops

svn commit: r226699 - head/sys/dev/dc

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 20:26:37 2011 New Revision: 226699 URL: http://svn.freebsd.org/changeset/base/226699 Log: When driver is run for the first time there would be no established link such that calling dc_setcfg() right after media change would be meaningless unless controller in

svn commit: r226698 - head/sys/conf

2011-10-24 Thread Dimitry Andric
Author: dim Date: Mon Oct 24 18:35:16 2011 New Revision: 226698 URL: http://svn.freebsd.org/changeset/base/226698 Log: Put in a temporary band-aid to fix kernel builds when CC=clang, after r226665. Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk

svn commit: r226697 - head/usr.sbin/pkg_install/info

2011-10-24 Thread Ed Maste
Author: emaste Date: Mon Oct 24 18:29:50 2011 New Revision: 226697 URL: http://svn.freebsd.org/changeset/base/226697 Log: Avoid printing // for packages that install to / I have some packages that install to / (for whatever reason). Right now we print entries of the form //path/to/file w

svn commit: r226696 - head/sys/dev/dc

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 17:09:22 2011 New Revision: 226696 URL: http://svn.freebsd.org/changeset/base/226696 Log: Add missing bus_dmamap_sync() in setup frame transmit. MFC after:3 days Modified: head/sys/dev/dc/if_dc.c Modified: head/sys/dev/dc/if_dc.c

svn commit: r226695 - head/sys/dev/dc

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 17:05:59 2011 New Revision: 226695 URL: http://svn.freebsd.org/changeset/base/226695 Log: Fix a regression introduced in r218832. For TX status check, driver should use a TX list DMA tag. MFC after:3 days Modified: head/sys/dev/dc/if_dc.c Modified:

Re: svn commit: r226673 - head/sys/kern

2011-10-24 Thread Marcel Moolenaar
On Oct 24, 2011, at 2:27 AM, Andriy Gapon wrote: > on 23/10/2011 23:03 Marcel Moolenaar said the following: >> Author: marcel >> Date: Sun Oct 23 20:03:33 2011 >> New Revision: 226673 >> URL: http://svn.freebsd.org/changeset/base/226673 >> >> Log: >> Don't terminate the interactive root mount p

Re: svn commit: r226687 - head/sys/fs/nullfs

2011-10-24 Thread Kostik Belousov
On Mon, Oct 24, 2011 at 04:22:45PM +0200, Roman Divacky wrote: > On Mon, Oct 24, 2011 at 01:53:32PM +, Konstantin Belousov wrote: > > Author: kib > > Date: Mon Oct 24 13:53:32 2011 > > New Revision: 226687 > > URL: http://svn.freebsd.org/changeset/base/226687 > > > > Log: > > The only possib

svn commit: r226690 - head/usr.sbin/ypbind

2011-10-24 Thread Gleb Smirnoff
Author: glebius Date: Mon Oct 24 14:35:31 2011 New Revision: 226690 URL: http://svn.freebsd.org/changeset/base/226690 Log: Protect NIS client with madvise(2) since this daemon is required for succesful authentication of users. Modified: head/usr.sbin/ypbind/ypbind.c Modified: head/usr.sbin

Re: svn commit: r226687 - head/sys/fs/nullfs

2011-10-24 Thread Roman Divacky
On Mon, Oct 24, 2011 at 01:53:32PM +, Konstantin Belousov wrote: > Author: kib > Date: Mon Oct 24 13:53:32 2011 > New Revision: 226687 > URL: http://svn.freebsd.org/changeset/base/226687 > > Log: > The only possible error return from null_nodeget() is due to insmntque1 > failure (the getne

svn commit: r226688 - head/sys/fs/nullfs

2011-10-24 Thread Konstantin Belousov
Author: kib Date: Mon Oct 24 13:56:31 2011 New Revision: 226688 URL: http://svn.freebsd.org/changeset/base/226688 Log: The use of VOP_ISLOCKED() without a check for the return values can cause false positives. Replace the #ifdef block with the proper ASSERT_VOP_UNLOCKED() assert. Tested

svn commit: r226687 - head/sys/fs/nullfs

2011-10-24 Thread Konstantin Belousov
Author: kib Date: Mon Oct 24 13:53:32 2011 New Revision: 226687 URL: http://svn.freebsd.org/changeset/base/226687 Log: The only possible error return from null_nodeget() is due to insmntque1 failure (the getnewvnode cannot return an error). In this case, the null_insmntque_dtr() already unlo

svn commit: r226686 - head/sys/fs/nullfs

2011-10-24 Thread Konstantin Belousov
Author: kib Date: Mon Oct 24 13:48:13 2011 New Revision: 226686 URL: http://svn.freebsd.org/changeset/base/226686 Log: The covered vnode must be reloced if it was unlocked. Remove VOP_ISLOCKED test because of this and also because it can lead to false positives. Tested by:pho MFC af

svn commit: r226685 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2011-10-24 Thread Ivan Voras
Author: ivoras Date: Mon Oct 24 12:59:39 2011 New Revision: 226685 URL: http://svn.freebsd.org/changeset/base/226685 Log: Apparently, "ada" drives are better treated similarly to "da" drives. Modified: head/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_diskstorage_tbl.c Modified: head/usr.sbi

svn commit: r226684 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2011-10-24 Thread Ivan Voras
Author: ivoras Date: Mon Oct 24 12:43:20 2011 New Revision: 226684 URL: http://svn.freebsd.org/changeset/base/226684 Log: It seems that the warning is much less severe than its message says. The device is certainly added to the list after the first pass. Modified: head/usr.sbin/bsnmpd/modul

svn commit: r226683 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2011-10-24 Thread Ivan Voras
Author: ivoras Date: Mon Oct 24 12:21:58 2011 New Revision: 226683 URL: http://svn.freebsd.org/changeset/base/226683 Log: Fix typo MFC after:1 month Modified: head/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_diskstorage_tbl.c head/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_tree.

svn commit: r226681 - head/sys/fs/nullfs

2011-10-24 Thread Peter Holm
Author: pho Date: Mon Oct 24 10:35:37 2011 New Revision: 226681 URL: http://svn.freebsd.org/changeset/base/226681 Log: Only unlock if the lock is exclusive. Reported by: Subbsd Discussed with: kib Modified: head/sys/fs/nullfs/null_vfsops.c Modified: head/sys/fs/nullfs/null_vfs

Re: svn commit: r226673 - head/sys/kern

2011-10-24 Thread Andriy Gapon
on 23/10/2011 23:03 Marcel Moolenaar said the following: > Author: marcel > Date: Sun Oct 23 20:03:33 2011 > New Revision: 226673 > URL: http://svn.freebsd.org/changeset/base/226673 > > Log: > Don't terminate the interactive root mount prompt on mount failure. > This restores the previous beha

svn commit: r226680 - head/sys/dev/ata

2011-10-24 Thread Alexander Motin
Author: mav Date: Mon Oct 24 08:47:23 2011 New Revision: 226680 URL: http://svn.freebsd.org/changeset/base/226680 Log: Some dmesg cosmetics: - for the legacy PCI ATA channels move channel number out of the device description, same as it is for ahci(4), siis(4) and mvs(4); - add device de

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

2011-10-24 Thread Bernhard Schmidt
Author: bschmidt Date: Mon Oct 24 07:37:01 2011 New Revision: 226679 URL: http://svn.freebsd.org/changeset/base/226679 Log: Let net80211 also know about stopped BA sessions. This fixes some issues where the driver assumed that BA resources are still available due to net80211 saying so.