You are not logged in.

#1 2006-10-21 11:19:00

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

bcm4311 and ndiswrapper[Solved]

I get some strange errors with bcm4311 wifi card with ndiswrapper, it seems to work for some period of time, then stops.

this is dmesg output after stop:

usb 1-2.3: configuration #1 chosen from 1 choice
hub 1-2.3:1.0: USB hub found
hub 1-2.3:1.0: 3 ports detected
usb 1-2.3.2: new full speed USB device using uhci_hcd and address 5
usb 1-2.3.2: configuration #1 chosen from 1 choice
usbcore: registered new driver hiddev
input: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) as /class/input/in
put3
input: USB HID v1.10 Mouse [Microsoft Microsoft 5-Button Mouse with IntelliEye(T
M)] on usb-0000:00:1d.1-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PM: Writing back config space on device 0000:09:00.0 at offset c (was 90160000, 
writing 0)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth0: link is not ready
IPv6 over IPv4 tunneling driver
ndiswrapper (miniport_set_power_state:399): wlan0 does not support power managem
ent; halting the device
PCI: Setting latency timer of device 0000:0c:00.0 to 64
ndiswrapper: using IRQ 17
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
irq 17: nobody cared (try booting with the "irqpoll" option)
 [<c014a4b4>] __report_bad_irq+0x24/0x90
 [<c014a759>] note_interrupt+0x239/0x270
 [<c01499f2>] handle_IRQ_event+0x32/0x70
 [<c0149b38>] __do_IRQ+0x108/0x130
 [<c0105c91>] do_IRQ+0x31/0x70
 [<c0103c4e>] common_interrupt+0x1a/0x20
 [<c025c0fe>] acpi_processor_idle+0x1ee/0x380
 [<c0101b66>] cpu_idle+0x76/0xe1
handlers:
[<f8cea1c0>] (ndis_isr+0x0/0xc0 [ndiswrapper])
Disabling IRQ #17
[jinn@Estergon ~]$ 

Does anyone else get this problem?

the bcm4311 module doesnt work correctly yet for my wifi, so I have to use ndiswrapper..

when running only the bcm43xx module i get this:

[jinn@Estergon ~]$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:15:C5:3B:9C:5D  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:18 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:100 (100.0 b)  TX bytes:100 (100.0 b)

sit0      Link encap:UNSPEC  HWaddr 00-00-00-00-31-00-00-00-00-00-00-00-00-00-00-00  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

I would prefer having the bcm43xx module working instead of ndiswrapper, but i guess i will just have to wait until they fix that.


The ultimate Archlinux release name: "I am your father"

Offline

#2 2006-10-21 15:33:11

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: bcm4311 and ndiswrapper[Solved]

this is what i get when running with irqpoll at kernel  param.

usbcore: registered new driver hiddev
input: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) as /class/input/in
put3
input: USB HID v1.10 Mouse [Microsoft Microsoft 5-Button Mouse with IntelliEye(T
M)] on usb-0000:00:1d.1-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PM: Writing back config space on device 0000:09:00.0 at offset c (was 80120000, 
writing 0)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
ndiswrapper version 1.26 loaded (preempt=yes,smp=yes)
ndiswrapper: driver bcmwl5 (Broadcom,11/02/2005, 4.10.40.0) loaded
ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:0c:00.0 to 64
ndiswrapper: using IRQ 17
wlan0: vendor: ''
wlan0: ethernet device 00:16:ce:6e:7d:bd using NDIS driver bcmwl5, 14E4:4312:102
8:0007.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP w
ith WPA, WPA2, WPA2PSK
usbcore: registered new driver ndiswrapper
ndiswrapper (miniport_set_power_state:399): wlan0 does not support power managem
ent; halting the device
PCI: Setting latency timer of device 0000:0c:00.0 to 64
ndiswrapper: using IRQ 17
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
BUG: soft lockup detected on CPU#0!
 [<c014965b>] softlockup_tick+0xab/0x110
 [<c012f471>] update_process_times+0x31/0x80
 [<c01164aa>] smp_apic_timer_interrupt+0x5a/0x60
 [<c0103cdf>] apic_timer_interrupt+0x1f/0x24
 [<c032e018>] _spin_unlock_irqrestore+0x8/0x20
 [<c029c9ef>] i8042_interrupt+0x1ff/0x250
 [<c0103c4e>] common_interrupt+0x1a/0x20
 [<c01499f2>] handle_IRQ_event+0x32/0x70
 [<c0149ada>] __do_IRQ+0xaa/0x130
 [<c0105c91>] do_IRQ+0x31/0x70
 [<f8babd07>] azx_interrupt+0x147/0x170 [snd_hda_intel]
 [<c0103c4e>] common_interrupt+0x1a/0x20
 [<c012a392>] __do_softirq+0x62/0xf0
 [<c012a45b>] do_softirq+0x3b/0x50
 [<c012a6a5>] irq_exit+0x45/0x50
 [<c0105c96>] do_IRQ+0x36/0x70
 [<c0103c4e>] common_interrupt+0x1a/0x20
 [<c025c0fe>] acpi_processor_idle+0x1ee/0x380
 [<c0101b66>] cpu_idle+0x76/0xe0
 [<c03e5230>] unknown_bootoption+0x0/0x270
 [<c03e57de>] start_kernel+0x33e/0x3f0
 [<c03e5230>] unknown_bootoption+0x0/0x270
irq 17: nobody cared (try booting with the "irqpoll" option)
 [<c014a4b4>] __report_bad_irq+0x24/0x90
 [<c014a759>] note_interrupt+0x239/0x270
 [<c0149b38>] __do_IRQ+0x108/0x130
 [<c0105c91>] do_IRQ+0x31/0x70
 [<c0103c4e>] common_interrupt+0x1a/0x20
 [<c032e018>] _spin_unlock_irqrestore+0x8/0x20
 [<c029c9ef>] i8042_interrupt+0x1ff/0x250
 [<c0103c4e>] common_interrupt+0x1a/0x20
 [<c01499f2>] handle_IRQ_event+0x32/0x70
 [<c0149ada>] __do_IRQ+0xaa/0x130
 [<c0105c91>] do_IRQ+0x31/0x70
 [<f8babd07>] azx_interrupt+0x147/0x170 [snd_hda_intel]
 [<c0103c4e>] common_interrupt+0x1a/0x20
 [<c012a392>] __do_softirq+0x62/0xf0
 [<c012a45b>] do_softirq+0x3b/0x50
 [<c012a6a5>] irq_exit+0x45/0x50
 [<c0105c96>] do_IRQ+0x36/0x70
 [<c0103c4e>] common_interrupt+0x1a/0x20
 [<c025c0fe>] acpi_processor_idle+0x1ee/0x380
 [<c0101b66>] cpu_idle+0x76/0xe0
 [<c03e5230>] unknown_bootoption+0x0/0x270
 [<c03e57de>] start_kernel+0x33e/0x3f0
 [<c03e5230>] unknown_bootoption+0x0/0x270
handlers:
[<f91201c0>] (ndis_isr+0x0/0xc0 [ndiswrapper])
Disabling IRQ #17
wlan0: no IPv6 routers present
[jinn@Estergon ~]$ 

it seems to be some kind of IRQ conflict.. ndiswrapper uses irq 17, but it gets disabled later on, which probably causes the wifi from not working correctly. Only a reboot seems to fix it.

Trying remove the ndiswrapper module causes crash.


The ultimate Archlinux release name: "I am your father"

Offline

#3 2006-10-24 21:18:25

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: bcm4311 and ndiswrapper[Solved]

Solved the problem. Found out it was a firmware problem, and not all firmwares work well with  the bcm4311 card.

Running firmware 3.4 now.. had tried the newest firmware from dell, and something i found on the net version 3.1.something.

Btw, now is a newer fwcutter out, which can extract version 4.0 and above more correctly, and if the pcie patch is applied on the kernel, native modules can be run instead of ndiswrapper!! this would mean using kismet without problem!

gonna try out the patch later.


The ultimate Archlinux release name: "I am your father"

Offline

#4 2006-10-25 21:33:11

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: bcm4311 and ndiswrapper[Solved]

Sure thing!

I have both added the extracted firmware, and also the sys file that i used to extract the firmware.

http://asil.jinn.googlepages.com/3.40.100.0.tar.gz

Hope it solves your problems.. I remember it was a hell for me..


The ultimate Archlinux release name: "I am your father"

Offline

#5 2006-10-26 14:33:31

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: bcm4311 and ndiswrapper[Solved]

Np,

Btw, if you still get "DISABLING IRQ" kind of messages and your wifi stops working, you might wanna try with acpi=noirq in your kernel parameters, or simply try another kernel. Thats what ndiswrapper recommends (found about this right now..). Maybe this could make me use the other firmware without having problems. gonna try it out later.


The ultimate Archlinux release name: "I am your father"

Offline

#6 2007-01-16 09:47:36

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: bcm4311 and ndiswrapper[Solved]

I found another bug with bcm4311:
https://launchpad.net/ubuntu/+source/li … +bug/57355

And upgrading to kernel > 2.6.20-rc3 seems to solve it..

This bug is related also the irq conflicts, and is related to systems with nvidia cards.


The ultimate Archlinux release name: "I am your father"

Offline

Board footer

Powered by FluxBB