Re: svn commit: r258039 - in head/sys: kern vm

2013-11-12 Thread Konstantin Belousov
On Tue, Nov 12, 2013 at 04:29:06PM -0800, John-Mark Gurney wrote: > Bruce Evans wrote this message on Tue, Nov 12, 2013 at 22:13 +1100: > > On Tue, 12 Nov 2013, Konstantin Belousov wrote: > > > > >Log: > > > Avoid overflow for the page counts. > > > > > > Reported and tested by: pho > > > Sponso

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

2013-11-12 Thread Adrian Chadd
Author: adrian Date: Wed Nov 13 07:09:00 2013 New Revision: 258085 URL: http://svnweb.freebsd.org/changeset/base/258085 Log: Correctly initialise the 2-chain antenna mask in the link quality table. The previous code simply hard-coded IWN_ANT_AB which is only correct for some of the NICs.

svn commit: r258084 - head/usr.bin/svn/svn

2013-11-12 Thread Glen Barber
Author: gjb Date: Wed Nov 13 05:25:49 2013 New Revision: 258084 URL: http://svnweb.freebsd.org/changeset/base/258084 Log: Somewhat mimic how the devel/subversion port prepopulates 'Sponsored by:' in the FreeBSD commit template. Support for this has already existed ^/head/contrib/subversio

svn commit: r258083 - head/sys/dev/usb/wlan

2013-11-12 Thread Kevin Lo
Author: kevlo Date: Wed Nov 13 05:22:39 2013 New Revision: 258083 URL: http://svnweb.freebsd.org/changeset/base/258083 Log: Remove a couple of unused macros. Modified: head/sys/dev/usb/wlan/if_runreg.h Modified: head/sys/dev/usb/wlan/if_runreg.h ==

svn commit: r258082 - head/sys/dev/usb/wlan

2013-11-12 Thread Kevin Lo
Author: kevlo Date: Wed Nov 13 05:21:41 2013 New Revision: 258082 URL: http://svnweb.freebsd.org/changeset/base/258082 Log: - Use bit twiddling macro to set IEEE80211_MODE_11A - On the RT3572 chipset, there's no need to configure BBP register 86 Modified: head/sys/dev/usb/wlan/if_run.c Mod

svn commit: r258081 - in head/contrib/gcc: . cp doc

2013-11-12 Thread Pedro F. Giffuni
Author: pfg Date: Wed Nov 13 04:31:27 2013 New Revision: 258081 URL: http://svnweb.freebsd.org/changeset/base/258081 Log: gcc: Backport fixes for -W parentheses in C++ This fixes GCC 19564: http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00868.html http://gcc.gnu.org/ml/gcc-patches/200

svn commit: r258080 - in head: etc/rc.d share/man/man5

2013-11-12 Thread Josh Paetzel
Author: jpaetzel Date: Wed Nov 13 03:50:31 2013 New Revision: 258080 URL: http://svnweb.freebsd.org/changeset/base/258080 Log: Add support for multiple instances of ftp-proxy and pflog devices. PR: conf/158171 Submitted by: Thomas Johnson Modified: head/etc/rc.d/ftp-proxy head/e

svn commit: r258079 - head/sys/powerpc/include

2013-11-12 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 13 01:51:40 2013 New Revision: 258079 URL: http://svnweb.freebsd.org/changeset/base/258079 Log: Fix typo. Submitted by: loos Modified: head/sys/powerpc/include/param.h Modified: head/sys/powerpc/include/param.h =

svn commit: r258078 - head/sys/powerpc/include

2013-11-12 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 13 01:37:52 2013 New Revision: 258078 URL: http://svnweb.freebsd.org/changeset/base/258078 Log: Increase the stack size for ppc64 from 4 pages to 8. I found a stack overflow when a coredump was taken onto a ZFS volume with heavy network activity. 2 DSI trap

svn commit: r258077 - head/usr.sbin/syslogd

2013-11-12 Thread Ian Lepore
Author: ian Date: Wed Nov 13 01:04:02 2013 New Revision: 258077 URL: http://svnweb.freebsd.org/changeset/base/258077 Log: Add ENETUNREACH and EADDRNOTAVAIL to the list of errors that are potentially transient and shouldn't result in closing the socket and giving up forever. Modified: head/u

svn commit: r258076 - head/usr.sbin/syslogd

2013-11-12 Thread Ian Lepore
Author: ian Date: Wed Nov 13 01:01:15 2013 New Revision: 258076 URL: http://svnweb.freebsd.org/changeset/base/258076 Log: This fixes 3 problems in syslogd related to sizing receive buffers... - A call was misplaced at the wrong level of nested if blocks, so that the buffers for unix dom

Re: svn commit: r258039 - in head/sys: kern vm

2013-11-12 Thread John-Mark Gurney
Bruce Evans wrote this message on Tue, Nov 12, 2013 at 22:13 +1100: > On Tue, 12 Nov 2013, Konstantin Belousov wrote: > > >Log: > > Avoid overflow for the page counts. > > > > Reported and tested by: pho > > Sponsored by: The FreeBSD Foundation > > MFC after: 1 week > > >Modified: head

svn commit: r258075 - in head: lib/libvmmapi sys/amd64/include sys/amd64/vmm sys/amd64/vmm/io sys/modules/vmm usr.sbin/bhyve

2013-11-12 Thread Neel Natu
Author: neel Date: Tue Nov 12 22:51:03 2013 New Revision: 258075 URL: http://svnweb.freebsd.org/changeset/base/258075 Log: Move the ioapic device model from userspace into vmm.ko. This is needed for upcoming in-kernel device emulations like the HPET. The ioctls VM_IOAPIC_ASSERT_IRQ and VM

svn commit: r258071 - head/sbin/nvmecontrol

2013-11-12 Thread Jim Harris
Author: jimharris Date: Tue Nov 12 21:14:19 2013 New Revision: 258071 URL: http://svnweb.freebsd.org/changeset/base/258071 Log: Check for special status code from FIRMWARE_ACTIVATE command signifying that a reboot is required to complete activation of the requested firmware image. Repor

svn commit: r258070 - head/tools/regression/lib/libnv

2013-11-12 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Nov 12 20:31:16 2013 New Revision: 258070 URL: http://svnweb.freebsd.org/changeset/base/258070 Log: Regression tests for the libnv library. Sponsored by: The FreeBSD Foundation Added: head/tools/regression/lib/libnv/ head/tools/regression/lib/libnv/Makefile (con

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

2013-11-12 Thread Sergey Kandaurov
Author: pluknet Date: Tue Nov 12 20:13:10 2013 New Revision: 258069 URL: http://svnweb.freebsd.org/changeset/base/258069 Log: Add VM_LAST, a special last element in enum VM_GUEST and use it in CTASSERT to ensure that vm_guest range is covered by vm_guest_sysctl_names. Suggested by: mjg M

Re: svn commit: r258066 - in head: tools/regression/usr.sbin/etcupdate usr.sbin/etcupdate

2013-11-12 Thread John Baldwin
On Tuesday, November 12, 2013 2:44:19 pm John Baldwin wrote: > Author: jhb > Date: Tue Nov 12 19:44:18 2013 > New Revision: 258066 > URL: http://svnweb.freebsd.org/changeset/base/258066 > > Log: > Add a pre-world mode of updating similar to the -p option that can be > passed to mergemaster. I

Re: svn commit: r258053 - head/usr.sbin/mfiutil

2013-11-12 Thread John Baldwin
On Tuesday, November 12, 2013 12:10:56 pm Sean Bruno wrote: > Author: sbruno > Date: Tue Nov 12 17:10:56 2013 > New Revision: 258053 > URL: http://svnweb.freebsd.org/changeset/base/258053 > > Log: > Noted that the stripe_size argument was not being displayed in the usage > message Does this n

svn commit: r258066 - in head: tools/regression/usr.sbin/etcupdate usr.sbin/etcupdate

2013-11-12 Thread John Baldwin
Author: jhb Date: Tue Nov 12 19:44:18 2013 New Revision: 258066 URL: http://svnweb.freebsd.org/changeset/base/258066 Log: Add a pre-world mode of updating similar to the -p option that can be passed to mergemaster. In this mode, only changes to /etc/master.passwd and /etc/group are merged t

svn commit: r258065 - in head: contrib/mdocml lib lib/libnv share/mk

2013-11-12 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Nov 12 19:39:14 2013 New Revision: 258065 URL: http://svnweb.freebsd.org/changeset/base/258065 Log: Bring in libnv library for managing name/value pairs. The following types are currently supported: - NV_TYPE_NULL - only name, no data; - NV_TYPE_BOOL - boolean (tru

svn commit: r258064 - head/usr.sbin/etcupdate

2013-11-12 Thread John Baldwin
Author: jhb Date: Tue Nov 12 19:18:00 2013 New Revision: 258064 URL: http://svnweb.freebsd.org/changeset/base/258064 Log: Sort option flags and fix the width of the options list. This is a purely mechanical change, no content changes. Modified: head/usr.sbin/etcupdate/etcupdate.8 Modified

svn commit: r258063 - head/tools/regression/usr.sbin/etcupdate

2013-11-12 Thread John Baldwin
Author: jhb Date: Tue Nov 12 19:15:06 2013 New Revision: 258063 URL: http://svnweb.freebsd.org/changeset/base/258063 Log: Add an -s option that specifies a path to an alternate etcupdate.sh script to test. This allows a non-installed version of the script to be tested more easily. Modified

svn commit: r258061 - head/etc

2013-11-12 Thread John Baldwin
Author: jhb Date: Tue Nov 12 18:59:23 2013 New Revision: 258061 URL: http://svnweb.freebsd.org/changeset/base/258061 Log: Revert r257715. This breaks the case where devd isn't running. The real solution to this is still being discussed and probably won't look quite like this. Modified:

svn commit: r258057 - in head/sys: arm/conf arm/freescale/vybrid boot/fdt/dts dev/uart

2013-11-12 Thread Ruslan Bukin
Author: br Date: Tue Nov 12 18:02:56 2013 New Revision: 258057 URL: http://svnweb.freebsd.org/changeset/base/258057 Log: Add support for Freescale Vybrid Family VF600 heterogeneous ARM Cortex-A5/M4 SoC (M4 core is not used in this work). Support includes device drivers for: - NAND Flash

svn commit: r258056 - head/sys/kern

2013-11-12 Thread Alan Cox
Author: alc Date: Tue Nov 12 17:46:11 2013 New Revision: 258056 URL: http://svnweb.freebsd.org/changeset/base/258056 Log: Eliminate the gratuitous use of mmap(2) flags from the implementation of kern_shmat(). Use a simpler approach to determine whether to pass VMFS_NO_SPACE or VMFS_OPTIMAL_

svn commit: r258055 - head/sbin/sysctl

2013-11-12 Thread Devin Teske
Author: dteske Date: Tue Nov 12 17:44:29 2013 New Revision: 258055 URL: http://svnweb.freebsd.org/changeset/base/258055 Log: Fix a typo: s/wriable/writable/ Modified: head/sbin/sysctl/sysctl.8 Modified: head/sbin/sysctl/sysctl.8 ===

svn commit: r258053 - head/usr.sbin/mfiutil

2013-11-12 Thread Sean Bruno
Author: sbruno Date: Tue Nov 12 17:10:56 2013 New Revision: 258053 URL: http://svnweb.freebsd.org/changeset/base/258053 Log: Noted that the stripe_size argument was not being displayed in the usage message MFC after:2 weeks Modified: head/usr.sbin/mfiutil/mfiutil.c Modified: head/

svn commit: r258052 - in head/sys: conf powerpc/ofw powerpc/pseries

2013-11-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Nov 12 16:15:09 2013 New Revision: 258052 URL: http://svnweb.freebsd.org/changeset/base/258052 Log: Following the approach with ACPI DMAR on x86, split IOMMU handling into a variant PCI bus instead of trying to shoehorn it into the PCI host bridge adapter. Beside

svn commit: r258051 - head/sys/powerpc/pseries

2013-11-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Nov 12 16:14:45 2013 New Revision: 258051 URL: http://svnweb.freebsd.org/changeset/base/258051 Log: Actually add IOMMU domain to the list of known mappings. This fixes a bug where multiple devices in the same IOMMU domain would be allocated conflicting mappings u

svn commit: r258050 - head/sys/dev/gpio

2013-11-12 Thread Luiz Otavio O Souza
Author: loos Date: Tue Nov 12 16:08:23 2013 New Revision: 258050 URL: http://svnweb.freebsd.org/changeset/base/258050 Log: Fix gpiobus to return BUS_PROBE_GENERIC insted of BUS_PROBE_SPECIFIC (0) so it can be overriden by its OFW/FDT version. Give a chance for GPIO devices that implement

svn commit: r258049 - in head: contrib/smbfs/lib/smb lib/libsmb

2013-11-12 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 12 15:09:28 2013 New Revision: 258049 URL: http://svnweb.freebsd.org/changeset/base/258049 Log: Just disable recoding support in libsmb if built WITHOUT_ICONV. Modified: head/contrib/smbfs/lib/smb/nls.c head/lib/libsmb/Makefile Modified: head/contrib/smbfs/lib

svn commit: r258047 - head/sys/dev/gpio

2013-11-12 Thread Luiz Otavio O Souza
Author: loos Date: Tue Nov 12 13:55:19 2013 New Revision: 258047 URL: http://svnweb.freebsd.org/changeset/base/258047 Log: Move the KASSERT() check to the point before the increase of number of pins. Approved by: adrian (mentor) Modified: head/sys/dev/gpio/gpiobus.c Modified: head/sys/

svn commit: r258046 - head/sys/dev/ofw

2013-11-12 Thread Luiz Otavio O Souza
Author: loos Date: Tue Nov 12 13:44:50 2013 New Revision: 258046 URL: http://svnweb.freebsd.org/changeset/base/258046 Log: Fix a typo on a comment in ofw_bus_if.m, the default method will return -1 when a node doesn't exist. Reviewed by: nwhitehorn Approved by: adrian (mentor) Modifi

svn commit: r258045 - head/sys/arm/broadcom/bcm2835

2013-11-12 Thread Luiz Otavio O Souza
Author: loos Date: Tue Nov 12 13:34:07 2013 New Revision: 258045 URL: http://svnweb.freebsd.org/changeset/base/258045 Log: As all the IIC controllers on system uses the same 'iichb' prefix we cannot rely only on checking the device unit to indentify the BSC unit we are attaching to. Make us

svn commit: r258044 - in head: share/man/man4 usr.sbin/gpioctl

2013-11-12 Thread Luiz Otavio O Souza
Author: loos Date: Tue Nov 12 12:44:59 2013 New Revision: 258044 URL: http://svnweb.freebsd.org/changeset/base/258044 Log: Adds gpioiic.4 and gpioled.4 man pages. Moves some of the information that was previously available on gpio.4 to their respectives pages. Add the cross references on g

svn commit: r258043 - head/lib/libc/posix1e

2013-11-12 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 12 12:23:54 2013 New Revision: 258043 URL: http://svnweb.freebsd.org/changeset/base/258043 Log: Fix typo. Sponsored by: The FreeBSD Foundation Modified: head/lib/libc/posix1e/acl.3 Modified: head/lib/libc/posix1e/acl.3

svn commit: r258042 - head/lib/libc/posix1e

2013-11-12 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 12 12:22:52 2013 New Revision: 258042 URL: http://svnweb.freebsd.org/changeset/base/258042 Log: Fix description to actually make sense. Sponsored by: The FreeBSD Foundation Modified: head/lib/libc/posix1e/acl_is_trivial_np.3 Modified: head/lib/libc/posix1e/ac

Re: svn commit: r258039 - in head/sys: kern vm

2013-11-12 Thread Bruce Evans
On Tue, 12 Nov 2013, Konstantin Belousov wrote: Log: Avoid overflow for the page counts. Reported and tested by:pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/kern/vfs_vnops.c

svn commit: r258041 - head/lib/libc/posix1e

2013-11-12 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 12 10:44:41 2013 New Revision: 258041 URL: http://svnweb.freebsd.org/changeset/base/258041 Log: Mention acl_get_brand_np(3). MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/lib/libc/posix1e/acl.3 Modified: head/lib/libc/posix1e/acl

Re: svn commit: r258016 - head/sys/i386/conf

2013-11-12 Thread Bruce Evans
On Mon, 11 Nov 2013, Dimitry Andric wrote: Log: Disable building the ctl module for the i386 XEN kernel configuration for now, since it causes gcc warnings about casting 64 bit bus_addr_t's to 32 bit pointers, and vice versa. Why not disable clang, since it is incompatible? :-)/2 The warni

svn commit: r258039 - in head/sys: kern vm

2013-11-12 Thread Konstantin Belousov
Author: kib Date: Tue Nov 12 08:47:58 2013 New Revision: 258039 URL: http://svnweb.freebsd.org/changeset/base/258039 Log: Avoid overflow for the page counts. Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/kern/vfs_vnops.