svn commit: r224508 - stable/8/sys/cam/ata

2011-07-30 Thread Alexander Motin
Author: mav Date: Sat Jul 30 09:38:52 2011 New Revision: 224508 URL: http://svn.freebsd.org/changeset/base/224508 Log: r224283: Do not try to execute FLUSHCACHE on close and print extra messages for invalidated (considered lost) ada device. Exactly same already done for the da devices.

svn commit: r224509 - head/sys/dev/ath/ath_hal/ar5416

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:18:48 2011 New Revision: 224509 URL: http://svn.freebsd.org/changeset/base/224509 Log: Fix the AR9280 initial AGC calibration code. It looks like this was mixed up with the AR9285 calibration code. This code is now more in line with what Linux ath9k and

svn commit: r224510 - head/sys/dev/ath/ath_hal/ar5416

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:21:33 2011 New Revision: 224510 URL: http://svn.freebsd.org/changeset/base/224510 Log: I noticed that the Merlin NICs I had (AR9220, AR9280) never completed the ADC calibrations if the NIC is in 5ghz 11a or 5ghz HT/20 modes. I've been told that the

svn commit: r224511 - in head: lib/libusbhid usr.bin/usbhidaction usr.bin/usbhidctl

2011-07-30 Thread Alexander Motin
Author: mav Date: Sat Jul 30 13:22:44 2011 New Revision: 224511 URL: http://svn.freebsd.org/changeset/base/224511 Log: MFprojects/hid: - Fix usbhidctl and usbhidaction to handle HID devices with multiple report ids, such as multimedia keyboards. - Add collection type and report id to

svn commit: r224512 - head/sys/dev/ath/ath_hal/ar5416

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:25:11 2011 New Revision: 224512 URL: http://svn.freebsd.org/changeset/base/224512 Log: Bring over AR5416 specific RX filter get/set routines. This in particular fixes radar PHY handling - on the AR5212 NIC, one enables the AR_PHY_ERR_RADAR bit in

svn commit: r224514 - in head/sys/dev/ath/ath_hal: ar5212 ar5416

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:30:24 2011 New Revision: 224514 URL: http://svn.freebsd.org/changeset/base/224514 Log: Fix ANI handling to work correctly when (trying) to receive radar errors. * Teach the AR5212/AR5416 ANI code to use the RX filter methods, rather than calling the

svn commit: r224515 - head/sys/dev/ath/ath_hal/ar9002

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:31:27 2011 New Revision: 224515 URL: http://svn.freebsd.org/changeset/base/224515 Log: Fix the initial calibration sample count when doing ADC calibrations. Obtained from:Atheros Approved by: re (kib) Modified:

svn commit: r224516 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2011-07-30 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jul 30 13:33:05 2011 New Revision: 224516 URL: http://svn.freebsd.org/changeset/base/224516 Log: Introduce a tunable to disable the time consuming parts of bootup memtesting, which can easily save seconds to minutes of boot time. The tunable name is kept general to

svn commit: r224517 - head/sys/dev/ath/ath_hal/ar5416

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:34:57 2011 New Revision: 224517 URL: http://svn.freebsd.org/changeset/base/224517 Log: Fix AR5416 radar parameter initialisation. * I messed up the order of parameter true/false; oops! * AR_PHY_RADAR_1 was being written at the wrong place, and was

svn commit: r224518 - head/sys/dev/ath/ath_hal

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:37:38 2011 New Revision: 224518 URL: http://svn.freebsd.org/changeset/base/224518 Log: Prepare for embedded use of the AR9285/AR9287. Calibration/PCI data that's written to flash (rather than EEPROM attached to the NIC) is typically already in

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

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:45:12 2011 New Revision: 224519 URL: http://svn.freebsd.org/changeset/base/224519 Log: Introduce the FRAC_5G EEPROM parameter. This seems to indicate whether to program the NIC for fractional 5ghz mode (ie, 5mhz spaced channels, rather than 10 or 20mhz

svn commit: r224520 - head/sys/dev/ath/ath_dfs/null

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:46:41 2011 New Revision: 224520 URL: http://svn.freebsd.org/changeset/base/224520 Log: Fix incorrect error reporting during the dfs ioctl function. Approved by: re (kib) Modified: head/sys/dev/ath/ath_dfs/null/dfs_null.c Modified:

svn commit: r224521 - head/sys/kern

2011-07-30 Thread Konstantin Belousov
Author: kib Date: Sat Jul 30 14:12:37 2011 New Revision: 224521 URL: http://svn.freebsd.org/changeset/base/224521 Log: Fix the devmtx lock leak from make_dev(9) when the old device cloning failed due to invalid or duplicated path being generated. Reviewed by: jh Approved by: re

svn commit: r224522 - head/sys/vm

2011-07-30 Thread Konstantin Belousov
Author: kib Date: Sat Jul 30 14:13:57 2011 New Revision: 224522 URL: http://svn.freebsd.org/changeset/base/224522 Log: Fix a race in the device pager allocation. If another thread won and allocated the device pager for the given handle, then the object fictitious pages list and the object

Re: svn commit: r224490 - in stable/8/sys/dev/ata: . chipsets

2011-07-30 Thread Dimitry Andric
On 2011-07-29 23:58, Andriy Gapon wrote: Picking a random stable/8 sys commit: on 29/07/2011 12:58 Alexander Motin said the following: Modified: stable/8/sys/dev/ata/ata-pci.c stable/8/sys/dev/ata/ata-pci.h stable/8/sys/dev/ata/chipsets/ata-acard.c

Re: svn commit: r224496 - head/sys/cam

2011-07-30 Thread Kostik Belousov
On Fri, Jul 29, 2011 at 08:30:28PM +, Alexander Motin wrote: Author: mav Date: Fri Jul 29 20:30:28 2011 New Revision: 224496 URL: http://svn.freebsd.org/changeset/base/224496 Log: In some cases failed SATA disks may report their presence, but don't respond to any commands. I've

Re: svn commit: r224490 - in stable/8/sys/dev/ata: . chipsets

2011-07-30 Thread Andriy Gapon
on 30/07/2011 17:42 Dimitry Andric said the following: On 2011-07-29 23:58, Andriy Gapon wrote: Picking a random stable/8 sys commit: on 29/07/2011 12:58 Alexander Motin said the following: Modified: stable/8/sys/dev/ata/ata-pci.c stable/8/sys/dev/ata/ata-pci.h

svn commit: r224523 - head/contrib/gcc/cp

2011-07-30 Thread Martin Matuska
Author: mm Date: Sat Jul 30 17:27:29 2011 New Revision: 224523 URL: http://svn.freebsd.org/changeset/base/224523 Log: Fix invalid assertion of C++ external static data member declarations as anonymous namespaces are local to the current translation. GCC PR: c++/33094

svn commit: r224524 - head/contrib/gcc/cp

2011-07-30 Thread Martin Matuska
Author: mm Date: Sat Jul 30 17:40:11 2011 New Revision: 224524 URL: http://svn.freebsd.org/changeset/base/224524 Log: Fix accidential dos-style endings to unix-style line endings from last commit (r224523) to match the version approved by re@ Approved by: re (implicit) Modified:

svn commit: r224525 - head/cddl/contrib/opensolaris/lib/libzfs/common

2011-07-30 Thread Martin Matuska
Author: mm Date: Sat Jul 30 17:44:06 2011 New Revision: 224525 URL: http://svn.freebsd.org/changeset/base/224525 Log: Fix wrong initialization of cmd for calling the jail/unjail ioctl. Reviewed by: pjd@, delphij@ Approved by: re (kib) MFC after:3 days Modified:

Re: svn commit: r224490 - in stable/8/sys/dev/ata: . chipsets

2011-07-30 Thread Ryan Stone
On Sat, Jul 30, 2011 at 1:26 PM, Andriy Gapon a...@freebsd.org wrote: Maybe my question was not clear enough, so I'll ask it differently. Why do we have mergeinfo on stable/8/sys/geom/label now? Looks like r224301 was improperly merged. http://svn.freebsd.org/changeset/base/224301

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

2011-07-30 Thread Martin Matuska
Author: mm Date: Sat Jul 30 19:00:31 2011 New Revision: 224526 URL: http://svn.freebsd.org/changeset/base/224526 Log: Fix serious bug in ZIL that can lead to pool corruption in the case of a held dataset during remount. Detailed description is available at:

Re: svn commit: r224516 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2011-07-30 Thread John Baldwin
On Jul 30, 2011, at 9:33 AM, Bjoern A. Zeeb wrote: Author: bz Date: Sat Jul 30 13:33:05 2011 New Revision: 224516 URL: http://svn.freebsd.org/changeset/base/224516 Log: Introduce a tunable to disable the time consuming parts of bootup memtesting, which can easily save seconds to

svn commit: r224527 - head/sys/kern

2011-07-30 Thread Andriy Gapon
Author: avg Date: Sat Jul 30 20:29:39 2011 New Revision: 224527 URL: http://svn.freebsd.org/changeset/base/224527 Log: smp_rendezvous: master cpu should wait until all slaves are fully done This is a followup to r222032 and a reimplementation of it. While that revision fixed the race for

svn commit: r224528 - in head: release/doc/en_US.ISO8859-1/hardware share/man/man4 tools/tools/sysdoc

2011-07-30 Thread Andriy Gapon
Author: avg Date: Sat Jul 30 20:42:14 2011 New Revision: 224528 URL: http://svn.freebsd.org/changeset/base/224528 Log: update smp related documentation after recent changes Remove references to machdep.hlt_logical_cpus and machdep.hlt_cpus sysctls and tunables. Document

Re: svn commit: r224523 - head/contrib/gcc/cp

2011-07-30 Thread Roman Divacky
Why are we compiling our in-tree gcc with assertions enabled in the first place? On Sat, Jul 30, 2011 at 05:27:29PM +, Martin Matuska wrote: Author: mm Date: Sat Jul 30 17:27:29 2011 New Revision: 224523 URL: http://svn.freebsd.org/changeset/base/224523 Log: Fix invalid assertion of

Re: svn commit: r224496 - head/sys/cam

2011-07-30 Thread Alexander Motin
Kostik Belousov wrote: On Fri, Jul 29, 2011 at 08:30:28PM +, Alexander Motin wrote: Author: mav Date: Fri Jul 29 20:30:28 2011 New Revision: 224496 URL: http://svn.freebsd.org/changeset/base/224496 Log: In some cases failed SATA disks may report their presence, but don't respond

svn commit: r224529 - head/release/doc/en_US.ISO8859-1/hardware

2011-07-30 Thread Andriy Gapon
Author: avg Date: Sat Jul 30 21:09:45 2011 New Revision: 224529 URL: http://svn.freebsd.org/changeset/base/224529 Log: fix a typo/tautology in the release documentation Approved by: re (kib) MFC after:1 week Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml

Re: svn commit: r224496 - head/sys/cam

2011-07-30 Thread Andriy Gapon
on 30/07/2011 23:47 Alexander Motin said the following: Kostik Belousov wrote: On Fri, Jul 29, 2011 at 08:30:28PM +, Alexander Motin wrote: Author: mav Date: Fri Jul 29 20:30:28 2011 New Revision: 224496 URL: http://svn.freebsd.org/changeset/base/224496 Log: In some cases failed

svn commit: r224530 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf geom/label

2011-07-30 Thread John Baldwin
Author: jhb Date: Sat Jul 30 21:28:34 2011 New Revision: 224530 URL: http://svn.freebsd.org/changeset/base/224530 Log: Host mergeinfo for 219400 up to sys/ and out of sys/geom/label. Modified: Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props

Re: svn commit: r224516 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2011-07-30 Thread Bruce Evans
On Sat, 30 Jul 2011, John Baldwin wrote: On Jul 30, 2011, at 9:33 AM, Bjoern A. Zeeb wrote: Author: bz Date: Sat Jul 30 13:33:05 2011 New Revision: 224516 URL: http://svn.freebsd.org/changeset/base/224516 Log: Introduce a tunable to disable the time consuming parts of bootup memtesting,

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

2011-07-30 Thread Joel Dahl
Author: joel (doc committer) Date: Sat Jul 30 23:09:52 2011 New Revision: 224533 URL: http://svn.freebsd.org/changeset/base/224533 Log: Add a better description, a few examples and a couple of minor fixes. Reviewed by: brueffer Approved by: re (kib) Modified:

Re: svn commit: r224516 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2011-07-30 Thread Bruce Evans
On Sun, 31 Jul 2011, Bruce Evans wrote: ... In the whole kernel, 155 lines match TUNABLE.*FETCH and 14 of these match 'if ('. Some of the 14 are not wrong. About 1/3 of them are for dubious use in memory sizing. E.g., in amd64/machdep.c: % realmem = Maxmem; The unprobed Maxmem

svn commit: r224534 - stable/8/sys/fs/nfs

2011-07-30 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 30 23:42:15 2011 New Revision: 224534 URL: http://svn.freebsd.org/changeset/base/224534 Log: MFC: r224117 The new NFSv4 client handled NFSERR_GRACE as a fatal error for the remove and rename operations. Some NFSv4 servers will report NFSERR_GRACE for these

svn commit: r224535 - head/usr.sbin/pw

2011-07-30 Thread Xin LI
Author: delphij Date: Sun Jul 31 03:00:00 2011 New Revision: 224535 URL: http://svn.freebsd.org/changeset/base/224535 Log: Backout r223115 which potentially caused a POLA violation, by restoring historic behavior (create the default base directory in pw.conf) before I came up with a better

svn commit: r224536 - head/libexec/tftpd

2011-07-30 Thread Craig Rodrigues
Author: rodrigc Date: Sun Jul 31 03:12:20 2011 New Revision: 224536 URL: http://svn.freebsd.org/changeset/base/224536 Log: In the old TFTP server, there was an undocumented behavior where the block counter would rollover to 0 if a file larger than 65535 blocks was transferred. With the

svn commit: r224537 - head/libexec/tftpd

2011-07-30 Thread Craig Rodrigues
Author: rodrigc Date: Sun Jul 31 03:18:36 2011 New Revision: 224537 URL: http://svn.freebsd.org/changeset/base/224537 Log: Pull in some wording to the tftpd.8 man page from NetBSD, with some slight changes:

svn commit: r224538 - head/sys/dev/ath/ath_hal

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sun Jul 31 03:33:02 2011 New Revision: 224538 URL: http://svn.freebsd.org/changeset/base/224538 Log: Add some more phyerr bits. Obtained from:Atheros Approved by: re (kib) Modified: head/sys/dev/ath/ath_hal/ah_desc.h Modified:

svn commit: r224539 - head/sys/dev/ath/ath_hal

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sun Jul 31 05:01:42 2011 New Revision: 224539 URL: http://svn.freebsd.org/changeset/base/224539 Log: Add extra flags for the radar event API. (They're not used by any public code at the current time.) Approved by: re (kib) Modified: head/sys/dev/ath/ath_hal/ah.h