Issues compiling the ixgbe driver

ma.perrone

Member
Jun 8, 2021
2
0
6
47
Good morning, I have updated the kernel to version Linux 5.15.126-1-pve, and I had the ixgbe drivers compiled and installed with DKMS at version 5.18.13. When I try to recompile the drivers, both with DKMS and manually, I encounter the following error:

Code:
filtering include/net/flow_keys.h out
     1  /* Autogenerated for KSRC=/lib/modules/5.15.126-1-pve/build via kcompat-generator.sh */
     2  #define HAVE_DEVLINK_FLASH_UPDATE_PARAMS
     3  #define HAVE_DEVLINK_FLASH_UPDATE_PARAMS_FW
     4  #define HAVE_DEVLINK_HEALTH
     5  #define HAVE_DEVLINK_HEALTH_DEFAULT_AUTO_RECOVER
     6  #define HAVE_DEVLINK_HEALTH_OPS_EXTACK
     7  #define HAVE_DEVLINK_INFO_DRIVER_NAME_PUT
     8  #define HAVE_DEVLINK_PARAMS
     9  #define HAVE_DEVLINK_PARAMS_PUBLISH
    10  #define HAVE_DEVLINK_REGIONS
    11  #define HAVE_DEVLINK_REGION_OPS_SNAPSHOT
    12  #define HAVE_DEVLINK_REGION_OPS_SNAPSHOT_OPS
    13  #define HAVE_DEVLINK_RELOAD_ENABLE_DISABLE
    14  #define HAVE_DEVLINK_RELOAD_ACTION_AND_LIMIT
    15  #define HAVE_NDO_FDB_ADD_VID
    16  #define HAVE_NDO_GET_DEVLINK_PORT
    17  #define NEED_NETIF_NAPI_ADD_NO_WEIGHT
    18  #define HAVE_XDP_DO_FLUSH
    19  #define NEED_NO_NETDEV_PROG_XDP_WARN_ACTION
    20  #define HAVE_FLOW_DISSECTOR_KEY_CVLAN
    21  #define HAVE_CDEV_DEVICE
    22  #define HAVE_GNSS_MODULE
    23  #define HAVE_STREAM_OPEN
    24  #define NEED_DIFF_BY_SCALED_PPM
    25  #define HAVE_U64_STATS_FETCH_BEGIN_IRQ
    26  #define HAVE_U64_STATS_FETCH_RETRY_IRQ
*** 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]: ingresso nella directory «/usr/src/linux-headers-5.15.126-1-pve»
  CC [M]  /var/lib/dkms/ixgbe/5.18.13/build/src/ixgbe_main.o
In file included from ./include/linux/export.h:45,
                 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 /var/lib/dkms/ixgbe/5.18.13/build/src/ixgbe_main.c:8:
/var/lib/dkms/ixgbe/5.18.13/build/src/ixgbe_main.c: In function ‘ixgbe_atr’:
/var/lib/dkms/ixgbe/5.18.13/build/src/ixgbe_main.c:9841:9: error: ‘VXLAN_HEADROOM’ undeclared (first use in this function); did you mean ‘VXLAN_HF_RCO’?
 9841 |         VXLAN_HEADROOM))
      |         ^~~~~~~~~~~~~~
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
   78 | # define unlikely(x) __builtin_expect(!!(x), 0)
      |                                          ^
/var/lib/dkms/ixgbe/5.18.13/build/src/ixgbe_main.c:9841:9: note: each undeclared identifier is reported only once for each function it appears in
 9841 |         VXLAN_HEADROOM))
      |         ^~~~~~~~~~~~~~
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
   78 | # define unlikely(x) __builtin_expect(!!(x), 0)
      |                                          ^
make[2]: *** [scripts/Makefile.build:297: /var/lib/dkms/ixgbe/5.18.13/build/src/ixgbe_main.o] Errore 1
make[1]: *** [Makefile:1909: /var/lib/dkms/ixgbe/5.18.13/build/src] Errore 2
make[1]: uscita dalla directory «/usr/src/linux-headers-5.15.126-1-pve»
make: *** [Makefile:99: default] Errore 2
make: uscita dalla directory «/var/lib/dkms/ixgbe/5.18.13/build/src»


Could someone help me? Please.
 
I am also experiencing the "Error 2" issue you're describing here. I recently upgraded a node to PVE 7.4-17 and am on kernel 5.15.126-1-pve. I followed the steps I previously used to download and update my ixgbe drivers based on this Proxmox forum post: PVE 6.0-7 + ixgbe firmware errors. Post #9 outlines the steps I followed

I've tried this with both driver versions 5.15.2 and the latest (as of today) 5.19.6, downloaded from Intel:
https://www.intel.com/content/www/u...ethernet-network-connections-under-linux.html

In both cases, when I cd into the driver src directory and invoke make install, I get the same error described above.

Code:
root@hostname:/tmp# cd ixgbe-5.19.6/src/
root@hostname:/tmp/ixgbe-5.19.6/src# make install
filtering include/net/flow_keys.h out
filtering include/linux/jump_label_type.h out
filtering include/linux/jump_label_type.h out
*** 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-5.15.126-1-pve'
  CC [M]  /tmp/ixgbe-5.19.6/src/ixgbe_main.o
In file included from ./include/linux/export.h:45,
                 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 /tmp/ixgbe-5.19.6/src/ixgbe_main.c:8:
/tmp/ixgbe-5.19.6/src/ixgbe_main.c: In function ‘ixgbe_atr’:
/tmp/ixgbe-5.19.6/src/ixgbe_main.c:9872:9: error: ‘VXLAN_HEADROOM’ undeclared (first use in this function); did you mean ‘VXLAN_HF_RCO’?
 9872 |         VXLAN_HEADROOM))
      |         ^~~~~~~~~~~~~~
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
   78 | # define unlikely(x) __builtin_expect(!!(x), 0)
      |                                          ^
/tmp/ixgbe-5.19.6/src/ixgbe_main.c:9872:9: note: each undeclared identifier is reported only once for each function it appears in
 9872 |         VXLAN_HEADROOM))
      |         ^~~~~~~~~~~~~~
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
   78 | # define unlikely(x) __builtin_expect(!!(x), 0)
      |                                          ^
make[2]: *** [scripts/Makefile.build:297: /tmp/ixgbe-5.19.6/src/ixgbe_main.o] Error 1
make[1]: *** [Makefile:1909: /tmp/ixgbe-5.19.6/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.126-1-pve'
make: *** [Makefile:100: default] Error 2

Is this an issue that can be resolved on the Proxmox end?
 
Hi all,
Intel released a new version of the driver (5.19.9) resolving the compiling issue.
Instead of, the kernel messages are flooding my environment with these:

Jan 04 09:21:59 rvt-pve-host02 kernel: ixgbe 0000:3b:00.0: Warning firmware error detected FWSM: 0x00000000

These messages were the reason why it was necessary to compile the drivers.
Has anyone had the same experience?
 
Hi all,
Intel released a new version of the driver (5.19.9) resolving the compiling issue.
Instead of, the kernel messages are flooding my environment with these:

Jan 04 09:21:59 rvt-pve-host02 kernel: ixgbe 0000:3b:00.0: Warning firmware error detected FWSM: 0x00000000

These messages were the reason why it was necessary to compile the drivers.
Has anyone had the same experience?
I'm having the same experience, and am looking everywhere for the answer to resolve this as well.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!