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?
DateSun, 24 Nov 2002 08:50:54 -0600
From"J.E.J. Bottomley" <>
> 2.5.49-mm1 works ok here (shpte enabled too).  I see two frustrating
> problems left with the modules change (user perspective).  The most
> irratating one is messages like:

> 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?

It seems that the new module loader *requires* init routines (they were 
optional on the old one) so a lot of modules that are simply helper routines 
and didn't previously have an init now need one.

I fixed this on my 53c700.c library module by adding

no_module_init;

at the end of the file.

> The second is that automatic loading is not working.  Manually loading
> modules is a PITA. What plans are there to fix this?

This hasn't annoyed me enough that I've looked into it yet.  I suspec the new 
modprobe doesn't know about the in-kernel module names (or to look in 
/etc/modules.conf) yet.

James



-
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    [W:0.105 / U:0.120 seconds]
©2003-2008 Jasper Spaans