Re: unable to finish booting when "crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework" applied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Tim Chen wrote, on 10/07/13 01:30:
On Sun, 2013-07-07 at 01:43 +0930, Arthur Marsh wrote:
Hi, when I have tried to boot recent kernels with the "crypto: crct10dif
- Wrap crc_t10dif function all to use crypto transform framework" patch
applied, I get a time-out waiting for the UUID of the root disk to appear.

git-bisect revealed this as the patch that started the problems:

am64:/usr/src/linux# git bisect good
2d31e518a42828df7877bca23a958627d60408bc is the first bad commit
commit 2d31e518a42828df7877bca23a958627d60408bc
Author: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx>
Date:   Wed May 1 12:52:48 2013 -0700

      crypto: crct10dif - Wrap crc_t10dif function all to use crypto
transform framework

      When CRC T10 DIF is calculated using the crypto transform framework, we
      wrap the crc_t10dif function call to utilize it.  This allows us to
      take advantage of any accelerated CRC T10 DIF transform that is
      plugged into the crypto framework.

      Signed-off-by: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx>
      Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

:040000 040000 f7691bd794b6c2060bca786cf8c2971d57c7cd21
aff2510c6400c736b89c40fbafab77c5b577ae0d M      crypto
:040000 040000 220b9199c2418dfd2d534298e7374f404f1ab233
d3f635c9c0d504e16f3915b82f80691bd48b12b4 M      include
:040000 040000 dee4ecf93146d700eb95d5804bfd57b5cf0c395f
b66e0ffcef7ed9bda5e56f8629696344858db624 M      lib
am64:/usr/src/linux#

Arthur,

Thanks for reporting the problem.

Can you provide info on to help me trace the issue:
1) What kind of cpu you're using? (can you send info in /proc/cpu)
2) Does your root disk use crct10dif integrity check?

Thanks.

Tim

Hi thanks for your reply.

I've reproduced the problem on x86_64 (AMD Athlon64) and i386 (Pentium 4).

I'm not sure what the root disk is doing, just using Debian's mk-kpkg kernel_package to build a kernel with an initial ramdisk.

On one of the failed boot-up attempts I saw an error like:

sd_mod - unknown symbol crc*

(where crc* could have been a longer symbol name starting with crt10dif)

I'm happy to look further if I could be given directions on how to find out if the root disk is using crc10dif integrity check or not.

Regards,

Arthur.




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




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux