From: Holger Schurig Date: Wed, 16 May 2012 10:20:06 +0200 (CEST) Subject: [ath9k-devel] big while doing DMA? Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 12:12:18 kernel: wlan0: RX AssocResp from 00:a0:57:15:ba:0d (capab=0x11 status=0 aid=1) 12:12:18 kernel: wlan0: associated 12:12:26 kernel: r8169 0000:04:00.0: eth0: link up 12:12:27 kernel: wlan0: detected beacon loss from AP - sending probe request 12:12:28 kernel: ath: phy0: Failed to stop TX DMA, queues=0x10f! 12:12:28 kernel: ath: phy0: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff 12:12:28 kernel: ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up 12:12:28 kernel: ------------[ cut here ]------------ 12:12:28 kernel: WARNING: at /home/schurig/d/mkimage/compat-wireless-2012-05-08/drivers/net/wireless/ath/ath9k/recv.c:532 ath_stoprecv+0xbc/0xe0 [ath9k]() 12:12:28 kernel: Modules linked in: cryptomgr aead arc4 crypto_algapi ath9k(O) ath9k_common(O) ath9k_hw(O) snd_hda_codec_realtek ath(O) mac80211(O) cfg80211(O) uvcvideo snd_hda_intel compat(O) crypto videodev snd_hda_codec battery power_supply 12:12:28 kernel: Pid: 5, comm: kworker/u:0 Tainted: G W O 3.2.17 #3 12:12:28 kernel: Call Trace: 12:12:28 kernel: [] warn_slowpath_common+0x48/0x5d 12:12:28 kernel: [] ? ath_stoprecv+0xbc/0xe0 [ath9k] 12:12:28 kernel: [] warn_slowpath_null+0xf/0x13 12:12:28 kernel: [] ath_stoprecv+0xbc/0xe0 [ath9k] 12:12:28 kernel: [] ath_prepare_reset+0x54/0x9b [ath9k] 12:12:28 kernel: [] ath_reset_internal+0x77/0x12a [ath9k] 12:12:28 kernel: [] ath_reset+0x20/0x82 [ath9k] 12:12:28 kernel: [] ? ath_tx_complete_poll_work+0xc8/0xd0 [ath9k] 12:12:28 kernel: [] ath_reset_work+0x12/0x14 [ath9k] 12:12:28 kernel: [] process_one_work+0x170/0x29b 12:12:28 kernel: [] ? ath9k_flush+0x169/0x169 [ath9k] 12:12:28 kernel: [] worker_thread+0x132/0x1e8 12:12:28 kernel: [] ? manage_workers.isra.25+0x146/0x146 12:12:28 kernel: [] kthread+0x62/0x67 12:12:28 kernel: [] ? kthread_worker_fn+0xdb/0xdb 12:12:28 kernel: [] kernel_thread_helper+0x6/0xd 12:12:28 kernel: ---[ end trace 982d24f71b73a97a ]--- 12:12:28 kernel: ath: phy0: timeout (100000 us) on reg 0x7000: 0xffffffff & 0x00000003 != 0x00000000 12:12:28 kernel: ath: phy0: Chip reset failed 12:12:28 kernel: ath: phy0: Unable to reset channel, reset status -22 12:12:28 kernel: ieee80211 phy0: wlan0: No ack for nullfunc frame to AP 00:a0:57:15:ba:0d, try 1/2 12:12:28 kernel: ieee80211 phy0: wlan0: Failed to send nullfunc to AP 00:a0:57:15:ba:0d after 500ms, disconnecting. 12:12:28 wpa_supplicant[419]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:a0:57:15:ba:0d reason=4 locally_generated=1 12:12:29 kernel: ieee80211 phy0: device now idle 12:12:29 kernel: ath: phy0: timeout (100000 us) on reg 0x806c: 0xffffffff & 0x01f00000 != 0x00000000 12:12:29 kernel: ath: phy0: RX failed to go idle in 10 ms RXSM=0xffffffff 12:12:29 kernel: ath: phy0: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff 12:12:29 kernel: ath: phy0: Failed to wakeup in 500us This is compat-wireless-2012-05-08. I made sure that ah->config.enable_ani is 0 and common->disable_ani is 1 even at module-loading (and thus chip initialization) time. BTW, why are there two variables of this kind.