[dm-crypt] luksAddKey hangs for ~85 minutes and then fails

Joe Hillenbrand joehillen at gmail.com
Wed Jun 22 09:39:55 CEST 2016

What luck! I was just about to respond with an update. Arch updated to
1.7.2, no change in behavior.

I was curious if gcrypt was the culprit so I built the source with
"--with-crypto-backend=openssl". It didn't help.

> It is failing the benchmark here, so there is probably another bug in benchmarking.
> What CPU is that? Is it some very fast machine? (paste lscpu output if possible).

$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 45
Model name:            Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
Stepping:              7
CPU MHz:               3599.841
CPU max MHz:           3800.0000
CPU min MHz:           1200.0000
BogoMIPS:              7202.66
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              10240K
NUMA node0 CPU(s):     0-7
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep
mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht
tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts
rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq
dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1
sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb
tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts

> What is number of iterations for the used slot?


> If I add some debugging code, can you compile it and run it on your hw?

I'd love to.

More information about the dm-crypt mailing list