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

New to Debian (Or Linux in general)? Ask your questions here!

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

Postby radnek » 2018-06-22 11:01

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
radnek
 
Posts: 2
Joined: 2018-06-22 07:46

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

Postby bw123 » 2018-06-22 11:13

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.
User avatar
bw123
 
Posts: 3139
Joined: 2011-05-09 06:02
Location: TN_USA

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

Postby sunrat » 2018-06-22 11:53

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!
User avatar
sunrat
 
Posts: 2356
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

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

Postby radnek » 2018-06-22 14:14

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.
radnek
 
Posts: 2
Joined: 2018-06-22 07:46

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

Postby stevepusser » 2018-06-22 17:07

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...
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.2, Pale Moon 27.9.3, wine-staging 3.11, QuiteRSS 0.18.11, Linux kernel 4.17, Krita 4.1.0
User avatar
stevepusser
 
Posts: 9713
Joined: 2009-10-06 05:53

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

Postby sunrat » 2018-06-23 01:19

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!
User avatar
sunrat
 
Posts: 2356
Joined: 2006-08-29 09:12
Location: Melbourne, Australia


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable