LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-28-2008, 08:27 AM   #1
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Rep: Reputation: 15
Ndiswrapper in Slack12 Fatal error. No ndiswrapper


Hi,

I just have my Slack12 re-installed in my machine and for the first time I'm getting an error installing ndiswrapper 1.53(latest version you can download as of 11/28/08).

I did the re-installation twice to make sure I didn't missed/messed anything during the process. but the same thing happen.

The same version of Slack12 I used like 2years ago AND last month(completely separate installations) and I didn't had a problem with ndiswrapper. Only two days ago when I decided to resize my / and my second partition I reformat and fresh install my slack 12 then that's when I'm having problem with ndis...

Problem: modprobe ndiswrapper
it's written somethin' like : Fatal error: no indswrapper module

The folders were created and ndiswrapper -l works fine... I can see the driver and the hardware.

I suspect... like the README is saying that it could be the link of Modules in lib/modules/uname -r/Build that has a problem but I'm not sure.

maybe the SVN? I don't even have any idea what it is...


Thanks and hope to hear from you guys very soon.
 
Old 11-28-2008, 08:50 AM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
What is the kernel version you are using? I didn't miss that you are using Slackware 12, which is probably an early 2.6 version, but I don't know if you had upgraded it. I never had a problem with ndiswrapper on Slackware 12 or 12.1. It's when I got to Slackware-current (and the 2.6.27.x revision branch of the kernel) that ndiswrapper started to fail for me.

AlienBOB has a diff file you can use to patch the ndiswrapper sources (from Slackbuilds) - a quick Google search for AlienBOB's patch should yield a favourable return.
 
Old 11-28-2008, 09:16 AM   #3
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
I'm using the 2.6.21.5 but the wierd thing is I installed exactly the same 2.6.21.5 and the same version of ndiswrapper as I have said last month or not even... let say 3 or 3 weeks ago and I didn't have the problem.

When you patch do I have only to modify the ndiswrapper or a fresh installation?


Sorry for the stupid question....



P.S. I didn't update my slack12 2.6.21.5 to a higher kernel version.
 
Old 11-28-2008, 09:20 AM   #4
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Okay - no, don't worry, it's not a stupid question. You patch the ndiswrapper sources.

Are you using SlackBuilds? If so, make sure you're using the right repository. In the following example, I have everything synced up to /var/sbo.
Code:
# mkdir /var/sbo
# chown -R your user name:users /var/sbo
$ rsync -avz rsync://rsync.slackbuilds.org/slackbuilds/12.0/ /var/sbo/
 
Old 11-28-2008, 09:37 AM   #5
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
Thanks a lot for a quick reply indienick, I'll fire that one up when I get home...


Ciao
 
Old 11-28-2008, 09:51 AM   #6
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
No problem!
 
Old 11-29-2008, 08:43 AM   #7
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
Hi there indienick,

How would I know if I'm using Slackbuilds?
 
Old 11-29-2008, 09:00 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
Quote:
Originally Posted by Allanitto Newbee View Post
Hi there indienick,

How would I know if I'm using Slackbuilds?
If you don't know you are not using them for sure! indienick's answer was a bit awkwardly phrased, but what he meant to say is, "are you compiling your own ndiswrapper package using a SlackBuild script from SlackBuilds.org".

I rather suspect you have either downloaded a Slackware package for a kernel that you are not running. What is the output of the command
Code:
uname -r
and how did you obtain and install your ndiswrapper package?

Eric
 
Old 11-29-2008, 09:25 AM   #9
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
uname -r is 2.6.21.5

I took ndiswrapper from sourceforge.

I install it with "make" and "make install"
 
Old 11-29-2008, 09:35 AM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
Quote:
Originally Posted by Allanitto Newbee View Post
uname -r is 2.6.21.5

I took ndiswrapper from sourceforge.

I install it with "make" and "make install"
A default install of Slackware installs a SMP kernel. The ouput of the command would have been
Code:
$ uname -r
2.6.21.5-smp
instead of your "2.6.21.5"

The problem you face is that you run a Uni-Processor kernel, but Slackware's kernel source package is configured to be used with a SMP kernel. As a result, compiling extra kernel modules wordks fine (like the one for ndiswrapper) but the resulting module is for SMP and will not work with your uniprocessor kernel.

Apply the patch found in the directory /extra/linux-2.6.21.5-nosmp-sdk/ of your CD/DVD set. This will modify your kernel sources in /usr/src so that the kernel modules you compile will work.

You will have to re-compile and re-install ndiswrapper after you applied the above patch to yout kernel sources.

Eric
 
Old 11-29-2008, 09:38 AM   #11
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
Okay, I'll try that now. I'll keep you posted.


later
 
Old 11-29-2008, 09:47 AM   #12
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
I'm in that dir now. Should I copy to hard drive the Kernel-headers-2.6.21.5-i386-2.tgz or anything else? I can see also patch-to-non-smp.sh* . I don't know what's next.
 
Old 11-29-2008, 10:08 AM   #13
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
Okay I have read the readme and I know what to do. Thanks a lot guys...


cheerzzzz....
 
Old 11-29-2008, 10:08 AM   #14
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
I thought the README.TXT in that directory explains clearly enough what you need to do?

I think it would be easier for you just to use the SMP kernel. Why did you select the uniprocessor kernel (huge.s) instead of the SMP kernel (hugesmp.s) when you installed? The SMP kernel works on all modern CPUs even if they are not SMP. The huge.s kernel is really meant only for the older not fully compatible CPUs.

Eric

Edit: looks like we posted about that README.TXT at the same time...

Last edited by Alien Bob; 11-29-2008 at 10:15 AM.
 
Old 11-30-2008, 06:19 PM   #15
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Thanks for clarifying my post for me, Eric. I did phrase that somewhat awkwardly; my apologies.
 
  


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 fatal error maldojr88 Linux - Wireless Networking 2 02-02-2008 12:07 PM
Newb with fatal error using ndiswrapper char_015 Linux - Wireless Networking 7 02-28-2007 02:28 PM
ndiswrapper FATAL error waelaltaqi Linux - Software 4 02-19-2007 11:45 AM
fatal error with ndiswrapper guitarhero14 Linux - Wireless Networking 2 11-19-2006 06:32 PM
FATAL ndiswrapper error perez Linux - Software 1 04-21-2006 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:08 AM.

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