Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-10-2003, 04:11 PM   #1
LQ Newbie
Registered: Sep 2003
Location: Paris, France
Distribution: SuSE 9
Posts: 10

Rep: Reputation: 0
Linux kernel version mismatch

Hi all,

I am using SuSE 8.2 and trying to install the eagle-1.4.0_pre5 drivers for Sagem Fast 800 ADSL USB modem.

I do

#make install

then I try to load the new built module adiusbadsl.o with

insmod adiusbadsl

but I get this anoying message that kernel version for which was built the module (2.4.0-4G) mismatch the actual kernel version (2.4.0-4G-athlon)

Any idea how this should be corrected?
Old 09-10-2003, 05:27 PM   #2
LQ Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I am not familiar with your particular situation, but if there is some way to compile that driver for athlon, it may solve your problem. Is there a "configure" script you can run, provided with the driver source code? Many times, the configure script can be told to compile for athlon:

./configure --target=athlon

Did you compile your kernel yourself? It seems odd that a kernel would be made for a particular architecture, unless you set it up that way.
Old 09-11-2003, 02:45 AM   #3
LQ Newbie
Registered: Sep 2003
Location: Paris, France
Distribution: SuSE 9
Posts: 10

Original Poster
Rep: Reputation: 0

No I did not compile the kernel for myself. And no again, there is no configure script in the driver's sources.

For now I just used the insmod -f to install the module cause I know the driver is compiled for my kernel version.
I guess the kernel version mismatch issue should be solved by modifying a version.h file somewhere on the /usr/src/linux/include/... but I do not have time to find out (details in a further message)
Old 10-12-2003, 06:25 AM   #4
LQ Newbie
Registered: Oct 2003
Location: London, UK
Distribution: Sun Java Desktop Environment
Posts: 1

Rep: Reputation: 0
Get the correct .config for your kernel..

[posted and emailed]
If you have installed the stock kernel during install, it may be something like '2.4.19-4GB-athlon'. Unfortunately the kernel source in /usr/src/linux doesn't know this and defaults to '2.4.19'. In order to correct this, copy the file:
to the file
and then in /usr/src/linux, run:
make oldconfig; make dep.

This should create a kernel config which matches the stock kernel, and new modules will build ok.

Hope this helps.


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
kernel version mismatch error Pratik H Pandya Programming 0 09-03-2005 12:43 AM
Kernel version Source Version mismatch after recompile chuckleberry Linux - Software 1 06-20-2005 06:37 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 version mismatch jimo Linux - Software 3 10-29-2001 01:58 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:59 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
Open Source Consulting | Domain Registration