View previous topic :: View next topic |
Author |
Message |
Cueball n00b
Joined: 19 Sep 2009 Posts: 22 Location: Barrow-in-Furness
|
Posted: Mon Oct 15, 2012 4:40 am Post subject: broadcom-sta kernel panic 3.6.2 |
|
|
I'm having problems with the broadcom-sta drivers. Since compiling new kernel 3.6.2 I have re-installed the broadcom-sta driver and when I run "modprobe wl" I get a kernel panic.
Through a google search i have found an Arch Linux user with exactly the same problem.
https://bbs.archlinux.org/viewtopic.php?pid=1175887
Has anyone else had this problem? _________________ "It said on the side of the box "Requires Windows 95 or better", So I installed Linux"
unzip; strip; touch; finger; grep; mount; fsck; more; yes; fsck; umount; sleep |
|
Back to top |
|
|
188562 Apprentice
Joined: 22 Jun 2008 Posts: 186
|
Posted: Mon Oct 15, 2012 10:59 am Post subject: |
|
|
yep and thats why now on 3.6.2 i use b43 |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Mon Oct 15, 2012 12:20 pm Post subject: |
|
|
related Bug seems to be: https://bugs.gentoo.org/show_bug.cgi?id=437898
@init_6, a lucky man you are. My older mac-mini has: Code: | lspci -nn|grep Broadcom
03:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11a/b/g/n [14e4:4328] (rev 05) | Which is not included in newer opensource accomplishments regarding Broadcom wireless
The weird thing is for Debian~unstable the dkms method builds a working wl.ko for the siduction.org kernel. This kernel I can copy with its /lib/modules to my Gentoo installation, dracut an initramfs, and Broadcom wl.ko works! But with minor module dependencies as shown running
linux-image-3.6-1.towo-siduction-amd64 Code: | lsmod|grep wl
wl 2593458 0
lib80211 5245 1 wl | My linux-3.5.7 kernel normally shows an additional: Code: | cfg80211 187208 1 wl |
[edit 1] Just to disable in linux .config CFG80211 doesn't work either:
- systemctl start wpasupplicant@wlan0 doesnt segfault the whole system any more
- But it doesn't do any connect either. Also ifconfig doesn't show up the interface wlan0 any more
[edit 2] I solved my issue. Look at the bug link for my patch! It is the old wext interface possible only. My linux .config: Code: | CONFIG_CFG80211=m
CONFIG_NL80211_TESTMODE=y
CONFIG_CFG80211_DEVELOPER_WARNINGS=y
# CONFIG_CFG80211_REG_DEBUG is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
# CONFIG_CFG80211_DEFAULT_PS is not set
CONFIG_CFG80211_INTERNAL_REGDB=y
CONFIG_CFG80211_WEXT=y
CONFIG_LIB80211=y
CONFIG_LIB80211_CRYPT_WEP=y
CONFIG_LIB80211_CRYPT_CCMP=y
CONFIG_LIB80211_CRYPT_TKIP=y
CONFIG_LIB80211_DEBUG=y
# CONFIG_MAC80211 is not set
ONFIG_HOSTAP=y
# CONFIG_HOSTAP_FIRMWARE is not set
# CONFIG_HOSTAP_PLX is not set
# CONFIG_HOSTAP_PCI is not set |
|
|
Back to top |
|
|
188562 Apprentice
Joined: 22 Jun 2008 Posts: 186
|
Posted: Tue Oct 16, 2012 7:14 am Post subject: |
|
|
ulenrich wrote: | @init_6, a lucky man you are. My older mac-mini has: Code: | lspci -nn|grep Broadcom
03:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11a/b/g/n [14e4:4328] (rev 05) | Which is not included in newer opensource accomplishments regarding Broadcom wireless |
On my Code: | lspci -nn|grep Broadcom
03:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
|
work, all three methods: broadcom-sta, b43 and ndiswrapper. and btw now b43 look even better! |
|
Back to top |
|
|
Cueball n00b
Joined: 19 Sep 2009 Posts: 22 Location: Barrow-in-Furness
|
Posted: Tue Oct 16, 2012 12:14 pm Post subject: |
|
|
Code: | 02:00.0 Network controller [0280]: Broadcom Corporation BCM43227 802.11b/g/n [14e4:4358] |
I tried the b43 drivers on my card and it doesn't load my card. The linux wireless site says it's untested. _________________ "It said on the side of the box "Requires Windows 95 or better", So I installed Linux"
unzip; strip; touch; finger; grep; mount; fsck; more; yes; fsck; umount; sleep |
|
Back to top |
|
|
188562 Apprentice
Joined: 22 Jun 2008 Posts: 186
|
Posted: Wed Oct 17, 2012 8:28 am Post subject: |
|
|
Fix from bug #437898 help for my
Code: | # uname -a
Linux nemesis 3.6.2-geek #10 SMP Wed Oct 17 11:14:17 EEST 2012 x86_64 Intel(R) Pentium(R) Dual CPU T3200 @ 2.00GHz GenuineIntel GNU/Linux
# lsmod | grep wl
wl 2550538 0
lib80211 5320 2 wl,lib80211_crypt_tkip
|
|
|
Back to top |
|
|
ManDay Apprentice
Joined: 22 Jan 2008 Posts: 247
|
Posted: Sun Oct 28, 2012 8:37 pm Post subject: |
|
|
Could anyone sum up whether there is a solution and if so, what it is? |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Sun Oct 28, 2012 10:51 pm Post subject: |
|
|
A) The best solution for me was
- copying newer linux-firmware-nonfree from Ubuntu-12-10
- purging broadcom-sta
- removing blacklisting of b43
- enabling b43 kernel .config + new kernel compile
But this is my three year old Mac-mini.
B) If you need to use the extra module from broadcom-sta:
- copy the broadcom-sta ebuild tree to your local overlay
- put my ebuild in your local overlay:
https://437898.bugs.gentoo.org/attachment.cgi?id=326896
- put an extra patch in files/brodcom-sta-5.100.82.112-eth-to-wlan.patch
https://437898.bugs.gentoo.org/attachment.cgi?id=326894
- ebuild br....ebuild manifest
- emerge broadcom-sta (should be the new one, if you have done right with local overlay)
- and start with an extra option
/usr/sbin/wpa_supplicant -Dwext ...
Explanation: The wext interface is ancient and therefore not worked on in newer linux kernel releases. As a remaining stable abi "wext" should work for you in most cases. |
|
Back to top |
|
|
ManDay Apprentice
Joined: 22 Jan 2008 Posts: 247
|
Posted: Wed Oct 31, 2012 8:12 pm Post subject: |
|
|
ulenrich wrote: | A) The best solution for me was
- copying newer linux-firmware-nonfree from Ubuntu-12-10
- purging broadcom-sta
- removing blacklisting of b43
- enabling b43 kernel .config + new kernel compile
But this is my three year old Mac-mini.
B) If you need to use the extra module from broadcom-sta:
- copy the broadcom-sta ebuild tree to your local overlay
- put my ebuild in your local overlay:
https://437898.bugs.gentoo.org/attachment.cgi?id=326896
- put an extra patch in files/brodcom-sta-5.100.82.112-eth-to-wlan.patch
https://437898.bugs.gentoo.org/attachment.cgi?id=326894
- ebuild br....ebuild manifest
- emerge broadcom-sta (should be the new one, if you have done right with local overlay)
- and start with an extra option
/usr/sbin/wpa_supplicant -Dwext ...
Explanation: The wext interface is ancient and therefore not worked on in newer linux kernel releases. As a remaining stable abi "wext" should work for you in most cases. |
Thank you for the explanation.
A) does not work for me with a BCM 43228 - The device doesn't show up in "ifconfig -a" after I modprobe b43.
B) does not work either. With kernel 3.6.4 I get a bunch of errors upon compilation:
Quote: | /tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r9999/work/src/wl/sys/wl_linux.c:446:5: error: ‘struct net_device’ has no member named ‘wireless_handlers' |
and others of that sort, such as
Quote: | /tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r9999/work/src/wl/sys/wl_iw.c:2296:2: error: unknown field ‘num_private’ specified in initializer |
Which kernel version was B) (or A), for that matter) supposed to work with?
Edit: Turns out I had to recompile the kernel with the new config before I could compile broadcom-sta
Edit: I managed to compile wl, but again, as with solution A), the interface is nowhere to be found even when wl is loaded.
Edit: After removing (I guess blacklisting would have worked, too) bcma, wlan0 shows up and works, too! _________________ <iamben> I think once you get comfortable w/ gentoo, you'll find most other distros to not be good enough |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Wed Oct 31, 2012 8:46 pm Post subject: |
|
|
@ManDay,
Sounds like B) will probably work for you?
If you want to try A) as firmware no additional kernel module needs to be compiled but b43 .config!
? Have you downloaded firmware linux-firmware-nonfree-1.14 from
http://de.archive.ubuntu.com/ubuntu/pool/multiverse/l/linux-firmware-nonfree/
There should be other places available to get the new b43 firmware, I guess: somewhere kernel.org |
|
Back to top |
|
|
ManDay Apprentice
Joined: 22 Jan 2008 Posts: 247
|
Posted: Thu Nov 01, 2012 6:52 am Post subject: |
|
|
ulenrich wrote: | @ManDay,
Sounds like B) will probably work for you?
If you want to try A) as firmware no additional kernel module needs to be compiled but b43 .config!
? Have you downloaded firmware linux-firmware-nonfree-1.14 from
http://de.archive.ubuntu.com/ubuntu/pool/multiverse/l/linux-firmware-nonfree/
There should be other places available to get the new b43 firmware, I guess: somewhere kernel.org |
B) does work, yes.
I cannot parse the rest of your post, possibly because of missing punctuation. _________________ <iamben> I think once you get comfortable w/ gentoo, you'll find most other distros to not be good enough |
|
Back to top |
|
|
ColinMc n00b
Joined: 26 Dec 2012 Posts: 17
|
Posted: Thu Dec 27, 2012 10:51 pm Post subject: |
|
|
ManDay wrote: | ulenrich wrote: | @ManDay,
Sounds like B) will probably work for you?
If you want to try A) as firmware no additional kernel module needs to be compiled but b43 .config!
? Have you downloaded firmware linux-firmware-nonfree-1.14 from
http://de.archive.ubuntu.com/ubuntu/pool/multiverse/l/linux-firmware-nonfree/
There should be other places available to get the new b43 firmware, I guess: somewhere kernel.org |
B) does work, yes.
I cannot parse the rest of your post, possibly because of missing punctuation. |
Can you provide the details on how you got it to work. I have the same as you BCM43228 and I am struggling to get wireless to work. Right now I have the broadcom-sta installed, it shows wl as installed as a module, wlan0 comes up but it fails to make a connection at all to my network. Here is the link of my post: https://forums.gentoo.org/viewtopic-p-7210788.html#7210788 |
|
Back to top |
|
|
Cueball n00b
Joined: 19 Sep 2009 Posts: 22 Location: Barrow-in-Furness
|
Posted: Thu Dec 27, 2012 11:32 pm Post subject: |
|
|
ulenrich Thanks for the patch, I've only now gotten around to making it work on my laptop. Until now I was using 3.5.3.
The b43 drivers for my card will unfortunately not work with my card and it seems that the devs have now confirmed this.
Code: | 02:00.0 Network controller [0280]: Broadcom Corporation BCM43227 802.11b/g/n [14e4:4358] |
They now link this post from their mailing list
http://lists.infradead.org/pipermail/b43-dev/2012-August/002746.html _________________ "It said on the side of the box "Requires Windows 95 or better", So I installed Linux"
unzip; strip; touch; finger; grep; mount; fsck; more; yes; fsck; umount; sleep |
|
Back to top |
|
|
|