LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 04-04-2004, 12:15 PM   #1
Ian
Member
 
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 35

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


Hi,

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 ./install.sh 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 \
/usr/local/ndiswrapper/*.inf


exit

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?

Thanks!

Ian
 
Old 04-06-2004, 06:46 PM   #2
beyer42
Member
 
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, 01:53 PM   #3
Ian
Member
 
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 35

Original Poster
Rep: Reputation: 15
Upgraded

Hi,

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...http://www.linuxquestions.org/questi...hreadid=167361

Ian
 
  


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


All times are GMT -5. The time now is 03:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration