Bug 26802 - b43: Suspend failed
Summary: b43: Suspend failed
Status: CLOSED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks: 7216 21782
  Show dependency tree
 
Reported: 2011-01-15 18:56 UTC by Patrick Matthäi
Modified: 2012-06-14 17:43 UTC (History)
9 users (show)

See Also:
Kernel Version: 2.6.37
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description Patrick Matthäi 2011-01-15 18:56:47 UTC
Hello,

this is a new issue, which I only get with 2.6.37, now.
I just had got some TCP/IP jabber and ssh connections open, after 2-3 hours network-manager popups, that I have to enter the passphrase for my WPA2 encrypted access point (again and again). The connection was interrupted and could not be re-etablished.

I never had got such an issue with previous Kernel versions, only a reboot resolved this issue.
The only "debugging" information I have found were from dmesg:

[  186.504053] wlan0: no IPv6 routers present
[13226.728075] ieee80211 phy0: wlan0: No probe response from AP 00:1f:3f:10:70:73 after 500ms, disconnecting.
[13227.048055] b43-phy0 ERROR: MAC suspend failed
[13227.104515] cfg80211: Calling CRDA to update world regulatory domain
[13227.708057] b43-phy0 ERROR: MAC suspend failed
[13228.096052] b43-phy0 ERROR: MAC suspend failed
[13235.344051] b43-phy0 ERROR: MAC suspend failed
[13235.800050] b43-phy0 ERROR: MAC suspend failed
[13236.256200] b43-phy0 ERROR: MAC suspend failed
[13236.712059] b43-phy0 ERROR: MAC suspend failed
[13237.044055] b43-phy0 ERROR: MAC suspend failed
[13237.364047] b43-phy0 ERROR: MAC suspend failed
[13237.684069] b43-phy0 ERROR: MAC suspend failed
[13241.900058] b43-phy0 ERROR: MAC suspend failed
[13244.032060] b43-phy0 ERROR: MAC suspend failed
[13250.816057] b43-phy0 ERROR: MAC suspend failed
[13251.204052] b43-phy0 ERROR: MAC suspend failed
[13251.592050] b43-phy0 ERROR: MAC suspend failed
[13251.980051] b43-phy0 ERROR: MAC suspend failed
[13252.368050] b43-phy0 ERROR: MAC suspend failed
[13252.756050] b43-phy0 ERROR: MAC suspend failed
[13253.144050] b43-phy0 ERROR: MAC suspend failed
[13253.476050] b43-phy0 ERROR: MAC suspend failed
[13253.828053] b43-phy0 ERROR: MAC suspend failed
[13254.216051] b43-phy0 ERROR: MAC suspend failed
[13256.360064] net_ratelimit: 4 callbacks suppressed
[13256.360074] b43-phy0 ERROR: MAC suspend failed
[13256.692056] b43-phy0 ERROR: MAC suspend failed
[13257.012050] b43-phy0 ERROR: MAC suspend failed
[13261.548063] b43-phy0 ERROR: MAC suspend failed
[13262.548054] b43-phy0 ERROR: MAC suspend failed
[13263.004050] b43-phy0 ERROR: MAC suspend failed
[13263.460050] b43-phy0 ERROR: MAC suspend failed
[13263.916053] b43-phy0 ERROR: MAC suspend failed
[13264.248050] b43-phy0 ERROR: MAC suspend failed
[13264.568050] b43-phy0 ERROR: MAC suspend failed
[13268.920072] b43-phy0 ERROR: MAC suspend failed
[13269.240091] b43-phy0 ERROR: MAC suspend failed                                                                                                                                   
[13269.576058] b43-phy0 ERROR: MAC suspend failed                                                                                                                                   
[13280.332059] b43-phy0 ERROR: MAC suspend failed                                                                                                                                   
[13280.720056] b43-phy0 ERROR: MAC suspend failed                                                                                                                                   
[13281.108055] b43-phy0 ERROR: MAC suspend failed                                                                                                                                   
[13281.496059] b43-phy0 ERROR: MAC suspend failed                                                                                                                                   
[13281.884062] b43-phy0 ERROR: MAC suspend failed                                                                                                                                   
[13282.272055] b43-phy0 ERROR: MAC suspend failed
[13282.660053] b43-phy0 ERROR: MAC suspend failed
[13283.048055] b43-phy0 ERROR: MAC suspend failed
[13283.436050] b43-phy0 ERROR: MAC suspend failed
[13283.824053] b43-phy0 ERROR: MAC suspend failed
[13290.972064] net_ratelimit: 4 callbacks suppressed
[13290.972073] b43-phy0 ERROR: MAC suspend failed
[13291.360056] b43-phy0 ERROR: MAC suspend failed
[13291.748055] b43-phy0 ERROR: MAC suspend failed
[13292.136057] b43-phy0 ERROR: MAC suspend failed
[13292.524055] b43-phy0 ERROR: MAC suspend failed
[13292.912057] b43-phy0 ERROR: MAC suspend failed
[13293.300055] b43-phy0 ERROR: MAC suspend failed
[13293.688057] b43-phy0 ERROR: MAC suspend failed
[13294.076050] b43-phy0 ERROR: MAC suspend failed
[13294.464050] b43-phy0 ERROR: MAC suspend failed
[13296.552056] net_ratelimit: 4 callbacks suppressed
[13296.552063] b43-phy0 ERROR: MAC suspend failed
[13296.872050] b43-phy0 ERROR: MAC suspend failed
[13301.224060] b43-phy0 ERROR: MAC suspend failed
[13301.544055] b43-phy0 ERROR: MAC suspend failed
[13301.864057] b43-phy0 ERROR: MAC suspend failed
[13302.348052] b43-phy0 ERROR: MAC suspend failed
[13302.736051] b43-phy0 ERROR: MAC suspend failed
[13303.124049] b43-phy0 ERROR: MAC suspend failed
[13303.512050] b43-phy0 ERROR: MAC suspend failed
[13303.900054] b43-phy0 ERROR: MAC suspend failed
[13304.288051] b43-phy0 ERROR: MAC suspend failed
[13304.676050] b43-phy0 ERROR: MAC suspend failed
[13305.064047] b43-phy0 ERROR: MAC suspend failed
[13305.452329] b43-phy0 ERROR: MAC suspend failed
[13305.840064] b43-phy0 ERROR: MAC suspend failed
[13307.932057] net_ratelimit: 4 callbacks suppressed
[13307.932066] b43-phy0 ERROR: MAC suspend failed
[13308.256059] b43-phy0 ERROR: MAC suspend failed
[13315.624044] b43-phy0 ERROR: MAC suspend failed
[13315.944053] b43-phy0 ERROR: MAC suspend failed
[13316.392054] b43-phy0 ERROR: MAC suspend failed
[13316.768054] b43-phy0 ERROR: MAC suspend failed
[13317.156053] b43-phy0 ERROR: MAC suspend failed
[13317.488053] b43-phy0 ERROR: MAC suspend failed
[13317.836054] b43-phy0 ERROR: MAC suspend failed
[13318.224053] b43-phy0 ERROR: MAC suspend failed
[13318.612052] b43-phy0 ERROR: MAC suspend failed
[13319.000057] b43-phy0 ERROR: MAC suspend failed
[13321.396056] net_ratelimit: 5 callbacks suppressed
[13321.396063] b43-phy0 ERROR: MAC suspend failed
[13321.852057] b43-phy0 ERROR: MAC suspend failed
[13322.308053] b43-phy0 ERROR: MAC suspend failed
[13322.640050] b43-phy0 ERROR: MAC suspend failed
[13322.960049] b43-phy0 ERROR: MAC suspend failed
[13327.312055] b43-phy0 ERROR: MAC suspend failed
[13327.632049] b43-phy0 ERROR: MAC suspend failed
[13328.080050] b43-phy0 ERROR: MAC suspend failed
[13328.456058] b43-phy0 ERROR: MAC suspend failed
[13328.844059] b43-phy0 ERROR: MAC suspend failed
[13329.232054] b43-phy0 ERROR: MAC suspend failed
[13329.620051] b43-phy0 ERROR: MAC suspend failed
[13330.008049] b43-phy0 ERROR: MAC suspend failed
[13330.396049] b43-phy0 ERROR: MAC suspend failed
[13330.784049] b43-phy0 ERROR: MAC suspend failed
[13332.792052] net_ratelimit: 4 callbacks suppressed
[13332.792057] b43-phy0 ERROR: MAC suspend failed
[13333.248052] b43-phy0 ERROR: MAC suspend failed
[13333.580050] b43-phy0 ERROR: MAC suspend failed
[13348.396042] b43-phy0 ERROR: MAC suspend failed
[13348.784065] b43-phy0 ERROR: MAC suspend failed
[13349.172059] b43-phy0 ERROR: MAC suspend failed
[13349.504057] b43-phy0 ERROR: MAC suspend failed
[13355.932061] b43-phy0 ERROR: MAC suspend failed
[13356.320066] b43-phy0 ERROR: MAC suspend failed
[13356.708061] b43-phy0 ERROR: MAC suspend failed
[13357.096069] b43-phy0 ERROR: MAC suspend failed
[13357.484058] b43-phy0 ERROR: MAC suspend failed
[13357.872059] b43-phy0 ERROR: MAC suspend failed


This is my hardware:
me@gnu:~$ lspci
00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
00:04.0 PCI bridge: ATI Technologies Inc Device 7914
00:05.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 1)
00:06.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 2)
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS690M [Radeon X1200 Series]
02:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b6)
10:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
30:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 02)
me@gnu:~$ 


It is a HP Compaq 6715s notebook.
Comment 1 Larry Finger 2011-01-17 17:56:55 UTC
I do not know what caused the issue; however, using modprobe to unload and reload b43 should fix the problem without needing to reboot.

Did 2.6.36 work OK for you, or did you switch to 2.6.37 from some older kernel?
Comment 2 Patrick Matthäi 2011-01-17 18:34:52 UTC
2.6.{30,31,32,33,34,35,36} do not have this issue (or I never triggered it, no idea how to retrigger it..).

But you are right, readding the module may be an idea, I will try it out, if it occurs again. Maybe some other logs etc needed, if it occurs again?
Comment 3 Larry Finger 2011-01-17 18:46:55 UTC
If you do not already have them on, please enable

1) Broadcom 43xx debugging in Drivers => Network device support => Wireless LAN, aka CONFIG_B43_DEBUG=y

2) SSB Debugging in Drivers => Sonics Silicon Backplane, aka CONFIG_SSB_DEBUG=y
Comment 4 Larry Finger 2011-01-17 19:31:32 UTC
There is good news and bad news. The good news is that there are only 35 commits between 2.6.36 and 2.6.37 that affect either ssb or b43. The bad news is that I cannot see any of them affecting your card.

My copy of a 14e4:4312 card is loaned out and I cannot test it; however, I do have a 14e4:4311, which has the same 802.11B/G part as the 4312 - no 802.11A part. When I get a chance, I will test it.
Comment 5 John W. Linville 2011-03-29 18:00:45 UTC
Patrick, can you run a git bisect between 2.6.36 and 2.6.37 to narrow-down the commit that causes this issue?
Comment 6 Patrick Matthäi 2011-03-29 18:06:48 UTC
As I told I think it is a hardware issue
Comment 7 Larry Finger 2011-03-29 18:31:34 UTC
Do you think your hardware is broken? If so, then this bug should not be labeled a regression.

I am unable to duplicate the issue with my hardware.
Comment 8 Patrick Matthäi 2011-03-29 18:48:44 UTC
(In reply to comment #7)
> Do you think your hardware is broken? If so, then this bug should not be
> labeled a regression.
> 
> I am unable to duplicate the issue with my hardware.

Damn sorry, I replied before to another bugreport (to the wrong one), this was my answer to the issue HERE:


(In reply to comment #14)
> Hmm, speaking for my case, I'm thinking that it is more a hardware error.
> 
> I reproduced it a second time with 2.6.37 and it occured where I put my
> notebook maybe a bit fast on my desk, maybe it is also a HW error with your
> notebook?

Args, sorry, I replied to the wrong bug! This should go to https://bugzilla.kernel.org/show_bug.cgi?id=26802 instead of 10398 :(
Comment 9 Florian Mickler 2011-04-17 19:25:56 UTC
So, I'm closing this as invalid. 

Please shout, if that is wrong.
Comment 10 Andrej Shadura 2012-02-14 09:55:59 UTC
Please reopen the bug, it's not a hardware fault. It happens quite often here, and it's been reported many times on internet. Symptoms are the same, doing rmmod/modprobe helps. Will try to collect more debug info, though.
Comment 11 Florian Mickler 2012-02-18 11:05:06 UTC
Can you verify, that 2.6.36 works and 2.6.37 is broken? If so, can you do as John Linville asked in comment #5 and bisect?
Comment 12 Andrej Shadura 2012-02-18 12:14:17 UTC
As far as I remember, both are broken, but I can't really tell now, I'm using 3.2.0-rc7-686-pae from Debian.

Note You need to log in before you can comment on or make changes to this bug.