From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antonio Quartulli Date: Thu, 23 Jan 2014 23:03:31 +0100 Subject: [ath9k-devel] [BUG] Atheros AR7010+AR9287: Scheduling while atomic: ksoftirqd/0/3/0x00000302 In-Reply-To: <52E1712B.70202@rempel-privat.de> References: <52E1712B.70202@rempel-privat.de> Message-ID: <52E191B3.2070601@meshcoding.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 mail at 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] [] (unwind_backtrace+0x0/0xf0) from [] (show_stack+0x10/0x14) >> [80527.422147] [] (show_stack+0x10/0x14) from [] (__schedule_bug+0x44/0x5c) >> [80527.422182] [] (__schedule_bug+0x44/0x5c) from [] (__schedule+0x54c/0x5c4) >> [80527.422213] [] (__schedule+0x54c/0x5c4) from [] (schedule_preempt_disabled+0x14/0x20) >> [80527.422242] [] (schedule_preempt_disabled+0x14/0x20) from [] (__mutex_lock_slowpath+0x9c/0x12c) >> [80527.422337] [] (__mutex_lock_slowpath+0x9c/0x12c) from [] (ath9k_htc_sta_rc_update+0x30/0x98 [ath9k_htc]) >> [80527.422841] [] (ath9k_htc_sta_rc_update+0x30/0x98 [ath9k_htc]) from [] (ieee80211_rx_handlers+0x1994/0x24a4 [mac80211]) >> [80527.423397] [] (ieee80211_rx_handlers+0x1994/0x24a4 [mac80211]) from [] (ieee80211_prepare_and_rx_handle+0x234/0xb14 [mac80211]) >> [80527.423946] [] (ieee80211_prepare_and_rx_handle+0x234/0xb14 [mac80211]) from [] (ieee80211_rx+0x2f8/0x7ec [mac80211]) >> [80527.424283] [] (ieee80211_rx+0x2f8/0x7ec [mac80211]) from [] (ath9k_rx_tasklet+0x3b0/0x68c [ath9k_htc]) >> [80527.424347] [] (ath9k_rx_tasklet+0x3b0/0x68c [ath9k_htc]) from [] (tasklet_action+0x5c/0xa8) >> [80527.424377] [] (tasklet_action+0x5c/0xa8) from [] (__do_softirq+0xcc/0x278) >> [80527.424402] [] (__do_softirq+0xcc/0x278) from [] (run_ksoftirqd+0x2c/0x48) >> [80527.424437] [] (run_ksoftirqd+0x2c/0x48) from [] (smpboot_thread_fn+0x15c/0x208) >> [80527.424475] [] (smpboot_thread_fn+0x15c/0x208) from [] (kthread+0xa4/0xb0) >> [80527.424510] [] (kthread+0xa4/0xb0) from [] (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 at lists.ath9k.org >> https://lists.ath9k.org/mailman/listinfo/ath9k-devel >> > > -- Antonio Quartulli -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140123/021d07a2/attachment.pgp