Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 158699

Summary: Some functions hardlock when BCM43xx card is cycled with 2.6.19-suspend2 and -r1
Product: Gentoo Linux Reporter: Alex Elsayed <eternaleye>
Component: [OLD] Core systemAssignee: Alon Bar-Lev (RETIRED) <alonbl>
Status: VERIFIED NEEDINFO    
Severity: major CC: kernel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex Elsayed 2006-12-20 19:57:33 UTC
If I repeatedly cycle my BCM4306 card (using the kernel driver), these problems occur in succession:
1.) It fails to go down and hangs there (at console or in konsole, hangs konsole)
2.) Ctrl+c doesn't stop it
3.) kill and killall cease working on that process
4.) X stops accepting keyboard input
5.) X fails to stop or trigger actual shutdown on kde-shutdown, must trigger acpi power event to bypass
6.) shutdown hangs on bringing down eth1

This is completely repeatable, it happens after 6-10 cyclings (didn't count), i s not affected by using different firmware versions, whether eth0 is up or down, etc. It only occurred with 2.6.19 and 2.6.19-r1. As suspend2 does not make changes to the networking stack, this bug may hold true for gentoo-sources and possibly vanilla as well.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2006-12-21 12:28:50 UTC
1. Please try adding:
ProcSetting full_pageset2 1
to /etc/hibernate/suspend2.conf
*REBOOT*

2. Please try to unload module before suspend, add:
UnloadModules BCM43xx
to /etc/hibernate/common.conf

3. Please try to add the module to /etc/hibernate/blacklisted-modules

4. I think it will be much better if you try to solve these issues with upstream... The user groups of www.suspend2.net. This is not gentoo specific issue, there is not much I can do without upstream patch. After you get such a patch I will be happy to include it.

Please report of results.
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2006-12-25 10:14:41 UTC
Reopen if you have more information or patch to solve the problem.
Thanks!
Comment 3 Alex Elsayed 2007-01-09 23:45:19 UTC
Okay, me!=brainiac.
I just realized that I was using a v4 firmware, when fwcutter specifically says that the in-kernel driver can't handle it. One rm /lib/firmware/* && bcm43xx-fwcutter -w /lib/firmware wl_apsta.o later, and it's working perfectly. Maybe we ought to bring back net-wireless/bcm43xx so we can have support for v4 firmwares.