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

How to install Intel i40e v2.15.9 NIC driver on Ubuntu 18.04.5

W-P
Beginner
4,325 Views

When I ran make install on Ubuntu 18.04.5 (kernel v4.15.0-187-generic) the following error occurred.

Could you take a look at it to make it run successfully?

I want to know how to fix the "skb_frag_off" error below.

*Actually the installation was successful in case of Ubuntu 18.04.5 (kernel v4.15.0-136-generic).

root@xxxxxxxxxxx:~/drivers/i40e-2.15.9/src# make install                        
*** The target kernel has CONFIG_MODULE_SIG_ALL enabled, but                        
*** the signing key cannot be found. Module signing has been                        
*** disabled for this build.                        
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-187-generic'                     
  CC [M]  /root/drivers/i40e-2.15.9/src/i40e_main.o                     
In file included from /root/drivers/i40e-2.15.9/src/i40e.h:33:0,                        
                 from /root/drivers/i40e-2.15.9/src/i40e_main.c:8:                      
/root/drivers/i40e-2.15.9/src/kcompat.h:7248:28: error: redefinition of ‘skb_frag_off’                      
 static inline unsigned int skb_frag_off(const skb_frag_t *frag)                        
                            ^~~~~~~~~~~~                        
In file included from ./include/linux/tcp.h:21:0,                       
                 from ./include/net/tcp.h:24,                       
                 from /root/drivers/i40e-2.15.9/src/i40e.h:7,                       
                 from /root/drivers/i40e-2.15.9/src/i40e_main.c:8:                      
./include/linux/skbuff.h:2763:28: note: previous definition of ‘skb_frag_off’ was here                      
 static inline unsigned int skb_frag_off(const skb_frag_t *frag)                        
                            ^~~~~~~~~~~~                        
scripts/Makefile.build:333: recipe for target '/root/drivers/i40e-2.15.9/src/i40e_main.o' failed                        
make[2]: *** [/root/drivers/i40e-2.15.9/src/i40e_main.o] Error 1                        
Makefile:1590: recipe for target '_module_/root/drivers/i40e-2.15.9/src' failed                     
make[1]: *** [_module_/root/drivers/i40e-2.15.9/src] Error 2                        
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-187-generic'                      
Makefile:69: recipe for target 'default' failed                     
make: *** [default] Error 2  

 

0 Kudos
19 Replies
Mike_Intel
Moderator
4,305 Views

Hello W-P,


Thank you for posting in Intel Ethernet Communities. 


For us to further check the issue, please provide the following details.


  1. What is the complete model of your network card?
  2. Are you using an onboard or a PCIe network card?
  3. Can you share the link of your driver?
  4. What is the brand and model of your board/system?
  5. Are you having this issue before?


If you have questions, please let us know. In case we do not hear from you, we will make a follow up after 3 workings days. Thank you.


Best regards,

Michael L.

Intel® Customer Support 


0 Kudos
W-P
Beginner
4,299 Views

Hello Michael,

Thank you for your quick reply.

Here are answers for your questions.
Please let me know if you need more information.

  1. What is the complete model of your network card?
    Ethernet Controller XXV710 for 25GbE SFP2
  2. Are you using an onboard or a PCIe network card?
    I'm using PCIe network card.
  3. Can you share the link of your driver?
    https://www.intel.com/content/www/us/en/download/18026/30641/intel-network-adapter-driver-for-pcie-40-gigabit-ethernet-network-connections-under-linux.html
  4. What is the brand and model of your board/system?
    Server model:Dell R740
    OS: Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-189-generic x86_64)
  5. This's my first time of facing the issue.
    The other servers with the same Ubuntu and kernel version have the same issue.

Best Regards,

W-P

0 Kudos
Mike_Intel
Moderator
4,287 Views

Hello W-P,


Thank you for the quick reply. For us to further check if the unit is an OEM or a retail Intel product. Please send us full photos of the card on both side for me to validate it.


If you have questions, please let us know. In case we do not hear from you, we will make a follow up after 3 workings days. Thank you.


Best regards,

Michael L.

Intel® Customer Support 


0 Kudos
W-P
Beginner
4,275 Views

Hi Michael,


Sorry, currently it's a bit difficult to get the photos soon. If there's, could you tell me any other way to validate it?

Best Regards,

W-P

0 Kudos
Mike_Intel
Moderator
4,256 Views

Hello W-P,


Thank you for the update and I understand. Let us try and check if SSU logs will pick up the markings of the network card.

Please download the utility below and generate the SSU log:


https://www.intel.com/content/www/us/en/download/18895/intel-system-support-utility-for-the-linux-operating-system.html?wapkw=ssu


If you have questions, please let us know. In case we do not hear from you, we will make a follow up after 3 workings days. Thank you.


Best regards,

Michael L.

Intel® Customer Support 


0 Kudos
W-P
Beginner
4,249 Views

Hello Michael,

Thank you for your reply.
I got it, and will try the utility.
Could you tell me how to use it? or where can I find the procedure?

Best Regards,

W-P

0 Kudos
Mike_Intel
Moderator
4,237 Views

Hello W-P,


Sure, you can find the guide in the releasenotes.txt in the download link of the SSU utility. Or you can just click the link below:


https://downloadmirror.intel.com/26735/eng/releasenotes.txt


If you have questions, please let us know. In case we do not hear from you, we will make a follow up after 3 workings days. Thank you.


Best regards,

Michael L.

Intel® Customer Support 


0 Kudos
W-P
Beginner
4,224 Views
Hi Michael,

Thank you very much for answering my question.
Please keep this case open as I'll be able to update the result next week.

Best Regards,

W-P
0 Kudos
W-P
Beginner
4,203 Views

Hi Michael,

 

I've uploaded the output of the utility.

Please take a look at it.

 

root@xxxxxxxxxx:/home/xxxxxxxxxx# ./ssu.sh
This product is not supported on this operating system.
Would you like to try to scan? (y/n)
y
The wodim package is recommended to retrieve wodim details.
Would you like to try and install it now? (y/n)
n
Cannot get driver information: No such device
The smartmontools package is recommended to retrieve smartctl details.
Would you like to try and install it now? (y/n)
n

 

Best Regards,

W-P

0 Kudos
Mike_Intel
Moderator
4,203 Views

Hello W-P,


Thank you for letting us know. I will wait for your update and if there is no reply from you, I will make a follow up on August 22, 2022.


Thank you and stay safe.


Best regards,

Michael L.

Intel® Customer Support 


0 Kudos
W-P
Beginner
4,202 Views

Hi Michael,

 

I've updated here just before.

Please check it☺

 

Best Regards,

 

W-P

0 Kudos
Mike_Intel
Moderator
4,191 Views

Hello W-P,


Thank you for updating us right away. We will further check this issue, kindly give us 2 to 3 working days to provide an update on this one.


Thank you and stay safe.


Best regards,

Michael L.

Intel® Customer Support 


0 Kudos
Mike_Intel
Moderator
4,172 Views

Hello W-P,


Thank you for waiting for our update. Regarding your issue, here is our recommendations:


  1. Try latest driver from Sourceforge
  2. If the issue still occurs, please request assistance from Intel Ethernet Drivers and Utilities / Bugs. They are a dedicated team that supports driver related concerns and they will be attending your request. You just needs to login on this site to request support.


If you have questions, please let us know. In case we do not hear from you, we will make a follow up after 3 workings days. Thank you.


Best regards,

Michael L.

Intel® Customer Support 


0 Kudos
W-P
Beginner
4,149 Views

Hello Michael,

 

Thank you for your update.

I've checked the link and please let me confirm the followings.

  1. This link looks not from Intel official site,  is there any difference compared with Intel official driver?
  2. If this driver is not applied properly as expected , is it possible to occur any irregular impact?  like causing disconnection to interfaces, etc.
  3. It it possible to roll back to the original driver?

 

Best Regards,

 

W-P

 

 

0 Kudos
Mike_Intel
Moderator
4,144 Views

Hello W-P,


I understand your concern so let me answer your questions. Sourceforge is a 3rd party website, however we always refer our customer to this link if they have an updated driver specially for Linux systems. And yes, if you have issues, you can always install the previous release driver.


To add to this, that is why we also recommended to seek assistance with our Intel Ethernet Drivers and Utilities/Bugs since they are the one who is handling this kind of issues.


If you have questions, please let us know. In case we do not hear from you, we will make a follow up after 3 workings days. Thank you.


Best regards,

Michael L.

Intel® Customer Support 


0 Kudos
W-P
Beginner
4,131 Views

Hello Michael,

 

Thank you for your update.

 

According to the link, the latest driver looks 2.20.12, so I tried this.

As a result, after the installation, "modinfo i40e" command shows the latest version 2.20.12, but ethtool -i {target interface} does not show the latest version (seems not applied on the interface).

 

xxxxxxxxxx@xxxxxxxxxx:~$ modinfo i40e
filename: /lib/modules/4.15.0-136-generic/updates/drivers/net/ethernet/intel/i40e/i40e.ko
version: 2.20.12
license: GPL
description: Intel(R) 40-10 Gigabit Ethernet Connection Network Driver
author: Intel Corporation, <e1000-devel@lists.sourceforge.net>
srcversion: 394BEC845AADF4552630406
alias: pci:v00008086d0000158Bsv*sd*bc*sc*i*
alias: pci:v00008086d0000158Asv*sd*bc*sc*i*
alias: pci:v00008086d00000DDAsv*sd*bc*sc*i*
alias: pci:v00008086d000037D3sv*sd*bc*sc*i*
alias: pci:v00008086d000037D2sv*sd*bc*sc*i*
alias: pci:v00008086d000037D1sv*sd*bc*sc*i*
alias: pci:v00008086d000037D0sv*sd*bc*sc*i*
alias: pci:v00008086d000037CFsv*sd*bc*sc*i*
alias: pci:v00008086d000037CEsv*sd*bc*sc*i*
alias: pci:v00008086d00000D58sv*sd*bc*sc*i*
alias: pci:v00008086d00000CF8sv*sd*bc*sc*i*
alias: pci:v00008086d00001588sv*sd*bc*sc*i*
alias: pci:v00008086d00001587sv*sd*bc*sc*i*
alias: pci:v00008086d0000104Fsv*sd*bc*sc*i*
alias: pci:v00008086d0000104Esv*sd*bc*sc*i*
alias: pci:v00008086d000015FFsv*sd*bc*sc*i*
alias: pci:v00008086d00001589sv*sd*bc*sc*i*
alias: pci:v00008086d00001586sv*sd*bc*sc*i*
alias: pci:v00008086d0000101Fsv*sd*bc*sc*i*
alias: pci:v00008086d00000DD2sv*sd*bc*sc*i*
alias: pci:v00008086d00001585sv*sd*bc*sc*i*
alias: pci:v00008086d00001584sv*sd*bc*sc*i*
alias: pci:v00008086d00001583sv*sd*bc*sc*i*
alias: pci:v00008086d00001581sv*sd*bc*sc*i*
alias: pci:v00008086d00001580sv*sd*bc*sc*i*
alias: pci:v00008086d00001574sv*sd*bc*sc*i*
alias: pci:v00008086d00001572sv*sd*bc*sc*i*
depends: ptp,auxiliary
retpoline: Y
name: i40e
vermagic: 4.15.0-136-generic SMP mod_unload
parm: debug:Debug level (0=none,...,16=all) (int)
parm: l4mode:L4 cloud filter mode: 0=UDP,1=TCP,2=Both,-1=Disabled(default) (int)


xxxxxxxxxx@xxxxxxxxxx:~$ ethtool -i xxxxxxxxxx
driver: i40e
version: 2.15.9
firmware-version: 8.15 0x800096ca 20.0.17
expansion-rom-version:
bus-info: 0000:87:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

 

From this, please let me double check the installation steps.

Necessary steps after "make install" command are just running "modprobe i40e" and "reboot" the system, then the new driver installation is reflected on interfaces. (am I correct?)

Is there any other necessary step missing?

 

>>To add to this, that is why we also recommended to seek assistance with our Intel Ethernet Drivers and Utilities/Bugs since they are the one who is handling this kind of issues.

Regarding this, what you are recommending is to open a ticket in sourceforge (not Intel official site here), right?

 

Best Regards,

W-P

0 Kudos
Mike_Intel
Moderator
4,119 Views

Hello W-P,


Thank you for the update and trying the driver from sourceforge. If that is the case, it seems that there is indeed an issue with the driver. And yes, we recommend to log an inquiry in Intel Ethernet Drivers and Utilities/Bugs. This is a recommendations from our Engineers regarding this driver issue.


If you have questions, please let us know. In case we do not hear from you, we will make a follow up after 3 workings days. Thank you.


Best regards,

Michael L.

Intel® Customer Support 


0 Kudos
W-P
Beginner
4,053 Views

Hello Michael,

 

Thanks for your update.

I will open new request in sourceforge for the driver issue.

 

Best Regards,

 

W-P

0 Kudos
Mike_Intel
Moderator
4,049 Views

Hello W-P,


Thank you for the update and understanding. Since you are now going to communicate the issue to sourceforge, we will close this thread now and if you need assistance again in the future, please don't hesitate to post a new question.


Thank you and stay safe.


Best regards,

Michael L.

Intel® Customer Support 


0 Kudos
Reply