forums.xandros.com Forum Index forums.xandros.com
Xandros User Forums
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

kernel-module version mismatch /w 3COM WLAN Driver

 
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Network Devices
View previous topic :: View next topic  
Author Message
kombi
Xplorer


Joined: 02 Jan 2003
Posts: 3

PostPosted: Thu Jan 02, 2003 1:51 pm    Post subject: kernel-module version mismatch /w 3COM WLAN Driver Reply with quote

Compiling a module for a 3COM X-Jack WLAN PC-Card goes well, but trying to insmod it throws this error (literally):

kernel-module version mismatch
module was compiled against 2.4.18 while the running kernel is 2.4.19-x1

I copied /boot/kernelconfigfile to /usr/src/xandros-kernel-sources2.4.19 and recompiled with make dep, make modules modules_install and now get the same error but with 2.4.19 vs 2.4.19-x1

I already searched the Xandros-CD but couldn't find other Kernel Sources than 2.4.19.

What might be the right thing to do?
_________________
pax vobiscum | as-salaam alaikum
Back to top
View user's profile Send private message
mmaynard
Xandros Employees
Xandros Employees


Joined: 07 Nov 2002
Posts: 724
Location: Ottawa

PostPosted: Thu Jan 02, 2003 4:02 pm    Post subject: Reply with quote

The instructions on how to properly configure the Xandros kernel source so that you can build modules that wont complain about unresolved symbols or other stuff like that can be found under the HOWTO section in the VMWare client installation thread.

Where are you getting the driver from ? If it is complaining about 2.4.18 vs 2.4.19 then I wouls suspect that this driver has a precompiled portion or has a badly misformed makefile. If you post the URL here, I can look into it for you

Matt
Back to top
View user's profile Send private message
kombi
Xplorer


Joined: 02 Jan 2003
Posts: 3

PostPosted: Thu Jan 02, 2003 4:24 pm    Post subject: Reply with quote

After recompiling the modules from the kernel source, insmod complained about a module for 2.4.19 and a running kernel 2.4.19-x1. I'll check the said Howto next.

The driver's at

http://cesnet.dl.sourceforge.net/sourceforge/atmelwlandriver/atmelwlandriver.2.1.1.tar.bz2

(latest CVS version)

A patched version for unresolved symbols is at
http://sevdalia.hajvan.net/~hajvan/atmel/

The hardware I am trying to integrate is a 3COM X-Jack WLAN PC card by the name of 3CRSHPW_96

Cheers,
Konrad
_________________
pax vobiscum | as-salaam alaikum
Back to top
View user's profile Send private message
mmaynard
Xandros Employees
Xandros Employees


Joined: 07 Nov 2002
Posts: 724
Location: Ottawa

PostPosted: Fri Jan 03, 2003 8:59 am    Post subject: Reply with quote

Ok, I did look at this code, and the make file seems to pick up the kernel information in the modules directory (/lib/modules/2.4.19-x1/build/include) on my system. I think it should work if you have the default Xandros kernel modules or ones compiled as noted in the VMWare client install thread. Make sure that in every make command you run inthe kernel directory or in the driver source you append EXTRAVERSION=-x1 to the make command.

Hope this helps

Matt
Back to top
View user's profile Send private message
kombi
Xplorer


Joined: 02 Jan 2003
Posts: 3

PostPosted: Sat Jan 04, 2003 5:53 am    Post subject: Driver compiled! Reply with quote

Thanks Matt, that greatly helped!

I didn't know about the EXTRAVERSION thing before. "modversions.h" did not get overwritten though and the kernel sources had to be erased and untared again.

After
cp /boot/config[xandros version] /usr/src/xandros-kernel-sources/.config
make EXTRAVERSION=-x1 oldconfig
make EXTRAVERSION=-x1 dep

my driver module compiled with no version mismatch.

Cheers,
Konrad
_________________
pax vobiscum | as-salaam alaikum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Network Devices All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group