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

From: Andi Kleen (ak@muc.de)
Date: Sun Nov 24 2002 - 09:25:05 EST


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/



This archive was generated by hypermail 2b29 : Sat Nov 30 2002 - 22:00:09 EST