Article ID: 000093847 Content Type: Troubleshooting Last Reviewed: 09/19/2023

Unable to update the Intel® QuickAssist Technology (Intel® QAT) driver in Linux*

Environment

Linux*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Recommended pre-work before attempting to install a new version of Intel® QAT.

Description

I already stopped the QAT services and uninstalled the previous driver, but I am getting the error below when trying to install the new driver:

modprobe: ERROR: could not insert 'qat_c62x': Exec format error
modprobe: ERROR: could not insert 'usdm_drv': Exec format error
modprobe: ERROR: could not insert 'qat_api': Exec format error

Resolution

Prior installing a new version of the Intel® QAT driver, it's recommended to uninstall any previous Intel® QAT driver installed in the system. This is particularly important if there are multiple kernels in the system.

Run the following command to make sure there are no previous Intel® QAT installations left over in the system:

find / -name qat_c62x.ko

If multiple results are shown like in the example below, it means there may still be conflicts between multiple Intel® QAT installations in the system. Make sure to uninstall those previous installations.

/lib/modules/5.4.0/updates/drivers/crypto/qat/qat_c62x/qat_c62x.ko
/lib/modules/4.15.0-72-generic/updates/drivers/crypto/qat/qat_c62x/qat_c62x.ko
/lib/modules/4.20.1-042001-generic/kernel/drivers/crypto/qat/qat_c62x/qat_c62x.ko
/QAT-old/quickassist/qat/drivers/crypto/qat/qat_c62x/qat_c62x.ko
/QAT/quickassist/qat/drivers/crypto/qat/qat_c62x/qat_c62x.ko

Once all previous Intel® QAT installations are uninstalled, run make clean before installing the driver:

make clean
./configure
make -j install

Additional information

Refer to the Intel® QAT Getting Started Guide of your respective Intel® QAT Hardware Version for more details about the installation process.

Related Products

This article applies to 1 products