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

Unable to compile ixgbe-6.1.3 on Debian 10.13

Andrii_Vasylyshyn
New Contributor I
452 Views

 

Hello! I just download sources from https://downloadmirror.intel.com/853813/ixgbe-6.1.3.tar.gz

and get error when do make command:

 

 

root@152224-02-fdc:/tmp/ixgbe-6.1.3/src# make
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-27-common'
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-27-amd64'
  CC [M]  /tmp/ixgbe-6.1.3/src/ixgbe_main.o
  CC [M]  /tmp/ixgbe-6.1.3/src/ixgbe_api.o
  CC [M]  /tmp/ixgbe-6.1.3/src/ixgbe_common.o
  CC [M]  /tmp/ixgbe-6.1.3/src/ixgbe_dcb.o
  CC [M]  /tmp/ixgbe-6.1.3/src/ixgbe_dcb_82598.o
  CC [M]  /tmp/ixgbe-6.1.3/src/ixgbe_dcb_82599.o
  CC [M]  /tmp/ixgbe-6.1.3/src/ixgbe_ethtool.o
/tmp/ixgbe-6.1.3/src/ixgbe_ethtool.c: In function ‘ixgbe_get_keee_fw’:
/tmp/ixgbe-6.1.3/src/ixgbe_ethtool.c:5415:2: error: implicit declaration of function ‘linkmode_and’; did you mean ‘linkmode_copy’? [-Werror=implicit-function-declaration]
  linkmode_and(common, kedata->advertised, kedata->lp_advertised);
  ^~~~~~~~~~~~
  linkmode_copy
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.19.0-27-common/scripts/Makefile.build:309: /tmp/ixgbe-6.1.3/src/ixgbe_ethtool.o] Error 1
make[2]: *** [/usr/src/linux-headers-4.19.0-27-common/Makefile:1577: _module_/tmp/ixgbe-6.1.3/src] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-27-amd64'
make[1]: *** [Makefile:153: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-27-common'
make: *** [Makefile:96: default] Error 2

 

0 Kudos
13 Replies
Sazirah
Employee
408 Views

Hi Andrii_Vasylyshyn,


Thank you for posting in Intel Community Forum.


Regarding the issue reported, we require some information from you:


1) Kindly share the Intel Ethernet Adapter model that you are currently using.


Seems like you are trying to update the ethernet driver, have you tried to update the driver using link below. If no, we suggest you to update the driver using this driver pack (see link below).


Intel® Ethernet Adapter Complete Driver Pack

https://www.intel.com/content/www/us/en/download/15084/intel-ethernet-adapter-complete-driver-pack.html


Or, you can get the driver from Github at https://intel.github.io/ethernet-linux/.


Regards,

Sazzy_Intel

Intel Customer Support Technician




0 Kudos
Andrii_Vasylyshyn
New Contributor I
397 Views
root@152224-02-fdc:/# ethtool -i ens1f0
driver: ixgbe
version: 5.1.0-k
firmware-version: 0x00015e0b
expansion-rom-version:
bus-info: 0000:86:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
root@152224-02-fdc:/# ethtool -i ens1f1
driver: ixgbe
version: 5.1.0-k
firmware-version: 0x00015e0b
expansion-rom-version:
bus-info: 0000:86:00.1
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
root@152224-02-fdc:/# ethtool -i ens2f0
driver: ixgbe
version: 5.1.0-k
firmware-version: 0x000118f6
expansion-rom-version:
bus-info: 0000:d8:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
root@152224-02-fdc:/# ethtool -i ens2f1
driver: ixgbe
version: 5.1.0-k
firmware-version: 0x000118f6
expansion-rom-version:
bus-info: 0000:d8:00.1
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
root@152224-02-fdc:/# lspci  | grep Eth
18:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
18:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
19:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
19:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
86:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
86:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
d8:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
d8:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
0 Kudos
Andrii_Vasylyshyn
New Contributor I
394 Views

I downloaded from github

root@152224-02-fdc:/tmp# wget "https://github.com/intel/ethernet-linux-ixgbe/archive/refs/heads/main.zip"
root@152224-02-fdc:/tmp# unzip main.zip

It looks like the same error:

root@152224-02-fdc:/tmp/ethernet-linux-ixgbe-main/src# make
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-27-common'
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-27-amd64'
  CC [M]  /tmp/ethernet-linux-ixgbe-main/src/ixgbe_main.o
  CC [M]  /tmp/ethernet-linux-ixgbe-main/src/ixgbe_api.o
  CC [M]  /tmp/ethernet-linux-ixgbe-main/src/ixgbe_common.o
  CC [M]  /tmp/ethernet-linux-ixgbe-main/src/ixgbe_dcb.o
  CC [M]  /tmp/ethernet-linux-ixgbe-main/src/ixgbe_dcb_82598.o
  CC [M]  /tmp/ethernet-linux-ixgbe-main/src/ixgbe_dcb_82599.o
  CC [M]  /tmp/ethernet-linux-ixgbe-main/src/ixgbe_ethtool.o
/tmp/ethernet-linux-ixgbe-main/src/ixgbe_ethtool.c: In function ‘ixgbe_get_keee_fw’:
/tmp/ethernet-linux-ixgbe-main/src/ixgbe_ethtool.c:5415:2: error: implicit declaration of function ‘linkmode_and’; did you mean ‘linkmode_copy’? [-Werror=implicit-function-declaration]
  linkmode_and(common, kedata->advertised, kedata->lp_advertised);
  ^~~~~~~~~~~~
  linkmode_copy
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.19.0-27-common/scripts/Makefile.build:309: /tmp/ethernet-linux-ixgbe-main/src/ixgbe_ethtool.o] Error 1
make[2]: *** [/usr/src/linux-headers-4.19.0-27-common/Makefile:1577: _module_/tmp/ethernet-linux-ixgbe-main/src] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-27-amd64'
make[1]: *** [Makefile:153: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-27-common'
make: *** [Makefile:96: default] Error 2

 

0 Kudos
ManoranjanDas
Employee
384 Views

Hello Andrii_Vasylyshyn,


Greetings!


Thank you for sharing the information. Could you kindly share the model of the Intel Ethernet Adapter you are currently using?

I look forward to your response on this case.


Best regards,

Manoranjan

Intel Customer Support Technician


0 Kudos
Andrii_Vasylyshyn
New Contributor I
335 Views

Intel X520-DA2 Ethernet Server Adapter 10Gbps Dual Port SFP+ E10G42BTDAPG1P5

HW addr: 90:e2:ba:d5:a2:7c

HW addr: 90:e2:ba:d5:a2:7d

HW addr: 00:1b:21:c7:38:e4

HW addr: 00:1b:21:c7:38:e5

 

 

Andrii_Vasylyshyn_0-1746728478548.png

 

0 Kudos
Azeem_Intel
Employee
327 Views

Hello Andrii_Vasylyshyn,


Greetings!


Thank you for sharing the Ethernet details. To assist you further, could you please provide the following information:

  1. The current driver version you are using.
  2. Can you confirm if you face the same issue with older version like 6.0.6 or 6.0.5.
  3. Whether the Ethernet card was purchased separately or came pre-installed with the system.


This information will help us better understand your setup and guide you more effectively.


Looking forward to your response.


Best regards,

Azeem

Intel Customer Support Technician


0 Kudos
Andrii_Vasylyshyn
New Contributor I
251 Views

  1. The current driver version you are using.

That iformation is in my first message:

driver: ixgbe
version: 5.1.0-k

it's build-in kernel driver.

 


Can you confirm if you face the same issue with older version like 6.0.6 or 6.0.5.

Yes, and with 5.22.25 and 5.21.6


  1. Whether the Ethernet card was purchased separately or came pre-installed with the system.

Separately. It changed XL710 and XXV710 from previous topic.

0 Kudos
Andrii_Vasylyshyn
New Contributor I
297 Views

 

The same picture:

 

root@152224-02-fdc:/tmp/ixgbe-6.0.6/src# make
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-27-common'
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-27-amd64'
  CC [M]  /tmp/ixgbe-6.0.6/src/ixgbe_main.o
  CC [M]  /tmp/ixgbe-6.0.6/src/ixgbe_api.o
  CC [M]  /tmp/ixgbe-6.0.6/src/ixgbe_common.o
  CC [M]  /tmp/ixgbe-6.0.6/src/ixgbe_dcb.o
  CC [M]  /tmp/ixgbe-6.0.6/src/ixgbe_dcb_82598.o
  CC [M]  /tmp/ixgbe-6.0.6/src/ixgbe_dcb_82599.o
  CC [M]  /tmp/ixgbe-6.0.6/src/ixgbe_ethtool.o
/tmp/ixgbe-6.0.6/src/ixgbe_ethtool.c: In function ‘ixgbe_get_keee_fw’:
/tmp/ixgbe-6.0.6/src/ixgbe_ethtool.c:4681:2: error: implicit declaration of function ‘linkmode_and’; did you mean ‘linkmode_copy’? [-Werror=implicit-function-declaration]
  linkmode_and(common, kedata->advertised, kedata->lp_advertised);
  ^~~~~~~~~~~~
  linkmode_copy
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.19.0-27-common/scripts/Makefile.build:309: /tmp/ixgbe-6.0.6/src/ixgbe_ethtool.o] Error 1
make[2]: *** [/usr/src/linux-headers-4.19.0-27-common/Makefile:1577: _module_/tmp/ixgbe-6.0.6/src] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-27-amd64'
make[1]: *** [Makefile:153: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-27-common'
make: *** [Makefile:107: default] Error 2

 

root@152224-02-fdc:/tmp/ixgbe-6.0.5/src# make
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-27-common'
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-27-amd64'
  CC [M]  /tmp/ixgbe-6.0.5/src/ixgbe_main.o
  CC [M]  /tmp/ixgbe-6.0.5/src/ixgbe_api.o
  CC [M]  /tmp/ixgbe-6.0.5/src/ixgbe_common.o
  CC [M]  /tmp/ixgbe-6.0.5/src/ixgbe_dcb.o
  CC [M]  /tmp/ixgbe-6.0.5/src/ixgbe_dcb_82598.o
  CC [M]  /tmp/ixgbe-6.0.5/src/ixgbe_dcb_82599.o
  CC [M]  /tmp/ixgbe-6.0.5/src/ixgbe_ethtool.o
/tmp/ixgbe-6.0.5/src/ixgbe_ethtool.c: In function ‘ixgbe_get_keee_fw’:
/tmp/ixgbe-6.0.5/src/ixgbe_ethtool.c:4681:2: error: implicit declaration of function ‘linkmode_and’; did you mean ‘linkmode_copy’? [-Werror=implicit-function-declaration]
  linkmode_and(common, kedata->advertised, kedata->lp_advertised);
  ^~~~~~~~~~~~
  linkmode_copy
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.19.0-27-common/scripts/Makefile.build:309: /tmp/ixgbe-6.0.5/src/ixgbe_ethtool.o] Error 1
make[2]: *** [/usr/src/linux-headers-4.19.0-27-common/Makefile:1577: _module_/tmp/ixgbe-6.0.5/src] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-27-amd64'
make[1]: *** [Makefile:153: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-27-common'
make: *** [Makefile:107: default] Error 2

 

0 Kudos
Andrii_Vasylyshyn
New Contributor I
297 Views

And 5.22.25 too:

 

root@152224-02-fdc:/tmp/ixgbe-5.22.25/src# make
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-27-common'
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-27-amd64'
  CC [M]  /tmp/ixgbe-5.22.25/src/ixgbe_main.o
  CC [M]  /tmp/ixgbe-5.22.25/src/ixgbe_api.o
  CC [M]  /tmp/ixgbe-5.22.25/src/ixgbe_common.o
  CC [M]  /tmp/ixgbe-5.22.25/src/ixgbe_dcb.o
  CC [M]  /tmp/ixgbe-5.22.25/src/ixgbe_dcb_82598.o
  CC [M]  /tmp/ixgbe-5.22.25/src/ixgbe_dcb_82599.o
  CC [M]  /tmp/ixgbe-5.22.25/src/ixgbe_ethtool.o
/tmp/ixgbe-5.22.25/src/ixgbe_ethtool.c: In function ‘ixgbe_get_keee_fw’:
/tmp/ixgbe-5.22.25/src/ixgbe_ethtool.c:4654:2: error: implicit declaration of function ‘linkmode_and’; did you mean ‘linkmode_copy’? [-Werror=implicit-function-declaration]
  linkmode_and(common, kedata->advertised, kedata->lp_advertised);
  ^~~~~~~~~~~~
  linkmode_copy
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.19.0-27-common/scripts/Makefile.build:309: /tmp/ixgbe-5.22.25/src/ixgbe_ethtool.o] Error 1
make[2]: *** [/usr/src/linux-headers-4.19.0-27-common/Makefile:1577: _module_/tmp/ixgbe-5.22.25/src] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-27-amd64'
make[1]: *** [Makefile:153: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-27-common'
make: *** [Makefile:107: default] Error 2
0 Kudos
Akshaya1
Employee
274 Views

Hello Andrii_Vasylyshyn,


Could you kindly confirm the source from which you downloaded the driver? Additionally, please provide the current driver version of the Ethernet card and share the system details.


Looking forward to your response.


Regards,

Akshaya 

Intel Customer Support Technician


0 Kudos
Andrii_Vasylyshyn
New Contributor I
253 Views

I downloaded all sources drom github https://github.com/intel/ethernet-linux-ixgbe/releases

If you read my first message you can see 

driver: ixgbe
version: 5.1.0-k

It a bulid-in kernel driver. Also you can see OS Debian 10.13 https://www.debian.org/releases/buster/

Also you can see kernel 4.19.0-27-amd64  https://packages.debian.org/buster/linux-image-4.19.0-27-amd64

 

0 Kudos
Azeem_Intel
Employee
169 Views

Hello Andrii_Vasylyshyn,


Greetings!


Thank you for the information. We are currently coordinating with our internal team regarding your case and will get back to you with an update shortly.



Regards,

Azeem

Intel Customer Support Technician


0 Kudos
Sreelakshmi1
Employee
74 Views

Hi Andrii_Vasylyshyn,


Greetings!


We would like to inform you that the issue appears to be related to the kernel version. Since your system is currently running kernel version 4.19, we recommend trying Debian 11, which includes kernel version 5.10.


Our driver pack release notes list Debian 11 as a supported operating system.


Additionally, kindly share clear images of the front and rear of the adapter, ensuring that the stickers are visible.


Best Regards,

Sreelakshmi

Intel Customer Support Technician


0 Kudos
Reply