Re: madwifi: modprobe complains about "Invalid module format"
Could the kernel you are using have been compiled with a different compiler
then the modules you are trying to modprobe?
Look at $modinfo ath_pci
There should be a line like the following:
vermagic: 2.6.12-1-amd64-k8 gcc-4.0
telling you for which kernel headers and with which compiler the module was
compiled. This has to equal the values for the kernel.
Am Dienstag, 11. Oktober 2005 16:51 schrieb André Wendt:
> WARNING: Error inserting ath_hal
> (/lib/modules/2.6.12/net/ath_hal.ko): Invalid module format WARNING: Error
> inserting wlan (/lib/modules/2.6.12/net/wlan.ko): Invalid module format
> WARNING: Error inserting ath_rate_onoe
> (/lib/modules/2.6.12/net/ath_rate_onoe.ko): Invalid module format FATAL:
> Error inserting ath_pci (/lib/modules/2.6.12/net/ath_pci.ko): Invalid
> module format
>
> WARNING: Error inserting ath_hal (/lib/modules/2.6.12/net/ath_hal.ko):
> Invalid module format WARNING: Error inserting wlan
> (/lib/modules/2.6.12/net/wlan.ko): Invalid module format WARNING: Error
> inserting ath_rate_onoe (/lib/modules/2.6.12/net/ath_rate_onoe.ko): Invalid
> module format FATAL: Error inserting ath_pci
> (/lib/modules/2.6.12/net/ath_pci.ko): Invalid module format
>
> I set the KERNELPATH variable correctly, and I am using a kernel that
> supports modules. What am I doing wrong?
Reply to: