[Fedora5] Error inserting zaptel - Invalid module format?

Hi

After updating the kernel and kernel-dev through yum and updating the “build” symlink somewhere under /lib/modules, I could compile zaptel successfully through “make clean; make linux26; make zttool; make install; make install-udev”.

Unfortunately, it fails loading:

[root@localhost asterisk]# modprobe wcfxo
WARNING: Error inserting zaptel (/lib/modules/2.6.17-1.2139_FC5/misc/zaptel.ko): Invalid module format
WARNING: Error inserting zaptel (/lib/modules/2.6.17-1.2139_FC5/misc/zaptel.ko): Invalid module format
FATAL: Error inserting wcfxo (/lib/modules/2.6.17-1.2139_FC5/misc/wcfxo.ko): Invalid module format
FATAL: Error running install command for wcfxo

[root@localhost asterisk]# modprobe zaptel
FATAL: Error inserting zaptel (/lib/modules/2.6.17-1.2139_FC5/misc/zaptel.ko): Invalid module format

[root@localhost asterisk]# dmesg | tail
zaptel: disagrees about version of symbol struct_module
wcfxo: disagrees about version of symbol struct_module
zaptel: disagrees about version of symbol struct_module

Any idea what I should do? Google didn’t help.

Thank you.

For those struggling with the same issue : make sure both the kernel and kernel-devel packages belong to the same version and architecture.

Yum had downloaded the i686 version for the former, but the i586 version for the latter, hence Linux complaining when I tried to modprobe zaptel.