Hi all,

On 23/01/14 20:44, Oleksij Rempel wrote:
> Hi Antonio,
> 
> You probably know more about this issue then me.
> 
> Insight of this mutex are some WMI commands, which are incredible slow
> on some USB 2.0 devices.
> 

I implemented the ath9k_htc_sta_rc_update() API but I don't really know
the internals of the ath9k_htc driver...therefore I don't know if these
WMI commands have any consequence on this..Could it be that this
slowness is triggering some reaction in the kernel (due to the fact that
this part of the code is executed while holding a lock)?

Sorry, but I can't really help.

Just as a generic suggestion, have you tried testing a slightly older
kernel versions to see if that makes any difference?

> Am 23.01.2014 19:30, schrieb m...@fuerstflorian.de:
>> Hello all,
>>
>> my Raspberry Pi crashes about once a day with the following kernel message:
>>
>> [80526.425663] wlan0: AP xx:xx:xx:xx:xx:xx changed bandwidth, new config is 
>> 2462 MHz, width 1 (2462/0 MHz)
>> [80527.347296] wlan0: AP xx:xx:xx:xx:xx:xx changed bandwidth, new config is 
>> 2462 MHz, width 2 (2452/0 MHz)
>> [80527.347683] BUG: scheduling while atomic: ksoftirqd/0/3/0x00000302
>> [80527.421904] Modules linked in: arc4 ath9k_htc ath9k_common ath9k_hw ath 
>> mac80211 cfg80211 leds_gpio led_class spi_bcm2708 i2c_bcm2708 snd_bcm2835 
>> snd_pcm snd_page_alloc snd_timer snd i2c_dev bcm2708_rng rng_core ipv6
>> [80527.422023] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G        W    
>> 3.10.26-1-ARCH #1
>> [80527.422096] [<c0012da8>] (unwind_backtrace+0x0/0xf0) from [<c0010ca8>] 
>> (show_stack+0x10/0x14)
>> [80527.422147] [<c0010ca8>] (show_stack+0x10/0x14) from [<c059ae08>] 
>> (__schedule_bug+0x44/0x5c)
>> [80527.422182] [<c059ae08>] (__schedule_bug+0x44/0x5c) from [<c05a15f0>] 
>> (__schedule+0x54c/0x5c4)
>> [80527.422213] [<c05a15f0>] (__schedule+0x54c/0x5c4) from [<c05a1d58>] 
>> (schedule_preempt_disabled+0x14/0x20)
>> [80527.422242] [<c05a1d58>] (schedule_preempt_disabled+0x14/0x20) from 
>> [<c05a0994>] (__mutex_lock_slowpath+0x9c/0x12c)
>> [80527.422337] [<c05a0994>] (__mutex_lock_slowpath+0x9c/0x12c) from 
>> [<bf2898cc>] (ath9k_htc_sta_rc_update+0x30/0x98 [ath9k_htc])
>> [80527.422841] [<bf2898cc>] (ath9k_htc_sta_rc_update+0x30/0x98 [ath9k_htc]) 
>> from [<bf1863b0>] (ieee80211_rx_handlers+0x1994/0x24a4 [mac80211])
>> [80527.423397] [<bf1863b0>] (ieee80211_rx_handlers+0x1994/0x24a4 [mac80211]) 
>> from [<bf1872e0>] (ieee80211_prepare_and_rx_handle+0x234/0xb14 [mac80211])
>> [80527.423946] [<bf1872e0>] (ieee80211_prepare_and_rx_handle+0x234/0xb14 
>> [mac80211]) from [<bf187eb8>] (ieee80211_rx+0x2f8/0x7ec [mac80211])
>> [80527.424283] [<bf187eb8>] (ieee80211_rx+0x2f8/0x7ec [mac80211]) from 
>> [<bf28848c>] (ath9k_rx_tasklet+0x3b0/0x68c [ath9k_htc])
>> [80527.424347] [<bf28848c>] (ath9k_rx_tasklet+0x3b0/0x68c [ath9k_htc]) from 
>> [<c002a94c>] (tasklet_action+0x5c/0xa8)
>> [80527.424377] [<c002a94c>] (tasklet_action+0x5c/0xa8) from [<c002a0b8>] 
>> (__do_softirq+0xcc/0x278)
>> [80527.424402] [<c002a0b8>] (__do_softirq+0xcc/0x278) from [<c002a290>] 
>> (run_ksoftirqd+0x2c/0x48)
>> [80527.424437] [<c002a290>] (run_ksoftirqd+0x2c/0x48) from [<c004b74c>] 
>> (smpboot_thread_fn+0x15c/0x208)
>> [80527.424475] [<c004b74c>] (smpboot_thread_fn+0x15c/0x208) from 
>> [<c0043d70>] (kthread+0xa4/0xb0)
>> [80527.424510] [<c0043d70>] (kthread+0xa4/0xb0) from [<c000dc18>] 
>> (ret_from_fork+0x14/0x3c)
>>
>> Some more information:
>>   W-LAN Chipset: ID 0cf3:7015 Atheros Communications, Inc. TP-Link TL-WN821N 
>> v3 / TL-WN822N v2 802.11n [Atheros AR7010+AR9287]
>>   Kernel: Linux pi1 3.10.27-2-ARCH #1 PREEMPT Tue Jan 21 00:42:16 MST 2014 
>> armv6l GNU/Linux
>>   
>> Any suggestion?
>>
>> Many thanks in advance. 
>> Flo
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel@lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>
> 
> 


-- 
Antonio Quartulli

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to