intel / QAT_Engine

Intel QuickAssist Technology( QAT) OpenSSL Engine (an OpenSSL Plug-In Engine) which provides cryptographic acceleration for both hardware and optimized software using Intel QuickAssist Technology enabled Intel platforms. https://developer.intel.com/quickassist
BSD 3-Clause "New" or "Revised" License
410 stars 128 forks source link

Doesn't build on linux-5.4 #134

Open codervijo opened 4 years ago

codervijo commented 4 years ago

Here is the last part of the error from build: make[4]: Entering directory /usr/src/kernel/linux-stable' Building for linux_2.6 CC [M] /usr/src/kernel/drivers/os-tools/qat/qat-1.7/quickassist/lookaside/access_layer/src/linux/icp_qa_module.o LD [M] /usr/src/kernel/drivers/os-tools/qat/qat-1.7/quickassist/lookaside/access_layer/src/qat_api.o AR /usr/src/kernel/drivers/os-tools/qat/qat-1.7/quickassist/lookaside/access_layer/src/lib.a EXPORTS /usr/src/kernel/drivers/os-tools/qat/qat-1.7/quickassist/lookaside/access_layer/src/lib-ksyms.o AR /usr/src/kernel/drivers/os-tools/qat/qat-1.7/quickassist/lookaside/access_layer/src/built-in.a Building for linux_2.6 Building modules, stage 2. MODPOST 1 modules ERROR: "osalCryptoInterfaceInit" [/usr/src/kernel/drivers/os-tools/qat/qat-1.7/quickassist/lookaside/access_layer/src/qat_api.ko] undefined! ERROR: "osalCryptoInterfaceExit" [/usr/src/kernel/drivers/os-tools/qat/qat-1.7/quickassist/lookaside/access_layer/src/qat_api.ko] undefined! ERROR: "adf_module_unload" [/usr/src/kernel/drivers/os-tools/qat/qat-1.7/quickassist/lookaside/access_layer/src/qat_api.ko] undefined! ERROR: "icpSetProcessName" [/usr/src/kernel/drivers/os-tools/qat/qat-1.7/quickassist/lookaside/access_layer/src/qat_api.ko] undefined! ERROR: "adf_module_load" [/usr/src/kernel/drivers/os-tools/qat/qat-1.7/quickassist/lookaside/access_layer/src/qat_api.ko] undefined! make[6]: *** [__modpost] Error 1 make[5]: *** [modules] Error 2 make[4]: *** [sub-make] Error 2 make[4]: Leaving directory/usr/src/kernel/linux-stable' Copying outputs to build/linux_2.6/kernel_space make[3]: Leaving directory `/usr/src/kernel/drivers/os-tools/qat/qat-1.7/quickassist/lookaside/access_layer/src'

paulturx commented 4 years ago

Hi Looking at the output that you provide, this looks like a QAT driver issue rather than a QAT Engine issue. I shall refer this issue to one of my colleagues who will address it. Regards, paulturx

jdschuet commented 4 years ago

Hello,

The current QAT driver release available on 01.org (4.7.0) does not include support for the 5.x kernel. The next QAT driver release (4.8.0) adds support for 5.x kernels. This release should be posted within the next two weeks.

Best regards, Joel

jdschuet commented 4 years ago

Hello,

The 4.8.0 package has been posted to 01.org. This release should resolve the issues with the 5.x kernels.

Best regards, Joel