svn commit: r227332 - in head/sys: amd64/conf i386/conf

2011-11-08 Thread Kevin Lo
Author: kevlo Date: Tue Nov 8 08:29:05 2011 New Revision: 227332 URL: http://svn.freebsd.org/changeset/base/227332 Log: Enable PCI MMC/SD support by default on i386 and amd64 Modified: head/sys/amd64/conf/GENERIC head/sys/i386/conf/GENERIC Modified: head/sys/amd64/conf/GENERIC

svn commit: r227333 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/kern sys/mips/conf sys/pc98/conf sys/powerpc/conf sys/sparc64/conf

2011-11-08 Thread Attilio Rao
performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +2008: + The option VFS_ALLOW_NONMPSAFE option has been added in order to + explicitely support non-MPSAFE filesystems. + It is on by default for all supported platform at this present + time

Re: svn commit: r227310 - head/sys/fs/tmpfs

2011-11-08 Thread Gennady Proskurin
TMPFS is not usable without swap, it should have better algorithms to adjust it's size, depending on amount of memory/swap available. # swapoff -a # swapinfo Device 1K-blocks UsedAvail Capacity # top Mem: 253M Active, 282M Inact, 933M Wired, 3972K Cache, 135M Buf, 491M Free

Re: svn commit: r227310 - head/sys/fs/tmpfs

2011-11-08 Thread Gleb Kurtsou
On (07/11/2011 12:01), Xin LI wrote: On Mon, Nov 7, 2011 at 8:21 AM, Marcel Moolenaar mar...@freebsd.org wrote: Author: marcel Date: Mon Nov  7 16:21:50 2011 New Revision: 227310 URL: http://svn.freebsd.org/changeset/base/227310 Log:  Don astbestos garment and remove the warning

svn commit: r227335 - head/usr.bin/du

2011-11-08 Thread Ed Schouten
Author: ed Date: Tue Nov 8 11:36:46 2011 New Revision: 227335 URL: http://svn.freebsd.org/changeset/base/227335 Log: Simplify getopt switch parsing. Only one of these flags can be set. Just add them together and check the value. Also, get rid of the listall variable. The code is already

svn commit: r227338 - head/sys/net80211

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 14:28:33 2011 New Revision: 227338 URL: http://svn.freebsd.org/changeset/base/227338 Log: Reject frames in STA mode which are not destined to the local STA address. Some hardware (eg the AR9160 in STA mode) seems to leak unicast FROMDS frames which aren't

svn commit: r227339 - head/sys/net80211

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 14:34:01 2011 New Revision: 227339 URL: http://svn.freebsd.org/changeset/base/227339 Log: .. add missing include from an incorrect merge. Sponsored by: Hobnob, Inc. Modified: head/sys/net80211/ieee80211_sta.c Modified: head/sys/net80211/ieee80211_sta.c

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 14:46:03 2011 New Revision: 227340 URL: http://svn.freebsd.org/changeset/base/227340 Log: Some cosmetic fixes to ath_rate_sample. * Use 64 bit integer types for the sample rate statistics. When TX'ing 11n aggregates, a 32 bit counter will overflow in a

svn commit: r227341 - head/sys/sys

2011-11-08 Thread John Baldwin
Author: jhb Date: Tue Nov 8 14:47:28 2011 New Revision: 227341 URL: http://svn.freebsd.org/changeset/base/227341 Log: Claim that _POSIX_ADVISORY_INFO is fully supported since posix_fadvise() was added. Submitted by: avilla Discussed with: wollman Modified:

svn commit: r227342 - head/sys/kern

2011-11-08 Thread Ryan Stone
Author: rstone Date: Tue Nov 8 15:17:54 2011 New Revision: 227342 URL: http://svn.freebsd.org/changeset/base/227342 Log: The in-kernel CTF parser caches the result of its first attempt to parse CTF data from a module. On subsequent attempts to retrieve CTF data for a module, return an

svn commit: r227343 - in head/sys: kern sys tools

2011-11-08 Thread Ed Schouten
Author: ed Date: Tue Nov 8 15:38:21 2011 New Revision: 227343 URL: http://svn.freebsd.org/changeset/base/227343 Log: Make kobj_methods constant. These structures hold no information that is modified during runtime. By marking this constant, we see approximately 600 symbols become

Re: svn commit: r227310 - head/sys/fs/tmpfs

2011-11-08 Thread Marcel Moolenaar
On Nov 8, 2011, at 2:26 AM, Gennady Proskurin wrote: TMPFS is not usable without swap, it should have better algorithms to adjust it's size, depending on amount of memory/swap available. # swapoff -a # swapinfo Device 1K-blocks UsedAvail Capacity # top Mem: 253M

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 17:08:12 2011 New Revision: 227344 URL: http://svn.freebsd.org/changeset/base/227344 Log: Migrate the STAILQ lists to TAILQs. A bunch of the 11n TX aggregation logic wants to traverse lists of buffers in various ways. In order to provide O(1) behaviour in

svn commit: r227345 - in head/tools/tools/netrate: netblast netreceive netsend

2011-11-08 Thread Olivier Houchard
Author: cognet Date: Tue Nov 8 17:23:43 2011 New Revision: 227345 URL: http://svn.freebsd.org/changeset/base/227345 Log: Add IPv6 support to netblast/netsend/netreceive PR: bin/161368 Submitted by: Olivier Cochard-Labbe olivier AT cochard doT me Modified:

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 18:10:04 2011 New Revision: 227346 URL: http://svn.freebsd.org/changeset/base/227346 Log: Merge in some fixes from the if_ath_tx branch. * Close down some of the kickpcu races, where the interrupt handler can and will run concurrently with the taskqueue.

svn commit: r227347 - in head/sys: conf dev/ti

2011-11-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 8 18:23:02 2011 New Revision: 227347 URL: http://svn.freebsd.org/changeset/base/227347 Log: Retire 'options TI_PRIVATE_JUMBOS' and replace local jumbo allocator with UMA backed jumbo allocator by default. Previously ti(4) used sf_buf(9) interface for jumbo

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

2011-11-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 8 18:35:11 2011 New Revision: 227348 URL: http://svn.freebsd.org/changeset/base/227348 Log: ti(4) supports altq(4). Modified: head/share/man/man4/altq.4 Modified: head/share/man/man4/altq.4

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

2011-11-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 8 18:36:59 2011 New Revision: 227349 URL: http://svn.freebsd.org/changeset/base/227349 Log: Document TI_SF_BUF_JUMBO and Xr altq. Modified: head/share/man/man4/ti.4 Modified: head/share/man/man4/ti.4

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 18:37:52 2011 New Revision: 227350 URL: http://svn.freebsd.org/changeset/base/227350 Log: Conditionally compile the PCI latency workaround; I think it's only required for some earlier NICs. Modified: head/sys/dev/ath/if_ath_pci.c Modified:

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 18:45:15 2011 New Revision: 227351 URL: http://svn.freebsd.org/changeset/base/227351 Log: Preparation for correct 802.11n tx/rx handling. * Change ath_rx_proc() to ath_rx_tasklet(); make that the taskqueue function. This way (eventually) ath_rx_proc()

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 18:48:26 2011 New Revision: 227352 URL: http://svn.freebsd.org/changeset/base/227352 Log: Break out the node cleanup and node free path, in preparation for doing software TX queue management. The software queued TX frames will be freed by the new cleanup

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 18:56:52 2011 New Revision: 227353 URL: http://svn.freebsd.org/changeset/base/227353 Log: In preparation for supporting 11n TX/RX properly, allow for TX queue draining and interface resets to be marked as ATH_RESET_DEFAULT, ATH_RESET_FULL, ATH_RESET_NOLOSS.

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 19:02:59 2011 New Revision: 227354 URL: http://svn.freebsd.org/changeset/base/227354 Log: Add KTR tracepoints to the ath driver, in order to debug TX, RX and interrupt handling. Sponsored by: Hobnob, Inc. Modified: head/sys/dev/ath/if_ath.c Modified:

svn commit: r227355 - head/usr.bin/procstat

2011-11-08 Thread Mikolaj Golub
Author: trociny Date: Tue Nov 8 19:14:15 2011 New Revision: 227355 URL: http://svn.freebsd.org/changeset/base/227355 Log: Bumb date after r227317. Reminded by: pluknet Modified: head/usr.bin/procstat/procstat.1 Modified: head/usr.bin/procstat/procstat.1

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 19:18:34 2011 New Revision: 227356 URL: http://svn.freebsd.org/changeset/base/227356 Log: Some more various fixes, etc from my 11n branch. * When doing software TX queue handling and flush, it's possible that the deletion of a VAP (eg a STA shutdown)

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 19:25:52 2011 New Revision: 227357 URL: http://svn.freebsd.org/changeset/base/227357 Log: Add a 'vap' to ath_keyset(). Add some code (which is currently disabled) which modifies the group multicast key cache behaviour. I haven't yet figured out what the

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 21:13:05 2011 New Revision: 227359 URL: http://svn.freebsd.org/changeset/base/227359 Log: Change ath_buf allocation to: * Immediately return NULL if a buffer isn't available; * Track the buffers not available count; * Clear some fields used for tx

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 21:25:36 2011 New Revision: 227360 URL: http://svn.freebsd.org/changeset/base/227360 Log: Change the descriptor logic to use bf_lastds to point to the last descriptor, rather than using the maths involving bf_desc[bf_nseg - 1]. When doing TX aggregation,

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 21:49:33 2011 New Revision: 227361 URL: http://svn.freebsd.org/changeset/base/227361 Log: Refactor out the TX buffer management and completion code in preparation for TX aggregation. * Add in logic which calls ath_buf bf-bf_comp if it's set. This

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 21:55:40 2011 New Revision: 227362 URL: http://svn.freebsd.org/changeset/base/227362 Log: Make sure TXEOL is set on default queues. Otherwise we don't get an interrupt on the completion of a TX queue and this can cause TX hangs / timeout. Sponsored by:

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 22:01:03 2011 New Revision: 227363 URL: http://svn.freebsd.org/changeset/base/227363 Log: Add support to the TX descriptor printing code to follow ath_buf chains. This allows for debugging of aggregate frames. Sponsored by: Hobnob, Inc. Modified:

svn commit: r227364 - in head/sys/dev/ath: . ath_rate/amrr ath_rate/onoe ath_rate/sample

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 22:43:13 2011 New Revision: 227364 URL: http://svn.freebsd.org/changeset/base/227364 Log: Introduce TX aggregation and software TX queue management for Atheros AR5416 and later wireless devices. This is a very large commit - the complete history can be

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 22:50:28 2011 New Revision: 227365 URL: http://svn.freebsd.org/changeset/base/227365 Log: Fix the KTR option to compile by default - it was referencing some unmerged interrupt status debugging code from my branch. * Add ah_intrstate[8] which will have the

svn commit: r227367 - head/sys/conf

2011-11-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 8 23:19:22 2011 New Revision: 227367 URL: http://svn.freebsd.org/changeset/base/227367 Log: Comment out TI_JUMBO_HDRSPLIT. TI_JUMBO_HDRSPLIT requires TI_SF_BUF_JUMBO. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES

svn commit: r227368 - head/usr.sbin/pc-sysinstall/backend

2011-11-08 Thread Josh Paetzel
Author: jpaetzel Date: Tue Nov 8 23:44:26 2011 New Revision: 227368 URL: http://svn.freebsd.org/changeset/base/227368 Log: Welcome the initial patches for OSX bootcamp support!!! This should let you select the ada0p3 hybrid MBR/GPT partition, and do an installation to it. Approved by:

svn commit: r227369 - head/bin/sh

2011-11-08 Thread Jilles Tjoelker
Author: jilles Date: Tue Nov 8 23:54:39 2011 New Revision: 227369 URL: http://svn.freebsd.org/changeset/base/227369 Log: sh: Remove undefined behaviour due to overflow in +/-/* in arithmetic. With i386 base gcc and i386 base clang, arith_yacc.o remains unchanged. Modified:

svn commit: r227370 - head/usr.bin/calendar

2011-11-08 Thread Greg Lehey
Author: grog Date: Wed Nov 9 01:40:46 2011 New Revision: 227370 URL: http://svn.freebsd.org/changeset/base/227370 Log: Tidy up command line processing: - Add ? option to optstring. - Sort options alphabetically. - Vertical space. Tidy up usage() function. Bring man page

Re: svn commit: r227366 - in head/etc: . rc.d

2011-11-08 Thread Alexey Dokuchaev
On Tue, Nov 08, 2011 at 11:02:32PM +, Jilles Tjoelker wrote: Author: jilles Date: Tue Nov 8 23:02:32 2011 New Revision: 227366 URL: http://svn.freebsd.org/changeset/base/227366 Log: rc.d: Eliminate some unnecessary non-POSIX constructs: * ^ in character class -

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 04:08:01 2011 New Revision: 227371 URL: http://svn.freebsd.org/changeset/base/227371 Log: Fix the compile to work when IEEE80211_DEBUG isn't defined. Sponsored by: Hobnob, Inc. Modified: head/sys/dev/ath/ath_rate/sample/sample.c Modified:

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 04:35:33 2011 New Revision: 227372 URL: http://svn.freebsd.org/changeset/base/227372 Log: Try to make it more obvious when users are using the PCI or PCIe versions of the 11n chips. Modified: head/sys/dev/ath/ath_hal/ah.c

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 04:38:27 2011 New Revision: 227373 URL: http://svn.freebsd.org/changeset/base/227373 Log: Add in some more PCI/PCIe differentiation. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c head/sys/dev/ath/ath_hal/ar9002/ar9287_attach.c Modified:

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 05:25:30 2011 New Revision: 227374 URL: http://svn.freebsd.org/changeset/base/227374 Log: Port over a new routine which grabs the percentage of time spent in TX frame, RX frame, RX clear, RX extension clear. This is useful for estimating channel business.

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 05:30:24 2011 New Revision: 227375 URL: http://svn.freebsd.org/changeset/base/227375 Log: Add a new HAL parameter which forces a full reset rather than warm reset. This forces a full reset of the baseband/radio and seems needed to clear some issues (with

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 05:37:11 2011 New Revision: 227376 URL: http://svn.freebsd.org/changeset/base/227376 Log: Include some ANI fixes for the AR5416. * If we fall through from an ANI command (eg because it's out of range, or it's disabled) then fall through to the next ANI

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 05:39:17 2011 New Revision: 227377 URL: http://svn.freebsd.org/changeset/base/227377 Log: .. and add some ANI fixes missing from the last ANI commit. Obtained from:Atheros Sponsored by: Hobnob, Inc. Modified:

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 05:41:40 2011 New Revision: 227378 URL: http://svn.freebsd.org/changeset/base/227378 Log: Add logic to ANI to tweak the firstep parameter when in hostap mode. This is normally done based on the beacon RSSI but this isn't available in hostap mode.

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 05:43:48 2011 New Revision: 227379 URL: http://svn.freebsd.org/changeset/base/227379 Log: Use a restricted set of parameters when operating in hostap mode. The 5ghz hostap mode (where DFS is being done) requires ANI to be disabled or the radar detection

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 05:45:30 2011 New Revision: 227380 URL: http://svn.freebsd.org/changeset/base/227380 Log: Disable OFDM weak signal detection by default. Leave this to be enabled if required by STA operation. This quietens a lot of OFDM errors seen in hostap mode, where

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

2011-11-08 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 05:48:20 2011 New Revision: 227381 URL: http://svn.freebsd.org/changeset/base/227381 Log: Migrate the AR5416 ANI code to use the previously introduced method to fetch the current channel busy statistics, rather than duplicating it here. This forms the

Re: svn commit: r227366 - in head/etc: . rc.d

2011-11-08 Thread Valentin Nechayev
Wed, Nov 09, 2011 at 01:49:16, danfe wrote about Re: svn commit: r227366 - in head/etc: . rc.d: rc.d: Eliminate some unnecessary non-POSIX constructs: * ^ in character class - for file in ${dir}/[^0-9]*.sh; do + for file in

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

2011-11-08 Thread Gleb Kurtsou
Author: gleb Date: Wed Nov 9 07:48:48 2011 New Revision: 227382 URL: http://svn.freebsd.org/changeset/base/227382 Log: Use implementation independent inoNN_t scalars for on-disk UFS structures Approved by: mdf (mentor) Modified: head/sys/ufs/ffs/fs.h head/sys/ufs/ufs/dinode.h