LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 05-09-2007, 08:03 PM   #16
rcx11
Member
 
Registered: Oct 2006
Distribution: Fedora 7 x86_64, SLAX
Posts: 58

Rep: Reputation: 15

I'm having a similar problem with Ubuntu. The original problem is identical, but I'm having complications with the solution. I've followed the directions given here, but instead of it working, the card disappears completely from ifconfig and iwconfig. ndiswrapper -l shows the driver is installed and the hardware is present. Any ideas?
 
Old 05-10-2007, 04:19 PM   #17
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Is ndiswrapper loaded (check the output of lsmod)? If it is, you'll have to check your log files and see if something is going wrong when ndiswrapper loads.
 
Old 05-12-2007, 03:29 PM   #18
rcx11
Member
 
Registered: Oct 2006
Distribution: Fedora 7 x86_64, SLAX
Posts: 58

Rep: Reputation: 15
Output of "lsmod" before removal of bcm43xx

Module Size Used by
sg 44584 0
sd_mod 25728 2
usb_storage 89792 1
libusual 21544 1 usb_storage
battery 14088 0
ac 8328 0
thermal 19472 0
fan 7432 0
button 9888 0
bcm43xx 148500 0
ieee80211softmac 40704 1 bcm43xx
ieee80211 39112 2 bcm43xx,ieee80211softmac
ieee80211_crypt 9216 1 ieee80211
8139too 34816 0
ipv6 334432 8
binfmt_misc 16012 1
rfcomm 51360 0
l2cap 31744 5 rfcomm
bluetooth 64644 4 rfcomm,l2cap
powernow_k8 16576 0
cpufreq_userspace 6560 0
cpufreq_stats 9312 0
freq_table 7104 2 powernow_k8,cpufreq_stats
cpufreq_powersave 3456 0
cpufreq_ondemand 10928 1
cpufreq_conservative 11272 0
video 22920 0
tc1100_wmi 10632 0
sony_acpi 7704 0
sbs 20928 0
pcc_acpi 19968 0
i2c_ec 7808 1 sbs
i2c_core 29312 1 i2c_ec
hotkey 14536 0
dev_acpi 17540 0
container 6656 0
asus_acpi 21924 0
nls_iso8859_1 6912 1
nls_cp437 8704 2
vfat 17920 2
fat 65456 1 vfat
nls_utf8 3840 3
ntfs 109128 2
af_packet 29452 2
joydev 14208 0
tsdev 11136 0
sbp2 29448 0
scsi_mod 181424 4 sg,sd_mod,usb_storage,sbp2
parport_pc 43560 0
lp 16584 0
parport 49932 2 parport_pc,lp
pcmcia 49048 0
8139cp 29696 0
evdev 14592 2
tifm_7xx1 11264 0
tifm_core 12928 1 tifm_7xx1
psmouse 51088 0
mii 8192 2 8139too,8139cp
yenta_socket 33420 1
rsrc_nonstatic 16896 1 yenta_socket
sdhci 22796 0
mmc_core 40840 1 sdhci
pcspkr 5248 0
serio_raw 10244 0
pcmcia_core 52772 3 pcmcia,yenta_socket,rsrc_nonstatic
snd_atiixp_modem 21900 0
snd_atiixp 26644 1
snd_ac97_codec 127064 2 snd_atiixp_modem,snd_atiixp
snd_ac97_bus 4352 1 snd_ac97_codec
snd_pcm_oss 57344 0
snd_mixer_oss 22784 1 snd_pcm_oss
snd_pcm 108168 4 snd_atiixp_modem,snd_atiixp,snd_ac97_codec,snd_pcm_oss
snd_timer 31112 1 snd_pcm
shpchp 49068 0
pci_hotplug 38912 1 shpchp
snd 79016 9 snd_atiixp_modem,snd_atiixp,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 14112 1 snd
snd_page_alloc 13200 3 snd_atiixp_modem,snd_atiixp,snd_pcm
ext3 164624 1
jbd 74024 1 ext3
ohci1394 40776 0
ieee1394 387704 2 sbp2,ohci1394
ehci_hcd 40456 0
ohci_hcd 25988 0
usbcore 167840 5 usb_storage,libusual,ehci_hcd,ohci_hcd
ide_generic 2944 0
ide_cd 39584 0
cdrom 43816 1 ide_cd
ide_disk 21248 6
generic 7428 0
atiixp 9232 1
processor 38280 2 thermal,powernow_k8
vesafb 11048 0
capability 7304 0
commoncap 10752 1 capability
vga16fb 16656 1
cfbcopyarea 5376 2 vesafb,vga16fb
vgastate 10368 1 vga16fb
cfbimgblt 4352 2 vesafb,vga16fb
cfbfillrect 6272 2 vesafb,vga16fb
fbcon 45824 73
tileblit 4736 1 fbcon
font 10240 1 fbcon
bitblit 8064 1 fbcon
softcursor 3968 1 bitblit

Output of "ndiswrapper -l"

Installed drivers:
bcmwl5 driver installed, hardware present

Output of "lsmod" after "modprobe ndiswrapper"

Module Size Used by
ndiswrapper 284824 0
sg 44584 0
sd_mod 25728 2
usb_storage 89792 1
libusual 21544 1 usb_storage
battery 14088 0
ac 8328 0
thermal 19472 0
fan 7432 0
button 9888 0
8139too 34816 0
ipv6 334432 8
binfmt_misc 16012 1
rfcomm 51360 0
l2cap 31744 5 rfcomm
bluetooth 64644 4 rfcomm,l2cap
powernow_k8 16576 0
cpufreq_userspace 6560 0
cpufreq_stats 9312 0
freq_table 7104 2 powernow_k8,cpufreq_stats
cpufreq_powersave 3456 0
cpufreq_ondemand 10928 1
cpufreq_conservative 11272 0
video 22920 0
tc1100_wmi 10632 0
sony_acpi 7704 0
sbs 20928 0
pcc_acpi 19968 0
i2c_ec 7808 1 sbs
i2c_core 29312 1 i2c_ec
hotkey 14536 0
dev_acpi 17540 0
container 6656 0
asus_acpi 21924 0
nls_iso8859_1 6912 1
nls_cp437 8704 2
vfat 17920 2
fat 65456 1 vfat
nls_utf8 3840 3
ntfs 109128 2
af_packet 29452 2
joydev 14208 0
tsdev 11136 0
sbp2 29448 0
scsi_mod 181424 4 sg,sd_mod,usb_storage,sbp2
parport_pc 43560 0
lp 16584 0
parport 49932 2 parport_pc,lp
pcmcia 49048 0
8139cp 29696 0
evdev 14592 2
tifm_7xx1 11264 0
tifm_core 12928 1 tifm_7xx1
psmouse 51088 0
mii 8192 2 8139too,8139cp
yenta_socket 33420 1
rsrc_nonstatic 16896 1 yenta_socket
sdhci 22796 0
mmc_core 40840 1 sdhci
pcspkr 5248 0
serio_raw 10244 0
pcmcia_core 52772 3 pcmcia,yenta_socket,rsrc_nonstatic
snd_atiixp_modem 21900 0
snd_atiixp 26644 1
snd_ac97_codec 127064 2 snd_atiixp_modem,snd_atiixp
snd_ac97_bus 4352 1 snd_ac97_codec
snd_pcm_oss 57344 0
snd_mixer_oss 22784 1 snd_pcm_oss
snd_pcm 108168 4 snd_atiixp_modem,snd_atiixp,snd_ac97_codec,snd_pcm_oss
snd_timer 31112 1 snd_pcm
shpchp 49068 0
pci_hotplug 38912 1 shpchp
snd 79016 9 snd_atiixp_modem,snd_atiixp,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 14112 1 snd
snd_page_alloc 13200 3 snd_atiixp_modem,snd_atiixp,snd_pcm
ext3 164624 1
jbd 74024 1 ext3
ohci1394 40776 0
ieee1394 387704 2 sbp2,ohci1394
ehci_hcd 40456 0
ohci_hcd 25988 0
usbcore 167840 6 ndiswrapper,usb_storage,libusual,ehci_hcd,ohci_hcd
ide_generic 2944 0
ide_cd 39584 0
cdrom 43816 1 ide_cd
ide_disk 21248 6
generic 7428 0
atiixp 9232 1
processor 38280 2 thermal,powernow_k8
vesafb 11048 0
capability 7304 0
commoncap 10752 1 capability
vga16fb 16656 1
cfbcopyarea 5376 2 vesafb,vga16fb
vgastate 10368 1 vga16fb
cfbimgblt 4352 2 vesafb,vga16fb
cfbfillrect 6272 2 vesafb,vga16fb
fbcon 45824 73
tileblit 4736 1 fbcon
font 10240 1 fbcon
bitblit 8064 1 fbcon
softcursor 3968 1 bitblit


Any ideas? The specific distro is Ubuntu 6.10 x86_64

Last edited by rcx11; 05-12-2007 at 03:32 PM.
 
Old 05-12-2007, 03:33 PM   #19
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Well, the kernel modules look fine so the trouble must be elsewhere. After you've loaded ndsiwrapper, what is the output of iwconfig (I know you said it is gone, but humor me)? And have you looked through your logs for errors from ndiswrapper after you load the module?
 
Old 05-12-2007, 05:16 PM   #20
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Original Poster
Rep: Reputation: 38
THREAD STEALER!! Hehe, just kidding. I'm glad my thread was somewhat useful, and I hope you get it fixed.

One thing I learned here is that you need to remove bcm43xx BEFORE adding ndiswrapper to modprobe. This might not be the solution for you. Just throwing in my 2 cents.
 
Old 05-12-2007, 09:18 PM   #21
rcx11
Member
 
Registered: Oct 2006
Distribution: Fedora 7 x86_64, SLAX
Posts: 58

Rep: Reputation: 15
For that last post, I have been removing bcm43xx before loading ndiswrapper. As for the iwconfig, this isn't a copy and paste, so exact syntax may differ, but this is how it looks.

lo No wireless extensions.

eth0 No wireless extensions.

sit0 No wireless extensions.


That is it for that. And no, I forgot to check the logs, but that's something I'll do next. There was something that I was wondering about the two outputs of lsmod. In the first one with bcm43xx, it says that ieee80211softmac, ieee80211, and ieee80211_crypt are used by bcm43xx. In the ndiswrapper output, it only says that usbcore is being used by ndiswrapper. Is this normal, or is that possibly where the problem is?
 
Old 05-13-2007, 08:31 AM   #22
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Quote:
In the first one with bcm43xx, it says that ieee80211softmac, ieee80211, and ieee80211_crypt are used by bcm43xx. In the ndiswrapper output, it only says that usbcore is being used by ndiswrapper. Is this normal, or is that possibly where the problem is?
Actually that is normal. The bcm43xx driver uses a number of other kernel modules, but ndiswrapper really doesn't. But USB wireless cards are a special kind of pain in the posterior so also check your logs for errors in the USB system when you plug the card in.
 
Old 05-13-2007, 02:35 PM   #23
rcx11
Member
 
Registered: Oct 2006
Distribution: Fedora 7 x86_64, SLAX
Posts: 58

Rep: Reputation: 15
Actually, I never plug this card in. It's internal on my laptop. I ran dmesg, and here is the output.

"dmseg | grep ndiswrapper"

[ 104.760083] ndiswrapper version 1.22 loaded (preempt=no,smp=yes)
[ 104.802047] ndiswrapper (check_nt_hdr:149): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
[ 104.802053] ndiswrapper (load_sys_files:215): couldn't prepare driver 'bcmwl5'
[ 104.802391] ndiswrapper (load_wrap_driver:113): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'

Judging by what's here, I'd guess I have to find the 64-bit Windows driver for this to work right.

Last edited by rcx11; 05-14-2007 at 09:54 AM.
 
Old 05-14-2007, 06:56 AM   #24
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Quote:
[ 104.802047] ndiswrapper (check_nt_hdr:149): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
That is your problem right there. If you are running a 64 bit OS, you MUST (as in there is absolutely, positively no way around it) use a 64 bit Windows driver. Check out the ndiswrapper wiki for driver suggestions or visit the manufacturers website. Note that XP drivers are probably better than Vista drivers. I know that the ndiswrapper team was working on supporting Vista drivers, but I don't know if they are yet.

Quote:
And this may seem stupid, but I hadn't completely done my research on this, and I was just suddenly overcome with doubt about if this is acutally a Broadcom 43xx device. The Window$ driver is bcmwl5.sys. I was assuming that since the module in linux was bcm43xx, then it was a 43xx device
That is a perfectly legitimate doubt, and hopefully easily taken care of. Try running lspci (you'll probably need to be root) and see if your card is listed in the output. Frequently the chipset is listed as well. Otherwise you might try installing lshw which is a nice tool for identifying hardware.
 
Old 05-14-2007, 05:28 PM   #25
rcx11
Member
 
Registered: Oct 2006
Distribution: Fedora 7 x86_64, SLAX
Posts: 58

Rep: Reputation: 15
Do you know of any locations for the 64-bit Window$ driver? I looked at iwconfig after my most recent restart. I haven't blacklisted the bcm43xx module (again) and it showed it to be a Broadcom 4318. I've been searching all day and either the drivers I find don't work or the link is broken to be able to download them. The SuSE 10 x86_64 project says that only the 4318 drivers downloaded from Acer work with that distro. I can't confirm it on mine because the link to that download is broken.
 
Old 05-14-2007, 11:29 PM   #26
rcx11
Member
 
Registered: Oct 2006
Distribution: Fedora 7 x86_64, SLAX
Posts: 58

Rep: Reputation: 15
New update. I found a 64 bit Window$ driver for a Broadcom 43xx card, however I don't know the exact model. I obtained it from ftp://ftp.support.acer-euro.com/note...er/winxp64bit/ using logical deduction from the SuSE forums I ran across. It still isn't working, but for a different reason this time. Perhaps you could shed a light on it.

After running "ndiswrapper -i ..." and "modprobe ndiswrapper

"dmesg | grep ndiswrapper"

[ 89.020352] ndiswrapper version 1.22 loaded (preempt=no,smp=yes)
[ 89.043194] ndiswrapper (load_pe_images:573): fixing KI_USER_SHARED_DATA address in the driver
[ 89.044342] ndiswrapper: driver bcmwl5 (Broadcom,02/11/2005, 3.100.64.0) loaded
[ 89.048103] ndiswrapper (NdisWriteErrorLogEntry:241): log: 0C7799B0, count: 1, return_address: ffffffff8843f13e
[ 89.048108] ndiswrapper (NdisWriteErrorLogEntry:244): code: 267
[ 89.048153] ndiswrapper (miniport_init:264): couldn't initialize device: C0000001
[ 89.048159] ndiswrapper (pnp_start_device:428): Windows driver couldn't initialize the device (C0000001)
[ 89.048173] ndiswrapper (miniport_halt:327): device ffff81000c6ca500 is not initialized - not halting
[ 89.048180] ndiswrapper: device eth%d removed
[ 89.048202] ndiswrapper: probe of 0000:06:02.0 failed with error -22
 
Old 05-15-2007, 07:18 AM   #27
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
My only suggestion is to spend some quality time on the ndiswrapper wiki. I know that 64 bit drivers were giving them fits, but since I'm on a 32 bit system, I don't have any direct experience with it.

From the looks of what you posted, the Windows river and ndiswrapper are not compatible. Also, you're using ndiswrapper version 1.22, and the latest is version 1.43. I would definitely download and install the latest version before you try anything else.
 
  


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
Wireless set-up on SuSE 10.2 with BT Voyager 1040 (Broadcom BCM4306) PCI Card ibovey Linux - Wireless Networking 6 03-10-2007 11:57 PM
Installing broadcom wireless card on Fedora sociopathicsolicitor Linux - Hardware 2 01-24-2007 01:55 PM
Broadcom Wireless Card in my HP DV5000 notebook and Fedora Core 4 dont mix. Sconeface Linux - Hardware 1 09-18-2006 05:36 AM
Fedora Core 1, Ndiswrapper, and Broadcom wireless card... bmike30 Linux - Wireless Networking 1 09-30-2004 12:26 AM
Why can't Fedora find my wireless PCI card ??? ramitch Fedora - Installation 4 08-16-2004 05:49 PM


All times are GMT -5. The time now is 12:46 PM.

Main Menu
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