Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
5719 Discussions

I cannot install irdma driver E810 in Ubuntu 22.04 environment

Kuni
New Contributor I
5,478 Views

I tried to install irdma-1.11.62 to Ubuntsu 22.04 desktop environment. Due to  following errors, I could not install irdma drivers. Is there anyway to install the irdma driver to the version of Ubuntu? 

root@svr0:~/irdma-1.11.62# ./build.sh
make: Entering directory '/usr/src/linux-headers-5.19.0-45-generic'
make: Leaving directory '/usr/src/linux-headers-5.19.0-45-generic'
make: Entering directory '/usr/src/linux-headers-5.19.0-45-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
You are using: gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
CC [M] /root/irdma-1.11.62/src/irdma/main.o
CC [M] /root/irdma-1.11.62/src/irdma/hw.o
CC [M] /root/irdma-1.11.62/src/irdma/cm.o
CC [M] /root/irdma-1.11.62/src/irdma/ctrl.o
CC [M] /root/irdma-1.11.62/src/irdma/hmc.o
CC [M] /root/irdma-1.11.62/src/irdma/pble.o
CC [M] /root/irdma-1.11.62/src/irdma/puda.o
CC [M] /root/irdma-1.11.62/src/irdma/uk.o
CC [M] /root/irdma-1.11.62/src/irdma/utils.o
CC [M] /root/irdma-1.11.62/src/irdma/verbs.o
CC [M] /root/irdma-1.11.62/src/irdma/uda.o
CC [M] /root/irdma-1.11.62/src/irdma/ws.o
CC [M] /root/irdma-1.11.62/src/irdma/trace.o
CC [M] /root/irdma-1.11.62/src/irdma/i40iw_if.o
CC [M] /root/irdma-1.11.62/src/irdma/i40iw_hw.o
CC [M] /root/irdma-1.11.62/src/irdma/icrdma_hw.o
CC [M] /root/irdma-1.11.62/src/irdma/configfs.o
CC [M] /root/irdma-1.11.62/src/irdma/vf.o
CC [M] /root/irdma-1.11.62/src/irdma/virtchnl.o
CC [M] /root/irdma-1.11.62/src/irdma/irdma_kcompat.o
CC [M] /root/irdma-1.11.62/src/irdma/debugfs.o
/root/irdma-1.11.62/src/irdma/verbs.c: In function ‘irdma_query_device’:
/root/irdma-1.11.62/src/irdma/verbs.c:32:36: error: ‘IB_DEVICE_LOCAL_DMA_LKEY’ undeclared (first use in this function); did you mean ‘IBK_LOCAL_DMA_LKEY’?
32 | props->device_cap_flags |= IB_DEVICE_LOCAL_DMA_LKEY;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| IBK_LOCAL_DMA_LKEY
/root/irdma-1.11.62/src/irdma/verbs.c:32:36: note: each undeclared identifier is reported only once for each function it appears in
/root/irdma-1.11.62/src/irdma/irdma_kcompat.c: In function ‘irdma_alloc_hw_port_stats’:
/root/irdma-1.11.62/src/irdma/irdma_kcompat.c:3670:43: error: passing argument 1 of ‘rdma_alloc_hw_stats_struct’ from incompatible pointer type [-Werror=incompatible-pointer-types]
3670 | return rdma_alloc_hw_stats_struct(irdma_hw_stat_names, num_counters,
| ^~~~~~~~~~~~~~~~~~~
| |
| const char * const*
In file included from ./include/rdma/ib_mad.h:15,
from ./include/rdma/ib_smi.h:13,
from /root/irdma-1.11.62/src/irdma/main.h:38,
from /root/irdma-1.11.62/src/irdma/irdma_kcompat.c:3:
./include/rdma/ib_verbs.h:612:38: note: expected ‘const struct rdma_stat_desc *’ but argument is of type ‘const char * const*’
612 | const struct rdma_stat_desc *descs, int num_counters,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
make[1]: *** [scripts/Makefile.build:257: /root/irdma-1.11.62/src/irdma/verbs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make[1]: *** [scripts/Makefile.build:257: /root/irdma-1.11.62/src/irdma/irdma_kcompat.o] Error 1
make: *** [Makefile:1857: /root/irdma-1.11.62/src/irdma] Error 2
make: Leaving directory '/usr/src/linux-headers-5.19.0-45-generic'

0 Kudos
1 Solution
B_Y
Employee
5,226 Views

Hi @Kuni,


Please be informed that we will now close this request since we haven't received any response from our previous follow ups. Just feel free to post a new question if you may have any other inquiry in the future as this thread will no longer be monitored.

 

Best regards,

BY_Intel

Intel Customer Support


View solution in original post

0 Kudos
6 Replies
B_Y
Employee
5,441 Views

Hi @Kuni,

Thank you for posting in Intel Ethernet Communities.

We also wish to gather some information below for further checking:

1) The system of your server and OS build

2) Did you encounter this issue previously or this is the first time?

3) Do the NIC or network adapter shown any error / unusual symbol?

4) Please share the irdma driver URL that you obtained. 

5) We need your help to gather the System Support Utility logs, steps as following: 

https://www.intel.com/content/www/us/en/support/articles/000008563/ethernet-products.html

 

We'll be waiting for your response.

 

Best regards,

BY_Intel

Intel Customer Support

 

0 Kudos
Kuni
New Contributor I
5,369 Views

Sorry for late response. 

1) I tried with Ubuntu 22.04.2 desktop and it uses kernel 5.19.0-46-generic. That might be the cause of problem. Initially, Ubuntu 22.04 is using 5.15.0 kernel but now kerenel version is 5.19.0. 

2) Same issue is shown with CentOS 7.9 then I move to Ubuntu 22.04 desktop (since I want to use GUI, I select desktop version). 

3) except RDMA, E810 seems to work well.  No error was shown.

4) irdma driver is the driver28.1.1 driver set gotten from インテル®イーサネットアダプタコンプリートドライバパック (intel.co.jp)

5) Please give some time. Now I am trying Ubuntu 22.04 server. After I check with 22.04 server, I back to desktop and report your requested one.

 

By the way, short try with Ubuntu server version was done, I could sucessfully build irdma module. 

 

Then issue is Desktop version of Ubuntu support.  

 

Regard, K. Kunita

0 Kudos
B_Y
Employee
5,327 Views

Hi @Kuni,

 

I hope this message finds you well. I am just sending a follow up if you have managed to gather following information:

5) We need your help to gather the System Support Utility logs, steps as following: 

https://www.intel.com/content/www/us/en/support/articles/000008563/ethernet-products.html

 

Thank you.

 

Best regards,

BY_Intel

Intel Customer Support

 

0 Kudos
B_Y
Employee
5,288 Views

Hi @Kuni,

 

I'm just following up on the previous comments. I understand that you are busy, but I would appreciate it if you could review them and respond to me as soon as you can.

 

Much appreciated and thank you.

 

Best regards,

BY_Intel

Intel Customer Support

 

0 Kudos
B_Y
Employee
5,227 Views

Hi @Kuni,


Please be informed that we will now close this request since we haven't received any response from our previous follow ups. Just feel free to post a new question if you may have any other inquiry in the future as this thread will no longer be monitored.

 

Best regards,

BY_Intel

Intel Customer Support


0 Kudos
Kuni
New Contributor I
5,038 Views

You can close this. Since I changed to  downdate the Ubuntu OS to 20.04 server and  I could make it work. However with driver 28.1.1, I could make E810 work with ice driver but NVMUpdatePackages of the package drivers28.1.1 did not work and I needed to down date it to drivers27.7. Also irdma of 28.1.1 did not work and I needed to use irdma driver of the package drivers27.7  I finally found the solution.   

I just want you to report there is a feedback from a customer who experience serveral  issues with Ubuntu and  the customer (me) think that Intel does not doing enough validation with Ubuntu major release.  I want Intel to improve their validation for Ubuntu.

Regard, K. Kunita

0 Kudos
Reply