- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Team, I saw the errors on the console.
1. [error] ADF_UIO_PROXY: icp_adf_userProcessToStart: Failed to start SHIM
QAT HW initialization Failed.
[error] ADF_UIO_PROXY: icp_adf_userProcessToStart: Failed to start SHIM
QAT HW initialization Failed.
Unable to set engine method
2.hash(sha256): [ 1626.708504] QAT: can only write once
[ 1626.750779] QAT: can only write once
[ 1626.792987] QAT: can only write once
[ 1628.011873] QAT: can only write once
hash(sha256): [ 2326.954033] QAT: can only write once
[ 2326.996271] QAT: can only write once
[ 2327.038479] QAT: can only write once
[ 2327.080703] QAT: can only write once
[ 2327.123019] QAT: can only write once
[ 2327.165321] QAT: can only write once
[ 2327.207521] QAT: can only write once
Related software components version and configuraitons.
OpenSSL 3.3.3, Intel QAT engine 1.9.0, Intel QAT driver QAT.L.4.23.0-00001
QAT engine:
./configure --host=x86_64-linux \
--with-qat_hw_dir=$(TOPDIR)/kernel/modules/qat_driver \
--with-qat_hw_install_dir=$(istldir) \
--with-openssl_dir=$(curdir)/$(openssl_pkg) \
--with-openssl_install_dir=$(curdir)/$(openssl_pkg) \
--disable-qat_hw_prf ; \
QAT driver:
export SC_EPOLL_DISABLED=0
export ICP_THREAD_SPECIFIC_USDM=1
export QAE_USE_128K_SLABS=y
I added the below section in config file and adf_ctl down, adf_ctl up. But there's no related logs generated.
[DEBUG]
Enabled = 0
DebugLevel = 2
NumBuffers = 128
BufferSizeMB = 4
LogDir = "/var/log/qat/qat_crash"
DumpOnProcessCrash = 0
LogDirMaxSizeMB = 4096
ContSyncEnabled = 1
ContSyncLogDir = "/var/log/qat/qat_logs"
ContSyncMaxLogFiles = 10
ContSyncMaxLogSizeMB = 100
1.How to see the log of ADF_ERROR in adf_io_userProcessToStart()?
2.What's the possible reason of "QAT: can only write once"?
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alfago12,
I'm currently investigating this issue. Meanwhile, could you please provide me with the icp_dump? You can generate it by executing the script found at $ICP_ROOT/quickassist/utilities/debug_tool/icp_dump.sh. This will produce a tar file that includes your complete system setup and configuration files.
Regards,
Ronny G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/bin/adf_ctl status
Checking status of all devices.
There is 3 QAT acceleration device(s) in the system:
qat_dev0 - type: c6xx, inst_id: 0, node_id: 1, bsf: 0000:b1:00.0, #accel: 5 #engines: 10 state: up
qat_dev1 - type: c6xx, inst_id: 1, node_id: 1, bsf: 0000:b2:00.0, #accel: 5 #engines: 10 state: up
qat_dev2 - type: c6xx, inst_id: 2, node_id: 1, bsf: 0000:b3:00.0, #accel: 5 #engines: 10 state: up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alfago12,
I just noticed that you attached the icp_dump, let me look into it and I will get back to you.
Thanks,
Ronny G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alfago12,
I am trying to replicate this issue so I installed Intel QAT engine 1.9.0, Intel QAT driver QAT.L.4.23.0-00001 I just initialized the acceleration devices.
Unfortunately I am not seeing the errors that you mentioned.
[root@wolfpass4-centos7 QAT_Engine]# service qat_service status
Checking status of all devices.
There is 3 QAT acceleration device(s) in the system:
qat_dev0 - type: c6xx, inst_id: 0, node_id: 0, bsf: 0000:3d:00.0, #accel: 5 #engines: 10 state: up
qat_dev1 - type: c6xx, inst_id: 1, node_id: 0, bsf: 0000:3f:00.0, #accel: 5 #engines: 10 state: up
qat_dev2 - type: c6xx, inst_id: 2, node_id: 1, bsf: 0000:da:00.0, #accel: 5 #engines: 10 state: up
[root@wolfpass4-centos7 QAT_Engine]# adf_ctl status
Checking status of all devices.
There is 3 QAT acceleration device(s) in the system:
qat_dev0 - type: c6xx, inst_id: 0, node_id: 0, bsf: 0000:3d:00.0, #accel: 5 #engines: 10 state: up
qat_dev1 - type: c6xx, inst_id: 1, node_id: 0, bsf: 0000:3f:00.0, #accel: 5 #engines: 10 state: up
qat_dev2 - type: c6xx, inst_id: 2, node_id: 1, bsf: 0000:da:00.0, #accel: 5 #engines: 10 state: up
Can you please provide me with the deployment details so that I can try to replicate?
By the way, I just followed the Installation Guide available here: https://github.com/intel/QAT_Engine/blob/master/docs/install.md
Regards,
Ronny G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alfago12,
I am still trying to replicate this issue, however, just by looking at the first part of the error:
1. [error] ADF_UIO_PROXY: icp_adf_userProcessToStart: Failed to start SHIM
QAT HW initialization Failed.
I would recommend that you check:
https://github.com/intel/QAT_Engine/blob/master/docs/install.md
Build QAT Engine for QAT_HW
Copy the Intel® QuickAssist Technology driver config files
QAT Engine built against OOT Driver needs Intel® QAT Driver conf files with [SHIM] section instead of default [SSL]. The default section name in the QAT OpenSSL* Engine can be modified if required by either using the engine ctrl command SET_CONFIGURATION_SECTION_NAME or by setting the environment variable "QAT_SECTION_NAME". The example conf files with SHIM section are located at /path/to/qat_engine/qat_hw_config
The files are grouped by acceleration device(dh895xcc or c6xx or c3xxx or 200xx or c4xxx or 4xxx), please choose the files according to the QAT acceleration device type in the system
The files are also split into multi_process and multi_thread based use cases.
For event driven polling based application, change the parameter Cy$nIsPolled=1 to Cy$nIsPolled=2 for each instances($n) in the respective config file to use event driven polling support. Event driven config files are only supported in Linux. Once you have decided which config file you should use, or created your own you should follow the procedure below to install it:
Stop the acceleration driver as described in the Section "Starting/Stopping the Acceleration software" from the Getting Started Guide available in Intel® QuickAssist Technology Driver
Copy the appropriate .conf file to /etc for n number of QAT devices
Start the acceleration driver as described in the Section "Starting/Stopping the Acceleration software" from the Getting Started Guide available in Intel® QuickAssist Technology Driver
Let me know the results and if the issue persists, please provide me with further details to attempt to replicate this issue.
Regards,
Ronny G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alfago12,
I am just checking if you have any updates regarding this issue.
Please let me know.
Regards,
Ronny G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alfago12,
I am just checking if you still need assistance with this issue.
Please let me know; otherwise, if I don't hear from you, I will close this issue in two days.
Regards,
Ronny G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alfago12,
We are closing the internal ticket created for this issue due to no response received.
If you still require assistance, please create a new community post, as this thread will no longer be monitored.
Regards,
Ronny G

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page