Skip to contentSkip to conversation

Encrypt selftest fails with qat_c3xxx

DISCUSSION Georg Sauthoff 1 participant 1 message Dec 13, 2017 Crypto API

lore
Share & tools
lore
#0 lore raw

Hello,

running Fedora 27 on an Intel Atom C3758 CPU Supermicro system (A2SDi-8C+-HLN4F) I've noticed that crypto selftests fail when the qat_c3xxx module is loaded (it is loaded, by default). That means that stuff like modprobe dm-crypt, cryptsetup benchmark and cryptsetup luksOpen fail.

The kernel log then contains the following messages:

alg: akcipher: encrypt test failed. err -22
alg: akcipher: test 1 failed for pkcs1pad(qat-rsa,sha256), err=-22

When I blacklist the qat_c3xxx/intel_qat modules the crypto works as expected.

I can reproduce this issue with 4.14.3-300.fc27.x86_64, kernel-4.13.16-302.fc27.x86_64 and kernel-4.13.9-300.fc27.x86-64.

See also my report in the Fedora bug tracker:

https://bugzilla.redhat.com/show_bug.cgi?id=1522962#c5

The loaded firmware has this checksum:

md5sum /lib/firmware/qat_c3xxx_mmp.bin fb7deea913d87aed7676222269a593e6 /lib/firmware/qat_c3xxx_mmp.bin

Is this an issue with the driver, the firmware or does the QAT co-processor need some additional setup?

Best regards
Georg

Signature · 3 lines
'(EE) Caught signal 11 (Segmentation fault). Server aborting
 (EE) Please also check the log file at "/dev/null" for additional information.'
(Fedora 21, gdm-Xorg)