cryptsetup benchmarking failure in Linux 5.4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

cryptsetup benchmarking failure in Linux 5.4

562 Views
kanimozhi_t
Contributor V

Hi all,

I'm trying to utilise dm-crypt with cryptsetup in imx8mm EVK from NXP with Yocto zeus (Linux kernel 5.4). Whenever I try to bench-marking cryptsetup it gets aborted with the following error:

libgcc_s.so.1 must be installed for pthread_cancel to work

It doesn't make any sense here and I don't know what has gone wrong. Any help in this regard would be valuable.

root@imx8mmevk:~# cryptsetup benchmark
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1 429040 iterations per second for 256-bit key
PBKDF2-sha256 801663 iterations per second for 256-bit key
PBKDF2-sha512 382134 iterations per second for 256-bit key
PBKDF2-ripemd160 269418 iterations per second for 256-bit key
PBKDF2-whirlpool 93756 iteratio[ 33.548016] audit: type=1701 audit(1604073244.516:3): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=559 comm="cryptsetup" exe="/usr/sbin/cryptsetup" sig=6 res=1
ns per second for 256-bit key
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

 

NOTE: DM-Crypt and cryptsetup verified successfully in Yocto Warrior (Linux kernel 4.19) for same configurations.

So, my questions are,

  1. How to enable DM-Crypt in Linux kernel 5.4?
  2. How to solve "libgcc_s.so.1 must be installed for pthread_cancel to work" error?

Thanks in advance.

This is related to dm-crypt hangs on kernel 5.4.3 - NXP Community

0 Kudos
0 Replies