LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-30-2006, 12:26 AM   #1
coolguy_iiit
Member
 
Registered: Aug 2004
Posts: 51

Rep: Reputation: 15
Kernel module programming Error : module not found


Hi,
I had Fedora core 4 operating system on my pc.I am interested in writing kernel modules.I took Linux kernel module programming guide and wrote a first hello world program.I just copied from the guide.It compiles successfully and creates the object file.but when i try to

insmod hello.o
I get an error saying
Insmod: -1 module not found.
I have 2.6.11-1 kernel.please help me in this regard.

Thankyou all,
Coolguy.
 
Old 07-30-2006, 07:23 AM   #2
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
hello coolguy_iiit. i'm not much into making kernel modules but i'm sure that procedure no longer works. you're already using a 2.6 kernel and module files are required to be "registered" before they can be officially used by the kernel as modules.

however you can read this linux device drivers book if you want to know more about making and loading drivers in the 2.6 kernels.

hmmm.. am i really correct? anyway.
hope that helps
 
  


Reply



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
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 06:34 PM
fglrx module not found but X runs using module biger problem though HELP! fireicer Linux - Newbie 4 07-30-2004 04:44 PM
Kernel module programming lokutas Programming 2 04-27-2004 02:26 AM
Kernel Module Programming in 2.6 KneeLess Programming 3 04-13-2004 02:27 PM
kernel module programming shellcode Programming 1 02-05-2004 11:43 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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