[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel-module version mismatch



Ocasio Anthony R Civ 746 TS/TGGAD <anthony.ocasio@46tg.af.mil> writes:

> Hi,
>
> I have a Dell with a 200 Mhz processor and 130 Meg of ram. I'm using Linux
> kernel 2.4.18-386. 
>
> I have added an ARINC bus (pci) card from Condor Engineering (model cei520).
>
>
> The gcc software seems to compile (no errors, no warnings), but when the
> install script tries to load the driver, I get the following:
>
> Adding module cei520
> Using /lib/modules/2.4.18-386/Condor_Modules/cei520.o
> /lib/modules/2.4.18-386/Condor_Modules/cei520.o: kernel-module version
> mismatch
> /lib/modules/2.4.18-386/Condor_Modules/cei520.o was compiled for kernel 
> version 2.4.18 while this kernel is version 2.4.18-386. 
>
> Would anyone care to offer suggestions as to how to remedy this?
> Thanks.

When compilling a kernel there is an option you can choose (something
like "module symbols" or "versioning" or something like that) which
will allow modules from different kernels to be loaded. That usually
fixes this type of problem.

The "correct" and "proper" way to handle this is to compile the
modules for 2.4.18-i386, which is the kernel version you are using. I
don't know how to do that.

Bijan



Reply to: