svn commit: r247389 - head/sys/kern

2013-02-26 Thread Konstantin Belousov
Author: kib Date: Wed Feb 27 07:34:09 2013 New Revision: 247389 URL: http://svnweb.freebsd.org/changeset/base/247389 Log: Make recursive getblk() slightly more useful. Keep the buffer state intact if getblk() is done on the already owned buffer. Exit from brelse() early when the lock recur

svn commit: r247388 - in head/sys: sys ufs/ffs ufs/ufs

2013-02-26 Thread Konstantin Belousov
Author: kib Date: Wed Feb 27 07:32:39 2013 New Revision: 247388 URL: http://svnweb.freebsd.org/changeset/base/247388 Log: The softdep freeblks workitem might hold a reference on the dquot. Current dqflush() panics when a dquot with with non-zero refcount is encountered. The situation is pos

svn commit: r247387 - head/sys/ufs/ffs

2013-02-26 Thread Konstantin Belousov
Author: kib Date: Wed Feb 27 07:31:23 2013 New Revision: 247387 URL: http://svnweb.freebsd.org/changeset/base/247387 Log: An inode block must not be blockingly read while cg block is owned. The order is inode buffer lock -> snaplk -> cg buffer lock, reversing the order causes deadlocks.

svn commit: r247386 - head/contrib/binutils/gas/config

2013-02-26 Thread Andrew Turner
Author: andrew Date: Wed Feb 27 06:53:15 2013 New Revision: 247386 URL: http://svnweb.freebsd.org/changeset/base/247386 Log: Clear the memory allocated to build the unwind tables. This fixes C++ exceptions on ARM EABI with static binaries. Modified: head/contrib/binutils/gas/config/tc-arm.c

svn commit: r247382 - head/sys/dev/msk

2013-02-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Feb 27 05:03:35 2013 New Revision: 247382 URL: http://svnweb.freebsd.org/changeset/base/247382 Log: RX checksum offloading on old Yukon controllers seem to cause more problems. Disable RX checksum offloading on controllers that don't use new descriptor format but g

Re: svn commit: r247300 - in head: sys/sys usr.bin/truss

2013-02-26 Thread Bruce Evans
On Tue, 26 Feb 2013, Davide Italiano wrote: On Tue, Feb 26, 2013 at 7:35 PM, John Baldwin wrote: On Tuesday, February 26, 2013 12:09:42 pm Davide Italiano wrote: On Tue, Feb 26, 2013 at 3:41 PM, John Baldwin wrote: On Monday, February 25, 2013 9:13:02 pm Xin LI wrote: Author: delphij Date:

svn commit: r247372 - head/sys/dev/ath/ath_rate/sample

2013-02-26 Thread Adrian Chadd
Author: adrian Date: Wed Feb 27 04:33:06 2013 New Revision: 247372 URL: http://svnweb.freebsd.org/changeset/base/247372 Log: I give up - just throw the EWMA update into the normal update_stats() routine. There were still corner cases where the EWMA update stats are being called on a rix

svn commit: r247370 - head/sbin/geom/class/part

2013-02-26 Thread Benno Rice
Author: benno Date: Wed Feb 27 03:43:16 2013 New Revision: 247370 URL: http://svnweb.freebsd.org/changeset/base/247370 Log: Fix typo in EFI GPT GUID. Modified: head/sbin/geom/class/part/gpart.8 Modified: head/sbin/geom/class/part/gpart.8 ==

svn commit: r247369 - head/sys/dev/mfi

2013-02-26 Thread Steven Hartland
Author: smh Date: Wed Feb 27 02:21:10 2013 New Revision: 247369 URL: http://svnweb.freebsd.org/changeset/base/247369 Log: Fixes queuing issues where mfi_release_command blindly sets the cm_flags = 0 without first removing the command from the relavent queue. This was causing panics in the

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

2013-02-26 Thread Adrian Chadd
Author: adrian Date: Wed Feb 27 00:49:32 2013 New Revision: 247368 URL: http://svnweb.freebsd.org/changeset/base/247368 Log: Enable STBC for the given rate series if it's negotiated: * If both ends have negotiated (at least) one stream; * Only if it's a single stream rate (MCS0-7); * On

svn commit: r247367 - head/sys/dev/mfi

2013-02-26 Thread Steven Hartland
Author: smh Date: Wed Feb 27 00:35:40 2013 New Revision: 247367 URL: http://svnweb.freebsd.org/changeset/base/247367 Log: Fixes mfi panic on recused on non-recusive mutex MFI I/O lock Removes a mtx_unlock call for mfi_io_lock which is never aquired While I'm here fix a braceing style i

svn commit: r247366 - in head/sys/dev/ath: . ath_hal

2013-02-26 Thread Adrian Chadd
Author: adrian Date: Wed Feb 27 00:25:44 2013 New Revision: 247366 URL: http://svnweb.freebsd.org/changeset/base/247366 Log: Add in the STBC TX/RX capability support into the HAL and driver. The HAL already included the STBC fields; it just needed to be exposed to the driver and net80211

Re: svn commit: r247274 - in head: bin/test tools/regression/bin/test

2013-02-26 Thread Greg 'groggy' Lehey
On Tuesday, 26 February 2013 at 1:02:27 +0100, Jilles Tjoelker wrote: > On Mon, Feb 25, 2013 at 07:05:41PM +, Peter Jeremy wrote: >> Author: peterj >> Date: Mon Feb 25 19:05:40 2013 >> New Revision: 247274 >> URL: http://svnweb.freebsd.org/changeset/base/247274 > >> Log: >> Enhance test(1) b

svn commit: r247360 - in head/sys: arm/arm powerpc/booke vm

2013-02-26 Thread Attilio Rao
Author: attilio Date: Tue Feb 26 23:35:27 2013 New Revision: 247360 URL: http://svnweb.freebsd.org/changeset/base/247360 Log: Merge from vmc-playground branch: Replace the sub-optimal uma_zone_set_obj() primitive with more modern uma_zone_reserve_kva(). The new primitive reserves before han

svn commit: r247359 - head/sbin/reboot

2013-02-26 Thread Nick Hibma
Author: n_hibma Date: Tue Feb 26 23:18:35 2013 New Revision: 247359 URL: http://svnweb.freebsd.org/changeset/base/247359 Log: Clarify that overriding the -h/-D flags through flags in device.hints only works for sio(4) but not for uart(4) which no longer has this flag. Modified: head/sbin/re

svn commit: r247356 - head/sys/dev/isp

2013-02-26 Thread Matt Jacob
Author: mjacob Date: Tue Feb 26 21:37:12 2013 New Revision: 247356 URL: http://svnweb.freebsd.org/changeset/base/247356 Log: Remove redundant xpt_alloc_ccb in isp_target_thread that was causing leakage. Pointed out by: Sascha Wildner of DragonFly BSD MFC after:1 week Modified:

svn commit: r247355 - head/sys/dev/cxgbe/common

2013-02-26 Thread Navdeep Parhar
Author: np Date: Tue Feb 26 21:25:17 2013 New Revision: 247355 URL: http://svnweb.freebsd.org/changeset/base/247355 Log: cxgbe(4): Report unusual out of band errors from the firmware. Obtained from:Chelsio MFC after:5 days Modified: head/sys/dev/cxgbe/common/t4_hw.c Modifi

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

2013-02-26 Thread Martin Matuska
Author: mm Date: Tue Feb 26 20:41:27 2013 New Revision: 247348 URL: http://svnweb.freebsd.org/changeset/base/247348 Log: Be more verbose on ZFS deadman I/O panic Patch suggested upstream. Suggested by: Olivier Cinquin MFC after:12 days Modified: head/sys/cddl/contrib/opensolaris/

svn commit: r247347 - in head: share/man/man4 sys/dev/cxgbe sys/dev/cxgbe/common

2013-02-26 Thread Navdeep Parhar
Author: np Date: Tue Feb 26 20:35:54 2013 New Revision: 247347 URL: http://svnweb.freebsd.org/changeset/base/247347 Log: cxgbe(4): Consider all the API versions of the interfaces exported by the firmware (instead of just the main firmware version) when evaluating firmware compatibility. Doc

svn commit: r247346 - head/sys/vm

2013-02-26 Thread Attilio Rao
Author: attilio Date: Tue Feb 26 20:35:40 2013 New Revision: 247346 URL: http://svnweb.freebsd.org/changeset/base/247346 Log: Remove white spaces. Sponsored by: EMC / Isilon storage division Modified: head/sys/vm/vm_object.c head/sys/vm/vnode_pager.c Modified: head/sys/vm/vm_object.c

svn commit: r247345 - head/sbin/hastctl

2013-02-26 Thread Mikolaj Golub
Author: trociny Date: Tue Feb 26 20:19:45 2013 New Revision: 247345 URL: http://svnweb.freebsd.org/changeset/base/247345 Log: Fix casting. MFC after:3 days Modified: head/sbin/hastctl/hastctl.c Modified: head/sbin/hastctl/hastctl.c ===

Re: svn commit: r247300 - in head: sys/sys usr.bin/truss

2013-02-26 Thread Davide Italiano
On Tue, Feb 26, 2013 at 8:03 PM, Xin Li wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 02/26/13 09:09, Davide Italiano wrote: >> On Tue, Feb 26, 2013 at 3:41 PM, John Baldwin >> wrote: >>> On Monday, February 25, 2013 9:13:02 pm Xin LI wrote: Author: delphij Date: Tue Feb

svn commit: r247342 - head/usr.sbin/bhyve

2013-02-26 Thread Neel Natu
Author: neel Date: Tue Feb 26 20:02:17 2013 New Revision: 247342 URL: http://svnweb.freebsd.org/changeset/base/247342 Log: Ignore the BARRIER flag in the virtio block header. This capability is not advertised by the host so ignore it even if the guest insists on setting the flag. Rev

svn commit: r247341 - head/sys/arm/include

2013-02-26 Thread Olivier Houchard
Author: cognet Date: Tue Feb 26 20:01:05 2013 New Revision: 247341 URL: http://svnweb.freebsd.org/changeset/base/247341 Log: Export vfp_init() prototype, for use in the MP code. Modified: head/sys/arm/include/vfp.h Modified: head/sys/arm/include/vfp.h

svn commit: r247340 - head/sys/arm/arm

2013-02-26 Thread Olivier Houchard
Author: cognet Date: Tue Feb 26 19:59:52 2013 New Revision: 247340 URL: http://svnweb.freebsd.org/changeset/base/247340 Log: Fix SMP build. Modified: head/sys/arm/arm/vfp.c Modified: head/sys/arm/arm/vfp.c == --- hea

svn commit: r247339 - head/sys/arm/arm

2013-02-26 Thread Olivier Houchard
Author: cognet Date: Tue Feb 26 19:58:49 2013 New Revision: 247339 URL: http://svnweb.freebsd.org/changeset/base/247339 Log: Don't forget to init the VFP stuff for all cores. Modified: head/sys/arm/arm/mp_machdep.c Modified: head/sys/arm/arm/mp_machdep.c =

svn commit: r247338 - in head: sys/sys usr.bin/truss

2013-02-26 Thread Xin LI
Author: delphij Date: Tue Feb 26 19:46:59 2013 New Revision: 247338 URL: http://svnweb.freebsd.org/changeset/base/247338 Log: Revert r247300 for now. I'll post a new changeset for review. Modified: head/sys/sys/time.h head/usr.bin/truss/main.c head/usr.bin/truss/syscalls.c head/usr.bin

svn commit: r247337 - head/lib/libkiconv

2013-02-26 Thread John-Mark Gurney
Author: jmg Date: Tue Feb 26 19:46:02 2013 New Revision: 247337 URL: http://svnweb.freebsd.org/changeset/base/247337 Log: no one bothered to write the iconv.9 man page... If it appears we can readd the xref... MFC: 1 week Modified: head/lib/libkiconv/kiconv.3 Modified: head/lib/libk

Re: svn commit: r247300 - in head: sys/sys usr.bin/truss

2013-02-26 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/26/13 10:35, John Baldwin wrote: > On Tuesday, February 26, 2013 12:09:42 pm Davide Italiano wrote: >> On Tue, Feb 26, 2013 at 3:41 PM, John Baldwin >> wrote: >>> On Monday, February 25, 2013 9:13:02 pm Xin LI wrote: Author: delphij Date:

Re: svn commit: r247300 - in head: sys/sys usr.bin/truss

2013-02-26 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/26/13 09:09, Davide Italiano wrote: > On Tue, Feb 26, 2013 at 3:41 PM, John Baldwin > wrote: >> On Monday, February 25, 2013 9:13:02 pm Xin LI wrote: >>> Author: delphij Date: Tue Feb 26 02:13:02 2013 New Revision: >>> 247300 URL: http://svnwe

Re: svn commit: r247300 - in head: sys/sys usr.bin/truss

2013-02-26 Thread Davide Italiano
On Tue, Feb 26, 2013 at 7:35 PM, John Baldwin wrote: > On Tuesday, February 26, 2013 12:09:42 pm Davide Italiano wrote: >> On Tue, Feb 26, 2013 at 3:41 PM, John Baldwin wrote: >> > On Monday, February 25, 2013 9:13:02 pm Xin LI wrote: >> >> Author: delphij >> >> Date: Tue Feb 26 02:13:02 2013 >>

Re: svn commit: r247300 - in head: sys/sys usr.bin/truss

2013-02-26 Thread John Baldwin
On Tuesday, February 26, 2013 12:09:42 pm Davide Italiano wrote: > On Tue, Feb 26, 2013 at 3:41 PM, John Baldwin wrote: > > On Monday, February 25, 2013 9:13:02 pm Xin LI wrote: > >> Author: delphij > >> Date: Tue Feb 26 02:13:02 2013 > >> New Revision: 247300 > >> URL: http://svnweb.freebsd.org/c

svn commit: r247334 - head/sys/dev/random

2013-02-26 Thread Xin LI
Author: delphij Date: Tue Feb 26 18:33:23 2013 New Revision: 247334 URL: http://svnweb.freebsd.org/changeset/base/247334 Log: Correct a typo introduced in r153575, which gives inverted logic when handling blocking semantics when seeding. PR: kern/143298 Submitted by: James Jur

svn commit: r247332 - head/sys/dev/cpufreq

2013-02-26 Thread John Baldwin
Author: jhb Date: Tue Feb 26 18:30:47 2013 New Revision: 247332 URL: http://svnweb.freebsd.org/changeset/base/247332 Log: Add a quirk to disable this driver for certain older laptops with an ICH2 southbridge and an Intel 82815_MC host bridge where the host bridge's revision is less than 5.

svn commit: r247329 - in head: lib/libpmc sys/dev/hwpmc sys/kern

2013-02-26 Thread Alexander Motin
Author: mav Date: Tue Feb 26 18:13:42 2013 New Revision: 247329 URL: http://svnweb.freebsd.org/changeset/base/247329 Log: Add support for good old 8192Hz profiling clock to software PMC. Reviewed by: fabient Modified: head/lib/libpmc/pmc.soft.3 head/sys/dev/hwpmc/hwpmc_soft.c head/s

svn commit: r247323 - head/sys/vm

2013-02-26 Thread Attilio Rao
Author: attilio Date: Tue Feb 26 17:22:08 2013 New Revision: 247323 URL: http://svnweb.freebsd.org/changeset/base/247323 Log: Wrap the sleeps synchronized by the vm_object lock into the specific macro VM_OBJECT_SLEEP(). This hides some implementation details like the usage of the msleep()

Re: svn commit: r247300 - in head: sys/sys usr.bin/truss

2013-02-26 Thread Davide Italiano
On Tue, Feb 26, 2013 at 3:41 PM, John Baldwin wrote: > On Monday, February 25, 2013 9:13:02 pm Xin LI wrote: >> Author: delphij >> Date: Tue Feb 26 02:13:02 2013 >> New Revision: 247300 >> URL: http://svnweb.freebsd.org/changeset/base/247300 >> >> Log: >> Expose timespec and timeval macros when

Re: svn commit: r247300 - in head: sys/sys usr.bin/truss

2013-02-26 Thread John Baldwin
On Monday, February 25, 2013 9:13:02 pm Xin LI wrote: > Author: delphij > Date: Tue Feb 26 02:13:02 2013 > New Revision: 247300 > URL: http://svnweb.freebsd.org/changeset/base/247300 > > Log: > Expose timespec and timeval macros when __BSD_VISIBLE is defined. This > allows userland applicatio

svn commit: r247318 - head/sys/dev/hwpmc

2013-02-26 Thread Alexander Motin
Author: mav Date: Tue Feb 26 13:59:39 2013 New Revision: 247318 URL: http://svnweb.freebsd.org/changeset/base/247318 Log: Change the way how software PMC updates counters. This at least fixes -n option of pmcstat. Reviewed by: fabient Modified: head/sys/dev/hwpmc/hwpmc_soft.c Modifie

svn commit: r247317 - head/sys/dev/ath/ath_rate/sample

2013-02-26 Thread Adrian Chadd
Author: adrian Date: Tue Feb 26 10:24:49 2013 New Revision: 247317 URL: http://svnweb.freebsd.org/changeset/base/247317 Log: Update the EWMA statistics for each intermediary rate as well as the final rate. This fixes two things: * The intermediary rates now also have their EWMA value

svn commit: r247314 - head/sys/arm/include

2013-02-26 Thread Alan Cox
Author: alc Date: Tue Feb 26 08:17:34 2013 New Revision: 247314 URL: http://svnweb.freebsd.org/changeset/base/247314 Log: Be more conservative in auto-sizing and capping the kmem submap. In fact, use the same values here that we use on 32-bit x86 and MIPS. Some machines were reported to ha

Re: svn commit: r247116 - in head/sys: fs/nfs fs/nfsclient kern nfsclient sys tools

2013-02-26 Thread Andrew Turner
On Tue, 26 Feb 2013 01:49:42 -0600 Alan Cox wrote: > On 02/26/2013 01:27, Andrew Turner wrote: > > On Mon, 25 Feb 2013 15:00:41 -0600 > > Alan Cox wrote: > > > >> On Feb 25, 2013, at 4:36 AM, Andrew Turner wrote: > >> > >>> On Mon, 25 Feb 2013 10:50:19 +0200 > >>> Konstantin Belousov wrote: > >