grazzolini / mkinitcpio-netconf

Archlinux mkinitcpio hooks for setting up early user space networking.
BSD 3-Clause "New" or "Revised" License
10 stars 8 forks source link

NETCONF Hook Breaks WiFi Link on Arch Linux #20

Open trainzkid opened 1 year ago

trainzkid commented 1 year ago

Mostly for visibility, per Arch Linux bug FS#64393 - community/mkinitcpio-netconf: breaks iwlwifi module, it appears that adding the NETCONF hook to mkinitcpio prevents iwlwifi from creating the link for some WiFi cards on Arch Linux. I don't know if this is widely known or which cards are affected, but it affects my card (Intel AX210), and I keep coming back for a solution.

Symptoms:

ryan@Atlas ~> ip link 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: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000 link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff 3: wlp8s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff

- add iwlmvm/iwldvm to the HOOKS section of mkinitcpio to cause iwlwifi to create the link correctly at boot (I haven't tested this yet, but the bug report listed it as a solution)

ENV:

ryan@Atlas ~> pacman --query linux-zen linux-firmware linux-zen 6.1.5.zen2-1 linux-firmware 20221214.f3c283e-1



The bug report also seems to point out that this would be better addressed by mkinitcpio-netconf rather than Arch Linux. I have no opinion here, just adding this issue for visibility to others that might run into issues like I did. 

Let me know if there's anything else I can provide, or if this is the wrong place to put this.
rgerardi commented 1 year ago

I was able to reproduce the issue with an Intel Corporation Wi-Fi 6 AX200 card.

hashworks commented 1 year ago

Same with an AX201 on a Dell Latitude 5420. Mistook it for a kernel package bug...

For me this wasn't an issue in linux 6.3.9, but it needed MODULES=(iwlmvm iwldvm).

nerdroychan commented 1 year ago

Also experiencing issues with my AX200. You need either MODULES=(iwlmvm iwldvm) as described above (actually, maybe just one of them), or let moddules-load.d take care of iwlmvm or iwldvm manually. Not sure about the root cause.

Same with an AX201 on a Dell Latitude 5420. Mistook it for a kernel package bug...

For me this wasn't an issue in linux 6.3.9, but it needed MODULES=(iwlmvm iwldvm).

For all 6.4.* kernels iwlmvm (or iwldvm, depending on the device firmware) need to be manually reloaded after boot because of missing firmware during early boot stage. I am running 6.5.1 in testing and seems it's finally fixed.