Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
loadndiswrapper failed (59904)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Larsie
n00b
n00b


Joined: 25 Apr 2004
Posts: 6
Location: Antwerpen - Belgium

PostPosted: Sat Jul 17, 2004 2:56 pm    Post subject: loadndiswrapper failed (59904) Reply with quote

Hi,

Whenever I
Code:
modprobe ndiswrapper

I get the following message in dmesg:

Code:
ndiswrapper version 0.8 loaded
ndiswrapper: loadndiswrapper failed (59904)


If I try
Code:
loadndisdriver -a

or
Code:
loadndisdriver /etc/ndiswrapper/bcmwl5

I get:
Code:
Unable to open kernel driver: Permission Denied

and nothing in dmesg. I am running this (and the installation) as root.

I am using mostly kernel 2.6.7, but I have also tried 2.6.5 and 2.4.24. I have read the ndiswrapper faq and the ndiswrapper Howto thread and checked everything there.

I have tried with Gentoo e-builds, but also with the plain source-code for version 0.6 and 0.8. And the error stays the same.

I am using a Dell Inspiron 500m with Dell Truemobile card (which is detected through lspci and /proc/net/wireless exists).
If I try:
Code:
ndiswrapper -l

I get:
Code:
bcmwl5 present

The card works perfectly in Windows, so that's no problem either.

I have already tried all the possible drivers from Dell, but to no avail.

The funny thing is that everything worked perfectly with a previous install of Gentoo Linux 2.6.5 a couple of months ago. But now whatever I try, I am stuck.

I hope someone can help me, I ve been trying for days now and I am getting really frustrated, the more because I know it has worked before.
Back to top
View user's profile Send private message
GenKreton
l33t
l33t


Joined: 20 Sep 2003
Posts: 828
Location: Cambridge, MA

PostPosted: Sat Jul 17, 2004 4:33 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=125627&highlight=ndiswrapper

The guide is given using the same driver even. I've never seen your error ( I run an ipw2200 on ndiswrapper), and that guide worked flawlessly for me.
Back to top
View user's profile Send private message
oiper
Guru
Guru


Joined: 01 May 2003
Posts: 316
Location: Alabama, US

PostPosted: Sat Jul 17, 2004 4:47 pm    Post subject: Well, without knowing more... Reply with quote

... I guess a simple run down may define your problem more.

Code:
cat /usr/src/linux/.config | grep WIRELESS
CONFIG_NET_WIRELESS=y
su
ACCEPT_KEYWORDS="~x86" emerge ndiswrapper
modules_update
cp myWinDrivers.* /usr/lib/hotplug/drivers/
lspci
lspci -n
nano -w /etc/modules.d/ndiswrapper
modprobe ndiswrapper
iwconfig


That's a rough rundown. I just saw that GenKreton posted a link to the "how to", if you still have problems, let us know. Oh, I once had issues with a certain pci slot and, as chance may be, it was with a wireless card(not that it matters though). So, if after all of this.... well, it's an idea. Stranger things have happened. :roll:
_________________
www.bearscanfly.org - Because hiking is cool
Back to top
View user's profile Send private message
GenKreton
l33t
l33t


Joined: 20 Sep 2003
Posts: 828
Location: Cambridge, MA

PostPosted: Sat Jul 17, 2004 5:25 pm    Post subject: Reply with quote

My thing was I use ndiswrapper and never once used the command he is using, loadndisdriver, so I blame that :)
Back to top
View user's profile Send private message
swissben
n00b
n00b


Joined: 11 Jul 2004
Posts: 25

PostPosted: Sat Jul 17, 2004 7:02 pm    Post subject: Reply with quote

hey oiper,
can you explain what i have to replace REPLACE with??

install ndiswrapper /sbin/modprobe --ignore-install ndiswrapper && { loadndisdriver /etc/ndiswrapper/REPLACE

I thought, I could just leave /etc/ndiswrapper, but that doesnt work. Do i have to give the path to where I saved the windows drivers??


Thanks
Back to top
View user's profile Send private message
Larsie
n00b
n00b


Joined: 25 Apr 2004
Posts: 6
Location: Antwerpen - Belgium

PostPosted: Sat Jul 17, 2004 9:37 pm    Post subject: Reply with quote

Thanks for the replies.

Oiper,
That's about what I have been doing all the time, everything goes right up to
Code:
modprobe ndiswrapper


Genkreton, That was my original starting point, but that has not helped me. If you check the last replies, it becomes clear that it is often needed to do
Code:
loadndisdriver -a

after the modprobe, but for me the modprobe does not even work.
Back to top
View user's profile Send private message
Larsie
n00b
n00b


Joined: 25 Apr 2004
Posts: 6
Location: Antwerpen - Belgium

PostPosted: Sat Jul 17, 2004 9:41 pm    Post subject: Reply with quote

swissben wrote:
hey oiper,
can you explain what i have to replace REPLACE with??

install ndiswrapper /sbin/modprobe --ignore-install ndiswrapper && { loadndisdriver /etc/ndiswrapper/REPLACE

I thought, I could just leave /etc/ndiswrapper, but that doesnt work. Do i have to give the path to where I saved the windows drivers??


Thanks


Hey Swissben,

Below /etc/ndiswrapper you have a folder with the same name as your driver, so for me theoretically this should be:

Code:
install ndiswrapper /sbin/modprobe --ignore-install ndiswrapper && { loadndisdriver /etc/ndiswrapper/bcmwl5 ; }


And for you something similar, only I am having some other problem besides, so it does not work for me :cry:
Back to top
View user's profile Send private message
swissben
n00b
n00b


Joined: 11 Jul 2004
Posts: 25

PostPosted: Sun Jul 18, 2004 3:03 am    Post subject: Reply with quote

Hey Larsie,
thanks for the reply. I tried, what you said before, but somehow it didnt work, dont know whether it was of that though. Anyway, what about the other line where it says ndiswrapper -i some driver. Is that just supposed to tell me how I can install the win drivers?? this file, the way its written is so useless...

You know, I had wireless once perfectly working till I screwed up with power management and installed the gentoo from scratch again... I was so desperate :?

Anyway, thanks for your help.

Oh, does your module load when you start up the computer??
Back to top
View user's profile Send private message
swissben
n00b
n00b


Joined: 11 Jul 2004
Posts: 25

PostPosted: Sun Jul 18, 2004 6:28 am    Post subject: Reply with quote

hey larsie, just so you know, I got it working again. just removed the driver then emerge ndiswrapper and reinstalled the driver... there we fly again...

hope you get it to work soon too...

ben
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum