From: Ed Tomlinson <tomlins@cam.org>
To: "J.E.J. Bottomley" <James.Bottomley@steeleye.com>
Cc: James.Bottomley@SteelEye.com, linux-kernel@vger.kernel.org
Subject: Re: Invalid module format - how does one fix this?
Date: Sun, 24 Nov 2002 10:30:07 -0500 [thread overview]
Message-ID: <200211241030.07212.tomlins@cam.org> (raw)
In-Reply-To: <200211241450.gAOEosO10740@localhost.localdomain>
On November 24, 2002 09:50 am, J.E.J. Bottomley wrote:
> > 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.
Thanks James. Including init.h and adding no_module_init fixes ac97_codec.
Now to see if the matrox fb stuff also can be fixed.
Ed Tomlinson
next prev parent reply other threads:[~2002-11-24 15:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-24 14:50 Invalid module format - how does one fix this? J.E.J. Bottomley
2002-11-24 15:30 ` Ed Tomlinson [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-24 13:59 Ed Tomlinson
2002-11-24 14:25 ` Andi Kleen
2002-11-24 14:59 ` Ed Tomlinson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200211241030.07212.tomlins@cam.org \
--to=tomlins@cam.org \
--cc=James.Bottomley@steeleye.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.