How to make module work with different kernel versions?

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

 



Hi,

I have a compiled binary(*.ko) module (under 2.6.7). I wanted it to work
with different kernel versions like 2.6.10/11 and different version
magic(2.6.7-xxx/2.6.7-ver). Currently it gives the error due to version
mismatch saying "insmod: error inserting 'mymod.ko': -1 Invalid module
format". Is there anyway I can mask the version and insert the module
without any problems?. 

Thanks,
Sanjay Hegde



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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