kern/151198: ath/5416 fails bgscan with "ath0: ath_chan_set: unable
to reset channel 11 (2462 MHz, flags 0x480), hal status 14"
Poul-Henning Kamp
phk at critter.freebsd.dk
Mon Oct 4 11:00:15 UTC 2010
>Number: 151198
>Category: kern
>Synopsis: ath/5416 fails bgscan with "ath0: ath_chan_set: unable to reset channel 11 (2462 MHz, flags 0x480), hal status 14"
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 04 11:00:14 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Poul-Henning Kamp
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD critter.freebsd.dk 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r213377M: Mon Oct 4 10:07:59 UTC 2010 root at critter.freebsd.dk:/sys/amd64/compile/CRITTER amd64
>Description:
ath0: <Atheros 5416> mem 0xf2500000-0xf250ffff irq 16 at device 0.0 on pci2
ath0: [ITHREAD]
ath0: AR5418 mac 12.10 RF5133 phy 8.1
if bgscan is enabled, connectivity will die when messages like
ath0: ath_chan_set: unable to reset channel 11 (2462 MHz, flags 0x480), hal status 14
ath0: ath_chan_set: unable to reset channel 13 (2472 MHz, flags 0x680), hal status 14
ath0: ath_chan_set: unable to reset channel 10 (2457 MHz, flags 0x480), hal status 14
ath0: ath_chan_set: unable to reset channel 12 (2467 MHz, flags 0x680), hal status 14
ath0: ath_chan_set: unable to reset channel 11 (2462 MHz, flags 0x480), hal status 14
ath0: ath_chan_set: unable to reset channel 13 (2472 MHz, flags 0x680), hal status 14
ath0: ath_chan_set: unable to reset channel 10 (2457 MHz, flags 0x480), hal status 14
appear in syslog.
Disabling bgscan (ifconfig wlan0 -bgscan) removes symptoms.
>How-To-Repeat:
>Fix:
tried, this to no avail:
Index: dev/ath/ath_hal/ar5416/ar5416_cal.c
===================================================================
--- dev/ath/ath_hal/ar5416/ar5416_cal.c (revision 213377)
+++ dev/ath/ath_hal/ar5416/ar5416_cal.c (working copy)
@@ -227,7 +227,7 @@
* Try to make sure the above NF cal completes, just so
* it doesn't clash with subsequent percals -adrian
*/
- if (! ar5212WaitNFCalComplete(ah, 10000)) {
+ if (! ar5212WaitNFCalComplete(ah, 100000)) {
HALDEBUG(ah, HAL_DEBUG_ANY, "%s: initial NF calibration did "
"not complete in time; noisy environment?\n", __func__);
return AH_FALSE;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list