PDA

View Full Version : [ubuntu] 9.04 freezes when loading kernel module for BCM4311



fateme-evo
August 22nd, 2009, 11:05 PM
Hello fellow ubuntu users,

we're trying to get ubuntu working on a Dell Inspiron 6400 but we're having some troubles getting wireless to work.
lpci -vnn gives


0b:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)
Subsystem: Dell Device [1028:0007]
Flags: bus master, fast devsel, latency 0, IRQ 4
Memory at efdfc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: b43-pci-bridge
Kernel modules: wlSo far, we tried different drivers: b43, wl, and ndiswrapper. However, upon loading the kernel module, it seems all the drivers are loading and working; the wifi light turns on meaning that the wlan module is active, but right after modprobe returns, the system hangs and only a restart is possible.
After reboot, according to syslog, everything looks fine, for example loading the b43 gives the following output in syslog

Aug 22 14:13:16 laptop kernel: [ 393.780065] cfg80211: Calling CRDA to update world regulatory domain
Aug 22 14:13:16 laptop kernel: [ 393.890500] b43-phy0: Broadcom 4311 WLAN found
Aug 22 14:13:16 laptop kernel: [ 393.926334] cfg80211: World regulatory domain updated:
Aug 22 14:13:16 laptop kernel: [ 393.926339] ^I(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Aug 22 14:13:16 laptop kernel: [ 393.926342] ^I(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug 22 14:13:16 laptop kernel: [ 393.926344] ^I(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Aug 22 14:13:16 laptop kernel: [ 393.926346] ^I(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Aug 22 14:13:16 laptop kernel: [ 393.926348] ^I(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug 22 14:13:16 laptop kernel: [ 393.926350] ^I(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug 22 14:13:16 laptop kernel: [ 393.968789] phy0: Selected rate control algorithm 'pid'
Aug 22 14:13:16 laptop vmnetBridge: RTM_NEWLINK: name:wlan0 index:8 flags:0x00001002
Aug 22 14:13:16 laptop vmnetBridge: Can't remove interface wlan0 8 (does not exist).
Aug 22 14:13:16 laptop kernel: [ 394.036974] Broadcom 43xx driver loaded [ Features: PLR, Firmware-ID: FW13 ]
Aug 22 14:13:16 laptop nm-system-settings: SCPlugin-Ifupdown: device added (udi: /org/freedesktop/Hal/devices/net_00_19_7e_01_8e_9f_0, iface: wlan0): not well known
Aug 22 14:13:16 laptop NetworkManager: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
Aug 22 14:13:16 laptop NetworkManager: <info> (wlan0): new 802.11 WiFi device (driver: 'NULL(info.linux.driver)')
Aug 22 14:13:16 laptop NetworkManager: <info> (wlan0): exported as /org/freedesktop/Hal/devices/net_00_19_7e_01_8e_9f_0
Aug 22 14:15:02 laptop syslogd 1.5.0#5ubuntu3: restart.
It seems there's some resource conflict within the kernel so we've also tried to unload other kernel modules that might be conflicting like the b44, ssb modules prior to loading the wifi driver in different combinations, but everytime the same outcome: driver loads->freeze

lsmod yields

Module Size Used by
xt_TCPMSS 12032 1
xt_tcpmss 10112 1
xt_tcpudp 11008 1
iptable_mangle 10880 1
ip_tables 19600 1 iptable_mangle
x_tables 23044 4 xt_TCPMSS,xt_tcpmss,xt_tcpudp,ip_tables
i915 67844 2
drm 96424 3 i915
binfmt_misc 16776 1
pppoe 18112 2
pppox 11276 1 pppoe
bridge 56212 0
stp 10500 1 bridge
bnep 20224 2
vmnet 48068 14
ppdev 15620 0
parport_pc 40100 0
vmblock 21028 3
vmci 58452 0
vmmon 77040 6
joydev 18496 0
lp 17156 0
parport 42220 3 ppdev,parport_pc,lp
snd_hda_intel 434100 6
snd_pcm_oss 46336 0
snd_mixer_oss 22656 2 snd_pcm_oss
snd_pcm 83076 3 snd_hda_intel,snd_pcm_oss
snd_seq_dummy 10756 0
snd_seq_oss 37760 0
iTCO_wdt 19108 0
iTCO_vendor_support 11652 1 iTCO_wdt
snd_seq_midi 14336 0
snd_rawmidi 29696 1 snd_seq_midi
dcdbas 15264 0
pcspkr 10496 0
psmouse 61972 0
snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi
snd_seq 56880 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
snd_timer 29704 2 snd_pcm,snd_seq
snd_seq_device 14988 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
intel_agp 34108 1
sdhci_pci 15232 0
sdhci 23940 1 sdhci_pci
serio_raw 13444 0
btusb 19608 2
agpgart 42696 3 drm,intel_agp
snd 62756 18 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,sn d_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_de vice
soundcore 15200 2 snd
snd_page_alloc 16904 2 snd_hda_intel,snd_pcm
ricoh_mmc 11904 0
usbhid 42336 0
ohci1394 38576 0
ieee1394 94660 1 ohci1394
b44 35984 0
mii 13312 1 b44
ssb 41220 1 b44
fbcon 46112 0
tileblit 10752 1 fbcon
font 16384 1 fbcon
bitblit 13824 1 fbcon
softcursor 9984 1 bitblitDoes anyone have any idea what the problem might be?
And in the lspci output, what exactly does it mean: Kernel driver in use: b43-pci-bridge
b43-pci-bridge comes not as a module but is compiled into the kernel; and can it be the source of the problem?
Any help would be appreciated.

babye and thanks for your time
crazy evo+fateme

fateme-evo
August 23rd, 2009, 11:51 AM
I've made some further research and noticed that ACPI doesn't work and maybe the problems are related. I found out that the kernel is booting with "acpi=off" and the kernel logs show
Aug 22 23:26:50 laptop kernel: [ 0.248594] pci 0000:00:1c.0: can't find IRQ for PCI INT A; please try using pci=biosirq
Aug 22 23:26:50 laptop kernel: [ 0.248599] pci 0000:00:1c.0: setting latency timer to 64
Aug 22 23:26:50 laptop kernel: [ 0.248610] pci 0000:00:1c.3: can't find IRQ for PCI INT D; please try using pci=biosirq
Aug 22 23:26:50 laptop kernel: [ 0.248615] pci 0000:00:1c.3: setting latency timer to 64

[.....]

Aug 22 23:26:50 laptop kernel: [ 0.872084] pcieport-driver 0000:00:1c.0: setting latency timer to 64
Aug 22 23:26:50 laptop kernel: [ 0.872088] pcieport-driver 0000:00:1c.0: device [8086:27d0] has invalid IRQ; check vendor BIOS
Aug 22 23:26:50 laptop kernel: [ 0.872131] pcieport-driver 0000:00:1c.0: found MSI capability
Aug 22 23:26:50 laptop kernel: [ 0.872167] pcieport-driver 0000:00:1c.0: irq 2303 for MSI/MSI-X
Aug 22 23:26:50 laptop kernel: [ 0.872182] pci_express 0000:00:1c.0:pcie00: allocate port service
Aug 22 23:26:50 laptop kernel: [ 0.872194] pci_express 0000:00:1c.0:pcie02: allocate port service
Aug 22 23:26:50 laptop kernel: [ 0.872262] pcieport-driver 0000:00:1c.3: setting latency timer to 64
Aug 22 23:26:50 laptop kernel: [ 0.872266] pcieport-driver 0000:00:1c.3: device [8086:27d6] has invalid IRQ; check vendor BIOS
Aug 22 23:26:50 laptop kernel: [ 0.872308] pcieport-driver 0000:00:1c.3: found MSI capability
Aug 22 23:26:50 laptop kernel: [ 0.872339] pcieport-driver 0000:00:1c.3: irq 2302 for MSI/MSI-X

[....]

Aug 22 13:07:43 laptop kernel: [ 1.853775] IO APIC resources could be not be allocated.
With acpi enabled the kernel freezes already during boot.
Maybe we're facing this kernel bug (our kernel is 2.6.28-15-generic): http://bugzilla.kernel.org/show_bug.cgi?id=13002