Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 04-04-2004, 11:15 AM   #1
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 35

Rep: Reputation: 15
Unhappy Ndiswrapper kernel-module version mismatch


I installed ndiswrapper on Mandrake 9.2 for my wpc54g wireless card and am using KDE. I had ndiswrapper working perfectly, but then I was tinkering with the network settings and now I cannot get it to work.

What I tried:

I created a link: ln -s /usr/src/linux /lib/modules/2.4.2-10mdk

I ran ./ and the program loaded without a hitch.

Then I tried to run the following script (which had worked before):

ifdown wlan0
modprobe ndiswrapper
# /usr/local/bin/loadndisdriver 14e4 4320 \
/usr/sbin/loadndisdriver 14e4 4320 \
/usr/local/ndiswrapper/*.sys \


The error I get:

[root@Goblin ndiswrapper]# wifiup
/lib/modules/2.4.22-10mdk/misc/ndiswrapper.o: kernel-module version mismatch
/lib/modules/2.4.22-10mdk/misc/ndiswrapper.o was compiled for kernel version 2.4.22-28mdkcustom
while this kernel is version 2.4.22-10mdk.
modprobe: insmod /lib/modules/2.4.22-10mdk/misc/ndiswrapper.o failed
modprobe: insmod ndiswrapper failed
Cannot find minor for kernel module. Module loaded?

So, obviously ndiswrapper.o was compiled with the wrong kernel, but how do I compile it with the correct one? ...also, why do I have two kernel sources at all: shouldn't there be just one?


Old 04-06-2004, 05:46 PM   #2
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
If the kernel version is pre-existing (2.4.2-10mdk) when you build a kernel generally the kernel will by default have "custom" tagged onto the end.
If you build a kernel whose version number does not already exist then the "custom" will generally not be attached on the end of the version.

Should recompile ndiswrapper while booted up in 2.4.22-28mdkcustom kernel.

Hope this helps.
Old 04-07-2004, 12:53 PM   #3
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 35

Original Poster
Rep: Reputation: 15


Thanks for the tips...I ended up upgrading from ndiswrapper version 4 to version 6 and the installation went fine.

However, now I am having another problem with wlan0 due to the upgrade, but since this is a new problem, I think I'm supposed to start a new thread...



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
no init, kernel-module version mismatch bat_boy11112233 Linux - General 3 10-03-2004 10:10 AM
Kernel-module Version Mismatch !!! lionking_x Linux - Networking 1 02-02-2004 02:07 PM
Kernel-module Version Mismatch !!! lionking_x Linux - Software 1 02-02-2004 02:06 PM
Kernel-module Version Mismatch !!! lionking_x Linux - Newbie 1 02-02-2004 01:01 PM
kernel-module version mismatch louai Linux - General 2 01-08-2004 11:22 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 12:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration