ndiswrapper and generic smp kernel
I have been trying to get ndiswrapper to work with generic smp kernel on Slack 12.
Ndiswrapper seemed to install just fine but as soon as I try and load the module # modprobe ndiswrapper I get FATAL: module ndiswrapper not found Wireless works well on the (patched) non-smp kernel. I am struggling to understand where to start looking for a solution with SMP, which I gather, Slackware supports by default. Any thoughts/guidance please? Thanks in advance. |
How did you install ndiswrapper? ndiswrapper is both an application and a kernel module. The module needs to be rebuilt for a new kernel. So if you changed from one kernel to another you will need to rebuild and reinstall ndiswrapper.
Brian |
Thanks.
What I did was follow the un/install routine in the ndiswrapper Install notes. Drivers uninstalled etc. I thought perhaps I had made a mistake so I uninstalled and redid through the ndiswrapper SlackBuild. I then reinstalled the drivers. depmod -a modprobe ndiswrapper Still the same error. /etc/ndiswrapper /usr/sbin/ndiswrapper are present so both aspects of ndiswrapper seem to have been installed. Luckily, the generic kernel works fine. Still it would be nice to have net access on the most appropriate kernel for my CPU. |
/usr/sbin/ndiswrapper is the application part. /etc/ndiswrapper is the configuration part. The module will be installed in /lib/modules/your_kernel. To see whether the module exists for the kernel you are running you can "modprobe -l | grep ndiswrapper". If it's not there (which it won't be, because you couldn't modprobe it), you can see where the package you made put it by doing "grep ndiswrapper.ko /var/log/packages/ndiswrapper_version_number".
Actually, looking at your post, I want to be clear about one thing. When you used the SlackBuild, you used it while running the smp kernel, and installed it using installpkg/upgradepkg, correct? Brian |
Thanks again.
To answer the last part of your post first, yes I was in the smp kernel and I installed the .tgz that the SlackBuild output with installpkg filename.tgz There were no error messages but it's not 'taking'. Something has changed as in the generic kernel my Local IP is 192.128.0.3 but it was 192.128.0.2 this morning before I started on this. |
So what does "grep ndiswrapper.ko /var/log/packages/ndiswrapper_package_version" show?
Brian |
It shows
/lib/modules/2.6.21.5/misc/ndiswrapper.ko but there are of course two entries in /lib/modules Presumably the solution lies in getting grep etc to point to the 2.6.21.5-smp entry? |
If you used the SlackBuild from SlackBuilds.org and your package doesn't have smp in its name, then it is obvious it was built for a non-smp kernel. $(uname -r | tr '-' '_') goes into the package name, so it would be named something like:
ndiswrapper-1.47_2.6.21.5_smp-i486-SBo.tgzDid you mess with your kernel sources at all? |
nope, haven't touched anything at all (unless patching the huge kernel counts)
I get the error both with Slackbuild and the tar.gz from NDISwrapper. The NDISwrapper did not indicate that it couldn't be used for a smp kernel. Anyway.... |
Quote:
Brian |
Just to verify...
I used the slackbuild ndiswrapper script on a vanilla 12.1 install running the generic-smp kernel and it worked fine out of the box. Here's how it should go... Code:
Install the Slackbuilds ndiswrapper package. Code:
root@Server:/home/alstare# ndiswrapper -v |
Something is definitely amiss and I know that in Slackware that almost certainly equates to my error (you know where you stand with Slackware, even if you don't know how you got there, lol).
I think the thing to do is to compile a fresh kernel. I've been thinking about it anyway so perhaps I should break my duck and just do it! In the meantime, thanks for your help and comments, I appreciate the help. |
[QUOTE=Bazzaah;3149381]Something is definitely amiss and I know that in Slackware that almost certainly equates to my error (you know where you stand with Slackware, even if you don't know how you got there, lol).[/QUOTED]
Hah, so true, so very very true... Good luck on your battle. |
nothing to see here, all sorted.
|
All times are GMT -5. The time now is 08:23 AM. |