Re: [Madwifi-users] Invalid module format with madwifi-0.9.3, gcc 4.1.1 and FC6 kernel 2.6.20-1.294
Status: Beta
Brought to you by:
otaku
From: Brian P. <bm...@se...> - 2007-04-18 10:15:49
|
Pavel Roskin wrote: > On Tue, 2007-04-17 at 23:23 +1000, Brian Parish wrote: > >> Maybe this is a compiler issue rather than a madwifi problem. If so, >> please excuse. All installation steps work as expected until: >> >> # modprobe ath_pci >> WARNING: Error inserting ath_hal >> (/lib/modules/2.6.20-1.2944.fc6/net/ath_hal.ko): Invalid module format >> WARNING: Error inserting wlan >> (/lib/modules/2.6.20-1.2944.fc6/net/wlan.ko): Invalid module format >> FATAL: Error inserting ath_pci >> (/lib/modules/2.6.20-1.2944.fc6/net/ath_pci.ko): Invalid module format >> > > I guess you have mismatching kernel and kernel-devel packages. For > instance, kernel-devel is PAE enabled (kernel-PAE-devel), but kernel is > not or vice versa. > > Please see the output of "rpm -qa |grep kernel" > > The kernel log can offer some insight. Use "dmesg" to see it. Also use > "modinfo ath_pci" and look for "vermagic" in the output. > > Thanks Pavel, You are right on the money. ath_hal: version magic '2.6.20-1.2944.fc6 SMP mod_unload 686 4KSTACKS ' should be '2.6.20-1.2944.fc6 SMP mod_unload 586 4KSTACKS ' wlan: version magic '2.6.20-1.2944.fc6 SMP mod_unload 686 4KSTACKS ' should be '2.6.20-1.2944.fc6 SMP mod_unload 586 4KSTACKS ' ath_pci: version magic '2.6.20-1.2944.fc6 SMP mod_unload 686 4KSTACKS ' should be '2.6.20-1.2944.fc6 SMP mod_unload 586 4KSTACKS ' Now I just need to know how to fix it. The kernel, headers and devel would appear to be in sync: # rpm -qa |grep kernel kernel-headers-2.6.20-1.2944.fc6 kernel-devel-2.6.20-1.2944.fc6 kernel-2.6.20-1.2944.fc6 So the symptom is clear, but not the solution - to me at least. Thanks again and best regards Brian |