Skip to contentSkip to conversation

insmod error - Invalid module format

DISCUSSION selvakumar nagendran 2 participants 2 messages Dec 23, 2004

lore
Share & tools
lore
#0 lore raw

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?

Thanks,
selva

__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com

#1 lore raw

From: selvakumar nagendran <[email protected]>
Date: Thu, Dec 23, 2004 at 12:54:51AM -0800

Quoted 8 lines

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

Signature · 5 lines
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