linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* problem with insmod
@ 2004-11-04  1:40 Arrigo Benedetti
  2004-11-04 14:00 ` evilninja
  0 siblings, 1 reply; 4+ messages in thread
From: Arrigo Benedetti @ 2004-11-04  1:40 UTC (permalink / raw)
  To: linuxppc-dev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-04 23:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-04  1:40 problem with insmod Arrigo Benedetti
2004-11-04 14:00 ` evilninja
2004-11-04 19:26   ` Arrigo Benedetti
2004-11-04 23:31     ` evilninja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).