Skip to content

QAT 2.0 Ioctl failed #341

@triplewy

Description

@triplewy

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 #76 (comment) 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions