Re: kernel-module version mismatch problem (smp Kernel)

On 05/11/06 06:42, Navneet Kataria wrote:
> Device :: PCI 1762 Advantech
> Driver :: comedi-0.7.70(latest)
> CPU    :: P4 2.8GHz
> OS      :: Enterprise Redhat Linux ES Ver. 3.0 
> 
> $uname -r
> 2.4.21-4.ELsmp
> 
> $uname -m
> i686
> 
> Problem :: While loading the driver module adv_pci_dio using the
> following command the following error message comes::
> 
> $modprobe adv_pci_dio
> /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: kernel-module version
> mismatch
>         /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o was compiled for
> kernel version 2.4.21-4.EL
>         while this kernel is version 2.4.21-4.ELsmp.
> /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: insmod
> /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o failed
> /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: insmod adv_pci_dio failed
> 
> 
> 
> 
> Note:: Device Driver is tested succesfully for Kernel 2.4.21-4.EL on the
> same machine.
> 
> Things Tried ::
> 1. Copied /usr/src/linux/configs/kernel-2.4.21-i686-smp.config to
> /usr/src/linux/.config . The make clean;make dep. And after that
> compilation of comedi driver and library. But the problem persists.

For a standard Red Hat kernel, there should also be a config file in the
/boot directory that matches the kernel.  Give that one a try if it's
different from the one you are using.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2006-05-11Z08:48:48