try with
insmod -f ./hello-1.o

or  check your  makefile into linux source header such as /usr/src/linux
2.4.20-8smp as your kernel source is here.
chanage first four lines according to your module needs then again try to
insert the module.

with regards
Sandeep Mane

On Fri, Dec 7, 2007 at 1:51 PM, Shakthi Kannan <[EMAIL PROTECTED]>wrote:

> Hi,
>
> --- Jayesh Agrawal <[EMAIL PROTECTED]> wrote:
> | [EMAIL PROTECTED] root]# insmod ./hello-1.o
> | ./hello-1.o: kernel-module version mismatch
> | ./hello-1.o was compiled for kernel version
> | 2.4.20
> | while this kernel is version 2.4.20-8smp.
> \--
>
> This clearly tells you the error. Your kernel headers
> are for 2.4.20, but, your current running kernel is a
> smp kernel.
>
> Always load driver modules to the corresponding
> kernels to which they are built for.
>
> SK
>
> --
> Shakthi Kannan
> http://www.shakthimaan.com
>
>
>
>  
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>
> --
> ______________________________________________________________________
> Pune GNU/Linux Users Group Mailing List:      ([email protected])
> List Information:  http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
> Send 'help' to [EMAIL PROTECTED] for mailing instructions.
>
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([email protected])
List Information:  http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to