From: Michael Buesch <mb@bu3sch.de>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: netdev@vger.kernel.org, bcm43xx-dev@lists.berlios.de
Subject: Re: bcm43xx for d80211 softirq loop
Date: Mon, 14 Aug 2006 15:27:14 +0200 [thread overview]
Message-ID: <200608141527.14795.mb@bu3sch.de> (raw)
In-Reply-To: <44E0300D.1000402@sipsolutions.net>
On Monday 14 August 2006 10:10, Johannes Berg wrote:
> [23750.726463] NETDEV WATCHDOG: wmaster0: transmit timed out
> [23750.726482] wmaster0: resetting interface.
> [23750.726490] bcm43xx_d80211: Controller RESET (IEEE reset) ...
> [23750.753458] bcm43xx_d80211: select_wireless_core: cleanup
> [23750.753477] bcm43xx_d80211: Radio turned off
> [23750.753538] bcm43xx_d80211: DMA 0x0200 (RX) max used slots: 1/64
> [23750.755208] bcm43xx_d80211: DMA 0x0260 (TX) max used slots: 0/512
> [23750.755601] bcm43xx_d80211: DMA 0x0240 (TX) max used slots: 0/512
> [23750.755992] bcm43xx_d80211: DMA 0x0220 (TX) max used slots: 0/512
> [23750.756383] bcm43xx_d80211: DMA 0x0200 (TX) max used slots: 0/512
> [23750.957250] bcm43xx_d80211: Radio turned on
> [23751.129344] bcm43xx_d80211: Chip initialized
> [23751.137239] bcm43xx_d80211: DMA initialized
> [23751.137503] bcm43xx_d80211: Keys cleared
> [23751.153242] bcm43xx_d80211: Selected 802.11 core (phytype 2)
> [23751.153263] bcm43xx_d80211: Controller restarted
>
>
> after this, ksoftirq started running wild...
>
> Since oprofile doesn't show any function ever called for a tasklet, I
> started to investigate but couldn't find what was up. Then I removed the
> bcm43xx_dscape module and the kernel blew up right away.
>
> Then I patched the kernel with a runaway tasklet patch (see mail on
> lkml) and got this (yeah, previous iteration of the patch where I forgot
> a "\n"):
>
> [15214.574151] NETDEV WATCHDOG: wmaster0: transmit timed out
> [15214.574166] wmaster0: resetting interface.
> [15214.574174] bcm43xx_d80211: Controller RESET (IEEE reset) ...
> [15214.591194] bcm43xx_d80211: select_wireless_core: cleanup
> [15214.591209] bcm43xx_d80211: Radio turned off
> [15214.591270] bcm43xx_d80211: DMA 0x0200 (RX) max used slots: 1/64
> [15214.592901] bcm43xx_d80211: DMA 0x0260 (TX) max used slots: 0/512
> [15214.593294] bcm43xx_d80211: DMA 0x0240 (TX) max used slots: 0/512
> [15214.593685] bcm43xx_d80211: DMA 0x0220 (TX) max used slots: 0/512
> [15214.594075] bcm43xx_d80211: DMA 0x0200 (TX) max used slots: 0/512
> [15214.773961] bcm43xx_d80211: Radio turned on
> [15214.945901] bcm43xx_d80211: Chip initialized
> [15214.953815] bcm43xx_d80211: DMA initialized
> [15214.954078] bcm43xx_d80211: Keys cleared
> [15214.969864] bcm43xx_d80211: Selected 802.11 core (phytype 2)
> [15214.969889] bcm43xx_d80211: Controller restarted
> [15215.019746] tasklet
> drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c:4376 is scheduled but
> hasn't been enabled for too long!
> <6>NETDEV WATCHDOG: wmaster0: transmit timed out
> [15769.964164] wmaster0: resetting interface.
> [15769.964175] bcm43xx_d80211: Controller RESET (IEEE reset) ...
> [15769.995145] bcm43xx_d80211: select_wireless_core: cleanup
> [15769.995166] bcm43xx_d80211: Radio turned off
> [15769.995249] bcm43xx_d80211: DMA 0x0200 (RX) max used slots: 0/64
> [15769.997222] bcm43xx_d80211: DMA 0x0260 (TX) max used slots: 0/512
> [15769.997615] bcm43xx_d80211: DMA 0x0240 (TX) max used slots: 0/512
> [15769.998006] bcm43xx_d80211: DMA 0x0220 (TX) max used slots: 0/512
> [15769.998397] bcm43xx_d80211: DMA 0x0200 (TX) max used slots: 0/512
> [15770.162013] bcm43xx_d80211: IRQ_READY timeout
> [15770.162059] bcm43xx_d80211: core_up for active 802.11 core failed (-19)
> [15770.162076] bcm43xx_d80211: Controller restart failed
>
>
> Hence, I'm able to point to bcm43xx now ;) Sorry I can't give a better
> indication of what's up, I can try a different patch if you can come up
> with a good way of debugging it. This usually seems to happen here after
> an hour or two of not using the interface at all.
I saw this several times, too. I will start to debug this now.
--
Greetings Michael.
next prev parent reply other threads:[~2006-08-14 13:28 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-14 8:07 [wireless] bunch of questions and notes on d80211 Johannes Berg
2006-08-14 8:10 ` bcm43xx for d80211 softirq loop Johannes Berg
[not found] ` <44E0300D.1000402-cdvu00un1VgdHxzADdlk8Q@public.gmane.org>
2006-08-14 8:21 ` Johannes Berg
2006-08-14 13:27 ` Michael Buesch [this message]
2006-08-14 8:12 ` [d80211 rfc] link master interface from wiphy Johannes Berg
2006-08-14 12:01 ` Dan Williams
2006-08-16 17:05 ` Jiri Benc
2006-08-17 7:18 ` Johannes Berg
2006-08-14 8:13 ` [PATCH] d80211: fix some 0 vs. NULL comparisons Johannes Berg
2006-08-14 13:20 ` Johannes Berg
2006-08-14 15:48 ` Jouni Malinen
2006-08-14 8:15 ` [PATCH] d80211: get rid of the WME bitfield Johannes Berg
2006-08-14 16:12 ` Jouni Malinen
2006-08-15 7:11 ` Johannes Berg
2006-08-14 8:16 ` ieee80211_japan_5ghz / firmware etc.?? Johannes Berg
2006-08-14 8:16 ` ieee80211_set_encryption Johannes Berg
2006-08-14 15:53 ` ieee80211_set_encryption Jouni Malinen
2006-08-14 8:18 ` network manager confused with bcm43xx-d80211? Johannes Berg
2006-08-14 11:46 ` Dan Williams
2006-08-14 12:28 ` Johannes Berg
2006-08-14 12:48 ` Larry Finger
2006-08-14 12:54 ` Johannes Berg
2006-08-14 8:19 ` d80211 and sta_aid for AP functionality Johannes Berg
2006-08-17 18:21 ` Jiri Benc
2006-08-14 8:22 ` wlan#ap seems bogus Johannes Berg
2006-08-14 14:04 ` Johannes Berg
2006-08-14 18:53 ` Simon Barber
2006-08-15 7:22 ` Johannes Berg
2006-08-14 15:58 ` Jouni Malinen
2006-08-14 16:04 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200608141527.14795.mb@bu3sch.de \
--to=mb@bu3sch.de \
--cc=bcm43xx-dev@lists.berlios.de \
--cc=johannes@sipsolutions.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).