Building a kernel module for 2.6.23 kernel on a machine with 2.6.25 kernel.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

 I have a machine with 2.6.25 kernel (FC9) and I want to build on it a
module which can be loaded into
2.6.23 kernel. (fc8).
I am building the module on FC9 against 2.6.23 tree and it is ok.

I can insmod the module in 2.6.23 kernel.
However, when I try to insmod the module on 2.6.25 tree I get "invalid
module format".

This same module **can** be built on 2.6.25 kernel ; I verified that
there is  no need to change anything in code.

Is there a way to get this module insmoded ***both*** in 2.6.23 and
2.6.25 kernels ?

I saw something about "CONFIG_MODVERSIONS" but I do not know if this
can be used
to achieve my goal.

Regards,
Mark

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux