f/kernel-6.6 branch can't build KLMs

Bug #2052647 reported by Scott Little
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Committed
Undecided
Jiping Ma

Bug Description

Brief Description
-----------------
All out-of-tree KLMs fail to build on the kernel-6.6 feature branch

Severity
--------
Critical

Steps to Reproduce
------------------
 build-pkgs --parallel 6 --all -b std,rt

Expected Behavior
------------------
 all packages build

Actual Behavior
----------------
 KLMs fail to build

Reproducibility
---------------
100%

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
2024-02-07 04:34:14.582 UTC

Last Pass
---------
N/A

Timestamp/Logs
--------------

[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,371 - debcontroller - INFO: List of failed packages:
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,373 - debcontroller - ERROR: bnxt-en
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,374 - debcontroller - ERROR: i40e
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,376 - debcontroller - ERROR: i40e-cvl-2.54
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,377 - debcontroller - ERROR: i40e-cvl-4.10
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,379 - debcontroller - ERROR: iavf
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,380 - debcontroller - ERROR: iavf-cvl-2.54
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,382 - debcontroller - ERROR: iavf-cvl-4.10
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,384 - debcontroller - ERROR: ice
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,386 - debcontroller - ERROR: ice-cvl-2.54
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,387 - debcontroller - ERROR: ice-cvl-4.10
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,389 - debcontroller - ERROR: igb-uio
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,390 - debcontroller - ERROR: kmod-opae-fpga-driver
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,392 - debcontroller - ERROR: iqvlinux
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,393 - debcontroller - ERROR: mlnx-ofed-kernel
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,395 - debcontroller - ERROR: octeon-ep
[2024-02-07T04:34:14.582Z] 2024-02-07 04:34:14,396 - debcontroller - ERROR: qat2.0.l

====== from localdisk/loadbuild/jenkins/f-kernel-6-6-debian/std/i40e/i40e_2.20.12-1.stx.22_amd64.build ======
cd src && make -j6 "INSTALL=install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
common.mk:162: Missing System.map file - depmod will not check for missing symbols during module installation
*** 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[3]: Entering directory '/usr/src/linux-headers-6.6.0-1-amd64'
  CC [M] /<<PKGBUILDDIR>>/src/i40e_main.o
  CC [M] /<<PKGBUILDDIR>>/src/i40e_ethtool.o
  CC [M] /<<PKGBUILDDIR>>/src/i40e_xsk.o
  CC [M] /<<PKGBUILDDIR>>/src/i40e_adminq.o
  CC [M] /<<PKGBUILDDIR>>/src/i40e_common.o
  CC [M] /<<PKGBUILDDIR>>/src/i40e_hmc.o
  CC [M] /<<PKGBUILDDIR>>/src/i40e_lan_hmc.o
In file included from /<<PKGBUILDDIR>>/src/i40e.h:67,
                 from /<<PKGBUILDDIR>>/src/i40e_ethtool.c:6:
/<<PKGBUILDDIR>>/src/i40e_txrx.h:467:22: error: field ‘xdp_rxq’ has incomplete type
  467 | struct xdp_rxq_info xdp_rxq;
      | ^~~~~~~
/<<PKGBUILDDIR>>/src/i40e_txrx.h: In function ‘xdp_get_len’:
/<<PKGBUILDDIR>>/src/i40e_txrx.h:597:12: error: invalid use of undefined type ‘struct xdp_frame’
  597 | return xdp->len;
      | ^~
In file included from /<<PKGBUILDDIR>>/src/i40e.h:67,
                 from /<<PKGBUILDDIR>>/src/i40e_main.c:8:
/<<PKGBUILDDIR>>/src/i40e_txrx.h:467:22: error: field ‘xdp_rxq’ has incomplete type
  467 | struct xdp_rxq_info xdp_rxq;
      | ^~~~~~~
/<<PKGBUILDDIR>>/src/i40e_txrx.h: In function ‘xdp_get_len’:
/<<PKGBUILDDIR>>/src/i40e_txrx.h:597:12: error: invalid use of undefined type ‘struct xdp_frame’
  597 | return xdp->len;
      | ^~
  CC [M] /<<PKGBUILDDIR>>/src/i40e_nvm.o
In file included from /<<PKGBUILDDIR>>/src/i40e_ethtool.c:17:
/<<PKGBUILDDIR>>/src/i40e_ethtool_stats.h: In function ‘i40e_add_queue_stats’:
/<<PKGBUILDDIR>>/src/i40e_ethtool_stats.h:193:23: error: implicit declaration of function ‘u64_stats_fetch_begin_irq’; did you mean ‘u64_stats_fetch_begin’? [-Werror=implicit-function-declaration]
  193 | start = !ring ? 0 : u64_stats_fetch_begin_irq(&ring->syncp);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
      | u64_stats_fetch_begin
/<<PKGBUILDDIR>>/src/i40e_ethtool_stats.h:196:19: error: implicit declaration of function ‘u64_stats_fetch_retry_irq’; did you mean ‘u64_stats_fetch_retry’? [-Werror=implicit-function-declaration]
  196 | } while (ring && u64_stats_fetch_retry_irq(&ring->syncp, start));
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
      | u64_stats_fetch_retry
In file included from /usr/src/linux-headers-6.6.0-1-common/include/linux/string.h:294,
                 from /usr/src/linux-headers-6.6.0-1-common/include/linux/bitmap.h:11,
                 from /usr/src/linux-headers-6.6.0-1-common/include/linux/cpumask.h:12,
                 from /usr/src/linux-headers-6.6.0-1-common/arch/x86/include/asm/cpumask.h:5,
                 from /usr/src/linux-headers-6.6.0-1-common/arch/x86/include/asm/msr.h:11,
                 from /usr/src/linux-headers-6.6.0-1-common/arch/x86/include/asm/processor.h:23,
                 from /usr/src/linux-headers-6.6.0-1-common/arch/x86/include/asm/timex.h:5,
                 from /usr/src/linux-headers-6.6.0-1-common/include/linux/timex.h:67,
                 from /usr/src/linux-headers-6.6.0-1-common/include/linux/time32.h:13,
                 from /usr/src/linux-headers-6.6.0-1-common/include/linux/time.h:60,
                 from /usr/src/linux-headers-6.6.0-1-common/include/linux/skbuff.h:15,
                 from /usr/src/linux-headers-6.6.0-1-common/include/linux/tcp.h:17,
                 from /usr/src/linux-headers-6.6.0-1-common/include/net/tcp.h:20,
                 from /<<PKGBUILDDIR>>/src/i40e.h:7,
                 from /<<PKGBUILDDIR>>/src/i40e_ethtool.c:6:
/<<PKGBUILDDIR>>/src/i40e_ethtool.c: In function ‘i40e_set_ringparam’:
/usr/src/linux-headers-6.6.0-1-common/include/linux/fortify-string.h:515:58: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  515 | fortify_memset_chk(__fortify_size, p_size, p_size_field), \
      | ^
/usr/src/linux-headers-6.6.0-1-common/include/linux/fortify-string.h:524:25: note: in expansion of macro ‘__fortify_memset_chk’
  524 | #define memset(p, c, s) __fortify_memset_chk(p, c, s, \
      | ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/i40e_ethtool.c:2428:4: note: in expansion of macro ‘memset’
 2428 | memset(&rx_rings[i].xdp_rxq, 0,
      | ^~~~~~
/<<PKGBUILDDIR>>/src/i40e_main.c: In function ‘i40e_get_netdev_stats_struct_tx’:
/<<PKGBUILDDIR>>/src/i40e_main.c:493:11: error: implicit declaration of function ‘u64_stats_fetch_begin_irq’; did you mean ‘u64_stats_fetch_begin’? [-Werror=implicit-function-declaration]
  493 | start = u64_stats_fetch_begin_irq(&ring->syncp);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
      | u64_stats_fetch_begin
/<<PKGBUILDDIR>>/src/i40e_main.c:496:11: error: implicit declaration of function ‘u64_stats_fetch_retry_irq’; did you mean ‘u64_stats_fetch_retry’? [-Werror=implicit-function-declaration]
  496 | } while (u64_stats_fetch_retry_irq(&ring->syncp, start));
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
      | u64_stats_fetch_retry
  CC [M] /<<PKGBUILDDIR>>/src/i40e_debugfs.o
cc1: some warnings being treated as errors
make[5]: *** [/usr/src/linux-headers-6.6.0-1-common/scripts/Makefile.build:243: /<<PKGBUILDDIR>>/src/i40e_ethtool.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from /usr/src/linux-headers-6.6.0-1-common/include/linux/device.h:15,
                 from /usr/src/linux-headers-6.6.0-1-common/include/linux/dma-mapping.h:8,
                 from /usr/src/linux-headers-6.6.0-1-common/include/linux/skbuff.h:28,
                 from /usr/src/linux-headers-6.6.0-1-common/include/linux/tcp.h:17,
                 from /usr/src/linux-headers-6.6.0-1-common/include/net/tcp.h:20,
                 from /<<PKGBUILDDIR>>/src/i40e.h:7,
                 from /<<PKGBUILDDIR>>/src/i40e_main.c:8:
/<<PKGBUILDDIR>>/src/i40e_main.c: In function ‘i40e_parse_cls_flower’:
/<<PKGBUILDDIR>>/src/i40e_main.c:9259:27: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
 9259 | dev_err(&pf->pdev->dev, "Unsupported key used: 0x%x\n",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.6.0-1-common/include/linux/dev_printk.h:110:16: note: in definition of macro ‘dev_printk_index_wrap’
  110 | _p_func(dev, fmt, ##__VA_ARGS__); \
      | ^~~
/usr/src/linux-headers-6.6.0-1-common/include/linux/dev_printk.h:144:49: note: in expansion of macro ‘dev_fmt’
  144 | dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__)
      | ^~~~~~~
/<<PKGBUILDDIR>>/src/i40e_main.c:9259:3: note: in expansion of macro ‘dev_err’
 9259 | dev_err(&pf->pdev->dev, "Unsupported key used: 0x%x\n",
      | ^~~~~~~
/<<PKGBUILDDIR>>/src/i40e_main.c:9259:53: note: format string is defined here
 9259 | dev_err(&pf->pdev->dev, "Unsupported key used: 0x%x\n",
      | ~^
      | |
      | unsigned int
      | %llx
/<<PKGBUILDDIR>>/src/i40e_main.c: In function ‘i40e_vsi_alloc_q_vector’:
/<<PKGBUILDDIR>>/src/i40e_main.c:12759:3: error: too many arguments to function ‘netif_napi_add’
12759 | netif_napi_add(vsi->netdev, &q_vector->napi,
      | ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-6.6.0-1-common/include/net/sock.h:46,
                 from /usr/src/linux-headers-6.6.0-1-common/include/linux/tcp.h:19,
                 from /usr/src/linux-headers-6.6.0-1-common/include/net/tcp.h:20,
                 from /<<PKGBUILDDIR>>/src/i40e.h:7,
                 from /<<PKGBUILDDIR>>/src/i40e_main.c:8:
/usr/src/linux-headers-6.6.0-1-common/include/linux/netdevice.h:2642:1: note: declared here
 2642 | netif_napi_add(struct net_device *dev, struct napi_struct *napi,
      | ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/i40e_main.c: In function ‘i40e_probe’:
/<<PKGBUILDDIR>>/src/i40e_main.c:17154:2: error: implicit declaration of function ‘pci_enable_pcie_error_reporting’ [-Werror=implicit-function-declaration]
17154 | pci_enable_pcie_error_reporting(pdev);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/i40e_main.c:17772:2: error: implicit declaration of function ‘pci_disable_pcie_error_reporting’ [-Werror=implicit-function-declaration]
17772 | pci_disable_pcie_error_reporting(pdev);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[5]: *** [/usr/src/linux-headers-6.6.0-1-common/scripts/Makefile.build:243: /<<PKGBUILDDIR>>/src/i40e_main.o] Error 1
In file included from /<<PKGBUILDDIR>>/src/i40e.h:67,
                 from /<<PKGBUILDDIR>>/src/i40e_debugfs.c:9:
/<<PKGBUILDDIR>>/src/i40e_txrx.h:467:22: error: field ‘xdp_rxq’ has incomplete type
  467 | struct xdp_rxq_info xdp_rxq;
      | ^~~~~~~
/<<PKGBUILDDIR>>/src/i40e_txrx.h: In function ‘xdp_get_len’:
/<<PKGBUILDDIR>>/src/i40e_txrx.h:597:12: error: invalid use of undefined type ‘struct xdp_frame’
  597 | return xdp->len;
      | ^~
make[5]: *** [/usr/src/linux-headers-6.6.0-1-common/scripts/Makefile.build:243: /<<PKGBUILDDIR>>/src/i40e_debugfs.o] Error 1
make[4]: *** [/usr/src/linux-headers-6.6.0-1-common/Makefile:1926: /<<PKGBUILDDIR>>/src] Error 2
make[3]: *** [/usr/src/linux-headers-6.6.0-1-common/Makefile:234: __sub-make] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-6.6.0-1-amd64'
make[2]: *** [Makefile:75: default] Error 2

Test Activity
-------------
Build

Workaround
----------
N/A

Ghada Khalil (gkhalil)
tags: added: stx.build
Ghada Khalil (gkhalil)
tags: added: stx.distro.other
Li Zhou (lzhou2)
Changed in starlingx:
assignee: nobody → Li Zhou (lzhou2)
Jiping Ma (jma11)
Changed in starlingx:
assignee: Li Zhou (lzhou2) → Jiping Ma (jma11)
Revision history for this message
Ghada Khalil (gkhalil) wrote (last edit ):

It appears that the ISO builds for this branch are now passing.
https://mirror.starlingx.windriver.com/mirror/starlingx/feature/kernel-6.6/debian/monolithic/

Most recent:
https://mirror.starlingx.windriver.com/mirror/starlingx/feature/kernel-6.6/debian/monolithic/20240428T180054Z/

Given the builds are passing, this LP can be closed. But I'll leave it to the OS-distro team to handle as they see fit.

Revision history for this message
Jiping Ma (jma11) wrote :

We had fixed it by several stories.
https://storyboard.openstack.org/#!/story/2011056

Changed in starlingx:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.