You are not logged in.

#1 2025-02-24 05:46:28

backspsce
Member
Registered: 2025-02-24
Posts: 20

[SOLVED] Wifi disconnecting at random times

Hi, so i am new at arch and i've been having this problem in the past couple of weeks regarding my wifi disconnecting and the ath10k_pci crashing at random times. Sometimes it won't connect at all.

I am using an Asus Vivobook X407MA

this is the log that i've been getting thru journalctl | grep ath10k_pci

Feb 24 00:12:21 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000c19 at 0x0003543c: -110
Feb 24 00:12:22 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000c1b at 0x0003543c: -110
Feb 24 00:12:33 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000c1d at 0x0003543c: -110
Feb 24 00:12:33 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000017 at 0x0003503c: -110
Feb 24 00:12:33 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000018 at 0x0003503c: -110
Feb 24 00:12:33 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000c1f at 0x0003543c: -110
Feb 24 00:12:38 archlinux kernel: ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
Feb 24 00:12:43 archlinux kernel: ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
Feb 24 00:12:46 archlinux kernel: ath10k_pci 0000:02:00.0: wmi command 20489 timeout, restarting hardware
Feb 24 00:12:46 archlinux kernel: ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer 48:f8:db:a7:65:91: -11
Feb 24 00:12:46 archlinux kernel: ath10k_pci 0000:02:00.0: failed to delete peer 48:f8:db:a7:65:91 for vdev 0: -108
Feb 24 00:12:46 archlinux kernel: ath10k_pci 0000:02:00.0: found sta peer 48:f8:db:a7:65:91 (ptr 000000005e76973c id 153) entry on vdev 0 after it was supposedly removed
Feb 24 00:12:46 archlinux kernel: Modules linked in: ccm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device snd_sof_pci_intel_apl snd_sof_intel_hda_generic soundwire_intel soundwire_cadence snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda snd_hda_codec_hdmi snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_acpi_intel_match soundwire_generic_allocation snd_soc_acpi soundwire_bus snd_soc_avs snd_soc_hda_codec snd_hda_ext_core intel_pmc_bxt snd_soc_core intel_telemetry_pltdrv snd_hda_codec_realtek intel_punit_ipc snd_hda_codec_generic snd_compress snd_hda_scodec_component intel_telemetry_core ac97_bus ath10k_pci snd_pcm_dmaengine x86_pkg_temp_thermal joydev ath10k_core snd_hda_intel mousedev intel_powerclamp snd_intel_dspcfg coretemp snd_intel_sdw_acpi ath spi_pxa2xx_platform snd_hda_codec hid_multitouch btusb uvcvideo kvm_intel dw_dmac spi_pxa2xx_core videobuf2_vmalloc hid_generic uvc btrtl snd_hda_core videobuf2_memops 8250_dw kvm mei_hdcp mei_pxp intel_rapl_msr videobuf2_v4l2 snd_hwdep btintel
Feb 24 00:12:46 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003a000: -110
Feb 24 00:12:46 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000000 at 0x00036040: -110
Feb 24 00:12:46 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000000 at 0x0003603c: -110
Feb 24 00:12:46 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:12:46 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:12:48 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:12:48 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:12:48 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:12:48 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:12:48 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:12:48 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:12:48 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:12:48 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:12:48 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:12:48 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:12:53 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003482c: -110
Feb 24 00:12:53 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0xffffffe1 at 0x0003482c: -110
Feb 24 00:12:53 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00034c2c: -110
Feb 24 00:12:53 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0xfffffffe at 0x00034c2c: -110
Feb 24 00:12:53 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00034c34: -110
Feb 24 00:12:53 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0xfffff81f at 0x00034c34: -110
Feb 24 00:12:53 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00034c2c: -110
Feb 24 00:12:53 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0xffffffe1 at 0x00034c2c: -110
Feb 24 00:12:53 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003502c: -110
Feb 24 00:12:53 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0xfffffffe at 0x0003502c: -110
Feb 24 00:12:58 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003604c: -110
Feb 24 00:12:58 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x0000ffff at 0x0003604c: -110
Feb 24 00:12:58 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003604c: -110
Feb 24 00:12:58 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0xffff0002 at 0x0003604c: -110
Feb 24 00:12:58 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036048: -110
Feb 24 00:12:58 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036040: -110
Feb 24 00:12:58 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x79faf000 at 0x00036008: -110
Feb 24 00:12:58 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000002 at 0x0003600c: -110
Feb 24 00:12:58 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036010: -110
Feb 24 00:12:58 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0xfffdffff at 0x00036010: -110
Feb 24 00:13:02 archlinux kernel: ath10k_pci 0000:02:00.0: failed to read device register, device is gone
Feb 24 00:13:03 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000020 at 0x00035004: -110
Feb 24 00:13:03 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00035010: -110
Feb 24 00:13:03 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0xffff0800 at 0x00035010: -110
Feb 24 00:13:03 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00035010: -110
Feb 24 00:13:03 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0xfffeffff at 0x00035010: -110
Feb 24 00:13:03 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003504c: -110
Feb 24 00:13:03 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x0000ffff at 0x0003504c: -110
Feb 24 00:13:03 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003504c: -110
Feb 24 00:13:03 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0xffff0020 at 0x0003504c: -110
Feb 24 00:13:03 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00035444: -110
Feb 24 00:13:08 archlinux kernel: ath10k_pci 0000:02:00.0: failed to read device register, device is gone
Feb 24 00:13:08 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003a028: -110
Feb 24 00:13:08 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003a028: -110
Feb 24 00:13:08 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003a028: -110
Feb 24 00:13:08 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003a028: -110
Feb 24 00:13:08 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003a028: -110
Feb 24 00:13:08 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003a028: -110
Feb 24 00:13:08 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003a028: -110
Feb 24 00:13:08 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003a028: -110
Feb 24 00:13:08 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003a028: -110
Feb 24 00:13:08 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003a028: -110
Feb 24 00:13:11 archlinux kernel: ath10k_pci 0000:02:00.0: failed to read device register, device is gone
Feb 24 00:13:11 archlinux kernel: ath10k_pci 0000:02:00.0: failed to reset chip: -5
Feb 24 00:13:11 archlinux kernel: ath10k_pci 0000:02:00.0: Could not init hif: -5
Feb 24 00:13:11 archlinux kernel: ath10k_pci 0000:02:00.0: firmware crashed! (guid f08438cb-883c-496b-9286-9d8276d761a5)
Feb 24 00:13:11 archlinux kernel: ath10k_pci 0000:02:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 1a3b:2b31
Feb 24 00:13:11 archlinux kernel: ath10k_pci 0000:02:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0
Feb 24 00:13:11 archlinux kernel: Modules linked in: ccm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device snd_sof_pci_intel_apl snd_sof_intel_hda_generic soundwire_intel soundwire_cadence snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda snd_hda_codec_hdmi snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_acpi_intel_match soundwire_generic_allocation snd_soc_acpi soundwire_bus snd_soc_avs snd_soc_hda_codec snd_hda_ext_core intel_pmc_bxt snd_soc_core intel_telemetry_pltdrv snd_hda_codec_realtek intel_punit_ipc snd_hda_codec_generic snd_compress snd_hda_scodec_component intel_telemetry_core ac97_bus ath10k_pci snd_pcm_dmaengine x86_pkg_temp_thermal joydev ath10k_core snd_hda_intel mousedev intel_powerclamp snd_intel_dspcfg coretemp snd_intel_sdw_acpi ath spi_pxa2xx_platform snd_hda_codec hid_multitouch btusb uvcvideo kvm_intel dw_dmac spi_pxa2xx_core videobuf2_vmalloc hid_generic uvc btrtl snd_hda_core videobuf2_memops 8250_dw kvm mei_hdcp mei_pxp intel_rapl_msr videobuf2_v4l2 snd_hwdep btintel
Feb 24 00:13:11 archlinux kernel: ath10k_pci 0000:02:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
Feb 24 00:13:11 archlinux kernel: ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
Feb 24 00:13:11 archlinux kernel: ath10k_pci 0000:02:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
Feb 24 00:13:13 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:13:13 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:13:13 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:13:13 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:13:13 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:13:13 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:13:13 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:13:13 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:13:13 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:13:13 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00036044: -110
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: failed to read firmware dump area: -16
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: Copy Engine register dump:
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: [00]: 0x00034400 4294967295 4294967295 4294967295 4294967295
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: [01]: 0x00034800 4294967295 4294967295 4294967295 4294967295
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: [02]: 0x00034c00 4294967295 4294967295 4294967295 4294967295
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: [03]: 0x00035000 4294967295 4294967295 4294967295 4294967295
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00035448: -110
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: [04]: 0x00035400 4294967295 4294967295 4294967295 4294967295
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003583c: -110
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00035844: -110
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00035840: -110
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00035848: -110
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: [05]: 0x00035800 4294967295 4294967295 4294967295 4294967295
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00035c3c: -110
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00035c44: -110
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00035c40: -110
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x00035c48: -110
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: [06]: 0x00035c00 4294967295 4294967295 4294967295 4294967295
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for read32 at 0x0003603c: -110
Feb 24 00:13:18 archlinux kernel: ath10k_pci 0000:02:00.0: [07]: 0x00036000 4294967295 4294967295 4294967295 4294967295
Feb 24 00:13:19 archlinux kernel: Modules linked in: ccm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device snd_sof_pci_intel_apl snd_sof_intel_hda_generic soundwire_intel soundwire_cadence snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda snd_hda_codec_hdmi snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_acpi_intel_match soundwire_generic_allocation snd_soc_acpi soundwire_bus snd_soc_avs snd_soc_hda_codec snd_hda_ext_core intel_pmc_bxt snd_soc_core intel_telemetry_pltdrv snd_hda_codec_realtek intel_punit_ipc snd_hda_codec_generic snd_compress snd_hda_scodec_component intel_telemetry_core ac97_bus ath10k_pci snd_pcm_dmaengine x86_pkg_temp_thermal joydev ath10k_core snd_hda_intel mousedev intel_powerclamp snd_intel_dspcfg coretemp snd_intel_sdw_acpi ath spi_pxa2xx_platform snd_hda_codec hid_multitouch btusb uvcvideo kvm_intel dw_dmac spi_pxa2xx_core videobuf2_vmalloc hid_generic uvc btrtl snd_hda_core videobuf2_memops 8250_dw kvm mei_hdcp mei_pxp intel_rapl_msr videobuf2_v4l2 snd_hwdep btintel
Feb 24 12:37:51 archlinux kernel: ath10k_pci 0000:02:00.0: enabling device (0000 -> 0002)
Feb 24 12:37:51 archlinux kernel: ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
Feb 24 12:37:51 archlinux kernel: ath10k_pci 0000:02:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 1a3b:2b31
Feb 24 12:37:51 archlinux kernel: ath10k_pci 0000:02:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0
Feb 24 12:37:51 archlinux kernel: ath10k_pci 0000:02:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
Feb 24 12:37:51 archlinux kernel: ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
Feb 24 12:37:52 archlinux kernel: ath10k_pci 0000:02:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
Feb 24 12:37:52 archlinux kernel: ath10k_pci 0000:02:00.0 wlo1: renamed from wlan0
Feb 24 12:37:52 archlinux NetworkManager[515]: <info>  [1740371872.4500] rfkill1: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:13.3/0000:02:00.0/ieee80211/phy0/rfkill1) (driver ath10k_pci)
Feb 24 13:04:31 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x0000193d at 0x0003543c: -110
Feb 24 13:04:34 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x0000193f at 0x0003543c: -110

[user@archlinux ~]$
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: wlo1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether d0:c5:d3:fd:d4:c7 brd ff:ff:ff:ff:ff:ff
    altname wlp2s0
    altname wlxd0c5d3fdd4c7
rfkill:
ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci0   unblocked unblocked
 1 wlan      phy0   unblocked unblocked
sudo pacman -Q|grep "linux"

archlinux-appstream-data 20250202-1
archlinux-keyring 20250123-1
linux 6.13.2.arch1-1
linux-api-headers 6.13-1
linux-firmware 20250210.5bc5868b-1
linux-firmware-whence 20250210.5bc5868b-1
linux-headers 6.13.2.arch1-1
linux-lts 6.12.13-1
linux-lts-headers 6.12.13-1
util-linux 2.40.4-1
util-linux-libs 2.40.4-1

i tried other workarounds like setting a udev rule to turn off global power management:

iw dev wlo1 set power_save off
sudo nano /etc/udev/rules.d/81-wifi-powersave.rules

ACTION=="add", SUBSYSTEM=="net", KERNEL=="wl*", RUN+="/usr/bin/iw dev $name set power_save off"

I can't seem to get around this problem, so any help is appreciated smile

Last edited by backspsce (2025-03-03 04:10:54)

Offline

#2 2025-02-24 08:35:12

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,058

Re: [SOLVED] Wifi disconnecting at random times

Please use [code][/code] tags. Edit your post in this regard.
Or rather remove all of that and upload the unfiltered journal.

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Online

#3 2025-02-24 09:54:42

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

hi sorry if i didn't correctly format the post, the post is now edited. Lets get back to troubleshooting ?

Last edited by backspsce (2025-02-24 09:55:14)

Offline

#4 2025-02-24 09:58:49

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,058

Re: [SOLVED] Wifi disconnecting at random times

seth wrote:

Or rather remove all of that and upload the unfiltered journal.

This will add context to the intances where the NIC times out.

Online

#5 2025-02-24 10:02:17

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

here is the unfiltered journal: https://0x0.st/8Am8.txt

Offline

#6 2025-02-24 10:06:41

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,058

Re: [SOLVED] Wifi disconnecting at random times

This dosn't cover any disconnects?
You can access older journals using eg. "-b -3" (3 boots ago)

Online

#7 2025-02-24 10:15:17

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

here's the journal from 5 boots ago: https://0x0.st/8AmA.txt

Offline

#8 2025-02-24 10:19:07

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

another journal from 3 boots ago: https://0x0.st/8AmT.txt

Offline

#9 2025-02-24 10:24:32

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,058

Re: [SOLVED] Wifi disconnecting at random times

The last one actually has a timeout

Feb 24 17:52:51 archlinux NetworkManager[527]: <info>  [1740390771.0088] manager: NetworkManager state is now CONNECTING
Feb 24 17:52:51 archlinux systemd[1]: Created slice User Slice of UID 1000.
Feb 24 17:52:51 archlinux systemd[1]: Starting User Runtime Directory /run/user/1000...
Feb 24 17:52:51 archlinux systemd-logind[528]: New session 2 of user user.
Feb 24 17:52:51 archlinux NetworkManager[527]: <info>  [1740390771.0467] device (wlo1): set-hw-addr: reset MAC address to D0:C5:D3:FD:D4:C7 (preserve)
Feb 24 17:52:51 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000004 at 0x0003503c: -110
Feb 24 17:52:51 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000005 at 0x0003503c: -110

Try to disable https://wiki.archlinux.org/title/Networ … domization

Online

#10 2025-02-24 10:34:31

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

so, i added the line

[device]
wifi.scan-rand-mac-address=no

to

/etc/NetworkManager/NetworkManager.conf

is that correct? if so, i'll wait for any changes in my network connection if the issue still persists.

Last edited by backspsce (2025-02-24 10:36:04)

Offline

#11 2025-02-24 10:56:28

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

unfortunately, after disabling mac address randomization in the network manager config, the issue with my wifi disconnection still persists
here's the journal log 1 boot ago: https://0x0.st/8Amw.txt

Offline

#12 2025-02-24 11:40:41

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED] Wifi disconnecting at random times

Try setting the cryptmode parameter for the ath10k_core module to 1.

https://wiki.archlinux.org/title/Kernel … le_options


Jin, Jîyan, Azadî

Offline

#13 2025-02-24 12:56:38

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

so, i tried setting the cryptmode parameter for ath10k, thru modprobe.d

i go to

sudo nano /etc/modprobe.d/ath10k.conf

i add the line

options ath10k cryptmode=1

so i ran:

sudo modprobe -r ath10k
 sudo modprobe ath10k

and it gave me an error:

modprobe: FATAL: Module ath10k not found.

Offline

#14 2025-02-24 13:03:48

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED] Wifi disconnecting at random times

I said ath10k_core, not "ath10k".


Jin, Jîyan, Azadî

Offline

#15 2025-02-24 13:33:46

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

I set the cryptmode parameter of ath10k_core to 1. I will wait to see if any network connectivity issues persist.

Offline

#16 2025-02-24 13:40:35

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

when i set the cryptmode param to 1 my network is literally disconnected.

dmesg

[   47.293052] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
[   47.293065] ath10k_pci 0000:02:00.0: cryptmode > 0 requires raw mode support from firmware
[   47.293067] ath10k_pci 0000:02:00.0: fatal problem with firmware features: -22
[   47.293093] ath10k_pci 0000:02:00.0: could not probe fw (-22)

Last edited by backspsce (2025-02-24 13:41:23)

Offline

#17 2025-02-24 14:02:17

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,058

Re: [SOLVED] Wifi disconnecting at random times

Add "pci_aspm=off" to the https://wiki.archlinux.org/title/Kernel_parameters
Sanity check, though it didn't look like, but is there a parallel windows installation?

Online

#18 2025-02-24 14:41:23

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

No, there's no parallel windows installation. I fresh installed arch. anyway, I turned off PCI aspm

BOOT_IMAGE=/vmlinuz-linux-lts root=/dev/mapper/volgroup0-lv_root rw pci_aspm=off loglevel=3 cryptdevice=/dev/sdb3:volgroup 0 quiet

Network disconnection still persists

Offline

#19 2025-02-24 14:45:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,058

Re: [SOLVED] Wifi disconnecting at random times

Sorry, typo - "pcie_aspm=off"

Online

#20 2025-02-24 15:07:53

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

i turned off pcie_aspm but, unfortunately the network disconnection is still not being solved. Do you think this could be a deeper issue other than my network disconnecting? if so, do you have any idea what could it be?

[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux-lts root=/dev/mapper/volgroup0-lv_root rw pcie_aspm=off loglevel=3 cryptdevice=/dev/sdb3:volgroup0 quiet
[    0.028999] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-lts root=/dev/mapper/volgroup0-lv_root rw pcie_aspm=off loglevel=3 cryptdevice=/dev/sdb3:volgroup0 quiet
[    0.029089] PCIe ASPM is disabled
[    0.237424] acpi PNP0A08:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]

Offline

#21 2025-02-24 21:11:52

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,058

Re: [SOLVED] Wifi disconnecting at random times

Feb 24 18:45:17 archlinux kernel: ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00000a41 at 0x0003543c: -110
…
Feb 24 18:46:39 archlinux kernel: ath10k_pci 0000:02:00.0: failed to receive scan abortion completion: timed out
Feb 24 18:46:39 archlinux kernel: ath10k_pci 0000:02:00.0: failed to stop scan: -110
Feb 24 18:46:39 archlinux kernel: ath10k_pci 0000:02:00.0: failed to start hw scan: -110
…
Feb 24 18:47:14 archlinux kernel: ath10k_pci 0000:02:00.0: failed to read device register, device is gone
…
Feb 24 18:47:23 archlinux kernel: ath10k_pci 0000:02:00.0: failed to read device register, device is gone
Feb 24 18:47:23 archlinux kernel: ath10k_pci 0000:02:00.0: failed to reset chip: -5
Feb 24 18:47:23 archlinux kernel: ath10k_pci 0000:02:00.0: Could not init hif: -5

The chip doesn't wake up and causes a timeout and also cannot be reset.
Apparently it's not the wifi power saving, nor ASPM nor the MAC changes nor dual use (hibernating windows) - so we're kinda out of usual suspects.

It would seem that

Feb 24 18:39:50 archlinux wpa_supplicant[558]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-39 noise=-114 txrate=0
Feb 24 18:46:39 archlinux wpa_supplicant[558]: wlo1: CTRL-EVENT-SCAN-FAILED ret=-110

the reason for the wakeup is a scan attempt, but that might just be a random match.

You can try to replace wpa_supplicant w/ iwd resp. connect w/ iwd manually to avoid NMs scanning habits to see whether those are indeed factors/triggers.
https://wiki.archlinux.org/title/Networ … Fi_backend
https://wiki.archlinux.org/title/Iwd#Co … _a_network

Make sure to disable/stop NM before trying to connect w/ iwd manually.

Online

#22 2025-02-25 04:13:31

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

I replaced my wpa_supplicant w/ iwd and disabled NM. I'll observe any changes and check if the issue from my network disconnecting still persists.

Offline

#23 2025-02-25 08:21:11

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

unfortunately, the network is still disconnecting but this time its a bit different. Whenever i boot i can stay connected for about 10 - 15 mins and after that i would suddenly lose connection.
check out this journalctl log: https://0x0.st/8Afw.txt

Offline

#24 2025-02-25 08:31:14

backspsce
Member
Registered: 2025-02-24
Posts: 20

Re: [SOLVED] Wifi disconnecting at random times

this journalctl log from 2 boots ago : http://0x0.st/8AfE.txt i go to

iwd device list

and the network adapter is literally gone idk what caused it

Offline

#25 2025-02-25 09:01:48

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,058

Re: [SOLVED] Wifi disconnecting at random times

The chip still fails to wake up, the error message was added with https://lists.infradead.org/pipermail/a … 05180.html
According to (the old!) https://bugs.launchpad.net/ubuntu/+sour … ug/1882968 pcie_port_pm=off won't help either, nor can this fully be a firmware issue (the bug spans > 2 years)

Can you prevent this by throwing the device a life-line and keep "ping google.com" running in the background?

Last edited by seth (2025-02-25 09:02:00)

Online

Board footer

Powered by FluxBB