svn commit: r213195 - stable/8/sys/kern

2010-09-27 Thread Andriy Gapon
Author: avg Date: Mon Sep 27 06:02:12 2010 New Revision: 213195 URL: http://svn.freebsd.org/changeset/base/213195 Log: MFC r212544: bus_add_child: add specialized default implementation that calls panic Modified: stable/8/sys/kern/bus_if.m Directory Properties: stable/8/sys/ (props

svn commit: r213196 - stable/7/sys/kern

2010-09-27 Thread Andriy Gapon
Author: avg Date: Mon Sep 27 06:04:17 2010 New Revision: 213196 URL: http://svn.freebsd.org/changeset/base/213196 Log: MFC r212544: bus_add_child: add specialized default implementation that calls panic Modified: stable/7/sys/kern/bus_if.m Directory Properties: stable/7/sys/ (props

svn commit: r213197 - in head: cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/f...

2010-09-27 Thread Martin Matuska
Author: mm Date: Mon Sep 27 09:05:51 2010 New Revision: 213197 URL: http://svn.freebsd.org/changeset/base/213197 Log: Enable offlining of log devices. OpenSolaris revision and Bug IDs: 9701:cc5b64682e64 6803605 should be able to offline log devices 6726045

Re: svn commit: r213181 - head/usr.sbin/watchdogd

2010-09-27 Thread pluknet
On 26 September 2010 14:48, Mikolaj Golub to.my.troc...@gmail.com wrote: On Sun, 26 Sep 2010 01:45:33 + (UTC) Ed Maste wrote:  EM Log:  EM   Protect the watchdog daemon against swap OOM killer.  This is similar to  EM   SVN r199804 which added protection to sshd, cron, syslogd, and

svn commit: r213198 - in head: cddl/contrib/opensolaris/cmd/zinject sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2010-09-27 Thread Martin Matuska
Author: mm Date: Mon Sep 27 09:42:31 2010 New Revision: 213198 URL: http://svn.freebsd.org/changeset/base/213198 Log: Properly handle IO with B_FAILFAST Retry IO once with ZIO_FLAG_TRYHARD before declaring a pool faulted OpenSolaris revision and Bug IDs: 9725:0bf7402e8022 6843014

Re: svn commit: r213198 - in head: cddl/contrib/opensolaris/cmd/zinject sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2010-09-27 Thread Martin Matuska
As FreeBSD does not support B_FAILFAST handling and we don't use vdev_disk.c, please treat this commit as a no-op with the purpose of diff reduction against latest ZFS code to make future updates easier. ___ svn-src-all@freebsd.org mailing list

Re: svn commit: r213181 - head/usr.sbin/watchdogd

2010-09-27 Thread Mikolaj Golub
On Mon, 27 Sep 2010 13:40:56 +0400 pluknet wrote: p On 26 September 2010 14:48, Mikolaj Golub to.my.troc...@gmail.com wrote: On Sun, 26 Sep 2010 01:45:33 + (UTC) Ed Maste wrote:  EM Log:  EM   Protect the watchdog daemon against swap OOM killer.  This is similar to  EM   SVN

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

2010-09-27 Thread John Baldwin
On Friday, September 24, 2010 6:53:52 pm Peter Jeremy wrote: [Pruning CC list and re-adding freebsd-arch on the (forlorn) hope that this thread will move to where it belongs] On 2010-Sep-23 07:31:13 -0700, Matthew Jacob m...@feral.com wrote: It turns out that the big issue here was more the

svn commit: r213201 - head/sys/arm/at91

2010-09-27 Thread Bernd Walter
Author: ticso Date: Mon Sep 27 15:55:30 2010 New Revision: 213201 URL: http://svn.freebsd.org/changeset/base/213201 Log: fix off by one error for twi reads with len != 1. STOP must be requested before the last byte is received. Modified: head/sys/arm/at91/at91_twi.c Modified:

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

2010-09-27 Thread Warner Losh
Author: imp Date: Mon Sep 27 15:55:39 2010 New Revision: 213202 URL: http://svn.freebsd.org/changeset/base/213202 Log: Prefer echo over printf Modified: head/etc/rc.d/nsswitch Modified: head/etc/rc.d/nsswitch == ---

svn commit: r213203 - head/sys/arm/at91

2010-09-27 Thread Bernd Walter
Author: ticso Date: Mon Sep 27 15:58:19 2010 New Revision: 213203 URL: http://svn.freebsd.org/changeset/base/213203 Log: The TWI controller automatically stops if we don't fill up with new data in time. Modified: head/sys/arm/at91/at91_twi.c Modified: head/sys/arm/at91/at91_twi.c

svn commit: r213205 - stable/8/sys/dev/e1000

2010-09-27 Thread John Baldwin
Author: jhb Date: Mon Sep 27 16:29:25 2010 New Revision: 213205 URL: http://svn.freebsd.org/changeset/base/213205 Log: MFC 212902: Tweak the stats exported by the e1000 drivers: - Add a single sysctl procedure to all three drivers to read an arbitrary register (the register is passed as

svn commit: r213206 - stable/7/sys/dev/e1000

2010-09-27 Thread John Baldwin
Author: jhb Date: Mon Sep 27 16:29:46 2010 New Revision: 213206 URL: http://svn.freebsd.org/changeset/base/213206 Log: MFC 212902: Tweak the stats exported by the e1000 drivers: - Add a single sysctl procedure to all three drivers to read an arbitrary register (the register is passed as

svn commit: r213208 - stable/8/sys/dev/bge

2010-09-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 27 17:10:22 2010 New Revision: 213208 URL: http://svn.freebsd.org/changeset/base/213208 Log: MFC r212755: Fix incorrect RX BD producer updates. The producer index was already updated after allocating mbuf so driver had to use the last index instead of

svn commit: r213209 - stable/7/sys/dev/bge

2010-09-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 27 17:12:54 2010 New Revision: 213209 URL: http://svn.freebsd.org/changeset/base/213209 Log: MFC r212755: Fix incorrect RX BD producer updates. The producer index was already updated after allocating mbuf so driver had to use the last index instead of

svn commit: r213211 - in stable/8/sys/modules: em igb ixgbe

2010-09-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 27 17:37:25 2010 New Revision: 213211 URL: http://svn.freebsd.org/changeset/base/213211 Log: MFC r211400: Remove unnecessary clean target in em(4), igb(4) and ixgbe(4). While here also remove man target in igb(4). Reviewed by:jfv Modified:

svn commit: r213213 - in stable/7/sys/modules: em igb ixgbe

2010-09-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 27 17:38:30 2010 New Revision: 213213 URL: http://svn.freebsd.org/changeset/base/213213 Log: MFC r211400: Remove unnecessary clean target in em(4), igb(4) and ixgbe(4). While here also remove man target in igb(4). Reviewed by:jfv Modified:

svn commit: r213214 - stable/8/sys/dev/e1000

2010-09-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 27 17:46:11 2010 New Revision: 213214 URL: http://svn.freebsd.org/changeset/base/213214 Log: MFC r211906: Make sure not to access unallocated stats memory. Reviewed by:jfv Modified: stable/8/sys/dev/e1000/if_igb.c Directory Properties:

svn commit: r213215 - in head/sys: conf fs/devfs

2010-09-27 Thread Jaakko Heinonen
Author: jh Date: Mon Sep 27 17:47:09 2010 New Revision: 213215 URL: http://svn.freebsd.org/changeset/base/213215 Log: Add reference counting for devfs paths containing user created symbolic links. The reference counting is needed to be able to determine if a specific devfs path exists. For

svn commit: r213216 - in stable/8/sys/dev: e1000 ixgb ixgbe

2010-09-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 27 17:49:05 2010 New Revision: 213216 URL: http://svn.freebsd.org/changeset/base/213216 Log: MFC r211907: Do not call voluntary panic(9) in case of if_alloc() failure. Reviewed by:jfv Modified: stable/8/sys/dev/e1000/if_em.c

svn commit: r213217 - stable/8/sys/dev/e1000

2010-09-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 27 17:50:56 2010 New Revision: 213217 URL: http://svn.freebsd.org/changeset/base/213217 Log: MFC r211909: If em(4) failed to allocate RX buffers, do not call panic(9). Just showing some buffer allocation error is more appropriate action for drivers.

svn commit: r213218 - in stable/8/sys/dev: e1000 ixgb ixgbe

2010-09-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 27 17:54:04 2010 New Revision: 213218 URL: http://svn.freebsd.org/changeset/base/213218 Log: MFC r211913: Do not allocate multicast array memory in multicast filter configuration function. For failed memory allocations, em(4)/lem(4) called panic(9)

svn commit: r213220 - in stable/7/sys/dev: e1000 ixgb ixgbe

2010-09-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 27 18:20:04 2010 New Revision: 213220 URL: http://svn.freebsd.org/changeset/base/213220 Log: MFC r211907: Do not call voluntary panic(9) in case of if_alloc() failure. Reviewed by:jfv Modified: stable/7/sys/dev/e1000/if_em.c

svn commit: r213221 - head/sys/fs/devfs

2010-09-27 Thread Jaakko Heinonen
Author: jh Date: Mon Sep 27 18:20:56 2010 New Revision: 213221 URL: http://svn.freebsd.org/changeset/base/213221 Log: Add a new function devfs_dev_exists() to be able to find out if a specific devfs path already exists. The function will be used from kern_conf.c to detect duplicate

svn commit: r213222 - stable/7/sys/dev/e1000

2010-09-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 27 18:22:50 2010 New Revision: 213222 URL: http://svn.freebsd.org/changeset/base/213222 Log: MFC r211909: If em(4) failed to allocate RX buffers, do not call panic(9). Just showing some buffer allocation error is more appropriate action for drivers.

svn commit: r213223 - in stable/7/sys/dev: e1000 ixgb ixgbe

2010-09-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 27 18:34:04 2010 New Revision: 213223 URL: http://svn.freebsd.org/changeset/base/213223 Log: MFC r211913: Do not allocate multicast array memory in multicast filter configuration function. For failed memory allocations, em(4)/lem(4) called panic(9)

svn commit: r213224 - in head/usr.bin/clang: clang tblgen

2010-09-27 Thread Dimitry Andric
Author: dim Date: Mon Sep 27 19:03:18 2010 New Revision: 213224 URL: http://svn.freebsd.org/changeset/base/213224 Log: Add manpages for clang and tblgen. These were generated from upstream's tools/clang/docs/tools/clang.pod and docs/CommandGuide/tblgen.pod, respectively. Approved-by:

Re: svn commit: r213226 - head/sys/i386/i386

2010-09-27 Thread John Baldwin
On Monday, September 27, 2010 3:36:16 pm John Baldwin wrote: Author: jhb Date: Mon Sep 27 19:36:15 2010 New Revision: 213226 URL: http://svn.freebsd.org/changeset/base/213226 Log: Rewrite the i386 memory probe: - Check for SMAP data from the loader first. If it exists, don't bother

svn commit: r213227 - head/sys/conf

2010-09-27 Thread Juli Mallett
Author: jmallett Date: Mon Sep 27 19:45:34 2010 New Revision: 213227 URL: http://svn.freebsd.org/changeset/base/213227 Log: Use a single program header to fix loading 64-bit kernels on old versions of U-Boot. Modified: head/sys/conf/ldscript.mips.octeon1.64 Modified:

svn commit: r213228 - head/sys/mips/cavium

2010-09-27 Thread Juli Mallett
Author: jmallett Date: Mon Sep 27 20:12:57 2010 New Revision: 213228 URL: http://svn.freebsd.org/changeset/base/213228 Log: o) Program the Lanner MR-320 for 32-bit mode, too. o) Give a virtual address for I/O ports on n64. o) On the Portwell CAM-0100, return the right IRQ for the on-board

svn commit: r213229 - in head/sys/dev: dc mii

2010-09-27 Thread Marius Strobl
Author: marius Date: Mon Sep 27 20:31:03 2010 New Revision: 213229 URL: http://svn.freebsd.org/changeset/base/213229 Log: Use the mii_data provided via mii_attach_args and mii_pdata respectively instead of reaching out for the softc of the parent. Modified: head/sys/dev/dc/dcphy.c

svn commit: r213230 - head/sys/mips/cavium

2010-09-27 Thread Juli Mallett
Author: jmallett Date: Mon Sep 27 20:35:40 2010 New Revision: 213230 URL: http://svn.freebsd.org/changeset/base/213230 Log: Give devices lots of time to settle around programming BARs and command registers. Without this, the settings do not seem to stick for Atheros NICs in the PCI slot

svn commit: r213231 - head/tools/regression/geom_eli

2010-09-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 27 21:10:37 2010 New Revision: 213231 URL: http://svn.freebsd.org/changeset/base/213231 Log: Correct message. Pointed out by: jhb MFC after:2 weeks Modified: head/tools/regression/geom_eli/resize.t Modified: head/tools/regression/geom_eli/resize.t

svn commit: r213234 - head/sys/dev/e1000

2010-09-27 Thread Jack F Vogel
Author: jfv Date: Tue Sep 28 00:13:15 2010 New Revision: 213234 URL: http://svn.freebsd.org/changeset/base/213234 Log: Update code from Intel: - Sync shared code with Intel internal - New client chipset support added - em driver - fixes to 82574, limit queues to 1 but

svn commit: r213235 - head/lib/libstand

2010-09-27 Thread Ed Maste
Author: emaste Date: Tue Sep 28 01:30:49 2010 New Revision: 213235 URL: http://svn.freebsd.org/changeset/base/213235 Log: Increase maximum network timeout from 20s to 120s. Given that an ETIMEDOUT return from sendrecv probably means a failure to boot we might as well be generous in the

svn commit: r213236 - head/sys/kern

2010-09-27 Thread Ed Maste
Author: emaste Date: Tue Sep 28 01:36:01 2010 New Revision: 213236 URL: http://svn.freebsd.org/changeset/base/213236 Log: Remove extra braces for style(9) (found while cleaning up an old work tree). Modified: head/sys/kern/subr_trap.c Modified: head/sys/kern/subr_trap.c

svn commit: r213237 - in head/sys: conf dev/gpio sys

2010-09-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Sep 28 03:24:53 2010 New Revision: 213237 URL: http://svn.freebsd.org/changeset/base/213237 Log: Initial GPIO bus support. Includes: - GPIO bus controller interface - GPIO bus interface - Implementation of GPIO led(4) compatible device - Implementation of

svn commit: r213238 - in head/usr.sbin: . gpioctl

2010-09-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Sep 28 03:28:20 2010 New Revision: 213238 URL: http://svn.freebsd.org/changeset/base/213238 Log: Add gpioctl(8). Utility for configuring/accessing GPIO pins Added: head/usr.sbin/gpioctl/ head/usr.sbin/gpioctl/Makefile (contents, props changed)

svn commit: r213239 - head/sys/mips/atheros

2010-09-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Sep 28 03:31:34 2010 New Revision: 213239 URL: http://svn.freebsd.org/changeset/base/213239 Log: Add AR71XX GPIO bus driver. Added: head/sys/mips/atheros/ar71xx_gpio.c (contents, props changed) head/sys/mips/atheros/ar71xx_gpiovar.h (contents, props changed)

svn commit: r213240 - head/sys/mips/conf

2010-09-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Sep 28 03:34:51 2010 New Revision: 213240 URL: http://svn.freebsd.org/changeset/base/213240 Log: Add GPIO bus to config and hints. Also add sample gpioled device. Modified: head/sys/mips/conf/AR71XX head/sys/mips/conf/AR71XX.hints Modified:

svn commit: r213241 - in head: include lib/libthr/thread

2010-09-27 Thread David Xu
Author: davidxu Date: Tue Sep 28 04:57:56 2010 New Revision: 213241 URL: http://svn.freebsd.org/changeset/base/213241 Log: In current code, statically initialized and destroyed object have same null value, the code can not distinguish between them, to fix the problem, now a destroyed object

svn commit: r213242 - stable/8/tools/tools/umastat

2010-09-27 Thread Andriy Gapon
Author: avg Date: Tue Sep 28 05:53:35 2010 New Revision: 213242 URL: http://svn.freebsd.org/changeset/base/213242 Log: MFC r212932,212949: tools/umastat: fix build on amd64 and more PR: misc/146119 Modified: stable/8/tools/tools/umastat/umastat.c Directory Properties:

svn commit: r213243 - stable/7/tools/tools/umastat

2010-09-27 Thread Andriy Gapon
Author: avg Date: Tue Sep 28 05:57:50 2010 New Revision: 213243 URL: http://svn.freebsd.org/changeset/base/213243 Log: MFC r212932,212949: tools/umastat: fix build on amd64 and more PR: misc/146119 Modified: stable/7/tools/tools/umastat/umastat.c Directory Properties: