LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-09-2005, 06:18 PM   #1
badboyben3000
LQ Newbie
 
Registered: Dec 2005
Distribution: Suse 10.0
Posts: 12

Rep: Reputation: 0
ndiswrapper - Fatal error when modprobe


Hi guys, This may be an old question but I've done many searches and can't find anyting relating to my exact question...

I'm trying to get my Belkin F5D7000 wireless card to work. After reading many forums I tried to install ndiswrapper and ended up installing it from the SUSE disk itself.

I've found the drivers I need and get the driver found, hardware found message when i do ndiswrapper -l. But then when I type modprobe ndiswrapper it tells me the module nidiswrapper is not found!

I read that the SUSE included version of ndiswrapper may not be ideal, but I can't get my head around this pre-requisite of informing the ndisswrapper where the kernel is... or whatever it's trying to tell me in the instructions in the setup wiki.

So whenever I try and run the make commands manually, I just get erorrs saying the pre-requisite has not been met.

Any ideas?

A step by step of how to do this pre-requisite would be very useful as I can't seem to find much detailed information on it!

Cheers,

Ben

Last edited by badboyben3000; 12-11-2005 at 04:22 AM.
 
Old 12-09-2005, 07:37 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
I'm not very good with SuSe but I will try untill someone else comes along.
What version of suse are you using?
Are uname -a and /usr/src/linux the same?
Have you installed the kernel-source or kernel-headers rpm for uname -a?
 
Old 12-10-2005, 03:44 AM   #3
badboyben3000
LQ Newbie
 
Registered: Dec 2005
Distribution: Suse 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
Im using SUSE 10.0 evaluation.

As for the other items you asked me for, I'm sorry but I really don't know what you mean!

Quote:
Originally Posted by comprookie2000
Are uname -a and /usr/src/linux the same?
Have you installed the kernel-source or kernel-headers rpm for uname -a?
Thanks, I know newbies must be a pain!

Ben
 
Old 12-10-2005, 04:16 AM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
From a terminal;
Code:
su
<password>
uname -a
Part of this will show you what kernel you are running, mine is;
Code:
Linux tux 2.6.12-gentoo-r6 #1 Wed Aug 10 18:33:59 EDT 2005 i686 AMD Sempron(tm)   2200+ AuthenticAMD GNU/Linux
so looks like I'm running 2.6.12-gentoo-r6
Code:
tux linux # cd /usr/src
tux src # ls -l
total 13
lrwxrwxrwx   1 root root   22 Aug 10 18:21 linux -> linux-2.6.12-gentoo-r6
drwxr-xr-x  19 root root 1280 Sep 21 20:29 linux-2.6.12-gentoo-r6
-rw-r--r--   1 root root 8228 Aug 10 17:30 linux-2.6.12-gentoo-r6.config.gz
so /usr/src/linux links to linux-2.6.12-gentoo-r6
And you are not a pain that is how we all learn
 
Old 12-10-2005, 12:06 PM   #5
badboyben3000
LQ Newbie
 
Registered: Dec 2005
Distribution: Suse 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
Right, when I do uname -a I get the following:

Linux linux 2.6.13-15.7-default #1 Tue Nov 29 14:32:29 UTC 2005 i686 athlon i386 GNU/Linux

So linux kernel 2.6-13.15.7-default I guess?

And the following appears when I type ls -l in the /usr/src directory:

ben@linux:/usr/src> ls -l
total 0
drwxr-xr-x 3 root root 80 2005-09-09 17:00 kernel-modules
drwxr-xr-x 3 root root 72 2005-12-09 20:50 linux-2.6.13-15.7-obj
drwxr-xr-x 7 root root 168 2005-09-09 17:27 packages


What does all that mean!

Cheers again, thanks for the help so far.

Ben
 
Old 12-10-2005, 09:15 PM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
You will need the kernel source installed; I would try with yast first or here is the rpm;
http://www.novell.com/linux/download.../100_i386.html
down about half way, good luck and keep coming back if you need something ...
 
Old 12-11-2005, 04:21 AM   #7
badboyben3000
LQ Newbie
 
Registered: Dec 2005
Distribution: Suse 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
Right I believe I've now installed the kernel sources using YAST. Now when I type ls -l in the /usr/src directory I get the following:

linux:/usr/src # ls -l
total 1
drwxr-xr-x 7 root root 272 Dec 11 10:07 .
drwxr-xr-x 12 root root 344 Dec 9 17:38 ..
drwxr-xr-x 3 root root 80 Sep 9 17:00 kernel-modules
lrwxrwxrwx 1 root root 15 Dec 11 10:07 linux -> linux-2.6.13-15
drwxr-xr-x 19 root root 752 Dec 11 10:06 linux-2.6.13-15
drwxr-xr-x 3 root root 72 Dec 11 10:06 linux-2.6.13-15-obj
drwxr-xr-x 3 root root 72 Dec 9 20:50 linux-2.6.13-15.7-obj
lrwxrwxrwx 1 root root 19 Dec 11 10:07 linux-obj -> linux-2.6.13-15-obj
drwxr-xr-x 7 root root 168 Sep 9 17:27 packages


I've tried uninstalling and re-installing ndiswrapper using YAST but I still get the following error when I run modprobe ndiswrapper:

linux:~/ndiswrapper-1.7 # modprobe ndiswrapper
FATAL: Module ndiswrapper not found

Cheers!

Ben
 
Old 12-11-2005, 06:05 AM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
You have to install the driver first post as root
Code:
lspci
Need to see what rev # you have then we get the driver then use this guide;
http://ndiswrapper.sourceforge.net/m...p/Installation
and here is the list of cards;
http://ndiswrapper.sourceforge.net/m...dex.php/List#B
If the ndiswrapper from yast won't work you should be able to install the newest one from ndiswrapper;
http://sourceforge.net/projects/ndiswrapper
I'm using a broadcom card and looks like it uses the same driver as yours.
here is the driver I'm using;
http://www.linuxquestions.org/questi...d.php?t=388816
There might be a few bumps in the road so ask away ...
 
Old 12-11-2005, 06:53 AM   #9
badboyben3000
LQ Newbie
 
Registered: Dec 2005
Distribution: Suse 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
Okay but I believe I've already been through most of those sites.

I've tried re-installing the ndiswrapper that comes with YAST, and reinstalled the kernel sources as directed, and I've also installed some packages I was missing from first install (due to bad medium..).

ndiswrapper -l still returns:

Installed ndis drivers:
bcmwl5a driver present, hardware present

So I'm pretty certain I have the right windows inf driver installed...

Then modprobe ndiswrapper now returns a different error to before:

linux:~ # modprobe ndiswrapper
FATAL: Could not open '/lib/modules/2.6.13-15.7-default/extra/ndiswrapper.ko': No such file or directory




I've tried removing the YAST verison of ndiswrapper, but can't get my head around installing it manually. When I run 'make' in the ndiswrapper directory I get the following error:

linux:~/ndiswrapper-1.7 # make
make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.7/driver'
make -C /lib/modules/2.6.13-15.7-default/build SUBDIRS=/root/ndiswrapper-1.7/driver \
DRIVER_VERSION=1.7
make[2]: Entering directory `/usr/src/linux-2.6.13-15.7-obj/i386/default'
make -C ../../../linux-2.6.13-15.7 O=../linux-2.6.13-15.7-obj/i386/default
/usr/src/linux-2.6.13-15.7/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/linux-2.6.13-15.7/scripts/gcc-version.sh: line 12: gcc: command not found
make[4]: gcc: Command not found
CC [M] /root/ndiswrapper-1.7/driver/hal.o
/bin/sh: gcc: command not found
make[5]: *** [/root/ndiswrapper-1.7/driver/hal.o] Error 127
make[4]: *** [_module_/root/ndiswrapper-1.7/driver] Error 2
make[3]: *** [_all] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.13-15.7-obj/i386/default'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/ndiswrapper-1.7/driver'
make: *** [all] Error 2


or if I try to run make install I get this error:

linux:~/ndiswrapper-1.7 # make install
make -C driver install
make[1]: Entering directory `/root/ndiswrapper-1.7/driver'
make -C /lib/modules/2.6.13-15.7-default/build SUBDIRS=/root/ndiswrapper-1.7/driver \
DRIVER_VERSION=1.7
make[2]: Entering directory `/usr/src/linux-2.6.13-15.7-obj/i386/default'
make -C ../../../linux-2.6.13-15.7 O=../linux-2.6.13-15.7-obj/i386/default
/usr/src/linux-2.6.13-15.7/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/linux-2.6.13-15.7/scripts/gcc-version.sh: line 12: gcc: command not found
make[4]: gcc: Command not found
CC [M] /root/ndiswrapper-1.7/driver/hal.o
/bin/sh: gcc: command not found
make[5]: *** [/root/ndiswrapper-1.7/driver/hal.o] Error 127
make[4]: *** [_module_/root/ndiswrapper-1.7/driver] Error 2
make[3]: *** [_all] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.13-15.7-obj/i386/default'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/ndiswrapper-1.7/driver'
make: *** [install] Error 2


Thanks for all your help - it really is useful! Hopefully we can sort this out!

Cheers,

Ben
 
Old 12-11-2005, 07:40 AM   #10
badboyben3000
LQ Newbie
 
Registered: Dec 2005
Distribution: Suse 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
SUCCESS!

Thankyou very much for your time and help!

In the end I came across an extremely useful guide for newbies at: http://nextgen.no-ip.org/~andrew/lin...pperinfo10.php

I found the directions and pre-requisites given there were much more detailed and probably aimed at newbies like myself! Looks like I needed to install the gcc packages!

Again, thankyou very much for your help!

Ben
 
  


Reply



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
FATAL: Error inserting ndiswrapper raxxal Mandriva 7 07-06-2007 01:27 PM
FATAL Error when modprobe ndiswrapper plz help! sendas4 Linux - Wireless Networking 7 05-04-2006 11:54 PM
modprobe: FATAL: Error inserting hw_random logicalfuzz Linux - General 7 09-14-2005 10:37 PM
Another 'modprobe ndiswrapper' error eddi Linux - Wireless Networking 1 08-02-2005 10:21 AM
modprobe: FATAL: Error inserting apm OneManArmy Linux - Software 2 08-21-2004 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:58 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
Open Source Consulting | Domain Registration