Details
-
Bug
-
Resolution: Cannot Reproduce
-
Blocker
-
None
-
Lustre 2.5.1
-
None
-
3
-
13076
Description
I believe compilation from source is being effected by https://bugzilla.redhat.com/show_bug.cgi?id=613568
With a clean set of source linux-2.6.32-431.5.1.el6 with or without lustre patches applied but using the config file from 2.5.1-rc1
cp /local/lustre-2.5.1-RC/lustre-2.5.56/lustre/kernel_patches/kernel_configs/kernel-2.6.32-2.6-rhel6-x86_64.config ./.config
CC crypto/signature/ksign-publickey.o
crypto/signature/ksign-publickey.c:2:17: error: key.h: No such file or directory
crypto/signature/ksign-publickey.c: In function ‘ksign_init’:
crypto/signature/ksign-publickey.c:10: error: ‘ksign_def_public_key’ undeclared (first use in this function)
crypto/signature/ksign-publickey.c:10: error: (Each undeclared identifier is reported only once
crypto/signature/ksign-publickey.c:10: error: for each function it appears in.)
crypto/signature/ksign-publickey.c:11: error: ‘ksign_def_public_key_size’ undeclared (first use in this function)
make[2]: *** [crypto/signature/ksign-publickey.o] Error 1
make[1]: *** [crypto/signature] Error 2
make: *** [crypto] Error 2
From http://scientificlinuxforum.org/index.php?showtopic=1324
"run make menuconfig.
1) Select "Enable loadable module support", then "Module signature verification (EXPERIMENTAL)". Disable it.
2) Then go back to the main menu, select "Cryptographic API" then "In-kernel signature checker (EXPERIMENTAL)" and disable that one too.
Then go back again, save your config and make your kernel. At least, it will pass this phase successfully."
Which gives this diff:
diff .config .config.orig
4c4
< # Tue Mar 11 14:53:15 2014
—
> # Tue Mar 11 09:06:11 2014
215c215,216
< # CONFIG_MODULE_SIG is not set
—
> CONFIG_MODULE_SIG=y
> # CONFIG_MODULE_SIG_FORCE is not set
4544c4545,4546
< # CONFIG_CRYPTO_SIGNATURE is not set
—
> CONFIG_CRYPTO_SIGNATURE=y
> CONFIG_CRYPTO_SIGNATURE_DSA=y