Intel® QuickAssist Technology (Intel® QAT)
For questions and discussions related to Intel® QuickAssist Technology (Intel® QAT).
36 Discussions

Error while Using Async Nginx with QAT Driver in Rocky Linux

SankarKumar
Beginner
315 Views

Earlier we were using Async Mode Nginx compiled with QAT Driver, OpenSSL, QAT Engine and Nginx in CentOS operating system.

 

Now we are migrating from CentOS to Rocky Linux operating system. So we compiled and installed the below packages in Rocky Linux operating system.

QAT Driver 4.16.0
OpenSSL 3.7.0
QAT Engine 0.6.18
Nginx 1.20.1

 

After installing all the above packages and starting the nginx, we are seeing the below errors in nginx.

 

[error] SalCtrl_GetEnabledServices() - : Failed to get enabled services from ADF
[error] SalCtrl_ServiceEventHandler() - : Failed to get enabled services
[error] SalCtrl_GetEnabledServices() - : Failed to get enabled services from ADF
[error] SalCtrl_ServiceEventHandler() - : Failed to get enabled services
[error] cpaCyStopInstance() - : Can not get instance info

 

Please let us know if we need to do anything in the configuration or we need to do any other changes for resolving this error.

0 Kudos
5 Replies
Ronny_G_Intel
Moderator
238 Views

Hi SankarKumar,



I have a few questions based on your system configuration, please see below:


Rocky Linux 

QAT Driver 4.16.0

OpenSSL 3.7.0

QAT Engine 0.6.18

Nginx 1.20.1



Regards,

Ronny G 


0 Kudos
SankarKumar
Beginner
178 Views

1.Can you please let me know what QAT hardware are you using? 

# lsmod | grep "qat"
qat_c62x               20480  1
intel_qat             368640  50 qat_c62x,usdm_drv
uio                    28672  33 intel_qat

 

2.Is there any particular reason for running QAT Driver 4.16.0?

   We tried to compile the QAT Driver version 4.23.0. But we faced  the below error

checking for libnl... no
configure: error:

 

    libnl-3.0 and libnl-genl-3.0 are required but not all were found

 

3.Do you get the same error message when starting Nginx without QAT?

   No, if we start Nginx without QAT we will get this error.

 

4.Did you test QAT alone?

   Yes we tested QAT alone and we did not face any issues.

 

We have reached the final validation process in Rockylinux9 and requests are being served properly, we would like to know if below errors will have any runtime impacts or if we can ignore them. It would be helpful if you could let us know what generally causes these errors.

0 Kudos
Ronny_G_Intel
Moderator
155 Views

Hi SankarKumar,


The error message you're seeing "libnl-3.0 and libnl-genl-3.0 are required but not all were found" when compiling QAT Driver version 4.23.0 indicates that the software you're trying to compile or run depends on the libnl-3.0 and libnl-genl-3.0 libraries, which are part of the libnl suite (a collection of libraries providing APIs to netlink protocol based Linux kernel interfaces), but these libraries are not installed or not found on your system.

If using Rocky Linux operating system, the usual way to resolve this issue is by running this command: sudo yum install libnl3-devel libnl-genl3-devel


Now, the latest driver version is 4.24.0-00005. Visit the following URL for reference: https://www.intel.com/content/www/us/en/download/19734/710050/intel-quickassist-technology-driver-for-linux-hw-version-1-x.html, I would encourage you to use the latest version available.


On the other hand, I would also recommend updating your QAT engine unless there is a special requirement for you to stay on version 0.6.18, the more recent QAT engine version is v1.6.0 available here https://github.com/intel/QAT_Engine 


If you're encountering the error "SalCtrl_GetEnabledServices() - : Failed to get enabled services from ADF" with QAT Engine version 0.6.18, it suggests there's a problem with the service layer that the QAT Engine uses to communicate with the hardware.


After installing the required packages, try to compile your software again and restart QAT services. If the error persists, make sure that the paths to the libraries are correctly set in your environment and that the software you're compiling is looking for the libraries in the correct locations.


One more thing, you mentioned that QAT working alone is showing no issues, can you please confirm the answer to previous question #3? Do you get the same error message when starting Nginx without QAT?


Regards,

Ronny G


0 Kudos
Ronny_G_Intel
Moderator
114 Views

Hi SankarKumar,


Do you have any update regarding this issue?

Do you still need help?


Regards,

Ronny G




0 Kudos
Ronny_G_Intel
Moderator
95 Views

Hi SankarKumar,


I will be closing this internal case that was opened for the issue at hand. Please don't hesitate to reopen it if you require further assistance.


Regards,

Ronny G


0 Kudos
Reply