Skip to content

Commit

Permalink
linux: Add version 6.12.11-479
Browse files Browse the repository at this point in the history
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: #3199
pmenzel committed Jan 27, 2025
1 parent c0c8730 commit a97de9b
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions linux-6.12.11-479.bee
Original file line number Diff line number Diff line change
@@ -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}
}

0 comments on commit a97de9b

Please sign in to comment.