Re: Dumping the checksums in a module

From: Jan Engelhardt
Date: Fri May 18 2007 - 16:27:31 EST



On May 18 2007 17:02, John Sigler wrote:
>
> I'm getting "disagrees about version of symbol struct_module" messages,
> and I'm trying to understand why.
>
> As far as I understand (which is not very far), if I define
> CONFIG_MODVERSIONS, then checksums for various functions (all exported
> functions?) and various structures (which ones?) will be included inside
> the kernel image, and written to Module.symvers. When an out-of-tree
> module is built, it will also include these checksums.
>
> How do I list the checksums within a module?
>
> Is there a simpler way to list all the checksums?

22:25 ichi:~ > modinfo aes
srcversion: 8CB82B3A254D5A950FD0D14

I think this one checksum is computed out of all functions that
the module uses.


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