Embedded Connectivity
Intel network controllers, Firmware and drivers.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
540 Discussions

Issue for compile e1000 package drivers - igb driver

IonutNechita
Employee
650 Views

Hi Intel Ethernet Team,

 

I'm trying to compile the drivers in the e1000 package. But observe one issue with one function.

(Intel® Network Adapter Driver for 82575/6, 82580, I350, and I210/211-Based Gigabit Network Connections for Linux*
Version: 5.4.6 (Latest) Date: 9/29/2020)

- read_barrier_depends

https://downloadcenter.intel.com/downloads/eula/13663/Intel-Network-Adapter-Driver-for-82575-6-82580...

CC [M] /usr/src/packages/BUILD/igb-5.4.6/src/igb_main.o
/usr/src/packages/BUILD/igb-5.4.6/src/igb_main.c: In function ‘igb_clean_tx_irq’:
/usr/src/packages/BUILD/igb-5.4.6/src/igb_main.c:7526:3: error: implicit declaration of function ‘read_barrier_depends’ [-Werror=implicit-function-declaration]
7526 | read_barrier_depends();
| ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-5.9.11-1/scripts/Makefile.build:284: /usr/src/packages/BUILD/igb-5.4.6/src/igb_main.o] Error 1
make[2]: *** [/usr/src/linux-5.9.11-1/Makefile:1798: /usr/src/packages/BUILD/igb-5.4.6/src] Error 2
make[2]: Leaving directory '/usr/src/linux-5.9.11-1-obj/x86_64/default'
make[1]: *** [Makefile:185: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-5.9.11-1'
make: *** [Makefile:86: default] Error 2
make: Leaving directory '/usr/src/packages/BUILD/igb-5.4.6/src'
error: Bad exit status from /var/tmp/rpm-tmp.rYlxJs (%build)

OS used for compile e1000 package:

cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20201130"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20201130"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20201130"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
LOGO="distributor-logo"

uname -a
Linux mrb-bios-target-labl1 5.9.11-1-default #1 SMP Wed Nov 25 05:49:27 UTC 2020 (91426ef) x86_64 x86_64 x86_64 GNU/Linux

gcc --version
gcc (SUSE Linux) 10.2.1 20201117 [revision 98ba03ffe0b9f37b4916ce6238fad754e00d720b]
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ldd --version
ldd (GNU libc) 2.32
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

0 Kudos
9 Replies
Michael_L_Intel2
Moderator
630 Views

Hello IonutNechita,


Thank you for posting in Intel Ethernet Communities. 


Before we proceed, let me check if first if you are designing a system with embedded Ethernet card.



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 Technicians


Michael_L_Intel2
Moderator
620 Views

Hello IonutNechita,


I hope you are having a good day. I just want to make a follow up on the question that I asked. Are you designing a system?


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 Technicians


IonutNechita
Employee
609 Views

Hi Michael_L_Intel2,

I use one system with a embedded network card.

But not embedded network card is issue.

But it is a software driver issue.

I tried a driver compilation, but I can't create it until the end.

A function is not seen, and because of that it failed.

> igb_clean_tx_irq > read_barrier_depends

/usr/src/packages/BUILD/igb-5.4.6/src/igb_main.c:7526:3: error: implicit declaration of function ‘read_barrier_depends’ [-Werror=implicit-function-declaration]
7526 | read_barrier_depends();
| ^~~~~~~~~~~~~~~~~~~~

 

Can this problem be fixed?

Thanks.

CrisselleF_C_Intel
Moderator
593 Views

Hello IonutNechita,


Thank you for the reply.


We hope you don't mind providing the additional information below for us to further check your request.

1.) Looking at your initial post, we are not able to determine the model the controller you used. May we know the exact model of your Ethernet Controller? 

2.) What is the make and model of your system?

3.) Can you share if you tried checking the link below for Linux* Base Driver for Intel® Gigabit Ethernet Network Connections?

https://www.intel.com/content/www/us/en/support/articles/000005480/network-and-i-o/ethernet-products...


Looking forward to your reply.


Should there be no response, we will follow up after 3 business days.


Best regards,

Crisselle C.

Intel Customer Support


IonutNechita
Employee
585 Views

Hi CrisselleF_C_Intel,

 

https://www.intel.com/content/www/us/en/support/articles/000005480/network-and-i-o/ethernet-products...

For this driver i need one new compile:

  • igb-x.x.x.tar.gz driver: Supports all 82575/6, 82580, I350, I354, and I210/I211 based gigabit network connections.

 

Using this development machine: GCC 10, GLIBC 2.32, Kernel Linux 5.9.x

CrisselleF_C_Intel
Moderator
572 Views

Hello IonutNechita,


Appreciate the swift response.


Please allow us to further check on this request. We will provide an update as soon as possible but no later than 2-3 business days.


Hoping for your kind patience.


Best regards,

Crisselle C.

Intel Customer Support


CrisselleF_C_Intel
Moderator
557 Views

Hello IonutNechita,


Good day!


We sincerely apologize for the delay on this matter as we are thoroughly checking on this. Please give us more time to look into this. Rest assured that we will give you an update as soon as there is any findings but not later than 3 business days.


Best regards,

Crisselle C.

Intel Customer Support


CrisselleF_C_Intel
Moderator
522 Views

Hello IonutNechita,


Thank you for the patience on this matter.


After further checking, your query will be best answered by our Embedded Connectivity Support team. We will help you to move this post to the designated team for further assistance. 


You may also consider posting on sourceforge from link below for additional assistance.

https://sourceforge.net/projects/e1000/


Please feel free to contact us if you need assistance from Ethernet support team.


Best regards,

Crisselle C.

Intel Customer Support


CarlosAM_INTEL
Moderator
487 Views

Hello, @IonutNechita:

Thank you for contacting Intel Embedded Community.

We sent an email to the address related to your forum account with some suggestions that may help you.

Best regards,

@CarlosAM_INTEL.

Reply