----------  Forwarded Message  ----------

Subject: Re: [kbuild-devel] Doubt what is the difference of compiling module 
in SuSE and Redhad , Mandrake
Date: Monday 09 May 2005 12:20
From: karthik <[EMAIL PROTECTED]>
To: Andreas Gruenbacher <[EMAIL PROTECTED]>

Sir,

      I have written a shell script to convert my test1.o to test1.ko  as
 done by makefile(I am running  this script in target system ie target
 kernel). This script is generating the test1.ko for target kernel and
 working properly(ie i am able to load the module and access it) for many
 version for 2.6 kernels of Mandrake and Redhat but its not working for SuSE.

Karthik

> You are still assuming that 2.6.x and 2.6.y are binary compatible, which
> just is not the case: There are always changes in some of the kernel data
> structures that the module uses, for example. The .x module assumes that
> the data structures are laid out as in the .x kernel, while the layout in
> the .y kernel is different. Even if you manage to produce a .ko file that
> loads, it will crash the kernel.
>
> -- Andreas.

-------------------------------------------------------


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to