From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 4 11:00:15 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3128F106564A for ; Mon, 4 Oct 2010 11:00:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 08B508FC08 for ; Mon, 4 Oct 2010 11:00:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o94B0Eef052841 for ; Mon, 4 Oct 2010 11:00:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o94B0EJA052813; Mon, 4 Oct 2010 11:00:14 GMT (envelope-from gnats) Resent-Date: Mon, 4 Oct 2010 11:00:14 GMT Resent-Message-Id: <201010041100.o94B0EJA052813@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Poul-Henning Kamp Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEB161065672 for ; Mon, 4 Oct 2010 10:58:58 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 358B48FC19 for ; Mon, 4 Oct 2010 10:58:57 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id ED8793F631 for ; Mon, 4 Oct 2010 10:42:53 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.4/8.14.4) with ESMTP id o94AgrZ1024024 for ; Mon, 4 Oct 2010 10:42:53 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.14.4/8.14.4/Submit) id o94AgriZ024023; Mon, 4 Oct 2010 10:42:53 GMT (envelope-from phk) Message-Id: <201010041042.o94AgriZ024023@critter.freebsd.dk> Date: Mon, 4 Oct 2010 10:42:53 GMT From: Poul-Henning Kamp To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/151198: ath/5416 fails bgscan with "ath0: ath_chan_set: unable to reset channel 11 (2462 MHz, flags 0x480), hal status 14" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Poul-Henning Kamp List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 11:00:15 -0000 >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@critter.freebsd.dk:/sys/amd64/compile/CRITTER amd64 >Description: ath0: 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: