| View previous topic :: View next topic |
| Author |
Message |
kombi Xplorer
Joined: 02 Jan 2003 Posts: 3
|
Posted: Thu Jan 02, 2003 1:51 pm Post subject: kernel-module version mismatch /w 3COM WLAN Driver |
|
|
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 |
|
 |
mmaynard Xandros Employees

Joined: 07 Nov 2002 Posts: 724 Location: Ottawa
|
Posted: Thu Jan 02, 2003 4:02 pm Post subject: |
|
|
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 |
|
 |
kombi Xplorer
Joined: 02 Jan 2003 Posts: 3
|
|
| Back to top |
|
 |
mmaynard Xandros Employees

Joined: 07 Nov 2002 Posts: 724 Location: Ottawa
|
Posted: Fri Jan 03, 2003 8:59 am Post subject: |
|
|
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 |
|
 |
kombi Xplorer
Joined: 02 Jan 2003 Posts: 3
|
Posted: Sat Jan 04, 2003 5:53 am Post subject: Driver compiled! |
|
|
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 |
|
 |
|