I had a driver for a compactflash card for 2.4.20. I made the necessary changes to port it to 2.6.x. The new driver compiled successfully. Used the kbuild process to compile my module. The module name is Pci9656.ko.
When i try to do 'insmod /root/PlxLinux/linux/driver/common/Pci9656.o' the module load fails with the following message.
Error inserting '/root/PlxLinux/linux/driver/common/Pci9656.o': -1 Invalid module format
The corresponding 'dmesg' output is 'No module found in object'.
Doing a 'modprobe /root/PlxLinux/linux/driver/common/Pci9656.ko' gives the following error message,
FATAL: Module /root/PlxLinux/linux/driver/common/Pci9656.o not found.
Been trying to figure out the problem since morning in vain.
Can anybody shed some light on this.