Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

iwlwifi firmware: failed to load iwlwifi-8265-36.ucode (-2)

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
radnek
Posts: 2
Joined: 2018-06-22 07:46

iwlwifi firmware: failed to load iwlwifi-8265-36.ucode (-2)

#1 Post by radnek »

Hello Everyone

After fresh installation of Debian on my new HP EliteBook 850 G5, wireless was not working and I found in journal iwlwifi firmware failure errors, so I installed firmware-iwlwifi and firmware-misc-nonfree packages. Network Manager started to show nearby wifi networks, but during boot journal still reported errors like below:

Code: Select all

kernel: Intel(R) Wireless WiFi driver for Linux
kernel: Copyright(c) 2003- 2015 Intel Corporation
kernel: iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
kernel: iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-8265-36.ucode (-2)
kernel: firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
kernel: iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-36.ucode failed with error -2
kernel: iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-8265-35.ucode (-2)
kernel: iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-35.ucode failed with error -2
kernel: iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-8265-34.ucode (-2)
kernel: iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-34.ucode failed with error -2
kernel: iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-8265-33.ucode (-2)
kernel: iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-33.ucode failed with error -2
kernel: iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-8265-32.ucode (-2)
kernel: iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-32.ucode failed with error -2
kernel: iwlwifi 0000:01:00.0: firmware: direct-loading firmware iwlwifi-8265-31.ucode
kernel: iwlwifi 0000:01:00.0: loaded firmware version 31.532993.0 op_mode iwlmvm

Code: Select all

$ ls /lib/firmware/iwlwifi-8265-*
/lib/firmware/iwlwifi-8265-21.ucode  /lib/firmware/iwlwifi-8265-27.ucode
/lib/firmware/iwlwifi-8265-22.ucode  /lib/firmware/iwlwifi-8265-31.ucode
In /lib/firmware/ directory I could not find these files, so I copied iwlwifi-8265-36.ucode manually from https://github.com/intel/opa-firmware, and errors disappeared.

I wonder why the driver was missing? Is it correct way to fix this problem? Should I fear that something will get messed after upgrade?

Code: Select all

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux testing (buster)
Release:        testing
Codename:       buster
$ uname -a
Linux hp 4.16.0-2-amd64 #1 SMP Debian 4.16.12-1 (2018-05-27) x86_64 GNU/Linux

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: iwlwifi firmware: failed to load iwlwifi-8265-36.ucode (

#2 Post by bw123 »

I think your solution is okay. The file is probably newer than the pkg in the repo, which is from august, 2017. There plenty of threads here on the forum about the missing firmware messages if you want to search about it.

You might want to check the bug reports for firmware-iwlwifi and if it's not mentioned, let the maintainer know there is a newer version.
resigned by AI ChatGPT

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: iwlwifi firmware: failed to load iwlwifi-8265-36.ucode (

#3 Post by sunrat »

radnek wrote:I wonder why the driver was missing? Is it correct way to fix this problem? Should I fear that something will get messed after upgrade?
It's not a driver, it's firmware. Different animals. Driver is a kernel module whereas firmware is code that is loaded onto the device usually at boot time.
It's a common problem using brand new hardware for which software has not been packaged yet, although it surprises me that even Sid only has packages from 10 months ago.
Your solution should be fine. Nice work on making it happen! 8)
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

radnek
Posts: 2
Joined: 2018-06-22 07:46

Re: iwlwifi firmware: failed to load iwlwifi-8265-36.ucode (

#4 Post by radnek »

Thanks for your explanations.
I tried to report a bug using reportbug tool. Seemed like report has been sent correctly, but I still haven't received confirmation mail. I found also similar bug report #892408 with older firmaware version firmware-iwlwifi-8265-34.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: iwlwifi firmware: failed to load iwlwifi-8265-36.ucode (

#5 Post by stevepusser »

Those are spurious errors. The kernel driver can work with various versions of the firmware, so it's going down a list of possible releases until it finds the one that it can use from firmware-iwlwifi. Sometimes those missing versions were only used internally at Intel for development and you'll never find them for your own use.

However, the Debian packages are missing any firmware at all for the latest Intel hardware, such as the 9650 I'm using right now. The packages are now ten months out of date...
MX Linux packager and developer

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: iwlwifi firmware: failed to load iwlwifi-8265-36.ucode (

#6 Post by sunrat »

I just had a quick look at your first post again -

Code: Select all

kernel: iwlwifi 0000:01:00.0: firmware: direct-loading firmware iwlwifi-8265-31.ucode
kernel: iwlwifi 0000:01:00.0: loaded firmware version 31.532993.0 op_mode iwlmvm
You probably didn't need to do anything. :)
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply