Hello guys,

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;
and 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 is 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, event after I visit the web pages of www.kernel.org/and
www.debian.org/.

Does any one know how to get the Linux kernel source files (or just header
files) with the specific kernel version 2.6.24-1-486??

Thanks a lot in advance.

Deng

Reply via email to