Re: Invalid module format - how does one fix this?
Ed Tomlinson (tomlins@cam.org)
Sun, 24 Nov 2002 09:59:33 -0500
On November 24, 2002 09:25 am, Andi Kleen wrote:
> 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.
Looking in i386/kernel/module.c, it should be using printk to tell me
what is missing. I am not seeing these in my logs. Is there some /proc or
/sys setting I need to change to see warnings?
Tia,
Ed Tomlinson
-
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/