You are not logged in.

#1 2017-05-28 22:18:42

juanp_1982
Member
From: Halifax, Nova Scotia, Canada
Registered: 2012-09-02
Posts: 69

how to load iwlwifi firmware properly [SOLVED]

Hello!
I'm compiling my own kernel while keeping arch default kernel as backup.

with my custom kernel I started getting this error:
I ran

journalctl -k -p 4 | grep iwlwifi
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-28.ucode failed with -2
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-27.ucode failed with -2
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-26.ucode failed with -2
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-25.ucode failed with -2
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-24.ucode failed with -2
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-23.ucode failed with -2
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-22.ucode failed with -2
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-21.ucode failed with -2
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-20.ucode failed with -2
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-19.ucode failed with -2
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-18.ucode failed with -2
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-17.ucode failed with -2
May 27 16:15:47 ichigo kernel: iwlwifi 0000:02:00.0: no suitable firmware found!
May 27 16:15:48 ichigo kernel: usb: port power management may be unreliable

and the wifi stop working. (with the default kernel the wifi works just fine

I followed the instructions from this Gentoo forum and this Arch forum without any luck :-(

I recompiled my kernel to add more debug outputs and run again

journalctl -k -p 4 | grep iwlwifi

pastebin

any help would be very very very appreciated

Last edited by juanp_1982 (2017-05-29 18:55:55)

Offline

#2 2017-05-29 08:51:23

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: how to load iwlwifi firmware properly [SOLVED]

Install linux-firmware package.

Offline

#3 2017-05-29 10:50:43

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: how to load iwlwifi firmware properly [SOLVED]

If the linux package is present on the system then linux-firmware should be as well as it a dependency of the linux package.
Edit:
Please use code tags not quote tags for commands plus their outputs.

Last edited by loqs (2017-05-29 10:51:57)

Offline

#4 2017-05-29 15:55:52

juanp_1982
Member
From: Halifax, Nova Scotia, Canada
Registered: 2012-09-02
Posts: 69

Re: how to load iwlwifi firmware properly [SOLVED]

I just edited my first post, one thing that I forgot to mention was that with the default arch kernel a iwlwifi framework is loaded without problem it seems like the system loads the first firmware that it finds. With the custom kernel the system tries to load all iwlwifi firmware installed even the one that works for the default kernel. I even downloaded the latest firmware from intel website and nothing :-(

Offline

#5 2017-05-29 16:42:31

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: how to load iwlwifi firmware properly [SOLVED]

How are you building the custom kernel using a PKGBUILD or directly using make?  Please post the full dmesg for the custom kernel and the official kernel for comparison also the .config used for the custom kernel.

Offline

#6 2017-05-29 18:40:38

juanp_1982
Member
From: Halifax, Nova Scotia, Canada
Registered: 2012-09-02
Posts: 69

Re: how to load iwlwifi firmware properly [SOLVED]

loqs thanks for the reply, I just fixed my problem (or at least I found a workaround and made my wifi works again) I downloaded a new version of vanilla kernel 3.11.3 use my current .config file (the one for my custom kernel). so now I have the custom kernel that I want and wifi is working :-)

Offline

#7 2017-05-29 18:47:55

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: how to load iwlwifi firmware properly [SOLVED]

If you are satisfied a solution has been found,  please mark your thread as solved by editing the first post and prepending the tag [SOLVED] to the title in the "Subject" field.
May I ask is there any particular reason for such an old kernel? ( which is no loner supported upstream https://www.kernel.org/ )

Offline

#8 2017-05-29 18:55:37

juanp_1982
Member
From: Halifax, Nova Scotia, Canada
Registered: 2012-09-02
Posts: 69

Re: how to load iwlwifi firmware properly [SOLVED]

sorry, I meant 4.11.3 this is the latest kernel

Offline

Board footer

Powered by FluxBB