QAT_Engine
QAT_Engine copied to clipboard
QAT 2.0 Ioctl failed
I'm having difficulties building and installing the QAT20.L.1.2.30-00078.tar.gz driver on Linux 5.15.152. It fails with the following output:
There is 2 QAT acceleration device(s) in the system:
Ioctl failed
Get real id failed
Ioctl failed
Get real id failed
dmesg output:
[ 880.959316] 4xxx 0000:6b:00.0: qat_dev0 started 9 acceleration engines
[ 880.976497] QAT: Could not find a device on node 1
[ 880.985626] QAT: Could not find a device on node 1
[ 880.994713] QAT: Could not find a device on node 1
[ 881.003399] QAT: Could not find a device on node 1
[ 881.012108] QAT: Could not find a device on node 1
[ 881.021370] QAT: Could not find a device on node 1
[ 881.033230] QAT: Could not find a device on node 1
[ 881.044407] QAT: Could not find a device on node 1
[ 881.185312] 4xxx 0000:e8:00.0: qat_dev1 started 9 acceleration engines
[ 881.208741] usdm_drv: Loading USDM Module 1.0.0 ...
[ 881.215531] usdm_drv: IOCTLs: c0507100, c0507101, 7102, c0047104
[ 881.226010] QAT: Invalid ioctl 1074553089
[ 881.233019] QAT: Invalid ioctl 1074028817
[ 881.306150] QAT: Invalid ioctl 1074028817
I had to follow the advice in https://github.com/intel/QAT_Engine/issues/76#issuecomment-408386959 which allowed me to successfully build the qat_4xxx module but it is unable to run successfully. Any tips on solving this?
Confirmed QAT 2.0 hardware installed:
$ lspci -nn | egrep -e '8086:4940|8086:4942'
6b:00.0 Co-processor [0b40]: Intel Corporation Device [8086:4940] (rev 40)
e8:00.0 Co-processor [0b40]: Intel Corporation Device [8086:4940] (rev 40)
Hi @triplewy , what is the OS you are running ?
@venkatesh6911 I am using Debian 10
Can you provide the output of:
cat /proc/cmdline
What configuration options were used to configure the QAT driver?