RE: How to make module work with different kernel versions?

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

 



Then, do I have to distribute separate binary module to each kernel
release?. 

-Sanjay

-----Original Message-----
From: Greg KH [mailto:greg@xxxxxxxxx] 
Sent: Thursday, April 07, 2005 11:17 AM
To: Sanjay
Cc: 'kernelnewbies'
Subject: Re: How to make module work with different kernel versions?

On Thu, Apr 07, 2005 at 11:07:26AM -0700, Sanjay wrote:
> 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?. 

No.



--
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