LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 09-02-2006, 11:13 PM   #1
ShadowHywind
Member
 
Registered: Oct 2005
Distribution: Kubuntu
Posts: 38

Rep: Reputation: 15
amd64, ndiswrapper, broadcom wireless problems


just got a new laptop and installing kubuntu 6.06 (64-bit). And i can not get the wireless to work for the life of me. I had kubuntu + ndiswrapper + broadcom wireless all working on my old laptop. Its the 64-bit that is throwing me off. So if anyone has any ideas i will up to anything. I am using the 64-bit drivers for broadcom from linuxant. info from lspci -v, ndiswrapper -l, and dmesg are listed below, hopefully someone can help mee.

lspci -v (just the broadcom part)
Code:
0000:03:00.0 Network controller: Broadcom Corporation: Unknown device 4311 (rev 01)
        Subsystem: Hewlett-Packard Company: Unknown device 1363
        Flags: fast devsel
        Memory at c0400000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <available only to root>
ndiswrapper -l
[CODE]
Installed drivers:
netbc564 driver installed, hardware present
[/CODE/

dmesg
Code:
[ 1731.114560] ndiswrapper version 1.23 loaded (preempt=yes,smp=yes)
[ 1731.122012] ndiswrapper (load_pe_images:573): fixing KI_USER_SHARED_DATA address in the driver
[ 1731.123625] ndiswrapper: driver netbc564 (,10/01/2002,3.70.17.5) loaded
[ 1731.123894] PCI: No IRQ known for interrupt pin A of device 0000:03:00.0. Probably buggy MP table.
[ 1731.123934] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 1731.123945] ndiswrapper (NdisWriteErrorLogEntry:239): log: C000138B, count: 1, return_address: ffffffff888ad3ce
[ 1731.123950] ndiswrapper (NdisWriteErrorLogEntry:242): code: 9
[ 1731.123955] ndiswrapper (miniport_init:264): couldn't initialize device: C0000001
[ 1731.123961] ndiswrapper (pnp_start_device:428): Windows driver couldn't initialize the device (C0000001)
[ 1731.123977] ndiswrapper (miniport_halt:327): device ffff810075d08500 is not initialized - not halting
[ 1731.123982] ndiswrapper: device eth%d removed
[ 1731.123985] unregister_netdevice: device eth%d/ffff810075d08000 never was registered
[ 1731.123997] ndiswrapper: probe of 0000:03:00.0 failed with error -22
 
Old 09-16-2006, 02:33 PM   #2
kyuso
Member
 
Registered: Sep 2003
Distribution: rh6-9 fc1-5
Posts: 34

Rep: Reputation: 15
WPA-PSK for broadcom 4311 (bcm1390m)

I have a similar setup (HP zv6000z) with broadcom bcm1390m (14e4:4311). I installed 32-bit Fedora Core 5 and ndiswrapper 1.23 with Dell-supplied bcmwl5 driver (see http://ndiswrapper.sourceforge.net/m...index.php/List)

The driver finds the device (dmesg output):
Code:
ndiswrapper version 1.23 loaded (preempt=no,smp=yes)
ndiswrapper: driver bcmwl5 (Broadcom,11/02/2005, 4.10.40.0) loaded
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LK1E] -> GSI 18 (level, high) -> IRQ 58
PCI: Setting latency timer of device 0000:03:00.0 to 64
ndiswrapper: using irq 58
wlan0: vendor: ''
wlan0: ethernet device XX:XX:XX:XX:XX:XX using NDIS driver bcmwl5, 14E4:4311.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
The driver works perfectly with WEP.

But I can't make it work with WPA-PSK. Does this mean the Dell driver does not have WPA-PSK? Anyone made this work with WPA-PSK (not WPA2PSK)? Is the above message saying that WPA-PSK is not supported (I only see TKIP with WPA or WPA2PSK, not WPA-PSK or something.)

My problem is that the device will not connect to my router with WPA-PSK. If I manually do 'iwconfig essid MYESSID ap APMACADDRESS' iwconfig still shows as:
Code:
wlan0     IEEE 802.11g  ESSID:off/any  Nickname:"host.domain"
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
          Bit Rate=54 Mb/s   Tx-Power:32 dBm   
          RTS thr=2347 B   Fragment thr=2346 B   
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
so it's not associating with the router or even setting ESSID, although the channel/frequency is set correctly. ifconfig shows not a single traffic of packets in and out (zero traffic).

I do use wpa_supplicant and edited ifup-wireless script so that it won't set ESSID any or KEY any by default, and even manually went through the script. Still no go.

The wpa_supplicant configuration works perfectly on another machine that has Broadcom bcm94306 with either Broadcom 43xx kernel driver or ndiswrapper with Acer-supplied driver, so WPA-PSK should work.

I do occasionally see 'IRQ #7 disabled' or something, and I had to use 'noapic' kernel boot parameter since the machine sometimes hangs without it. I wonder if this has anything to do with it (but WEP works, so I'm not sure.)

Help.
 
Old 09-16-2006, 03:01 PM   #3
ShadowHywind
Member
 
Registered: Oct 2005
Distribution: Kubuntu
Posts: 38

Original Poster
Rep: Reputation: 15
Well i "downgraded" to the 32-bit version of kubuntu, to get my wireless working. Make sure you do not have acpi=off , *but sense yours is working, chances are are not doing acpi=off*, I did manage to use the dell drivers with WPA, without much headache, just for double-checking, why don't you post your wpa_supplicant.conf file? also what WPA are you useing, TKIP or AES encyption?
 
Old 09-16-2006, 03:23 PM   #4
kyuso
Member
 
Registered: Sep 2003
Distribution: rh6-9 fc1-5
Posts: 34

Rep: Reputation: 15
Quote:
Originally Posted by ShadowHywind
...what WPA are you useing, TKIP or AES encyption?
The wpa_supplicant is just standard using WPA with TKIP:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1

network={
        ssid="myssid"
        scan_ssid=1
        key_mgmt=WPA-PSK
        pairwise=TKIP
        group=TKIP
        psk=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
}
Here is an update: If I run wpa_supplicant in debug mode 'wpa_supplicant -ddd ...' the device does get associated successfully all the time. But 'ifup wlan0' at one time succeeded and most times fails.

If I run wpa_supplicant in the background, the device cannot associate to the router at all.

There must be some timing issue or something. Windows XP doesn't fare well either as it responds intermittently to wireless driver supplied by the manufacturer, and no audio at all.
 
Old 09-16-2006, 05:26 PM   #5
kyuso
Member
 
Registered: Sep 2003
Distribution: rh6-9 fc1-5
Posts: 34

Rep: Reputation: 15
Quote:
Originally Posted by kyuso
Here is an update: If I run wpa_supplicant in debug mode 'wpa_supplicant -ddd ...' the device does get associated successfully all the time. But 'ifup wlan0' at one time succeeded and most times fails.
My bad. I was running 'wpa_supplicant -Dndiswrapper ...' (wrong way) instead of 'wpa_supplicant -Dwext ...' (right way, with ndiswrapper 1.23, or at least 1.16 or so.)

Now everything works perfectly!

Quote:
Windows XP doesn't fare well either as it responds intermittently to wireless driver supplied by the manufacturer, and no audio at all.
Now on to spending more time on fixing Windows XP problems so I can still play multi-player games.
 
Old 09-16-2006, 09:05 PM   #6
ShadowHywind
Member
 
Registered: Oct 2005
Distribution: Kubuntu
Posts: 38

Original Poster
Rep: Reputation: 15
i allways use -Dndiswrapper, and never any problems, but anyways. What i useally have to do is run the wpa_supplicant command line stuff, and then do dhcpcd wlan0 to reassign my IP, just an idea
 
Old 09-17-2006, 07:14 PM   #7
kyuso
Member
 
Registered: Sep 2003
Distribution: rh6-9 fc1-5
Posts: 34

Rep: Reputation: 15
hangs with wireless traffic (nvidia and ndiswrapper conflict?)

I still have problems. I think it's related to another similar thread regarding proprietary nvidia driver and ndiswrapper interrupt conflict or something.

The wireless seems to connect properly, but the machine hangs when large traffic starts to go through wireless (starting a web browser) with the following console message:

kernel: Disabling IRQ #7

and sometimes

kernel: Disabling IRQ #50

I upgraded kernel to 2.6.17-1.2187_FC5smp and that at least seems to fix hanging without 'noapic', but didn't solve the above problem. I tried ndiswrapper 1.24rc4 and 1.23 but didn't solve it.

I tried turning off vsync from nvidia-settings and that didn't help.

The machine is otherwise pretty stable without wireless traffic (even when ndiswrapper is loaded.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcom Wireless (BCM4306) Wireless problems: modprobe ndiswrapper freezes HP Laptop shthap3ns Linux - Hardware 11 02-11-2007 01:53 PM
Configuring Broadcom Wireless Card w/ NdisWrapper jeelliso Linux - Hardware 2 07-17-2006 01:43 PM
ndiswrapper to set up broadcom wireless card... ram0135 Linux - Wireless Networking 3 12-14-2004 12:10 AM
Fedora Core 1, Ndiswrapper, and Broadcom wireless card... bmike30 Linux - Wireless Networking 1 09-30-2004 01:26 AM
broadcom 54g wireless card to work with ndiswrapper adamwenner Linux - Hardware 9 05-13-2004 09:54 PM


All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration