Ndiswrapper in Slack12 Fatal error. No ndiswrapper
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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.
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.
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?
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.
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.