My WiFi has been mostly working over the last few months, however there have been instances where the wifi adapter has failed and not been displayed in the UI. I didn’t properly log these occurrences so cannot remember if they were all boot time, waking from suspend, mid-usage, or a mix of those.
I reseated and re-cable managed the WiFi chip and its antennas a few weeks ago, and it has all been mostly working flawlessly since then.
I’m currently running kernel 6.4.4-200.fc38.x86_64
with the only recent change to kernel args being the addition of tpm_tis.interrupts=0
and the removal of rhgb quiet
.
WiFi worked on my first 1-2 boots of this kernel, but on my third and subsequent boots I saw errors during bootup, or there would be no errors and the adapter would be found but a few seconds after login there would be a few seconds of system freeze followed by the adapter disappearing.
I used to be able to boot into kernel 6.4.4 following the errors but now it gets stuck there. I can boot with kernel 6.3.12, but the wifi adapter is not found
The wifi adapter is also absent when booting a fedora liveboot usb on kernel version 6.0.7.
Pictures:
Here is some dmesg output from the liveusb:
[ 12.959588] Bluetooth: hci0: Firmware Version: 129-28.22
[ 13.021044] Intel(R) Wireless WiFi driver for Linux
[ 13.021108] iwlwifi 0000:a8:00.0: enabling device (0000 -> 0002)
[ 13.021270] iwlwifi 0000:a8:00.0: HW_REV=0xFFFFFFFF, PCI issues?
[ 13.021279] iwlwifi: probe of 0000:a8:00.0 failed with error -5
[ 13.815111] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1internel
After rebooting out of the liveusb (into my internal drive) on kernel 6.4.4, the wifi adapter is found and working. EDIT 15 minutes later: there was a system freeze, i managed to move to another tty session and back after about 30 seconds, but wifi was no longer working. Another freeze occurred when I attempted to toggle wifi off and on again. I managed to move to another tty which printed loads of stack traces, I got a picture of what was currently on the screen.
After rebooting, the wifi adapter UI looked good, but freezes were occurring and wifi was not working. Here’s dmesg:
larger dmesg output
[ 195.230687] WARNING: CPU: 2 PID: 155 at drivers/net/wireless/intel/iwlwifi/mvm/../iwl-trans.h:1383 iwl_mvm_wait_sta_queues_empty+0x92/0xc0 [iwlmvm]
...
[ 195.231317] ret_from_fork+0x29/0x50
[ 195.231319] </TASK>
[ 195.231320] ---[ end trace 0000000000000000 ]---
[ 195.231321] iwlwifi 0000:a8:00.0: iwl_trans_wait_txq_empty bad state = 0
[ 195.231331] wlp168s0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
[ 195.231360] wlp168s0: failed to remove key (4, ff:ff:ff:ff:ff:ff) from hardware (-5)
[ 195.243497] ------------[ cut here ]------------
[ 195.243509] WARNING: CPU: 2 PID: 155 at net/mac80211/driver-ops.c:39 drv_stop+0xf5/0x100 [mac80211]
[ 195.243665] Modules linked in: tun dummy uinput rfcomm...
...
[ 195.243896] CPU: 2 PID: 155 Comm: kworker/2:2 Tainted: G W L 6.4.4-200.fc38.x86_64 #1
[ 195.243901] Hardware name: Framework Laptop (12th Gen Intel Core)/FRANMACP06, BIOS 03.05 08/23/2022
[ 195.243907] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[ 195.243928] RIP: 0010:drv_stop+0xf5/0x100 [mac80211]
...
[ 195.565058] usb 3-9: reset full-speed USB device number 3 using xhci_hcd
[ 195.813175] usb 3-9: reset full-speed USB device number 3 using xhci_hcd
After rebooting again (same latest kernel), the wifi option from the UI has simply disappeared again, no freezes, but also no wifi.
I then booted a known good Windows drive which has had working wifi with this machine in the past, but this time it didn’t:
I then reseated the wifi card and booted linux, and wifi worked.
It would seem the issue is unrelated to the kernel version/args, and could be an intermittent hardware failure that is resolved by either leaving the system alone long enough to fully power down, or by disconnecting and reconnecting the wifi chip.
I see “HW failure” in some of the logs, does my Framework simply have a faulty WiFi chip? I have been experiencing these issue intermittently for months.
Please advise.