On 09/12/2013 06:29 AM, Herbert Xu wrote:
On Thu, Sep 12, 2013 at 07:20:23PM +0900, Tetsuo Handa wrote:
Herbert Xu wrote:
The trouble is not all distros will include the softdep modules in
the initramfs. So for now I think we will have to live with a fallback.
I see.
Herbert Xu wrote:
OK, can you please try this patch on top of the current tree?
This way at least you'll have a working system until your initramfs
tool is fixed to do the right thing.
I tested the patch and confirmed that the boot failure was solved.
But arch/x86/crypto/crct10dif-pclmul.ko is not included into initramfs and
therefore we cannot benefit from PCLMULQDQ version.
That is expected and is also the status quo. So once the initrd
generation tool is fixed to include softdeps it will work properly.
Thanks!
I would like to report that I also have the same boot problem on a
RHEL6.4 box with the crypto patch. My workaround is to force kernel
build to have the crc_t10dif code built-in by changing the config file:
4889c4889
< CONFIG_CRYPTO_CRCT10DIF=m
---
> CONFIG_CRYPTO_CRCT10DIF=y
5002c5002
< CONFIG_CRC_T10DIF=m
---
> CONFIG_CRC_T10DIF=y
This solved the boot problem without any additional patch. Do you think
you should consider changing the configuration default to "y" instead of
"m" or doesn't allow the "m" option at all?
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html