[RESPONDED] WiFi driver failing randomly [iwlwifi] (12th Gen, Fedora 37)

I would verify this with an inline usb-c power meter if you have one. I encountered numerous charging related issues with a variety of docks claiming more power than they were actually capable of delivering. I have measured 12th gen pulling up to almost 74w.

I would begin by trying to force load the module with modprobe, though based on what you have posted I don’t think this will work.

Are you using TLP, power-profiles-daemon, or any other power management software?

Do you perhaps have additional powersave settings such as in /etc/modprobe.d/iwlwifi.conf ?

Also I did notice OOM is off and no RAM total in your inxi (I could be missing it), finally are you using btrfs, lvm, or an old school partitioning scheme? Also have you tried opening the laptop, reseating the wifi card, and verifying the antenna are properly connected?

I unfortunately don’t have a USB-C power meter. The battery is UEFI limited at 60% and stays plugged in most of the time so shouldn’t every draw much. However, in my test on kernel 6.1.18 I disconnected the eGPU so that wouldn’t have effected the results.

I’m currently using kernel 6.1.15 so the modules do load and I have some sort of working WiFi. Can you please clarify which kernel you would like me to force modprobe on (perhaps 6.1.18), and on which modules (perhaps iwlmvm and iwlwifi)?

I’m not using any third-party power management software and Gnome is currently in the default “Balanced” power mode.

That file doesn’t exist on my system, so I likely haven’t tinkered with the iwlwifi configuration before.

I haven’t manually configured OOM on/off, so it is either in its default position or I have executed something which has changed it at some point.

I have 32GB RAM, it’s shown on the second to last line of inxi.

I’m using BTRFS which I believe has been the default for the past few years on Fedora’s installer.

1 Like

I would give that a try. This behavior is very odd.

I would temporarily disable it. In my experience the power-profiles-daemon (default gnome) is hot garbage. Disabling it and stopping the service will at least eliminate the possibility of it doing something under the hood to break the wifi. Then try with the latest kernel again and see if you can activate the module with modprobe. If that does not work…

CAUTION: I recommend updating to the 3.06 beta uefi. Prior to upgrading I experienced a variety of odd behaviors, and issues with both thunderbolt 3 and thunderbolt 4 docks. While I still have some minor issues with thunderbolt 4 mostly related to display detection on a cold boot (removing the cable and reinserting fixes this), my thunderbolt 3 experience has become flawless. So why the big caution some users have experienced some issues…and based on reading the thread it is my opinion that 99.99% of those experiencing issues did not follow the directions EXACTLY. So if you decide to give this a try please RTFM and then follow it EXACTLY.

Basically outside of reseating the wifi card and verifying the antenna is connected properly I would also change the script slightly by changing the “sleep 1” line to “sleep 10” in case your system is taking longer to restart NetwrokManager" and trying that.

Outside of that in combination with your egpu issues I can’t help but begin to think this is an issue with the uefi/bios. Yes I wish they would release a stable versions already, and I also wish they would get on a set released schedule for BIOS updates but we got what we got at this time. Outside of that a fresh install might help? In short if your system is not completely up to date you can’t be sure it is not being caused by one of those components…speaking of components your card could be going bad…but at this stage I kind of doubt that.

@Matt_Hartley @Loell_Framework any ideas?

I’ve been rebooting my laptop and swapping kernels many times whilst troubleshooting my eGPU (which is now working! :tada:) and I’m currently on kernel 6.1.18, posting this comment. WiFi is working. I haven’t modprobed anything or changed any power management options yet.

I’ve rebooted a couple times on kernel 6.1.18 and my WiFi is working both when my eGPU is connected and disconnected.

I’m really not sure what’s happened but all is seemingly well now.

I’ll report back if my WiFi randomly stops working on kernel 6.1.18 or fails altogether on boot as it was doing earlier today.

1 Like

Great to hear that it’s mostly working with kernel 6.1.18 @groundwork , let us know if wifi randomly stops and perhaps we can do dmesg to check what might be happening in the background. just wondering have you tried earlier or later kernel apart from the ones you mentioned? 6.1.18 and 6.1.15?

@nadb good suggestion on Sleep 10 with the script, as networkmanager may take a bit more seconds to instantiate.

1 Like

My WiFi has stopped working randomly a couple more times on kernel 6.1.18. Here is the dmesg output: hastebin

I tried to reboot on the same kernel, but WiFi stayed broken from boot. I then tried to sudo modprobe -r iwlmvm; sudo modprobe -r iwlwifi; sudo modprobe iwlwifi; sudo modprobe iwlmvm but the WiFi options in the UI would not come back, even after restarting NetworkManager. I then rebooted again, and WiFi was working, which is how I’m posting this now.

I have not done any proper testing on any other kernels, however I have been experiencing WiFi dying (until the machine is rebooted) periodically on older kernels. This is strange as I’m 3 metres from the router with no obstructions.

hi @groundwork ,

Is the dmesg output capture right after Wireless has stopped working? If it is, possible to get previous 100 lines before that log entry? we might have additional info.

The capture was very soon after I realised WiFi had stopped working again.

I piped dmesg to xclip and pasted it which I assume would provide the full output, so I’m not sure how to access those previous 100 lines.

Hi @groundwork

With fresh eyes, took a second look at the original post. This was a tricky one and it took us a bit to get our heads around it.

Then after a little grep-ing, I found:

10:16:22 hostname kernel: iwlwifi 0000:a6:00.0: Error sending STATISTICS_CMD: time out after 2000ms.

Just on a hunch and a whim, try this, then reboot. Yes, this is usually an Ubuntu thing - but I have tested this working before (be it rarely needed).

gnome-text-editor admin:///etc/NetworkManager/conf.d/wifi-powersave.conf

Ignore the error in the terminal, tab out to the text editor now open. Make this a thing by adding this:

[connection]
wifi.powersave = 2

Save the file, reboot.

Once rebooted, let’s check our work:

iw dev | grep Interface | awk '{print $2}' | xargs -I {} iw {} get power_save

You should see:
Power save: off

1 Like

Interesting idea. I have put off applying your suggestion as I recently upgraded to kernel 6.2.7-200.fc37.x86_64 and had hoped that may improve the situation.

However, this morning whilst watching a YouTube video only a few minutes after booting, whilst plugged into an eGPU and trickle charging at my 60% UEFI battery limit, the WiFi issue occurred again.

I have now applied the powersave change you suggested above and will report back with journal logs if the WiFi issue occurs again.

$ cat /etc/NetworkManager/conf.d/wifi-powersave.conf
[connection]
wifi.powersave = 2
$ iw dev | grep Interface | awk '{print $2}' | xargs -I {} iw {} get power_save
Power save: off

@Matt_Hartley Unfortunately iwlwifi failed even after the powersave configuration was applied.

The system had been online for a few hours and was in the same state as my previous message where I was trickle charging and streaming video, except with more multitasking this time.

Here is the journal log:

$ journalctl --no-pager --since '2023-03-26 15:20' --until '2023-03-26 15:23' | grep -Eiv 'aw-qt|etesync|proton|syncthing|openvpn'
15:20:22 u onedrive[2330]: Starting a sync with OneDrive
15:20:22 u onedrive[2330]: Syncing changes and items from OneDrive ...
15:20:24 u onedrive[2330]: Sync with OneDrive is complete
15:20:54 u gnome-shell[2477]: Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
15:20:54 u gnome-shell[2477]: Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
15:20:56 u gnome-shell[2477]: Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
15:21:37 u kernel: iwlwifi 0000:a8:00.0: Error sending STATISTICS_CMD: time out after 2000ms.
15:21:38 u kernel: iwlwifi 0000:a8:00.0: Current CMD queue read_ptr 10722 write_ptr 10723
15:21:38 u kernel: ------------[ cut here ]------------
15:21:38 u kernel: Timeout waiting for hardware access (CSR_GP_CNTRL 0xffffffff)
15:21:38 u kernel: WARNING: CPU: 14 PID: 1523 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2172 __iwl_trans_pcie_grab_nic_access+0x146/0x150 [iwlwifi]
15:21:38 u kernel: Modules linked in: tls tun uinput rfcomm snd_seq_dummy snd_hrtimer dummy nfnetlink_queue nf_conntrack_netlink ip6t_REJECT nf_reject_ipv6 nft_chain_nat xt_nat nf_nat ipt_REJECT nf_reject_ipv4 xt_NFQUEUE xt_mark xt_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink qrtr bnep sunrpc binfmt_misc vfat fat snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp iwlmvm snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_hda_codec_idt snd_soc_acpi soundwire_bus snd_hda_codec_generic mac80211 snd_soc_core ledtrig_audio snd_hda_codec_hdmi snd_compress ac97_bus snd_pcm_dmaengine x86_pkg_temp_thermal intel_powerclamp snd_hda_intel coretemp libarc4 snd_intel_dspcfg snd_intel_sdw_acpi kvm_intel snd_hda_codec snd_hda_core kvm cros_usbpd_charger snd_hwdep cros_usbpd_notify cros_ec_sysfs btusb cros_ec_chardev cros_usbpd_logger
15:21:38 u kernel:  snd_seq btrtl irqbypass iwlwifi cros_ec_dev btbcm iTCO_wdt snd_seq_device cros_ec_lpcs btintel intel_pmc_bxt rapl intel_cstate processor_thermal_device_pci pmt_telemetry btmtk mei_hdcp mei_wdt mei_pxp iTCO_vendor_support intel_rapl_msr pmt_class cros_ec processor_thermal_device snd_pcm intel_uncore wmi_bmof processor_thermal_rfim cfg80211 bluetooth pcspkr snd_timer joydev snd mei_me processor_thermal_mbox i2c_i801 processor_thermal_rapl mei intel_rapl_common rfkill int3403_thermal soundcore i2c_smbus int3400_thermal thunderbolt idma64 intel_vsec igen6_edac int340x_thermal_zone acpi_thermal_rel acpi_pad loop zram dm_crypt hid_logitech_hidpp hid_logitech_dj amdgpu i915 nvme nvme_core drm_ttm_helper crct10dif_pclmul ttm crc32_pclmul iommu_v2 crc32c_intel gpu_sched polyval_clmulni hid_multitouch drm_buddy ucsi_acpi polyval_generic drm_display_helper ghash_clmulni_intel sha512_ssse3 typec_ucsi serio_raw cec typec nvme_common i2c_hid_acpi video i2c_hid wmi pinctrl_tigerlake
15:21:38 u kernel:  ip6_tables ip_tables fuse
15:21:38 u kernel: CPU: 14 PID: 1523 Comm: NetworkManager Not tainted 6.2.7-200.fc37.x86_64 #1
15:21:38 u kernel: Hardware name: Framework Laptop (12th Gen Intel Core)/FRANMACP06, BIOS 03.05 08/23/2022
15:21:38 u kernel: RIP: 0010:__iwl_trans_pcie_grab_nic_access+0x146/0x150 [iwlwifi]
15:21:38 u kernel: Code: 00 00 00 48 89 df e8 49 9f fe ff 4c 89 f7 e8 91 4f 5c dc eb 8c 89 c6 48 c7 c7 58 bb 9d c1 c6 05 fe 48 04 00 01 e8 6a ed 75 db <0f> 0b eb a9 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90
15:21:38 u kernel: RSP: 0018:ffffa174424f3458 EFLAGS: 00010286
15:21:38 u kernel: RAX: 0000000000000000 RBX: ffff948469030028 RCX: 0000000000000000
15:21:38 u kernel: RDX: 0000000000000203 RSI: ffffffff9e8c1316 RDI: 00000000ffffffff
15:21:38 u kernel: RBP: 00000000ffffffff R08: 0000000000000000 R09: ffffa174424f32e8
15:21:38 u kernel: R10: 0000000000000003 R11: ffffffff9f1447c8 R12: 0000000000000001
15:21:38 u kernel: R13: 0000000000000000 R14: ffff94846903297c R15: 0000000000000011
15:21:38 u kernel: FS:  00007f8fbe863500(0000) GS:ffff948b8fb80000(0000) knlGS:0000000000000000
15:21:38 u kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
15:21:38 u kernel: CR2: 0000143c04b60000 CR3: 00000001571f6002 CR4: 0000000000770ee0
15:21:38 u kernel: PKRU: 55555554
15:21:38 u kernel: Call Trace:
15:21:38 u kernel:  <TASK>
15:21:38 u kernel:  iwl_trans_pcie_grab_nic_access+0x1b/0x40 [iwlwifi]
15:21:38 u kernel:  iwl_force_nmi+0xdb/0x100 [iwlwifi]
15:21:38 u kernel:  iwl_trans_sync_nmi_with_addr+0x147/0x170 [iwlwifi]
15:21:38 u kernel:  iwl_trans_txq_send_hcmd+0x3fd/0x450 [iwlwifi]
15:21:38 u kernel:  ? __pfx_autoremove_wake_function+0x10/0x10
15:21:38 u kernel:  iwl_trans_send_cmd+0x94/0xf0 [iwlwifi]
15:21:38 u kernel:  iwl_mvm_send_cmd+0x1b/0x60 [iwlmvm]
15:21:38 u kernel:  iwl_mvm_request_statistics+0x120/0x1a0 [iwlmvm]
15:21:38 u kernel:  ? __pfx_iwl_wait_stats_complete+0x10/0x10 [iwlmvm]
15:21:38 u kernel:  iwl_mvm_mac_sta_statistics+0x1d9/0x350 [iwlmvm]
15:21:38 u kernel:  sta_set_sinfo+0xbc/0xb70 [mac80211]
15:21:38 u kernel:  ieee80211_dump_station+0x6b/0x90 [mac80211]
15:21:38 u kernel:  nl80211_dump_station+0x13b/0x280 [cfg80211]
15:21:38 u kernel:  netlink_dump+0x126/0x320
15:21:38 u kernel:  __netlink_dump_start+0x1b6/0x2f0
15:21:38 u kernel:  genl_family_rcv_msg_dumpit+0x104/0x110
15:21:38 u kernel:  ? __pfx_genl_start+0x10/0x10
15:21:38 u kernel:  ? __pfx_nl80211_dump_station+0x10/0x10 [cfg80211]
15:21:38 u kernel:  ? __pfx_genl_parallel_done+0x10/0x10
15:21:38 u kernel:  genl_rcv_msg+0x147/0x2c0
15:21:38 u kernel:  ? __pfx_nl80211_dump_station+0x10/0x10 [cfg80211]
15:21:38 u kernel:  ? __pfx_genl_rcv_msg+0x10/0x10
15:21:38 u kernel:  netlink_rcv_skb+0x54/0x100
15:21:38 u kernel:  genl_rcv+0x24/0x40
15:21:38 u kernel:  netlink_unicast+0x23f/0x390
15:21:38 u kernel:  netlink_sendmsg+0x250/0x4c0
15:21:38 u kernel:  sock_sendmsg+0x5c/0x70
15:21:38 u kernel:  ____sys_sendmsg+0x277/0x2f0
15:21:38 u kernel:  ? copy_msghdr_from_user+0x7d/0xc0
15:21:38 u kernel:  ___sys_sendmsg+0x9a/0xe0
15:21:38 u kernel:  __sys_sendmsg+0x76/0xc0
15:21:38 u kernel:  do_syscall_64+0x58/0x80
15:21:38 u kernel:  ? fpregs_restore_userregs+0x56/0xe0
15:21:38 u kernel:  ? exit_to_user_mode_prepare+0x18f/0x1f0
15:21:38 u kernel:  ? syscall_exit_to_user_mode+0x17/0x40
15:21:38 u kernel:  ? do_syscall_64+0x67/0x80
15:21:38 u kernel:  ? __x64_sys_poll+0xb7/0x140
15:21:38 u kernel:  ? syscall_exit_to_user_mode+0x17/0x40
15:21:38 u kernel:  ? do_syscall_64+0x67/0x80
15:21:38 u kernel:  ? do_syscall_64+0x67/0x80
15:21:38 u kernel:  entry_SYSCALL_64_after_hwframe+0x72/0xdc
15:21:38 u kernel: RIP: 0033:0x7f8fbf8b4f3d
15:21:38 u kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 9a 96 f7 ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 44 24 08 e8 ee 96 f7 ff 48
15:21:38 u kernel: RSP: 002b:00007ffc73276640 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
15:21:38 u kernel: RAX: ffffffffffffffda RBX: 000055ddb108be80 RCX: 00007f8fbf8b4f3d
15:21:38 u kernel: RDX: 0000000000000000 RSI: 00007ffc73276680 RDI: 000000000000000b
15:21:38 u kernel: RBP: 000055ddb108be80 R08: 0000000000000000 R09: 0000000000000000
15:21:38 u kernel: R10: 0000000000000000 R11: 0000000000000293 R12: 00007ffc73276710
15:21:38 u kernel: R13: 000055ddb11e58c0 R14: 00007ffc73276944 R15: 000055ddb10795d0
15:21:38 u kernel:  </TASK>
15:21:38 u kernel: ---[ end trace 0000000000000000 ]---
15:21:38 u kernel: iwlwifi 0000:a8:00.0: iwlwifi transaction failed, dumping registers
15:21:38 u kernel: iwlwifi 0000:a8:00.0: iwlwifi device config registers:

... redacted to stay within character limit ...

15:21:38 u kernel: ------------[ cut here ]------------
15:21:38 u kernel: WARNING: CPU: 14 PID: 1523 at drivers/net/wireless/intel/iwlwifi/iwl-trans.h:1418 iwl_fwrt_dump_lmac_error_log+0x49b/0x560 [iwlwifi]
15:21:38 u kernel: Modules linked in: tls tun uinput rfcomm snd_seq_dummy snd_hrtimer dummy nfnetlink_queue nf_conntrack_netlink ip6t_REJECT nf_reject_ipv6 nft_chain_nat xt_nat nf_nat ipt_REJECT nf_reject_ipv4 xt_NFQUEUE xt_mark xt_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink qrtr bnep sunrpc binfmt_misc vfat fat snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp iwlmvm snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_hda_codec_idt snd_soc_acpi soundwire_bus snd_hda_codec_generic mac80211 snd_soc_core ledtrig_audio snd_hda_codec_hdmi snd_compress ac97_bus snd_pcm_dmaengine x86_pkg_temp_thermal intel_powerclamp snd_hda_intel coretemp libarc4 snd_intel_dspcfg snd_intel_sdw_acpi kvm_intel snd_hda_codec snd_hda_core kvm cros_usbpd_charger snd_hwdep cros_usbpd_notify cros_ec_sysfs btusb cros_ec_chardev cros_usbpd_logger
15:21:38 u kernel:  snd_seq btrtl irqbypass iwlwifi cros_ec_dev btbcm iTCO_wdt snd_seq_device cros_ec_lpcs btintel intel_pmc_bxt rapl intel_cstate processor_thermal_device_pci pmt_telemetry btmtk mei_hdcp mei_wdt mei_pxp iTCO_vendor_support intel_rapl_msr pmt_class cros_ec processor_thermal_device snd_pcm intel_uncore wmi_bmof processor_thermal_rfim cfg80211 bluetooth pcspkr snd_timer joydev snd mei_me processor_thermal_mbox i2c_i801 processor_thermal_rapl mei intel_rapl_common rfkill int3403_thermal soundcore i2c_smbus int3400_thermal thunderbolt idma64 intel_vsec igen6_edac int340x_thermal_zone acpi_thermal_rel acpi_pad loop zram dm_crypt hid_logitech_hidpp hid_logitech_dj amdgpu i915 nvme nvme_core drm_ttm_helper crct10dif_pclmul ttm crc32_pclmul iommu_v2 crc32c_intel gpu_sched polyval_clmulni hid_multitouch drm_buddy ucsi_acpi polyval_generic drm_display_helper ghash_clmulni_intel sha512_ssse3 typec_ucsi serio_raw cec typec nvme_common i2c_hid_acpi video i2c_hid wmi pinctrl_tigerlake
15:21:38 u kernel:  ip6_tables ip_tables fuse
15:21:38 u kernel: CPU: 14 PID: 1523 Comm: NetworkManager Tainted: G        W          6.2.7-200.fc37.x86_64 #1
15:21:38 u kernel: Hardware name: Framework Laptop (12th Gen Intel Core)/FRANMACP06, BIOS 03.05 08/23/2022
15:21:38 u kernel: RIP: 0010:iwl_fwrt_dump_lmac_error_log+0x49b/0x560 [iwlwifi]
15:21:38 u kernel: Code: 7d 40 e8 48 df fd ff 48 8b 03 48 8b 7d 40 31 f6 44 8b 44 24 08 48 c7 c2 18 da 9d c1 48 8b 48 38 e8 2a df fd ff e9 6a fc ff ff <0f> 0b 48 8b 7d 40 48 c7 c2 f0 d9 9d c1 31 f6 e8 11 df fd ff 48 8b
15:21:38 u kernel: RSP: 0018:ffffa174424f33a0 EFLAGS: 00010286
15:21:38 u kernel: RAX: 00000000fffffff0 RBX: ffff94845577af50 RCX: 0000000000000000
15:21:38 u kernel: RDX: 0000000000000001 RSI: ffffffff9e9628f9 RDI: 00000000ffffffff
15:21:38 u kernel: RBP: ffff948469030028 R08: 0000000000003a98 R09: 0000000033483483
15:21:38 u kernel: R10: ffffffff9f006110 R11: 0000000085aac367 R12: 00000000004f1f00
15:21:38 u kernel: R13: 0000000000000000 R14: ffffa174424f33a8 R15: 0000000000000000
15:21:38 u kernel: FS:  00007f8fbe863500(0000) GS:ffff948b8fb80000(0000) knlGS:0000000000000000
15:21:38 u kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
15:21:38 u kernel: CR2: 0000143c04b60000 CR3: 00000001571f6002 CR4: 0000000000770ee0
15:21:38 u kernel: PKRU: 55555554
15:21:38 u kernel: Call Trace:
15:21:38 u kernel:  <TASK>
15:21:38 u kernel:  iwl_fwrt_dump_error_logs+0x24/0x1f0 [iwlwifi]
15:21:38 u kernel:  iwl_mvm_nic_error+0x5d/0xe0 [iwlmvm]
15:21:38 u kernel:  iwl_trans_sync_nmi_with_addr+0x75/0x170 [iwlwifi]
15:21:38 u kernel:  iwl_trans_txq_send_hcmd+0x3fd/0x450 [iwlwifi]
15:21:38 u kernel:  ? __pfx_autoremove_wake_function+0x10/0x10
15:21:38 u kernel:  iwl_trans_send_cmd+0x94/0xf0 [iwlwifi]
15:21:38 u kernel:  iwl_mvm_send_cmd+0x1b/0x60 [iwlmvm]
15:21:38 u kernel:  iwl_mvm_request_statistics+0x120/0x1a0 [iwlmvm]
15:21:38 u kernel:  ? __pfx_iwl_wait_stats_complete+0x10/0x10 [iwlmvm]
15:21:38 u kernel:  iwl_mvm_mac_sta_statistics+0x1d9/0x350 [iwlmvm]
15:21:38 u kernel:  sta_set_sinfo+0xbc/0xb70 [mac80211]
15:21:38 u kernel:  ieee80211_dump_station+0x6b/0x90 [mac80211]
15:21:38 u kernel:  nl80211_dump_station+0x13b/0x280 [cfg80211]
15:21:38 u kernel:  netlink_dump+0x126/0x320
15:21:38 u kernel:  __netlink_dump_start+0x1b6/0x2f0
15:21:38 u kernel:  genl_family_rcv_msg_dumpit+0x104/0x110
15:21:38 u kernel:  ? __pfx_genl_start+0x10/0x10
15:21:38 u kernel:  ? __pfx_nl80211_dump_station+0x10/0x10 [cfg80211]
15:21:38 u kernel:  ? __pfx_genl_parallel_done+0x10/0x10
15:21:38 u kernel:  genl_rcv_msg+0x147/0x2c0
15:21:38 u kernel:  ? __pfx_nl80211_dump_station+0x10/0x10 [cfg80211]
15:21:38 u kernel:  ? __pfx_genl_rcv_msg+0x10/0x10
15:21:38 u kernel:  netlink_rcv_skb+0x54/0x100
15:21:38 u kernel:  genl_rcv+0x24/0x40
15:21:38 u kernel:  netlink_unicast+0x23f/0x390
15:21:38 u kernel:  netlink_sendmsg+0x250/0x4c0
15:21:38 u kernel:  sock_sendmsg+0x5c/0x70
15:21:38 u kernel:  ____sys_sendmsg+0x277/0x2f0
15:21:38 u kernel:  ? copy_msghdr_from_user+0x7d/0xc0
15:21:38 u kernel:  ___sys_sendmsg+0x9a/0xe0
15:21:38 u kernel:  __sys_sendmsg+0x76/0xc0
15:21:38 u kernel:  do_syscall_64+0x58/0x80
15:21:38 u kernel:  ? fpregs_restore_userregs+0x56/0xe0
15:21:38 u kernel:  ? exit_to_user_mode_prepare+0x18f/0x1f0
15:21:38 u kernel:  ? syscall_exit_to_user_mode+0x17/0x40
15:21:38 u kernel:  ? do_syscall_64+0x67/0x80
15:21:38 u kernel:  ? __x64_sys_poll+0xb7/0x140
15:21:38 u kernel:  ? syscall_exit_to_user_mode+0x17/0x40
15:21:38 u kernel:  ? do_syscall_64+0x67/0x80
15:21:38 u kernel:  ? do_syscall_64+0x67/0x80
15:21:38 u kernel:  entry_SYSCALL_64_after_hwframe+0x72/0xdc
15:21:38 u kernel: RIP: 0033:0x7f8fbf8b4f3d
15:21:38 u kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 9a 96 f7 ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 44 24 08 e8 ee 96 f7 ff 48
15:21:38 u kernel: RSP: 002b:00007ffc73276640 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
15:21:38 u kernel: RAX: ffffffffffffffda RBX: 000055ddb108be80 RCX: 00007f8fbf8b4f3d
15:21:38 u kernel: RDX: 0000000000000000 RSI: 00007ffc73276680 RDI: 000000000000000b
15:21:38 u kernel: RBP: 000055ddb108be80 R08: 0000000000000000 R09: 0000000000000000
15:21:38 u kernel: R10: 0000000000000000 R11: 0000000000000293 R12: 00007ffc73276710
15:21:38 u kernel: R13: 000055ddb11e58c0 R14: 00007ffc73276944 R15: 000055ddb10795d0
15:21:38 u kernel:  </TASK>
15:21:38 u kernel: ---[ end trace 0000000000000000 ]---
15:21:38 u kernel: iwlwifi 0000:a8:00.0: HW error, resetting before reading
15:21:38 u kernel: iwlwifi 0000:a8:00.0: Loaded firmware version: 72.a764baac.0 ty-a0-gf-a0-72.ucode
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | ADVANCED_SYSASSERT          
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | trm_hw_status0
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | trm_hw_status1
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | branchlink2
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | interruptlink1
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | interruptlink2
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | data1
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | data2
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | data3
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | beacon time
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | tsf low
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | tsf hi
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | time gp1
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | time gp2
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | uCode revision type
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | uCode version major
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | uCode version minor
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | hw version
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | board version
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | hcmd
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | isr0
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | isr1
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | isr2
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | isr3
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | isr4
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | last cmd Id
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | wait_event
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | l2p_control
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | l2p_duration
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | l2p_mhvalid
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | l2p_addr_match
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | lmpm_pmg_sel
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | timestamp
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | flow_handler
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | ADVANCED_SYSASSERT
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | umac branchlink1
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | umac branchlink2
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | umac interruptlink1
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | umac interruptlink2
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | umac data1
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | umac data2
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | umac data3
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | umac major
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | umac minor
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | frame pointer
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | stack pointer
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | last host cmd
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x00000000 | isr status reg
15:21:38 u kernel: iwlwifi 0000:a8:00.0: IML/ROM dump:
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x5A5A | IML/ROM SYSASSERT
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x5A5A5A5A | IML/ROM error/state
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x5A5A5A5A | IML/ROM data1
15:21:38 u kernel: iwlwifi 0000:a8:00.0: 0x5A5A5A5A | IML/ROM WFPM_AUTH_KEY_0
15:21:38 u kernel: iwlwifi 0000:a8:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
15:21:38 u kernel: ieee80211 phy0: Hardware restart was requested
15:21:38 u kernel: iwlwifi 0000:a8:00.0: WRT: Failed to dump region: id=1, type=10
15:21:38 u kernel: iwlwifi 0000:a8:00.0: WRT: Failed to dump region: id=2, type=11
15:21:38 u kernel: iwlwifi 0000:a8:00.0: Failed to get monitor header
15:21:38 u kernel: iwlwifi 0000:a8:00.0: WRT: Failed to fill region header: id=16, type=2
15:21:38 u kernel: iwlwifi 0000:a8:00.0: WRT: Failed to dump region: id=21, type=10
15:21:38 u kernel: iwlwifi 0000:a8:00.0: WRT: Failed to dump region: id=22, type=10
15:21:38 u kernel: iwlwifi 0000:a8:00.0: Failed to send the temperature measurement command (err=-5)
15:21:39 u abrt-dump-journal-oops[1644]: abrt-dump-journal-oops: Found oopses: 2
15:21:39 u abrt-dump-journal-oops[1644]: abrt-dump-journal-oops: Creating problem directories
15:21:41 u abrt-dump-journal-oops[1644]: Reported 2 kernel oopses to Abrt
15:21:42 u kernel: iwlwifi 0000:a8:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x5a5a5a5a
15:21:42 u kernel: iwlwifi 0000:a8:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x5a5a5a5a
15:21:42 u kernel: iwlwifi 0000:a8:00.0: WFPM_AUTH_KEY_0: 0x5a5a5a5a
15:21:42 u kernel: iwlwifi 0000:a8:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x5a5a5a5a
15:21:42 u kernel: iwlwifi 0000:a8:00.0: SecBoot CPU1 Status: 0x5a5a5a5a, CPU2 Status: 0x5a5a5a5a
15:21:42 u kernel: iwlwifi 0000:a8:00.0: WFPM_LMAC1_PD_NOTIFICATION: 0x5a5a5a5a
15:21:43 u kernel: iwlwifi 0000:a8:00.0: HPM_SECONDARY_DEVICE_STATE: 0x5a5a5a5a
15:21:43 u kernel: iwlwifi 0000:a8:00.0: WFPM_MAC_OTP_CFG7_ADDR: 0x5a5a5a5a
15:21:43 u kernel: iwlwifi 0000:a8:00.0: WFPM_MAC_OTP_CFG7_DATA: 0x5a5a5a5a
15:21:43 u kernel: iwlwifi 0000:a8:00.0: UMAC PC: 0x5a5a5a5a
15:21:43 u kernel: iwlwifi 0000:a8:00.0: LMAC PC: 0x5a5a5a5a
15:21:43 u kernel: iwlwifi 0000:a8:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
15:21:43 u kernel: ------------[ cut here ]------------
15:21:43 u kernel: WARNING: CPU: 14 PID: 21178 at drivers/net/wireless/intel/iwlwifi/iwl-trans.h:1418 iwl_fwrt_dump_lmac_error_log+0x49b/0x560 [iwlwifi]

... redacted to stay within character limit ...

15:21:47 u kernel: ---[ end trace 0000000000000000 ]---
15:21:47 u avahi-daemon[1319]: Leaving mDNS multicast group on interface wlp168s0.IPv6 with address fe80::4958:1398:dd57:e488.
15:21:47 u avahi-daemon[1319]: Interface wlp168s0.IPv4 no longer relevant for mDNS.
15:21:47 u avahi-daemon[1319]: Leaving mDNS multicast group on interface wlp168s0.IPv4 with address 192.168.1.51.
15:21:47 u avahi-daemon[1319]: Withdrawing address record for fe80::4958:1398:dd57:e488 on wlp168s0.
15:21:47 u avahi-daemon[1319]: Withdrawing address record for 192.168.1.51 on wlp168s0.
15:21:47 u NetworkManager[1523]: <info>  [1679840507.1763] device (wlp168s0): supplicant interface state: completed -> interface_disabled
15:21:47 u NetworkManager[1523]: <info>  [1679840507.1764] device (p2p-dev-wlp168s0): supplicant management interface state: completed -> interface_disabled
15:21:47 u portmaster-start[1332]: [105B blob data]
15:21:47 u portmaster-start[1332]: [1B blob data]
15:21:47 u portmaster-start[1332]: [43B blob data]
15:21:47 u portmaster-start[1332]: [109B blob data]
15:21:47 u portmaster-start[1332]: [1B blob data]
15:21:47 u portmaster-start[1332]: [42B blob data]
15:21:47 u portmaster-start[1332]: [109B blob data]
15:21:47 u portmaster-start[1332]: [1B blob data]
15:21:47 u portmaster-start[1332]: [21B blob data]
15:21:47 u portmaster-start[1332]: [109B blob data]
15:21:47 u portmaster-start[1332]: [1B blob data]
15:21:47 u portmaster-start[1332]: [68B blob data]
15:21:48 u portmaster-start[1332]: [109B blob data]
15:21:48 u portmaster-start[1332]: [1B blob data]
15:21:48 u portmaster-start[1332]: [16B blob data]
15:21:48 u portmaster-start[1332]: [109B blob data]
15:21:48 u portmaster-start[1332]: [1B blob data]
15:21:48 u portmaster-start[1332]: [24B blob data]
15:21:48 u abrt-dump-journal-oops[1644]: abrt-dump-journal-oops: Found oopses: 22
15:21:48 u abrt-dump-journal-oops[1644]: abrt-dump-journal-oops: Creating problem directories
15:21:49 u abrt-notification[26102]: System encountered a non-fatal error in ??()
15:21:52 u abrt-dump-journal-oops[1644]: Reported 22 kernel oopses to Abrt
15:21:52 u abrt-dump-journal-oops[1644]: abrt-dump-journal-oops: Sleeping for 289 seconds
15:21:56 u portmaster-start[1332]: 230326 15:21:56.193 nameserver:286 ▶ WARN 371 nameserver: failed to resolve detectportal.firefox.com.AAAA: all 3 query-compliant resolvers failed, last error: read udp 10.32.0.3:30176->192.168.1.1:53: i/o timeout
15:21:56 u portmaster-start[1332]: 230326 15:21:56.193 nameserver:286 ▶ WARN 373 nameserver: failed to resolve detectportal.firefox.com.A: all 3 query-compliant resolvers failed, last error: read udp 10.32.0.3:43775->192.168.1.1:53: i/o timeout
15:21:56 u abrt-server[26049]: Can't find a meaningful backtrace for hashing in '.'
15:21:56 u abrt-server[26049]: Preserving oops '.' because DropNotReportableOopses is 'no'
15:21:58 u abrt-notification[26280]: System encountered a non-fatal error in ??()
15:22:01 u abrt-server[26068]: Deleting problem directory oops-2023-03-26-15:21:44-1644-0 (dup of oops-2023-03-25-19:18:47-1673-0)
15:22:01 u abrt-notification[26295]: System encountered a non-fatal error in iwl_fwrt_dump_error_logs()
15:22:01 u portmaster-start[1332]: 230326 15:22:01.235 nameserver:286 ▶ WARN 375 nameserver: failed to resolve detectportal.firefox.com.A: all 3 query-compliant resolvers failed, last error: read udp 10.32.0.3:48079->192.168.1.1:53: i/o timeout
15:22:01 u portmaster-start[1332]: 230326 15:22:01.236 nameserver:286 ▶ WARN 377 nameserver: failed to resolve detectportal.firefox.com.AAAA: all 3 query-compliant resolvers failed, last error: read udp 10.32.0.3:43519->192.168.1.1:53: i/o timeout
15:22:03 u abrt-server[26096]: Deleting problem directory oops-2023-03-26-15:21:48-1644-0 (dup of oops-2023-03-26-15:21:48-1644-1)
15:22:03 u abrt-notification[26311]: System encountered a non-fatal error in ieee80211_do_stop()
15:22:04 u abrt-server[26109]: Deleting problem directory oops-2023-03-26-15:21:48-1644-1 (dup of oops-2023-03-10-09:11:33-1518-1)
15:22:04 u abrt-notification[26320]: System encountered a non-fatal error in ieee80211_do_stop()
15:22:05 u portmaster-start[1332]: 230326 15:22:05.994 er/resolve:277 ▶ WARN 379 resolver: async query for chat.signal.org.A failed: all 4 query-compliant resolvers failed, last error: read udp 10.32.0.3:29068->192.168.1.1:53: i/o timeout
15:22:06 u abrt-server[26114]: Deleting problem directory oops-2023-03-26-15:21:48-1644-2 (dup of oops-2023-03-25-19:18:51-1673-3)
15:22:06 u abrt-notification[26337]: System encountered a non-fatal error in ieee80211_set_disassoc()
15:22:08 u gnome-shell[2477]: Window manager warning: last_user_time (5912145) is greater than comparison timestamp (5912107).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
15:22:08 u gnome-shell[2477]: Window manager warning: W1 appears to be one of the offending windows with a timestamp of 5912145.  Working around...
15:22:13 u abrt-server[26115]: Can't find a meaningful backtrace for hashing in '.'
15:22:13 u abrt-server[26115]: Preserving oops '.' because DropNotReportableOopses is 'no'
15:22:15 u abrt-notification[26390]: System encountered a non-fatal error in ??()
15:22:18 u abrt-server[26121]: Deleting problem directory oops-2023-03-26-15:21:48-1644-4 (dup of oops-2023-03-25-19:18:51-1673-3)
15:22:18 u abrt-notification[26412]: System encountered a non-fatal error in ieee80211_set_disassoc()
15:22:22 u gnome-shell[2477]: Window manager warning: last_user_time (5926959) is greater than comparison timestamp (5926939).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
15:22:22 u gnome-shell[2477]: Window manager warning: W1 appears to be one of the offending windows with a timestamp of 5926959.  Working around...
15:22:23 u gnome-shell[2477]: Window manager warning: last_user_time (5927154) is greater than comparison timestamp (5927115).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
15:22:23 u gnome-shell[2477]: Window manager warning: W1 appears to be one of the offending windows with a timestamp of 5927154.  Working around...

Complete log sample: https://haste.tchncs.de/ozinumakuw

I just woke my Framework from a long suspend on battery power and WiFi was still working, so it’s possible the powersave workaround helps prevent iwlwifi from failing on waking from suspend but does not help with it failing during usage.

1 Like

Sounds like it may be indeed, it’s what I use. So long as this:

iw dev | grep Interface | awk '{print $2}' | xargs -I {} iw {} get power_save

Indicates:

Power save: off

You should be fine. It’s what I use on all my Fedora installs.

Could be an instable physical connection of the wifi card, or antenna etc…

Maybe it was borderline ok until recently, and some move nudged it towards a bad connection.

Just to be on the safe side, you can maybe try to reseat the wifi card, and maybe check the antenna cables connection.

1 Like

Excellent advice! This is a good place to go from as well, in addition to the details requested above.

1 Like

Whilst swapping out the SSD (for another project) inside the Framework I did ensure the antennas and WiFi card were snug and secure, but I have not yet fully disconnected and reconnected them. The cables on the right hinge seem to be under quite a lot of strain and I’m wondering if the antenna goes through the hinge, and if so, if it could have become damaged.

I applied your powersave suggestion a few messages ago. If I have missed something else, please let me know.

1 Like

However I’m not sure how a damaged antenna could generate the errors you got in dmesg… I would rather think it is the wifi card itself…

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.

This feels like it could likely be a faulty card. If this continues, do open a ticket and link to this thread for context as to what you’ve done with troubleshooting.

Framework Support shipped me a replacement WiFi card which I installed and have been using for about a day. :tada:

Due to the intermittent nature of my issue, only time will tell if it has been resolved, although I’m optimistic.

However, a few minutes ago my laptop unexpectedly went into suspend whilst I was typing away (60% battery, charging). I noticed iwlwifi in the system journal, so I’ll share the logs below for documentation purposes, although I currently don’t think much of it.

16:20:26 h kernel: Filesystems sync: 0.032 seconds
16:20:26 h wireplumber[2664]: 0x55ebd40556a8: error 24
16:20:35 h kernel: Freezing user space processes
16:20:35 h kernel: Freezing user space processes completed (elapsed 0.003 seconds)
16:20:35 h kernel: OOM killer disabled.
16:20:35 h kernel: Freezing remaining freezable tasks
16:20:35 h kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
16:20:35 h kernel: printk: Suspending console(s) (use no_console_suspend to debug)
16:20:35 h kernel: PM: suspend devices took 0.299 seconds
16:20:35 h kernel: ACPI: EC: interrupt blocked
16:20:35 h kernel: ACPI: EC: interrupt unblocked
16:20:35 h kernel: iwlwifi 0000:a6:00.0: WRT: Invalid buffer destination
16:20:35 h kernel: i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.5.1
16:20:35 h kernel: i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
16:20:35 h kernel: i915 0000:00:02.0: [drm] GT0: HuC: authenticated!
16:20:35 h kernel: i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
16:20:35 h kernel: i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
16:20:35 h kernel: i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
16:20:35 h kernel: iwlwifi 0000:a6:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x1f
16:20:35 h kernel: iwlwifi 0000:a6:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
16:20:35 h kernel: iwlwifi 0000:a6:00.0: WFPM_AUTH_KEY_0: 0x80
16:20:35 h kernel: iwlwifi 0000:a6:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x0
16:20:35 h kernel: PM: resume devices took 0.301 seconds
16:20:35 h kernel: OOM killer enabled.
16:20:35 h kernel: Restarting tasks ... 
16:20:35 h kernel: mei_hdcp 0000:00:16.0-x-x-x-uuid-redacted: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
16:20:35 h systemd-resolved[1296]: Clock change detected. Flushing caches