LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2005, 07:12 AM   #1
jeffk42
Member
 
Registered: Mar 2005
Location: Orlando, FL USA
Distribution: Fedora Core 13 x86_64 / RHEL 5.3
Posts: 76

Rep: Reputation: 15
ndiswrapper problems....


I tried, but I just can't seem to get this going. I just wiped everything and reinstalled FC3, and for some reason I can't get the wireless back up. It worked before...

I'm on a Compaq R3000Z laptop, AMD64 3700+, 1.0GB. I've installed ndiswrapper, installed the driver, but I'm getting the following message:

$ sudo /sbin/ifup wlan0
ndiswrapper device wlan0 does not seem to be present, delaying initialization.


Here's some background:
Code:
$ dmesg | grep ndiswrapper
ndiswrapper version 1.1 loaded (preempt=no,smp=no)
ndiswrapper (check_nt_hdr:145): Windows driver is not 64-bit; bad magic: 010B
ndiswrapper (load_sys_files:456): unable to prepare driver 'bcmwl5'
ndiswrapper (ndiswrapper_load_driver:92): loadndiswrapper failed (6); check system log for messages from 'loadndisdriver'
Code:
$ tail -n 2 /etc/modprobe.conf
alias wlan0 ndiswrapper
options nvidia NVreg_Mobile=0
Code:
$ sudo /usr/sbin/ndiswrapper -l
Installed ndis drivers:
bcmwl5  driver present, hardware present
Code:
$ sudo /sbin/lspci | grep Broadcom
02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
I'm also getting an error at startup where its normally saying "Loading storage network audio done" it's got some errors in there, and now it's saying something like "Loading storageloadndisdriver failed ***glibc detected *** invalid pointer (some address) network audio done".

Also, in Gnome, System Settings --> Network, select wlan0 device and click Edit button, select Hardware device tab, selecting the Bind to MAC Address option and clicking the Probe button returns an error, no device found.

So... I'm at a loss at this point. Can anyone help me?

Thanks,
Jeff
 
Old 05-15-2005, 10:15 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Quote:
I'm on a Compaq R3000Z laptop, AMD64
That AMD64 is the problem. Unless they've changed things recently, ndiswrapper doesn't work on a 64 bit system. The Windows drivers are all 32 bit and simply don't work on a 64 bit system.

<edit>

OK, I was wrong. According to the ndiswrapper FAQ, Broadcom chipsets are supported in 64 bit as of ndiswrapper version 1

Quote:
Support for 64-bit drivers has been added in version 1.0. Only Broadcom is known to work at this time.
If you head to the ndiswrapper card list and search for AMD64, you'll find links to the drivers that are supposed to work. ARe these the ones you used?

</edit>

Last edited by Hangdog42; 05-15-2005 at 10:24 AM.
 
Old 05-15-2005, 02:14 PM   #3
jeffk42
Member
 
Registered: Mar 2005
Location: Orlando, FL USA
Distribution: Fedora Core 13 x86_64 / RHEL 5.3
Posts: 76

Original Poster
Rep: Reputation: 15
Yeah. Actually, I've had ndiswrapper working on this laptop previously, but for some reason I can't get it to work after this format/reinstall. It's driving me nuts.
 
Old 05-15-2005, 06:10 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
OK, I'm doing a little fishing here.....

Do iwconfig or ifconfig show wlan0? Did you ever run ndiswrapper -m? Does your modprobe.conf file contain the alias wlan0 ndiswrapper line?
 
Old 05-15-2005, 06:34 PM   #5
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
I'm using the same chipset with the same laptop I think, but the driver I'm using is the bcmwl5a driver off the cd and not the bcmwl5 driver. I think I have used the bcmwl5 driver before though without any probs but I can't really remember. Try out the other driver to make sure.
Cheers
 
Old 05-16-2005, 05:58 AM   #6
jeffk42
Member
 
Registered: Mar 2005
Location: Orlando, FL USA
Distribution: Fedora Core 13 x86_64 / RHEL 5.3
Posts: 76

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Hangdog42
OK, I'm doing a little fishing here.....

Do iwconfig or ifconfig show wlan0? Did you ever run ndiswrapper -m? Does your modprobe.conf file contain the alias wlan0 ndiswrapper line?
Hmmmm.. No, yes, yes.

Thanks,
Jeff
 
Old 05-16-2005, 06:01 AM   #7
jeffk42
Member
 
Registered: Mar 2005
Location: Orlando, FL USA
Distribution: Fedora Core 13 x86_64 / RHEL 5.3
Posts: 76

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by dcdbutler
I'm using the same chipset with the same laptop I think, but the driver I'm using is the bcmwl5a driver off the cd and not the bcmwl5 driver. I think I have used the bcmwl5 driver before though without any probs but I can't really remember. Try out the other driver to make sure.
Cheers
Yeah, the section of dmesg output I have listed above that contains 'unable to prepare driver 'bcmwl5'' said 'unable to prepare driver 'bcmwl5a'' when I tried that driver. I even tried a couple tha worked on my Linksys PC card on my other laptop (same Broadcom chipset). All of them show 'driver loaded, hardware present'. But they all have this same problem.
 
Old 05-16-2005, 07:51 AM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Quote:
Originally posted by jeffk42
Hmmmm.. No, yes, yes.

Thanks,
Jeff
OK, if neither iwconfig or ifconfig are showing wlan0, then there has to be a problem either with the module loading. Do you get any errors or complaints with modprobe ndiswrapper and if not, once loaded can you see the module in the output of lsmod?
 
Old 05-16-2005, 08:16 AM   #9
jeffk42
Member
 
Registered: Mar 2005
Location: Orlando, FL USA
Distribution: Fedora Core 13 x86_64 / RHEL 5.3
Posts: 76

Original Poster
Rep: Reputation: 15
'modprobe ndiswrapper' didn't give me any problems, it didn't output anything at all.

lsmod gave me the following output:

Code:
Module                  Size  Used by
vfat                   16321  1
fat                    47985  1 vfat
parport_pc             33193  1
lp                     16593  0
parport                49741  2 parport_pc,lp
autofs4                31177  0
sunrpc                195641  1
pcmcia                 31761  4
ipt_REJECT              8129  1
ipt_state               2497  4
ip_conntrack           50821  1 ipt_state
iptable_filter          3777  1
ip_tables              22593  3 ipt_REJECT,ipt_state,iptable_filter
video                  19273  0
button                  8289  0
battery                11337  0
ac                      5961  0
nvidia               4580956  12
md5                     5057  1
ipv6                  306113  10
ohci1394               42457  0
ieee1394              389209  1 ohci1394
yenta_socket           24264  2
rsrc_nonstatic         11073  1 yenta_socket
pcmcia_core            57113  3 pcmcia,yenta_socket,rsrc_nonstatic
ohci_hcd               28117  0
ehci_hcd               42957  0
i2c_nforce2             8385  0
i2c_core               27841  1 i2c_nforce2
snd_intel8x0m          22693  2
snd_intel8x0           40257  2
snd_ac97_codec         91921  2 snd_intel8x0m,snd_intel8x0
snd_pcm_oss            61937  0
snd_mixer_oss          21185  3 snd_pcm_oss
snd_pcm               116813  4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              36297  1 snd_pcm
snd                    66217  11 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              13153  3 snd
snd_page_alloc         12105  3 snd_intel8x0m,snd_intel8x0,snd_pcm
ndiswrapper           177176  0
8139too                32833  0
mii                     6209  1 8139too
dm_snapshot            18985  0
dm_zero                 3137  0
dm_mirror              27897  0
ext3                  151249  2
jbd                    89713  1 ext3
dm_mod                 71593  6 dm_snapshot,dm_zero,dm_mirror
Also, like I mentioned in the first post, I get something like this during startup (after Loading udev):
Loading storageloadndisdriver failed ***glibc detected *** free(): invalid pointer (some address) network audio done
where it would normally just say 'Loading storage network audio done'
 
Old 05-16-2005, 02:32 PM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
I did a little googling on your error message (Loading storageloadndisdriver failed ***glibc detected *** free(): invalid pointer ) and the only times I see the whole thing come up is when people are trying to use the 32 bit Broadcom windows driver on a 64 bit system. That would also be consistent with the error message from your first post

Quote:
ndiswrapper (check_nt_hdr:145): Windows driver is not 64-bit; bad magic: 010B
Is it possible you've confused the 32 and 64 bit versions of this driver and are trying to use the 32 bit?
 
Old 05-16-2005, 02:34 PM   #11
jeffk42
Member
 
Registered: Mar 2005
Location: Orlando, FL USA
Distribution: Fedora Core 13 x86_64 / RHEL 5.3
Posts: 76

Original Poster
Rep: Reputation: 15
Okay, I finally got this working again, so I'm just going to put the resolution here in case someone else has these problems.

The drivers that you can get from HP for the Broadcom chipset are not 64-bit clean, even though ndiswrapper will show 'driver loaded, hardware present'. You must get a different driver, which I managed to track down here: http://lists.pcxperience.com/piperma...il/005320.html

There's a link in the reply to download a zip file that contains the driver. extract the two files into the same directory and 'ndiswraper -i netbc564.inf'

In case the link ever stops working, the two files are called:
netbc564.inf
BCMWL564.SYS

You can search on 'em.
 
Old 05-16-2005, 02:38 PM   #12
jeffk42
Member
 
Registered: Mar 2005
Location: Orlando, FL USA
Distribution: Fedora Core 13 x86_64 / RHEL 5.3
Posts: 76

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Hangdog42
I did a little googling on your error message (Loading storageloadndisdriver failed ***glibc detected *** free(): invalid pointer ) and the only times I see the whole thing come up is when people are trying to use the 32 bit Broadcom windows driver on a 64 bit system. That would also be consistent with the error message from your first post



Is it possible you've confused the 32 and 64 bit versions of this driver and are trying to use the 32 bit?
Oh, hey, you beat me to it. You got it, exactly. Thanks man!
 
  


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
ndiswrapper problems rcrummett Linux - Wireless Networking 5 11-23-2005 05:37 PM
ndiswrapper 1.4 on SUSE 10 problems supwiddiss Linux - Wireless Networking 1 10-14-2005 04:48 AM
Problems with ndiswrapper hr_phenom Linux - Laptop and Netbook 3 08-24-2005 04:51 PM
Problems w/ ndiswrapper and such... KramarDanIkabu Linux - Wireless Networking 1 01-17-2005 06:54 AM
ndiswrapper problems drethenerd Linux - Wireless Networking 3 11-11-2004 06:20 PM


All times are GMT -5. The time now is 02:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration