Re: Invalid module format

Joerg Albert <[email protected]> Sun, 19 Sep 2004 15:08:17 +0200 (CEST)
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <Pine.LNX.4.56.0409191501280.2491@invb>
Hi Richard,

On Sat, 18 Sep 2004, Richard Ablewhite wrote:

> Just switched to 2.6.8 kernel (from 2.4) under Gentoo and everything was
> looking good. I grabbed a copy of the CVS driver, it compiled with no
> errors, installed with no errors but when i insmod at76c503-rfmd i get:
>
> WARNING: Error inserting at76_usbdfu
> (/lib/modules/2.6.8-gentoo-r3/kernel/drivers/net/wireless/at76c503/at76_usbdfu.o):
> Invalid module format
> WARNING: Error inserting at76c503
> (/lib/modules/2.6.8-gentoo-r3/kernel/drivers/net/wireless/at76c503/at76c503.o):
> Invalid module format
> FATAL: Error inserting at76c503_rfmd
> (/lib/modules/2.6.8-gentoo-r3/kernel/drivers/net/wireless/at76c503/at76c503-rfmd.o):
> Invalid module format
>
> Any ideas on what may be causing this? the kernel compiled fine as have
> other modules :|

Looks like you've got the .o instead of the .ko files under
/lib/modules/... ?

Please post the output of
	make clean; make; make install
	find /lib/modules/2.6.8-gentoo-r3 -name "at76*" -ls

Do you have a Rules.make file in the topdir of the kernel source
(aka /lib/modules/2.6.8-gentoo-r3/build/)?

/Jörg