lkml.org 
[lkml]   [2002]   [Nov]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Invalid module format - how does one fix this?
FromAndi Kleen <>
Date24 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/

\
 
 \ /
  Last update: 2005-03-22 12:31    [from the cache]
©2003-2008