LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


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

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


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.

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

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


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

All times are GMT -5. The time now is 05:27 PM.

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