Non-free firmware not loaded after update

Hi,

today I updated my nixos installation with

boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;

set. With this update there was a kernel update from 6.6.50 to 6.10.10. When I now boot the new kernel it is identified as

Linux zellat2nix 6.10.10-gnu #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan  1 00:00:00 UTC 1980 x86_64 GNU/Linux

and non-free firmware isn’t loaded anymore.

[    9.661145] Intel(R) Wireless WiFi driver for Linux
[    9.661469] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    9.665359] int3472-discrete INT3472:06: cannot find GPIO chip INTC100B:00, deferring
[    9.684533] int3472-discrete INT3472:06: cannot find GPIO chip INTC100B:00, deferring
[    9.685789] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id 0x80400 wfpm id 0x80000020
[    9.685837] iwlwifi 0000:00:14.3: PCI dev 51f1/4090, rev=0x370, rfid=0x2010d000
[    9.686250] 0000:00:14.3: Missing Free firmware (non-Free firmware loading is disabled)
[    9.686773] iwlwifi 0000:00:14.3: Direct firmware load for /*(DEBLOBBED)*/ failed with error -2
[    9.686780] 0000:00:14.3: Missing Free firmware (non-Free firmware loading is disabled)
[    9.687207] iwlwifi 0000:00:14.3: Direct firmware load for /*(DEBLOBBED)*/ failed with error -2
[    9.687212] 0000:00:14.3: Missing Free firmware (non-Free firmware loading is disabled)
[    9.687651] iwlwifi 0000:00:14.3: Direct firmware load for /*(DEBLOBBED)*/ failed with error -2
[    9.687654] 0000:00:14.3: Missing Free firmware (non-Free firmware loading is disabled)
[    9.688021] iwlwifi 0000:00:14.3: Direct firmware load for /*(DEBLOBBED)*/ failed with error -2
[    9.688024] 0000:00:14.3: Missing Free firmware (non-Free firmware loading is disabled)
[    9.688430] iwlwifi 0000:00:14.3: Direct firmware load for /*(DEBLOBBED)*/ failed with error -2
[    9.688434] 0000:00:14.3: Missing Free firmware (non-Free firmware loading is disabled)

I don’t know where the -gnu suffix at the kernel is coming from and how I could use a normal kernel version with normal firmware loading.

Issue 341867 looks like the same problem. Does anybody has an idea how to fix it?

I just ran into this as well running my system against github:nixos/nixpkgs/8f7492cce28977fbf8bd12c72af08b1f6c7c3e49' (2024-09-14) my config has the same option set:

boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;

Ended up reverting for the time being.

same here with 24.05 and nixos/nixpkgs/8f7492cce28977fbf8bd12c72af08b1f6c7c3e49' (2024-09-14).

the temporary fix proposed in #341867 (comment):

replacing:
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;

with:
boot.kernelPackages = pkgs.linuxPackages_6_10;

seems to work!