LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   kernel module insertion using insmod on kernel 2.4.20-8, rh 9.0 (https://www.linuxquestions.org/questions/red-hat-31/kernel-module-insertion-using-insmod-on-kernel-2-4-20-8-rh-9-0-a-183596/)

gooner 05-20-2004 02:57 AM

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

aravamudhan 05-27-2004 05:31 AM

Use force option with your insmod. It will work


All times are GMT -5. The time now is 07:27 AM.