Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IWL firmware embedded in Kernel for Comet Lake PCH CNVi WiFi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
KZQN7737
n00b
n00b


Joined: 13 Feb 2024
Posts: 27

PostPosted: Fri Mar 08, 2024 11:05 pm    Post subject: IWL firmware embedded in Kernel for Comet Lake PCH CNVi WiFi Reply with quote

Greetings.

I have wlp0s20f3 network wifi card available while I'm chrooted in minimal gentoo livecd.
ip link:
Code:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp0s20f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000     link/ether c4:75:ab:4d:ce:07 brd ff:ff:ff:ff:ff:ff


Although, when I'm in my booted kernel I have some mysterious sit@NONE instead.
(Seeing this on my system for the first time in 4 years of being on various Linux distributions, such as Ubuntu, Linux Mint, Fedora, Arch)

Code:

ip link && ip addr:
 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 brd 127.255.255.255 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host proto kernel_lo        valid_lft forever preferred_lft forever 2: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000     link/sit 0.0.0.0 brd 0.0.0.0 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 brd 127.255.255.255 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host proto kernel_lo        valid_lft forever preferred_lft forever 2: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000     link/sit 0.0.0.0 brd 0.0.0.0


I've read:
https://wiki.gentoo.org/wiki/Iwlwifi

My IWLWIFI kernel parameters are chosen to be embedded into kernel instead of building as a loadable kernel module. Generally I don't have support for modules and chose to build the kernel LKM-free (you can see no <m>'s chosen in my .config).

Quote:
In this case replace iwlwifi-xxxx.ucode with the exact firmware name. Some attention seems to be needed for FW_LOADER_USER_HELPER_FALLBACK.


I've seen and downloaded the latest firmware through wget:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

However, I don't understand what particular iwlwifi-xxxx.ucode firmware should I include in my kernel for this device:

lspci | grep Network:
Code:

00:14.3 Network controller: Intel Corporation Comet Lake PCH-LP CNVi WiFi


How do I find out its' precise model so it would fit in to the table from documentaion IWLwifi article:
https://web.archive.org/web/20190305085430/https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi
Or https://www.intel.com/content/www/us/en/support/articles/000005511/wireless.html
?
Unfortunately, I was not able to find the information regarding that, so I ask for help.

My .config:
http://dpaste.com/DHRNRJGD6

Regards.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1896

PostPosted: Fri Mar 08, 2024 11:18 pm    Post subject: Reply with quote

KZQN7737 wrote:
However, I don't understand what particular iwlwifi-xxxx.ucode firmware should I include in my kernel for this device:

The firmware file necessary will change from kernel version to kernel version. This is one reason a module is recommended here for this driver.
The particular name will show up when booting a certain kernel due to a Gentoo addition (unless that was disabled). If you want to keep this as built-in, you will have to recognize when a firmware is deemed obsolete and no longer connects
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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