LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2007, 08:45 AM   #1
sanjeevsharmaengg
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Rep: Reputation: 0
Problem while insmod in 2.6 fedore core


hi i am newbie to linux.
i am trying to load a module on 2.6 kernel fedore core..

i compiled code successfully.and .o is created.
while insmod
it gives following error

insmod: error inserting 'test.o': -1 Invalid module format

could anybody help me out.

regards
sanjeev sharma
 
Old 02-05-2007, 08:59 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Normally kernel modules have the .ko extension. A file with extension .o usually is an object file that has been compiled from source code, but that have to be still linked in an executable. Double check the instructions on how to compile the module, beacuse probably you missed some final step. I guess.
 
  


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
problem getting etherape in fedore core 6 fakie_flip Linux - Software 1 12-29-2006 04:06 PM
Squid problem in Fedore Core 3 yousafzai98 Fedora 1 09-02-2006 02:03 PM
Fedore Core 5 YUM problem?? charjoe Linux - Newbie 2 07-27-2006 05:07 AM
fedore core 64 bit network card problem subguru101 Linux - Hardware 3 01-12-2006 02:54 PM
Fedore core 2 /windows booting problem eddieroch Linux - Newbie 8 02-22-2005 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:03 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration