Re: insmod error - Invalid module format

From: Jurriaan
Date: Thu Dec 23 2004 - 05:06:51 EST


From: selvakumar nagendran <kernelselva@xxxxxxxxx>
Date: Thu, Dec 23, 2004 at 12:54:51AM -0800
> Hi,
> I tried out the simple hello world example module
> present in lkmpg.txt (linux module programming guide)
> on linux kernel 2.6.9. But I got an error while I
> tried to load the created .o file using insmod as
> ' Invalid Module format'
> Can anyone help me regarding this?
>
Normal modules for 2.6.x use .ko as extension, so an .o would be wrong.

Did you check google? lkmpg.txt may be outdated.

Good luck,
Jurriaan
--
A woman whose voice and esp could combine to to scramble a man's
thoughts was an impressive guard. Unless, of course, the burglar
happens to be a deaf mute...
Simon R Green - Mistworld
Debian (Unstable) GNU/Linux 2.6.10-rc3 2x6078 bogomips load 0.16
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/