LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-27-2012, 11:45 AM   #1
PercyZA
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
My test module is failing to load


Hi Team,

Please assist, I'm trying initialise my very first module (test module) and I keep getting the below error:

insmod: error inserting "nothing.c": -1 Invalid module format

I'm using Fedora 8 and the name of my module is nothing.

I'll greatly appreciate your assistance.
PercyZA
 
Old 08-27-2012, 01:16 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Hi PercyZA and welcome to LQ.

If nothing.c is a source file, as its name make me assume, sure the error message is sound.

The module should first be compiled against the kernel source you are using. Is it?

Last edited by Didier Spaier; 08-27-2012 at 02:08 PM. Reason: s/me/be/
 
  


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
Load test, boundary test & stress test for USB EHCI/xHCI driver rama_toshiba Linux - Kernel 5 02-29-2012 02:43 PM
[SOLVED] test suite for glibc failing | chapter 6.9.1 Lyle Linux From Scratch 2 05-08-2010 06:46 PM
compiz failing, GLcore.so failing to load Schrambo Linux - Desktop 4 02-23-2008 06:13 PM
X failing to load; AddScreen/InitScreen failing for driver 0 weblion Linux - Software 1 08-01-2002 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:22 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