LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   wireless bcm4313 driver system crash (https://www.linuxquestions.org/questions/linux-hardware-18/wireless-bcm4313-driver-system-crash-903222/)

tomasz 09-15-2011 02:04 PM

wireless bcm4313 driver system crash
 
All drivers for broadcom bcm4313 (precompiled broadcom-wl from rpmfusion-nonfree, compiled from official sources ver 5-100-82-83, brcmsmac from kmod-staging) freeze my os few minutes (sometimes seconds) after running dhclient wireless_interface which in fact doesn't estabilish a connection. My netbook is acer ao722 with fedora 15.

Code:

uname -r
2.6.40.4-5.fc15.i686

Code:

iwconfig wlan0
wlan0    IEEE 802.11bgn  ESSID:"punkcik" 
          Mode:Managed  Frequency:2.452 GHz  Access Point: 54:E6:FC:F1:EC:E7 
          Bit Rate=1 Mb/s  Tx-Power=19 dBm 
          Retry  long limit:7  RTS thr:off  Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-33 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:3  Missed beacon:0

Code:

lspci -v
07:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
        Subsystem: Broadcom Corporation Device 0510
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at f0100000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [58] Vendor Specific Information: Len=78 <?>
        Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [d0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Virtual Channel
        Capabilities: [160] Device Serial Number 00-00-f9-ff-ff-0c-38-59
        Capabilities: [16c] Power Budgeting <?>
        Kernel driver in use: brcmsmac
        Kernel modules: brcmsmac, wl

Code:

dmesg | grep brcmsmac
[  20.700568] brcmsmac 0000:07:00.0: bus 7 slot 0 func 0 irq 11
[  20.700700] brcmsmac 0000:07:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[  20.700716] brcmsmac 0000:07:00.0: setting latency timer to 64
[  420.145718] ieee80211 phy0: brcmsmac: wl_ops_bss_info_changed: associated

Code:

lsmod | sort
8021q                  14154  0
arc4                    1085  2
atl1c                  26732  0
bluetooth            165011  23 rfcomm,btusb,bnep
bnep                  11748  2
brcmsmac              518811  0
brcmutil                7154  1 brcmsmac
btusb                  12468  2
cfg80211              126267  2 brcmsmac,mac80211
cpufreq_ondemand        4782  2
crc_ccitt              1245  1 brcmsmac
drm                  156263  4 radeon,ttm,drm_kms_helper
drm_kms_helper        23178  1 radeon
garp                    4938  1 8021q
i2c_algo_bit            4206  1 radeon
i2c_core              21572  6 videodev,i2c_piix4,radeon,drm_kms_helper,drm,i2c_algo_bit
i2c_piix4              9102  0
ip6table_filter        1215  1
ip6_tables              9828  1 ip6table_filter
ip6t_REJECT            3395  2
ipv6                  235841  31 ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6
joydev                  7219  0
k10temp                2511  0
lib80211                4018  1 wl
llc                    3726  2 garp,stp
mac80211              211975  1 brcmsmac
media                  9214  2 uvcvideo,videodev
microcode              11689  0
Module                  Size  Used by
mperf                  1137  1 powernow_k8
nf_conntrack          56146  3 nf_conntrack_ipv6,nf_conntrack_ipv4,xt_state
nf_conntrack_ipv4      6874  1
nf_conntrack_ipv6      6429  1
nf_defrag_ipv4          1093  1 nf_conntrack_ipv4
nf_defrag_ipv6          7174  1 nf_conntrack_ipv6
powernow_k8            19162  0
radeon                623673  2
rfcomm                49712  4
rfkill                12939  4 bluetooth,cfg80211
snd                    48471  17 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
snd_hda_codec          71160  3 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
snd_hda_codec_conexant    44433  1
snd_hda_codec_hdmi    20135  1
snd_hda_intel          20567  4
snd_hwdep              4905  1 snd_hda_codec
snd_page_alloc          6035  2 snd_hda_intel,snd_pcm
snd_pcm                63457  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq                43528  0
snd_seq_device          5033  1 snd_seq
snd_timer              15245  2 snd_seq,snd_pcm
soundcore              5027  1 snd
sp5100_tco              4269  0
sparse_keymap          2746  0
stp                    1391  1 garp
sunrpc                168869  1
ttm                    45926  1 radeon
uas                    6207  0
ums_realtek            3991  0
usb_storage            36519  1 ums_realtek
uvcvideo              51089  0
video                  10684  0
videodev              64085  1 uvcvideo
wl                  2631507  0
wmi                    7601  0
xt_state                942  2

packages installed:
akmod-wl-5.60.48.36-2.fc15.1.i686
broadcom-wl-5.60.48.36-1.fc13.noarch
kmod-wl-2.6.40.4-5.fc15.i686
kmod-staging-2.6.40.4-5.fc15.i686
staging-kmod-addons-2.6.40-3.fc15.noarch
linux-firmware-20110601-1.fc15.noarch

I've found many threads where people finally get it running on fedora 15 so I hope that I will also make it operable. But now I'm out of ideas.

Thanks in advance.

theiron 09-15-2011 09:08 PM

Your reporting is fairly complete, and I applaud you for that. However, have you combed the DMESG output for any BROADCOMM messages? One that talks to firmware, in particular?

I run Ubuntu 11.04, so I may not be any help to you.

H_TeXMeX_H 09-16-2011 02:20 AM

I think the driver is unstable (as it is staging), and I've gotten crashes too. I would upgrade to the latest version of the driver and firmware if there are any newer.

Z0K4 09-16-2011 05:25 AM

Quote:

Originally Posted by tomasz (Post 4472725)
...broadcom bcm4313...

As you can see on this webpage (third from botom) your BCM4313 is not supported, because it's still WIP (work in process)!
I hope this helped you understand why your system crashes. It's up to you to find a solution! Good luck and cheers!

H_TeXMeX_H 09-16-2011 08:02 AM

Quote:

Originally Posted by Z0K4 (Post 4473429)
As you can see on this webpage (third from botom) your BCM4313 is not supported, because it's still WIP (work in process)!
I hope this helped you understand why your system crashes. It's up to you to find a solution! Good luck and cheers!

Not quite true, because this card is supported by brcmsmac:
http://linuxwireless.org/en/users/Drivers/brcm80211

And the OP has stated that they use brcmsmac.

Z0K4 09-16-2011 09:08 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 4473559)
Not quite true, because this card is supported by brcmsmac:
http://linuxwireless.org/en/users/Drivers/brcm80211

And the OP has stated that they use brcmsmac.

My apologies then. Well, sorry for the false info on that one. I guess I should have done more reading!
Anyway, good luck with finding the solution to this problem! Cheers.

business_kid 09-17-2011 01:56 PM

Just cruising by - Don't hit me if this is off beam!

The system shows brcmsmac and wl (i.e. broadcom's binary blob) running. Is this correct?
The brcmsmac thing also needs firmware, and I usually hunt for this in /var/log/messages. I don't see it mentioned.

Also beware that some of these drivers busily blacklist other competiong drivers, so weirdness can be added in /etc/modprobe.d/blacklist

H_TeXMeX_H 09-17-2011 02:05 PM

I agree that it could be a driver conflict if you have more than one driver installed. Use one or the other, not both. Blacklist one of them.

tomasz 09-27-2011 12:57 PM

Drivers are ok, it was a bios issue.

Thanks a lot.


All times are GMT -5. The time now is 09:34 AM.