insert module problem ( post #1)
My machine is loaded with Linux Fedora3-1C 2.6.9-1.667. Because the Fedora doesn't have src package, I down loaded a separate kernel source kernel-2.6.9-1.667.src.rpm from Fedora web site
After install this rpm and compiled the kernel, I try to insert idt77105.ko module into module list, it gives error like this:
[root@~ ]# insmod /lib/modules/2.6.9-1.667/kernel/drivers/atm/idt77105.ko
insmod: error inserting '/lib/modules/2.6.9-1.667/kernel/drivers/atm/idt77105.ko': -1 Invalid module format
[root@ ~]# dmesg
Installing knfsd (copyright (C) 1996
okir@monad.swb.de).
SELinux: initialized (dev nfsd, type nfsd), uses genfs_contexts
NET: Registered protocol family 8
NET: Registered protocol family 20
idt77105: version magic '2.6.9-prep 686 4KSTACKS gcc-3.4' should be '2.6.9-1.667 686 REGPARM 4KSTACKS gcc-3.4'
idt77105: version magic '2.6.9-prep 686 4KSTACKS gcc-3.4' should be '2.6.9-1.667 686 REGPARM 4KSTACKS gcc-3.4'
idt77105: version magic '2.6.9-prep 686 4KSTACKS gcc-3.4' should be '2.6.9-1.667 686 REGPARM 4KSTACKS gcc-3.4'
It sounds complain about my module is compiled with a pre-release version. If it is the case, can any one tell me where to get an official release of kernel-2.6.9-1.667.src.rpm? Otherwise, could any one tell me the possible cause of the problem?
Thanks in advance!