LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 01-24-2005, 02:20 AM   #1
hemk76
LQ Newbie
 
Registered: Jun 2004
Location: bangalore
Posts: 9

Rep: Reputation: 0
insmod: error inserting 'new.ko': -1 Invalid module format


hello

i am working on 2.6.8 kernel i compiled my modules new.c
when i tired to
insmod -f new.ko
it gives me this message
" insmod: error inserting 'new.ko': -1 Invalid module format "

then i tired depmod againg it gives me this message
depmod: QM_MODULES: Function not implemented

plz help me

Thanks in advance

hemanth
 
Old 01-24-2005, 06:10 AM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
have u compil;ed this module on this machine and the same kernel

reegards
 
Old 01-24-2005, 10:42 AM   #3
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
right after you try to run the insmod or modprobe

run
Code:
dmesg
it should tell you what the problem is.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid module format king111 Linux - Newbie 4 07-19-2005 01:14 AM
insmod: error inserting 'new.ko': -1 Invalid module format hemk76 Programming 2 01-26-2005 10:52 AM
insmod invalid module format csfalcon Linux - Hardware 6 01-24-2005 11:03 AM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM
invalid module format powadha Slackware 5 12-25-2003 04:19 PM


All times are GMT -5. The time now is 02:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration