Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] iwlfiwi is not even trying to load firmware
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cz0
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 250
Location: /earth/russia/moscow

PostPosted: Sat Apr 06, 2019 11:06 pm    Post subject: [SOLVED] iwlfiwi is not even trying to load firmware Reply with quote

Hi, folks!
I'm trying to get my fresh Gentoo installation up and running and Intel 8260 WIFi adapter is keeping me from doing so.
I have iwl8000-ucode installed. Besides, I have "Userspace firmware loading support" and "Intel Wireless WiFi Next Gen AGN (iwlwifi)" enabled in kernel as well as cfg80211 and mac80211 (last two as modules).
First of all, iwlwifi module is not loaded automatically on boot. Second, if loaded manually, kernel is not even trying to load firmware. grep though dmes by 'iwlwifi' and 'firmware' gives nothing.
The most interesting thing - minimal install CD work flawlessly - I was able to pull all the necessary stuff from the Internet.
The kernel config I use came from laptop with perfectly working Intel 6205. The kernel I use is 4.14.105 (laptop runs 4.14.83, but I don't think it makes any difference).
I spent abut 4 hours trying to get it working, rebuilding the kernel with all kind of firmware related options and still no luck.
Any ideas?


Last edited by cz0 on Sun Apr 07, 2019 9:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4149
Location: Dallas area

PostPosted: Sat Apr 06, 2019 11:31 pm    Post subject: Reply with quote

It the install cd works, then do an lsmod to see what got loaded.
And check the /proc/config.gz (if available) to see what is turned on.

Then make your installation match that.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
cz0
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 250
Location: /earth/russia/moscow

PostPosted: Sun Apr 07, 2019 12:49 am    Post subject: Reply with quote

Anon-E-moose wrote:
It the install cd works, then do an lsmod to see what got loaded.
And check the /proc/config.gz (if available) to see what is turned on.

lsmod on InstallCD shows a lot of stuff, making it useless to trace what is going on.
I build 4.19 kernel with config grabbed from /proc/config.gz and WiFi works.
But this in not the question to the original question. I want to know what is wrong with 4.14 from my config.
The wireless network and firmware loader configuration is exactly the same, all the rest is the same.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1066

PostPosted: Sun Apr 07, 2019 12:56 am    Post subject: Reply with quote

I think there is value in seeing the wifi related settings in lsmod on the liveCD if that was working. However if your question is about why your kernel doesn't work, I don't think anyone can know the answer to that. Why not post the kernel configuration? But it might be faster to go back and check that live CD ;)
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1066

PostPosted: Sun Apr 07, 2019 1:04 am    Post subject: Reply with quote

More importantly if you want feedback on why something isn't working on a particular system's kernel, then you will need to boot that system and try going from there...yes being without a network connection like wifi can be aggravating. Maybe you have a network cable or usb device that will work to allow access to your internet so you can have connection and post information. I would begin by making sure you've read the suggested troubleshooting steps in the wiki page. There are at least a couple of things mentioned to watch out for, like systemd firmware if you are running that, or else if not then modularizing some of the kernel features is also there. Regardless since you have a working kernel now in a newer version so you have decide if it is worth going back to fix the older one. IDK that is up to you.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4149
Location: Dallas area

PostPosted: Sun Apr 07, 2019 11:20 am    Post subject: Reply with quote

cz0 wrote:
Anon-E-moose wrote:
It the install cd works, then do an lsmod to see what got loaded.
And check the /proc/config.gz (if available) to see what is turned on.

lsmod on InstallCD shows a lot of stuff, making it useless to trace what is going on.
I build 4.19 kernel with config grabbed from /proc/config.gz and WiFi works.
But this in not the question to the original question. I want to know what is wrong with 4.14 from my config.
The wireless network and firmware loader configuration is exactly the same, all the rest is the same.


Something is obviously different, kernel source, option, etc or maybe firmware. I'm guessing that some option is set in the one that works that is needed by the wifi adapter, either in the config as a built in option or loaded if a module. Which is why I mentioned lsmod, yes it shows lots of things, but it also shows dependencies if other modules.

As for you open ended question of why, without seeing your .config and the dmesg output, it's hard to determine. We're not mind readers.

Edit to add: the other thing to do is see what changes happened between 4.14.105 and 4.14.83 (yes look at the patch sets especially in the network/wifi arena)
You could also try using the source from 4.14.83 (laptop) instead of 4.14.105 to see if that works. If so then something definitely changed between the 2 or there's some option that changed (possibly from being on to off, or vice-versa)

And when you used the config file from 4.14.83 did you do oldconfig when you moved it to 4.14.105 or did you just put it in place? oldconfig will pick up changes and prompt you to set them, just putting it in place won't.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
cz0
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 250
Location: /earth/russia/moscow

PostPosted: Sun Apr 07, 2019 9:28 pm    Post subject: Reply with quote

This is 4.14.105 fault. actual stable 4.19.27 compiled against exactly the same config work with Intel 8260 perfectly. Firmware is loaded and card works as expected. This is a good lesson to use tested kernel + tested config rather experimenting with random kernels and configs.
My Lenovo L460p is up and running!
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1066

PostPosted: Mon Apr 08, 2019 9:45 am    Post subject: Reply with quote

Cz0 i am not sure what is meant by random versus tested kernel, but there is only 1 linux kernel however it has many versions maybe so are you referring to different versions? Also in terms of configuration of the kernel there is hardly a better way to go, than to test various configurations to see what works. Using some standard configurations are of course possible and usually part of the packaging in most distros, even gentoo has the genkernel package can make you a w kernel. I would always suggest (for anyone interested in reducing the bloat of unneeded features while also improving and optimizing system performance) to build kernel and test it. Yes it can be a little bit time consuming to have to rebuild kernel multiple tries but the results are worth it.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1066

PostPosted: Mon Apr 08, 2019 9:47 am    Post subject: Reply with quote

If wifi doesnt work on one of those kernels it would be good to see some indication as to why, maybe an error message or in place of that a system output showing it somehow.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum