Librem 14 upgrade to crimson wifi fail

Hi all,I just upgraded my librem14 to crimson without any errors, but after reboot the wifi card is not available.
Looking in dmesg I find the following:

[  532.051889] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-cc-a0-41.ucode failed with error -2
[  532.051917] iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-cc-a0-40.ucode (-2)
[  532.051943] iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-cc-a0-40.ucode (-2)
[  532.051945] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-cc-a0-40.ucode failed with error -2
[  532.051954] iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-cc-a0-39.ucode (-2)
[  532.051962] iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-cc-a0-39.ucode (-2)
[  532.051964] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-cc-a0-39.ucode failed with error -2
[  532.051966] iwlwifi 0000:01:00.0: minimum version required: iwlwifi-cc-a0-39
[  532.051967] iwlwifi 0000:01:00.0: maximum version supported: iwlwifi-cc-a0-72

Found online that if you turn off laptop and remove battery for 10 secs it should work after that.
I tried that but still no difference.
I have the following network card:

  *-network UNCLAIMED       
       description: Network controller
       product: Wi-Fi 6 AX200
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 1a
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
       resources: memory:cef00000-cef03fff

Looking with modinfo I find:

firmware:       iwlwifi-cc-a0-72.ucode

So seems to be the latest version.

I do not know were to go from here, any tips would be appreciated.
Many thanks in advance!!

Hi again,
At the end I managed to solve it this way:

So:

git clone --depth 1 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
cp ./linux-firmware/intel/iwlwifi/iwlwifi-cc-a0-72.ucode /lib/firmware/
update-initramfs -u
reboot

I also had same problem with my bluetooth with errors on missing firmware ibt-20-1-3.sfi.
Fixed the same way:

cp ./linux-firmware/intel/ibt-20-1-3.sfi /lib/firmware/intel/
update-initramfs -u
reboot

So the question I now have is, is there a “pureos”-correct way to solve this that I have missed?

2 Likes

I suspect so. I would guess that somewhere along the line either you don’t have the firmware jail or it is not being (successfully) accessed or it does not contain what it is supposed to contain.

I am no expert on this but I believe that the PureOS startup does some kind of bind mount of the firmware jail into the file system tree so that it can be accessed at the point during the boot that it is needed. What you have done is not wrong but it overrides that logic (which apparently is not working anyway) by making the directory and contents permanent within the file system.

If you don’t care about the firmware jail then you should be able to leave it as it is. If you do care then you would need to reverse what you have done and then probably work with Purism Support to find out where the firmware jail logic is breaking down.