Invalid module format and version magic complaints
Sebastian Muñiz
seba
Sun Apr 17 15:23:52 PDT 2005
Randall Ross wrote:
> I'm trying to use hostap-driver-0.3.7. My system is Fedora Core 3 with
> (my own) kernel 2.6.10.
>
> I sucessfully ran 'make' and 'make install'. Upon insertion of my
> Netgear MA401 PC card, I get the output below in /var/log/messages.
>
> Can someone shed some light on what might be going wrong here, and a
> possible fix?
>
> Many thanks in advance.
>
> Apr 17 14:50:24 localhost cardmgr[7394]: socket 0: Netgear MA401
> Apr 17 14:50:24 localhost kernel: hostap: version magic '2.6.10
> PENTIUMII gcc-3.4' should be '2.6.10 PENTIUMII gcc-3.2'
> Apr 17 14:50:24 localhost cardmgr[7394]: executing: 'modprobe hostap
> 2>&1'
> Apr 17 14:50:24 localhost cardmgr[7394]: + FATAL: Error inserting
> hostap (/lib/modules/2.6.10/kernel/drivers/net/wireless/hostap.ko):
> Invalid module format
> Apr 17 14:50:24 localhost cardmgr[7394]: modprobe exited with status 1
> Apr 17 14:50:24 localhost cardmgr[7394]: module
> /lib/modules/2.6.10/pcmcia/hostap.o not available
> Apr 17 14:50:24 localhost kernel: hostap: version magic '2.6.10
> PENTIUMII gcc-3.4' should be '2.6.10 PENTIUMII gcc-3.2'
> Apr 17 14:50:24 localhost cardmgr[7394]: executing: 'modprobe
> hostap_cs 2>&1'
> Apr 17 14:50:24 localhost cardmgr[7394]: + WARNING: Error inserting
> hostap (/lib/modules/2.6.10/kernel/drivers/net/wireless/hostap.ko):
> Invalid module format
> Apr 17 14:50:24 localhost kernel: hostap_cs: version magic '2.6.10
> PENTIUMII gcc-3.4' should be '2.6.10 PENTIUMII gcc-3.2'
Seems that the kernel doesn?t insert the hostap.ko because it was
compiled with a newer GCC.
Apr 17 14:50:24 localhost kernel: hostap: version magic '2.6.10
PENTIUMII gcc-3.4' should be '2.6.10 PENTIUMII gcc-3.2'
Maybe it has to do with MODULE_VERSIONING (CONFIG_MODVERSIONS)
Try to recompile your kernel and hostap with the same compiler.
Or try to load with insmod -f
Regards
Sebastian.
More information about the Hostap
mailing list