LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 05-20-2004, 02:57 AM   #1
gooner
LQ Newbie
 
Registered: May 2004
Posts: 5

Rep: Reputation: 0
kernel module insertion using insmod on kernel 2.4.20-8, rh 9.0


Hi,

I compiled a simple hello world kernel module, and tried to insert it using insmod, I get the following error :

this module was compiled for version 2.4.20 while this kernel version is 2.4.20-8. But I compiled it on the same kernel that I am trying the insmod on.

I looked at /usr/include/linux/version.h, that shows UTS release as "2.4.20" but KERNEL_VERSIOn expands to 2.4.20-8, is this a bug in the rh9.0 2.4.20-8 kernel ? what can i do to overcome this.

thanks
Amit
 
Old 05-27-2004, 05:31 AM   #2
aravamudhan
LQ Newbie
 
Registered: Jun 2002
Location: Coimbatore
Distribution: Linux Redhat
Posts: 11

Rep: Reputation: 0
Use force option with your insmod. It will work
 
  


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
Can a kernel module call the function of another kernel module sceadu Programming 3 05-02-2011 02:22 AM
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 06:34 PM
2.6.11 kernel compile - sound module insertion errors dibblethewrecke Linux - Hardware 3 03-17-2005 11:50 PM
kernel module ignorant newbie looking for any one with kernel module knowledge cpoet Slackware 4 11-24-2003 09:37 PM
Compiling a kernel module results in "insmod" version mvega Linux - General 2 07-30-2003 09:03 AM


All times are GMT -5. The time now is 06:19 PM.

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