[help] try to build loadable .ko file for a specific kernel (2.6.24-1-486)
In my project, I am trying to build a loadable .ko file for a Linux box with specific linux kernel (uname -r result is 2.6.24-1-486) installed on it.
This Linux box contains no directory named /lib/modules/2.6.24-1-486/build; it contains no related kernel header files for its 2.6.24-1-486 kernel. The remaining docs of it say that some test/unstable Debian release with 2.6.24 kernel may be OK to produce loadable .ko kernel modules for it.
I tried several 2.6.24 kernels, and just got the version verifying failure info below:
# insmod my_kernel_mod.ko
insmod: error inserting 'my_kernel_mod.ko': -1 Invalid module format
# dmesg|tail
my_kernel_mod: disagrees about version of symbol struct_module
my_kernel_mod: disagrees about version of symbol struct_module
Thus, I think I do need the Linux kernel source files (or just header files) with specific kernel version: 2.6.24-1-486. But, I cannot find this kind of 2.6.24-1-486 stuffs...
Does any know how to download the Linux kernel source files (or just header files) with specific kernel version 2.6.24-1-486??
Thanks a lot in advance.