Re: Invalid module format - how does one fix this?

Andi Kleen (ak@muc.de)
24 Nov 2002 15:25:05 +0100


Ed Tomlinson <tomlins@cam.org> writes:

> FATAL: Error inserting /lib/modules/2.5.49-mm1/kernel/ac97_codec.o: Invalid module format
>
> I get this on about 10% of the modules I want to load. How do I fix it?

readelf -r module_in_question.o

then look at arch/$ARCH/kernel/module.c and find out which relocation
is not implemented. Then implement it. Enabling DEBUGP there and in
kernel/module.c may also help.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/