Re: 2.4 and 2.6 kernel module
From: Fong Vang
Date: Tue Aug 16 2005 - 21:17:49 EST
Found the answer by googling further. It's been renamed to vermagic.
strings reiserfs.ko|grep vermagic
vermagic=2.6.9-11.EL 586 REGPARM 4KSTACKS gcc-3.4
On 8/16/05, Fong Vang <sudoyang@xxxxxxxxx> wrote:
> In the 2.4 kernel, modules contain the "kernel_version" identification
> in the module itself. This is an example from the 2.4.18 reiserfs
> kernel module:
>
> kernel_version=2.4.18-27.7.xbigmem
> using_checksums=1
> description=ReiserFS journaled filesystem
> author=Hans Reiser <reiser@xxxxxxxxxxx>
> license=GPL
> kernel_version=2.4.18-27.7.xbigmem
> using_checksums=1
>
>
> This ID doesn't seem to exist anymore in the 2.6 kernel. How does a
> 2.6 kernel know if a module is compatible?
>
> Thanks for any help.
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/