The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Ed Tomlinson <tomlins@cam.org>
To: Andi Kleen <ak@muc.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Invalid module format - how does one fix this?
Date: Sun, 24 Nov 2002 09:59:33 -0500	[thread overview]
Message-ID: <200211240959.33829.tomlins@cam.org> (raw)
In-Reply-To: <m3vg2nniym.fsf@averell.firstfloor.org>

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

  reply	other threads:[~2002-11-24 14:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-24 13:59 Invalid module format - how does one fix this? Ed Tomlinson
2002-11-24 14:25 ` Andi Kleen
2002-11-24 14:59   ` Ed Tomlinson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-24 14:50 J.E.J. Bottomley
2002-11-24 15:30 ` 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=200211240959.33829.tomlins@cam.org \
    --to=tomlins@cam.org \
    --cc=ak@muc.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox