View previous topic :: View next topic |
Author |
Message |
Larsie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Apr 2004 Posts: 6 Location: Antwerpen - Belgium
|
Posted: Sat Jul 17, 2004 2:56 pm Post subject: loadndiswrapper failed (59904) |
|
|
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
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:
I get:
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 |
|
![](templates/gentoo/images/spacer.gif) |
GenKreton l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/32209115435451019fdb3.jpg)
Joined: 20 Sep 2003 Posts: 828 Location: Cambridge, MA
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
oiper Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/141691202643c5980de2a0f.jpg)
Joined: 01 May 2003 Posts: 316 Location: Alabama, US
|
Posted: Sat Jul 17, 2004 4:47 pm Post subject: Well, without knowing more... |
|
|
... 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. ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ www.bearscanfly.org - Because hiking is cool |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GenKreton l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/32209115435451019fdb3.jpg)
Joined: 20 Sep 2003 Posts: 828 Location: Cambridge, MA
|
Posted: Sat Jul 17, 2004 5:25 pm Post subject: |
|
|
My thing was I use ndiswrapper and never once used the command he is using, loadndisdriver, so I blame that ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
swissben n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Homer.jpg)
Joined: 11 Jul 2004 Posts: 25
|
Posted: Sat Jul 17, 2004 7:02 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Larsie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Apr 2004 Posts: 6 Location: Antwerpen - Belgium
|
Posted: Sat Jul 17, 2004 9:37 pm Post subject: |
|
|
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
after the modprobe, but for me the modprobe does not even work. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Larsie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Apr 2004 Posts: 6 Location: Antwerpen - Belgium
|
Posted: Sat Jul 17, 2004 9:41 pm Post subject: |
|
|
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 ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
swissben n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Homer.jpg)
Joined: 11 Jul 2004 Posts: 25
|
Posted: Sun Jul 18, 2004 3:03 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
swissben n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Homer.jpg)
Joined: 11 Jul 2004 Posts: 25
|
Posted: Sun Jul 18, 2004 6:28 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|