Linux 6.18.7 firmware load issue

Hi :waving_hand:

I got a weird issue after latest upgrade: Wifi (intel/iwlwifi) stopped working. After checking dmesg, I saw the error no suitable firmware found!in it. If I remove the module and re-load with modprobe, it works again.

Here is the relevant dmesg output, which you can see it starts with usual warnings after some time when I do the reload:

[    1.536573] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    1.538853] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id 0x1080800 wfpm id 0x80000020
[    1.538856] iwlwifi 0000:00:14.3: PCI dev 7e40/4090, rev=0x441, rfid=0x2010d000
[    1.538858] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz
[    1.538892] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-ma-b0-gf-a0-89.ucode failed with error -2
[    1.538898] iwlwifi 0000:00:14.3: no suitable firmware found!
[    1.538900] iwlwifi 0000:00:14.3: iwlwifi-ma-b0-gf-a0-89 is required
[    1.538902] iwlwifi 0000:00:14.3: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
[   52.436006] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id 0x1080800 wfpm id 0x80000020
[   52.436019] iwlwifi 0000:00:14.3: PCI dev 7e40/4090, rev=0x441, rfid=0x2010d000
[   52.436022] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz
[   52.444878] iwlwifi 0000:00:14.3: loaded firmware version 89.df9556fc.0 ma-b0-gf-a0-89.ucode op_mode iwlmvm
[   52.723163] iwlwifi 0000:00:14.3: Not valid error log pointer 0x0024B5C0 for RT uCode
[   52.723204] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[   52.723225] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[   52.723232] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x80
[   52.723241] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[   52.723257] iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000
[   52.724029] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[   52.806115] iwlwifi 0000:00:14.3: base HW address: 6c:f6:da:3f:71:db
[   52.832149] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[   53.003552] iwlwifi 0000:00:14.3: Not valid error log pointer 0x0024B5C0 for RT uCode
[   53.003609] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[   53.003623] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[   53.003629] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x80
[   53.003638] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[   53.004287] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[   53.296498] iwlwifi 0000:00:14.3: Not valid error log pointer 0x0024B5C0 for RT uCode
[   53.296621] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[   53.296644] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[   53.296650] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x80
[   53.296657] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[   53.297370] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4

I don’t have any changes in my config, and always had linux-firmware installed (hardware.firmware = [pkgs.linux-firmware]and hardware.enableRedistributableFirmware = true).

Is there a recent change which broke my old config, e.g. a new option which I should use instead? I tried to check latest commits on nixpkgs but nothing strike me as direct suspect, so I am not sure if this should be a github issue instead.

Thanks!

This kind of thing is most likely a kernel bug, presumably there was a kernel version bump. You can try switching to newer/older kernels to confirm.

A firmware/BIOS update can also sometimes solve stuff like this.


This is redundant, by the way, pkgs.linux-firmware is redistributable.

1 Like

You can see what the option does by the way by using the option search (NixOS Search), and clicking on “Declared in”:

1 Like

Thanks, I removed the hardware.firmware one :light_bulb:

I was not expecting this could be a kernel bug tbh, I thought something is wrong with module loading order in initrd or similar :smiley:

But yes, now overriding the version to 6.18.6 again, it works. Looks like an issue with latest version (6.18.7).

Thanks again!