From: "Michael Büsch" <m@bues.ch>
To: Andre Heider <a.heider@gmail.com>
Cc: "Johannes Berg" <johannes@sipsolutions.net>,
linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org,
"Larry Finger" <Larry.Finger@lwfinger.net>,
"Rafał Miłecki" <zajec5@gmail.com>
Subject: chip id 4318 regression: WARN_ON_ONCE(sdata->vif.hw_queue[i] >= n_queues))
Date: Thu, 7 Jun 2012 18:03:25 +0200 [thread overview]
Message-ID: <20120607180325.7752b3c0@milhouse> (raw)
In-Reply-To: <CAHsu+b9UjkF6VM_YjJkHVDQzrZqsWqmG-XJKFNeSCdWGbdEngw@mail.gmail.com>
On Thu, 7 Jun 2012 17:24:51 +0200
Andre Heider <a.heider@gmail.com> wrote:
> On Thu, Jun 7, 2012 at 9:16 AM, Johannes Berg <johannes@sipsolutions.net> wrote:
> > On Thu, 2012-06-07 at 09:10 +0200, Andre Heider wrote:
> >> On Wed, Jun 6, 2012 at 10:35 PM, Johannes Berg
> >> <johannes@sipsolutions.net> wrote:
> >> > On Wed, 2012-06-06 at 21:10 +0200, Andre Heider wrote:
> >> >> Hi,
> >> >>
> >> >> the wlan daughterboard on a nintendo wii stopped working with current master.
> >> >> Building from the v3.4 tag gives me a working device.
> >> >>
> >> >> I bisected this to:
> >> >>
> >> >> commit 3a25a8c8b75b430c4f4022918e26fa51d557ecde
> >> >> Author: Johannes Berg <johannes.berg@intel.com>
> >> >>
> >> >> The hw queues fail the check in ieee80211_check_queues(). When I hack
> >> >> that function to always "return 0;" wlan works again.
> >> >
> >> > There's a fix for this on the way since Larry had also reported the bug,
> >> > but I don't know where it is right now.
> >>
> >> Okay, nice. Then I won't go hunting and just try the next -rc.
> >
> > Found the commit now:
> >
> > commit a9d3c05cca51d80ef2b9eddabf794c9458e36c2c
> > Author: Johannes Berg <johannes.berg@intel.com>
> > Date: ? Mon May 7 17:45:29 2012 +0200
> >
> > ? ?mac80211: fix single queue drivers
>
> Just checked again, that commit was already part of my tree, so I
> still run into this issue.
>
> A couple of printk()'s report that local->hw.queues is 4 in
> ieee80211_set_default_queues() while n_queues in
> ieee80211_check_queues() is 1...
b43 messes with the queue count at runtime. I guess that's the reason.
I don't know if this can be fixed now, though. The problem is that we
first need to load the firmware before we know the queue count.
There seem to have been some firmware loading changes, but I didn't
track those too closely. So I don't know whether they allow fixing the
situation or not...
--
Greetings, Michael.
PGP encryption is encouraged / 908D8B0E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20120607/c4f169fb/attachment.sig>
next prev parent reply other threads:[~2012-06-07 16:03 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-06 19:10 chip id 4318 regression: WARN_ON_ONCE(sdata->vif.hw_queue[i] >= n_queues)) Andre Heider
2012-06-06 20:35 ` Johannes Berg
2012-06-07 7:10 ` Andre Heider
2012-06-07 7:16 ` Johannes Berg
2012-06-07 15:24 ` Andre Heider
2012-06-07 16:03 ` Michael Büsch [this message]
2012-06-07 17:25 ` Larry Finger
2012-06-07 17:30 ` Michael Büsch
2012-06-07 18:29 ` Larry Finger
2012-06-07 18:34 ` Andre Heider
2012-06-07 18:36 ` Johannes Berg
2012-06-07 20:56 ` Johannes Berg
2012-06-07 21:21 ` Larry Finger
2012-06-07 21:47 ` Andre Heider
2012-06-08 6:27 ` Johannes Berg
2012-06-08 6:41 ` Johannes Berg
2012-06-08 13:49 ` Andre Heider
2012-06-08 14:52 ` Johannes Berg
2012-06-08 15:04 ` Andre Heider
2012-06-08 15:14 ` Johannes Berg
2012-06-08 15:16 ` Johannes Berg
2012-06-08 15:25 ` Andre Heider
2012-06-08 15:38 ` Larry Finger
2012-06-08 15:43 ` Johannes Berg
2012-06-08 15:44 ` Johannes Berg
2012-06-08 15:48 ` Johannes Berg
2012-06-08 15:52 ` Johannes Berg
2012-06-08 15:56 ` Andre Heider
2012-06-08 15:59 ` Johannes Berg
2012-06-08 16:05 ` Andre Heider
2012-06-08 16:08 ` Johannes Berg
2012-06-08 16:16 ` Andre Heider
2012-06-08 16:20 ` Johannes Berg
2012-06-08 16:24 ` Johannes Berg
2012-06-08 16:41 ` Johannes Berg
2012-06-08 16:54 ` Andre Heider
2012-06-08 16:56 ` Johannes Berg
2012-06-08 16:24 ` Larry Finger
2012-06-08 16:28 ` Johannes Berg
2012-06-08 16:33 ` Michael Büsch
2012-06-08 17:43 ` Larry Finger
2012-06-08 17:56 ` Johannes Berg
2012-06-08 18:11 ` Johannes Berg
2012-06-08 18:28 ` Andre Heider
2012-06-08 18:38 ` Johannes Berg
2012-06-08 18:10 ` Michael Büsch
2012-06-08 18:23 ` Larry Finger
2012-06-08 18:31 ` Michael Büsch
2012-06-08 19:37 ` Larry Finger
2012-06-08 19:42 ` Andre Heider
2012-06-08 18:36 ` Johannes Berg
2012-06-08 18:42 ` Johannes Berg
2012-06-08 19:04 ` Johannes Berg
2012-06-13 8:31 ` Johannes Berg
2012-06-13 15:39 ` Andre Heider
2012-06-13 15:46 ` Johannes Berg
2012-06-13 18:42 ` Michael Büsch
2012-06-14 16:26 ` Andre Heider
2012-06-14 16:37 ` Johannes Berg
2012-06-14 17:00 ` Andre Heider
2012-06-14 17:09 ` Johannes Berg
2012-06-14 17:17 ` Johannes Berg
2012-06-14 17:23 ` Andre Heider
2012-06-14 17:27 ` Johannes Berg
2012-06-15 2:03 ` Larry Finger
2012-06-15 8:17 ` Johannes Berg
2012-06-15 17:14 ` Andre Heider
2012-06-08 15:38 ` 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=20120607180325.7752b3c0@milhouse \
--to=m@bues.ch \
--cc=Larry.Finger@lwfinger.net \
--cc=a.heider@gmail.com \
--cc=b43-dev@lists.infradead.org \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=zajec5@gmail.com \
/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).