linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Andre Heider <a.heider@gmail.com>
Cc: "Johannes Berg" <johannes@sipsolutions.net>,
	"Michael Büsch" <m@bues.ch>,
	linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org,
	"Rafał Miłecki" <zajec5@gmail.com>
Subject: Re: chip id 4318 regression: WARN_ON_ONCE(sdata->vif.hw_queue[i] >= n_queues))
Date: Fri, 08 Jun 2012 10:38:19 -0500	[thread overview]
Message-ID: <4FD21C6B.5000402@lwfinger.net> (raw)
In-Reply-To: <CAHsu+b_Dp-A_kC-MSofJko3hr4dYxreYQ7rrq7wzsJXVoY_5yw@mail.gmail.com>

On 06/08/2012 10:25 AM, Andre Heider wrote:
> On Fri, Jun 8, 2012 at 5:16 PM, Johannes Berg <johannes@sipsolutions.net> wrote:
>> On Fri, 2012-06-08 at 17:14 +0200, Johannes Berg wrote:
>>> On Fri, 2012-06-08 at 17:04 +0200, Andre Heider wrote:
>>>
>>>>>>> http://p.sipsolutions.net/854d460da251f9d6.txt
>>>>>>
>>>>>> Sorry, still not loading any firmware.
>>>>>
>>>>> So you're going to have to tell me what happens :-)
>>>>
>>>> Well, nothing ;)
>>>>
>>>> I just see this in dmesg:
>>>>
>>>> [    1.012107] b43-sdio mmc1:0001:1: Chip ID 14e4:4318
>>>> [    1.018765] ssb: Found chip with id 0x4318, rev 0x02 and package 0x02
>>>> [    1.096506] ssb: chipcommon status is 0x0
>>>> [    1.105314] b43-phy0: Broadcom 4318 WLAN found (core revision 9)
>>>>
>>>> Hence the device doesn't get up and there's no way for me to interact
>>>> with the system.
>>>
>>> Ok, well, bugger :-)
>>>
>>> Can you go to main.c and print out the return value of
>>> ieee80211_register_hw()? I have a feeling that's where the failure is
>>> though I don't really know why.
>>
>> No, wait, I do know why. Sorry!
>>
>> Try this new version of the patch:
>> http://p.sipsolutions.net/3f75b09af68fd455.txt
>>
>> If my hunch is right then we need to figure out how to not allow
>> off-channel or something.
>
> Now we do have a firmware, but still no working device ;)
>
> [    0.553905] b43-sdio mmc1:0001:1: Chip ID 14e4:4318
> [    0.561166] ssb: Found chip with id 0x4318, rev 0x02 and package 0x02
> [    0.568378] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
> [    0.582703] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09,
> vendor 0x4243)
> [    0.597831] ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
> [    0.613445] ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
> [    0.629924] ssb: chipcommon status is 0x0
> [    0.638689] b43-phy0: Broadcom 4318 WLAN found (core revision 9)
> [    0.651588] EXT4-fs (mmcblk0p2): mounted filesystem with ordered
> data mode. Opts: (null)
> [    0.668126] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
> [    0.688275] devtmpfs: mounted
> [    0.698550] b43-phy0 debug: Found PHY: Analog 3, Type 2, Revision 7
> [    0.709359] Freeing unused kernel memory: 148k freed
> [    0.719464] b43-phy0 debug: Found Radio: Manuf 0x17F, Version
> 0x2050, Revision 8
> [    0.775832] ssb: Sonics Silicon Backplane found on SDIO device mmc1:0001:1
> <30>[    1.691732] udevd[110]: starting version 175
> [    3.438357] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> [    4.274918] Adding 152552k swap on /dev/mmcblk0p3.  Priority:-1
> extents:1 across:152552k SS
> [    4.402116] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
> [    4.813161] EXT4-fs (mmcblk0p2): re-mounted. Opts: discard,errors=remount-ro
> [    8.880236] b43-phy0: Loading OpenSource firmware version 410.31754
> [    8.897893] b43-phy0: Hardware crypto acceleration not supported by firmware
> [    8.915844] b43-phy0: QoS not supported by firmware
> [    9.292779] b43-phy0 debug: Chip initialized
> [    9.312654] b43-phy0 debug: PIO initialized
> [    9.323317] b43-phy0 debug: QoS disabled
> [    9.512150] b43-phy0 debug: Wireless interface started
> [    9.654251] b43-phy0 debug: Adding Interface type 2
> [   11.371154] b43-phy0 ERROR: MAC suspend failed
> [   11.811166] b43-phy0 ERROR: MAC suspend failed
> [   12.235095] b43-phy0 ERROR: MAC suspend failed
> [   12.639094] b43-phy0 ERROR: MAC suspend failed
> [   13.043095] b43-phy0 ERROR: MAC suspend failed
> [   13.447165] b43-phy0 ERROR: MAC suspend failed
> [   13.851095] b43-phy0 ERROR: MAC suspend failed
> [   14.255095] b43-phy0 ERROR: MAC suspend failed
> [   14.655095] b43-phy0 ERROR: MAC suspend failed
> [   15.055095] b43-phy0 ERROR: MAC suspend failed
> [   16.383095] net_ratelimit: 2 callbacks suppressed
> [   16.389679] b43-phy0 ERROR: MAC suspend failed
> [   16.859094] b43-phy0 ERROR: MAC suspend failed
> [   17.207095] b43-phy0 ERROR: MAC suspend failed
> [   17.535095] b43-phy0 ERROR: MAC suspend failed
> [   21.863095] b43-phy0 ERROR: MAC suspend failed
> [   22.191095] b43-phy0 ERROR: MAC suspend failed
> [   22.527096] b43-phy0 ERROR: MAC suspend failed
> [   22.919095] b43-phy0 ERROR: MAC suspend failed
> [   23.319095] b43-phy0 ERROR: MAC suspend failed
> [   23.719094] b43-phy0 ERROR: MAC suspend failed
> [   24.119094] b43-phy0 ERROR: MAC suspend failed
> [   24.519095] b43-phy0 ERROR: MAC suspend failed
> [   24.919095] b43-phy0 ERROR: MAC suspend failed
> [   25.267095] b43-phy0 ERROR: MAC suspend failed
> [   27.207095] net_ratelimit: 4 callbacks suppressed
> [   27.210643] b43-phy0 ERROR: MAC suspend failed
> [   27.675094] b43-phy0 ERROR: MAC suspend failed
> [   28.139094] b43-phy0 ERROR: MAC suspend failed
> [   28.607095] b43-phy0 ERROR: MAC suspend failed
> [   28.951095] b43-phy0 ERROR: MAC suspend failed
> [   29.275094] b43-phy0 ERROR: MAC suspend failed
> [   33.615095] b43-phy0 ERROR: MAC suspend failed
> [   33.939095] b43-phy0 ERROR: MAC suspend failed
> [   34.275095] b43-phy0 ERROR: MAC suspend failed
> [   34.663095] b43-phy0 ERROR: MAC suspend failed
> [   35.059095] b43-phy0 ERROR: MAC suspend failed
> [   35.455095] b43-phy0 ERROR: MAC suspend failed
> [   35.851095] b43-phy0 ERROR: MAC suspend failed
> [   36.247095] b43-phy0 ERROR: MAC suspend failed
> [   36.643095] b43-phy0 ERROR: MAC suspend failed
> [   37.039095] b43-phy0 ERROR: MAC suspend failed
> [   39.087095] net_ratelimit: 4 callbacks suppressed
> [   39.089274] b43-phy0 ERROR: MAC suspend failed
> [   39.555111] b43-phy0 ERROR: MAC suspend failed
> [   40.023095] b43-phy0 ERROR: MAC suspend failed
> [   40.367094] b43-phy0 ERROR: MAC suspend failed
> [   40.691159] b43-phy0 ERROR: MAC suspend failed
> [   40.868103] b43-phy0 ERROR: Firmware watchdog: The firmware died!
> [   40.870979] b43-phy0: Controller RESET (Firmware watchdog) ...
> [   41.195093] b43-phy0 ERROR: MAC suspend failed
> [   41.198361] b43-phy0 debug: Wireless interface stopped
> [   42.204236] b43-phy0: Loading OpenSource firmware version 410.31754
> [   42.208043] b43-phy0: Hardware crypto acceleration not supported by firmware
> [   42.215386] b43-phy0: QoS not supported by firmware
> [   42.588772] b43-phy0 debug: Chip initialized
> [   42.603881] b43-phy0 debug: PIO initialized
> [   42.610060] b43-phy0 debug: QoS disabled
> [   42.794869] b43-phy0 debug: Wireless interface started
> [   42.818522] b43-phy0: Controller restarted
> [   45.107095] b43-phy0 ERROR: MAC suspend failed
> [   45.507095] b43-phy0 ERROR: MAC suspend failed
>
> I let it retry the load/die cycle >5 times, seems to repeat endlessly.
>

I got the same result as Andre when using open-source firmware - endless MAC 
suspend failures. It works OK with the proprietary fw, with or without a "qos=0" 
module parameter.

Larry



  reply	other threads:[~2012-06-08 15:38 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
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 [this message]
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=4FD21C6B.5000402@lwfinger.net \
    --to=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=m@bues.ch \
    --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).