All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arrigo Benedetti <arrigo@vision.caltech.edu>
To: linuxppc-dev <linuxppc-dev@ozlabs.org>
Subject: problem with insmod
Date: Wed, 03 Nov 2004 17:40:30 -0800	[thread overview]
Message-ID: <4189888E.5070906@vision.caltech.edu> (raw)

First of all I would like to thank everyone in this list who has 
answered my questions so far, especially Ben...

Now I'm trying to write and and install a kernel module on 2.6, YDL 4.0. 
I compiled the example module by
Alessandro Rubin at http://www.linux.it/~rubini/docs/modules26/src.tar.gz
When I try to load it with insmod I get:

[root@localhost root]#  insmod empty.ko
insmod: error inserting '/home/arrigo/linux/modules/src/empty.ko': -1 
Invalid module format

After some research I found that to load a module on the 2.6 kernel one 
should insmod from module-init-tools 
<ftp://ftp.it.kernel.org/pub/linux/utils/kernel/module-init-tools/>,
not the default insmod from the modutils package that comes with YDL.
So I compile and install module-init-tools, but I get the same error.
Does anyone know what's going on?

Thanks
-Arrigo

             reply	other threads:[~2004-11-04  1:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-04  1:40 Arrigo Benedetti [this message]
2004-11-04 14:00 ` problem with insmod evilninja
2004-11-04 19:26   ` Arrigo Benedetti
2004-11-04 23:31     ` evilninja

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=4189888E.5070906@vision.caltech.edu \
    --to=arrigo@vision.caltech.edu \
    --cc=linuxppc-dev@ozlabs.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.