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

ixgbe (5.19.6 and other) and kernel 5.10.199 on Debian

Dawid_SLNET
Beginner
1,365 Views

Hello,

I have debian 8 with updated kernel (first 3.18 ->3.18.85 (ixgbe 5.9.4)->4.14.319 (ixgbe 5.19.6 ok)->4.19 (ixgbe 5.19.6 ok) ->5.10.199).

I want install ixgbe 5.19.6 and I have problem witch compile src:

 

 

router-rs1:~/ixgbe-5.19.6/src# make
filtering include/net/flow_keys.h out
filtering include/linux/jump_label_type.h out
filtering include/linux/jump_label_type.h out
make[1]: Wejście do katalogu '/usr/src/linux-headers-5.10.199'
  CC [M]  /root/ixgbe-5.19.6/src/ixgbe_main.o
In file included from ./include/linux/ratelimit_types.h:7:0,
                 from ./include/linux/printk.h:10,
                 from ./include/linux/kernel.h:17,
                 from ./include/linux/list.h:9,
                 from ./include/linux/module.h:12,
                 from /root/ixgbe-5.19.6/src/ixgbe_main.c:8:
/root/ixgbe-5.19.6/src/ixgbe_main.c: In function ‘ixgbe_sw_init’:
./include/linux/spinlock_types.h:92:2: error: expected expression before ‘{’ token
  { { .rlock = ___SPIN_LOCK_INITIALIZER(lockname) } }
  ^
/root/ixgbe-5.19.6/src/kcompat_gcc.h:58:21: note: in expansion of macro ‘__SPIN_LOCK_INITIALIZER’
  /* (spinlock_t) */ __SPIN_LOCK_INITIALIZER(lockname)
                     ^
./include/linux/spinlock.h:347:13: note: in expansion of macro ‘__SPIN_LOCK_UNLOCKED’
  *(_lock) = __SPIN_LOCK_UNLOCKED(_lock); \
             ^
/root/ixgbe-5.19.6/src/ixgbe_main.c:7433:2: note: in expansion of macro ‘spin_lock_init’
  spin_lock_init(&adapter->fcoe.lock);
  ^
./include/linux/spinlock_types.h:92:2: error: expected expression before ‘{’ token
  { { .rlock = ___SPIN_LOCK_INITIALIZER(lockname) } }
  ^
/root/ixgbe-5.19.6/src/kcompat_gcc.h:58:21: note: in expansion of macro ‘__SPIN_LOCK_INITIALIZER’
  /* (spinlock_t) */ __SPIN_LOCK_INITIALIZER(lockname)
                     ^
./include/linux/spinlock.h:347:13: note: in expansion of macro ‘__SPIN_LOCK_UNLOCKED’
  *(_lock) = __SPIN_LOCK_UNLOCKED(_lock); \
             ^
/root/ixgbe-5.19.6/src/ixgbe_main.c:7437:2: note: in expansion of macro ‘spin_lock_init’
  spin_lock_init(&adapter->fdir_perfect_lock);
  ^
In file included from ./include/linux/export.h:43:0,
                 from ./include/linux/linkage.h:7,
                 from ./include/linux/kernel.h:8,
                 from ./include/linux/list.h:9,
                 from ./include/linux/module.h:12,
                 from /root/ixgbe-5.19.6/src/ixgbe_main.c:8:
/root/ixgbe-5.19.6/src/ixgbe_main.c: In function ‘ixgbe_atr’:
/root/ixgbe-5.19.6/src/ixgbe_main.c:9872:9: error: ‘VXLAN_HEADROOM’ undeclared (first use in this function)
         VXLAN_HEADROOM))
         ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
 # define unlikely(x) __builtin_expect(!!(x), 0)
                                          ^
/root/ixgbe-5.19.6/src/ixgbe_main.c:9872:9: note: each undeclared identifier is reported only once for each function it appears in
         VXLAN_HEADROOM))
         ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
 # define unlikely(x) __builtin_expect(!!(x), 0)
                                          ^
scripts/Makefile.build:286: polecenia dla obiektu '/root/ixgbe-5.19.6/src/ixgbe_main.o' nie powiodły się
make[2]: *** [/root/ixgbe-5.19.6/src/ixgbe_main.o] Błąd 1
Makefile:1832: polecenia dla obiektu '/root/ixgbe-5.19.6/src' nie powiodły się
make[1]: *** [/root/ixgbe-5.19.6/src] Błąd 2
make[1]: Opuszczenie katalogu '/usr/src/linux-headers-5.10.199'
Makefile:100: polecenia dla obiektu 'default' nie powiodły się
make: *** [default] Błąd 2

 

 any sugesstions?

 

IGB 5.10.2 make good.

0 Kudos
5 Replies
IntelSupport
Community Manager
1,311 Views

Hello Dawid_SLNET,

 

Thank you for posting on the Intel️® communities.

 

Can you please confirm the ethernet product specifications that you are using.

 

Kindly go thru the Supported Operating Systems for Intel® Ethernet Controllers (LOM) as most ethernet are supported only on Debian 11.

 

Please let us know the outcome after you have checked it and will be happy to assist if any other troubleshooting required for this issue.

 

Thank you.

 

Regards,

Hayat

Intel Customer Support Technician


0 Kudos
Dawid_SLNET
Beginner
1,300 Views

the problem is with the compilation of the driver under Linux with kernel 5.10.199 and not with compatibility with the hardware.

 

my card is 

Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)

0 Kudos
IntelSupport
Community Manager
1,287 Views

Hello Dawid_SLNET,

 

Can you please check and verify if your current kernel version matches the header version. If needed please update the headers.

 

Kindly update the ethernet driver to the latest version here:

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

 

We believe this similar issue may make your time worth as well. This case is based on Debian 11.

https://community.intel.com/t5/Ethernet-Products/ixgbe-5-19-6-and-other-and-kernel-5-10-199-on-Debian/m-p/1540463#M35204

 

Please let us know the outcome after you have tried it and will be happy to assist if any other troubleshooting required for this issue.

 

Thank you.

 

Best regards,

Hayat

Intel Customer Support Technician


0 Kudos
IntelSupport
Community Manager
1,225 Views

Hello Dawid_SLNET,

 

Regarding your thread, we are following up to find out if you were able to complete the actions, we previously recommended.

 

Please reply to this thread to confirm, so we can continue helping with a resolution. Looking forward to receiving your reply!

Else if none, we will proceed with case closure.

 

Thank you.

 

Regards,

Hayat

Intel® Customer Support


0 Kudos
IntelSupport
Community Manager
1,179 Views

Hello Dawid_SLNET,

 

This post is to inform you that the thread will be closed.

 

Once the thread is closed, it will no longer be monitored by Intel.

 

Kindly submit a new thread should you need further assistance. We will be more than glad to continue assisting you.

Best Regards,

 

Hayat

Intel® Customer Support


0 Kudos
Reply