Skip to content

Commit

Permalink
linux-firmware: intel/ice/ddp: Create symbolic link ice.pkg
Browse files Browse the repository at this point in the history
Linux 6.12.11 currently logs:

    $ dmesg --level alert,crit,err,warn -T
    [Fri Jan 24 15:55:01 2025] Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
    [Fri Jan 24 15:55:07 2025] Could not retrieve perf counters (-19)
    [Fri Jan 24 15:55:08 2025] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled
    [Fri Jan 24 15:55:08 2025] scsi 0:0:4:0: set ignore_delay_remove for handle(0x0012)
    [Fri Jan 24 15:55:14 2025] wmi_bus wmi_bus-PNP0C14:00: [Firmware Bug]: WQBC data block query control method not found
    [Fri Jan 24 15:55:15 2025] ice 0000:64:00.0: Direct firmware load for intel/ice/ddp/ice.pkg failed with error -2
    [Fri Jan 24 15:55:15 2025] ice 0000:64:00.0: The DDP package file was not found or could not be read. Entering Safe Mode
    [Fri Jan 24 15:55:15 2025] ice 0000:64:00.0: Fail during requesting FW: -2
    [Fri Jan 24 15:55:15 2025] ice 0000:64:00.0: not enough device MSI-X vectors. wanted = 66, available = 2
    [Fri Jan 24 15:55:15 2025] ice 0000:64:00.0: RDMA is not supported on this device
    [Fri Jan 24 15:55:15 2025] ice 0000:64:00.1: Direct firmware load for intel/ice/ddp/ice.pkg failed with error -2
    [Fri Jan 24 15:55:15 2025] ice 0000:64:00.1: The DDP package file was not found or could not be read. Entering Safe Mode
    [Fri Jan 24 15:55:15 2025] ice 0000:64:00.1: Fail during requesting FW: -2
    [Fri Jan 24 15:55:15 2025] ice 0000:64:00.1: not enough device MSI-X vectors. wanted = 66, available = 2
    [Fri Jan 24 15:55:15 2025] ice 0000:64:00.1: RDMA is not supported on this device

Create the symbolic link as described in [linux-firmware’s file
`WHENCE`][1]:

    Link: intel/ice/ddp/ice.pkg -> ice-1.3.30.0.pkg

Another [note from Intel’s (out-of-tree) driver repository][2]:

> When the driver loads, it looks for "intel/ice/ddp/ice.pkg" in the
> firmware root. If this file exists, the driver will download it into
> the device. If not, the driver will go into Safe Mode where it will
> use the configuration contained in the device's NVM. This is NOT a
> supported configuration and many advanced features will not be
> functional. See Dynamic Device Personalization later for more
> information.

With the file in place, the file is found and loaded:

    @lucy:~$ dmesg | grep -e 'ice:' -e 'ice 0'
    [   15.387151] ice: Intel(R) Ethernet Connection E800 Series Linux Driver
    [   15.393747] ice: Copyright (c) 2018, Intel Corporation.
    [   15.938213] ice 0000:64:00.0: The DDP package was successfully loaded: ICE OS Default Package version 1.3.30.0
    [   16.002318] ice 0000:64:00.0: 126.024 Gb/s available PCIe bandwidth (16.0 GT/s PCIe x8 link)
    [   16.044946] ice 0000:64:00.0: PTP init successful
    [   16.373684] ice 0000:64:00.1: DDP package already present on device: ICE OS Default Package version 1.3.30.0
    [   16.494252] ice 0000:64:00.1: 126.024 Gb/s available PCIe bandwidth (16.0 GT/s PCIe x8 link)
    [   16.536377] ice 0000:64:00.1: PTP init successful
    [   18.309869] ice 0000:64:00.0 net02: renamed from eth2
    [   18.319624] ice 0000:64:00.1 net03: renamed from eth3
    [   18.538539] 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

Increment revision number to 2.

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/WHENCE?id=789aa81504126c2b062d04aacea1570af950ad4f#n5860
[2]: https://github.com/intel/ethernet-linux-ice/blob/16ca173a04cea377e96ee27faa0d2ce4798fb456/README#L162-L182
  • Loading branch information
pmenzel committed Jan 27, 2025
1 parent a5c149b commit 73ff43e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linux-firmware.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION linux-firmware-20230804_p7_g789aa815-1
# BEE_VERSION linux-firmware-20230804_p7_g789aa815-2

#SRCURL[0]="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-789aa81504126c2b062d04aacea1570af950ad4f.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/5bcf7abbd3e88c64e24caf7f2f7370cc/linux-firmware-789aa81504126c2b062d04aacea1570af950ad4f.tar.gz"
Expand Down Expand Up @@ -38,4 +38,5 @@ mee_install() {
cp -ax ${S}/radeon $D/lib/firmware
cp -ax ${S}/rtl_nic $D/lib/firmware
cp -ax ${S}/intel $D/lib/firmware
ln -sv ice-1.3.30.0.pkg $D/lib/firmware/intel/ice/ddp/ice.pkg
}

0 comments on commit 73ff43e

Please sign in to comment.