From a97de9bf1ce859be3dc3452fa82a7338a6bb5010 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 24 Jan 2025 13:23:10 +0100 Subject: [PATCH] linux: Add version 6.12.11-479 The configuration has the *ice* driver enabled as a module to support the Ethernet Controller E810-XXV for SFP [8086:159b], assembled of the Dell PowerEdge R7625: @lucy:~$ lspci -nn -k -s 64: 64:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller E810-XXV for SFP [8086:159b] (rev 02) Subsystem: Intel Corporation Ethernet 25G 2P E810-XXV Adapter [8086:0002] 64:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller E810-XXV for SFP [8086:159b] (rev 02) Subsystem: Intel Corporation Ethernet 25G 2P E810-XXV Adapter [8086:0002] With the module /lib/modules/6.12.11.mx64.479/kernel/drivers/net/ethernet/intel/ice/ice.ko the cards are detected: @lucy:~$ lspci -nn -k -s 64: 64:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller E810-XXV for SFP [8086:159b] (rev 02) Subsystem: Intel Corporation Ethernet 25G 2P E810-XXV Adapter [8086:0002] Kernel driver in use: ice Kernel modules: ice 64:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller E810-XXV for SFP [8086:159b] (rev 02) Subsystem: Intel Corporation Ethernet 25G 2P E810-XXV Adapter [8086:0002] Kernel driver in use: ice Kernel modules: ice @lucy:~$ dmesg | grep -e 'ice:' -e 'ice 0' [ 15.341509] ice: Intel(R) Ethernet Connection E800 Series Linux Driver [ 15.341514] ice: Copyright (c) 2018, Intel Corporation. [ 15.586009] ice 0000:64:00.0: Direct firmware load for intel/ice/ddp/ice.pkg failed with error -2 [ 15.595493] ice 0000:64:00.0: The DDP package file was not found or could not be read. Entering Safe Mode [ 15.605102] ice 0000:64:00.0: Fail during requesting FW: -2 [ 15.611582] ice 0000:64:00.0: not enough device MSI-X vectors. wanted = 66, available = 2 [ 15.619774] ice 0000:64:00.0: Reducing request to 1 MSI-X vectors for LAN traffic. [ 15.688001] ice 0000:64:00.0: RDMA is not supported on this device [ 15.981639] ice 0000:64:00.1: Direct firmware load for intel/ice/ddp/ice.pkg failed with error -2 [ 15.991138] ice 0000:64:00.1: The DDP package file was not found or could not be read. Entering Safe Mode [ 16.000756] ice 0000:64:00.1: Fail during requesting FW: -2 [ 16.007192] ice 0000:64:00.1: not enough device MSI-X vectors. wanted = 66, available = 2 [ 16.015396] ice 0000:64:00.1: Reducing request to 1 MSI-X vectors for LAN traffic. [ 16.101219] ice 0000:64:00.1: RDMA is not supported on this device [ 17.655913] ice 0000:64:00.0 net02: renamed from eth2 [ 17.664870] ice 0000:64:00.1 net03: renamed from eth3 [ 2720.297227] ice 0000:64:00.1 net03: NIC Link is up 10 Gbps Full Duplex, Requested FEC: NONE, Negotiated FEC: NONE, Autoneg Advertised: On, Autoneg Negotiated: False, Flow Control: None The firmware issue is going to be fixed later. Resolves: https://github.molgen.mpg.de/mariux64/bee-files/issues/3199 --- linux-6.12.11-479.bee | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 linux-6.12.11-479.bee diff --git a/linux-6.12.11-479.bee b/linux-6.12.11-479.bee new file mode 100755 index 000000000..fa1792930 --- /dev/null +++ b/linux-6.12.11-479.bee @@ -0,0 +1,45 @@ +#!/bin/env beesh + +# note: BEE_MAKEFLAGS="-j $(nproc)" ./linux-xxx.bee + +KERNELVERSION=${PKGVERSION} + +# append extra version to get for example 4.8-rc4 +KERNELVERSION=${KERNELVERSION}${PKGEXTRAVERSION_DASH} + +echo $KERNELVERSION + +SRCURL[0]="https://github.molgen.mpg.de/mariux64/linux/archive/refs/tags/mariux-$KERNELVERSION-$PKGREVISION.tar.gz" + +KERNELLOCAL=".mx64.${PKGREVISION}" +FULLKERNELVERSION="${KERNELVERSION}${KERNELLOCAL}" + +B=${S} + +same_revision_files=$(ls ${BEE_PKGDIR}/linux-[0-9].[0-9]*-${PKGREVISION}.x86_64.bee.* 2>/dev/null) \ + && echo "A kernel with revision ${PKGREVISION} has already been build: $same_revision_files" \ + && exit + + +mee_configure() { + echo "configure $@" + echo "CONFIG_LOCALVERSION=\"$KERNELLOCAL\"" > .config + grep -v 'CONFIG_LOCALVERSION=' config-mpi >> .config + make olddefconfig +} + +mee_build() { + echo "build $@" + make ${BEE_MAKEFLAGS} +} + +mee_install() { + echo "install $@" + + make modules_install INSTALL_MOD_PATH=${D} + make install INSTALL_PATH=${D}/boot + + rm -rf ${D}/lib/modules/${FULLKERNELVERSION}/{source,build} + + ln -sv bzImage-${FULLKERNELVERSION} ${D}/boot/mariux.${PKGREVISION} +}