FS#75170 - MT7921 wifi adapter dont work after suspend

Attached to Project: Arch Linux
Opened by Charlie (Charlie-any) - Sunday, 26 June 2022, 16:11 GMT
Last edited by Toolybird (Toolybird) - Monday, 17 April 2023, 06:24 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

When I close and open the lid of the laptop (Vivobook ASUS X3500PA), Wi-Fi stops working.

Additional info:

* package version(s)
linux: linux 5.18.7.arch1-1
linux-firmware: 20220610.7b71b75-1
linux-firmware-whence: 20220610.7b71b75-1

* config and/or log files etc

lspci -v | grep 0000:2d:00.0 -A10
0000:2d:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter
DeviceName: WLAN
Subsystem: AzureWave Device 4680
Flags: bus master, fast devsel, latency 0, IRQ 175, IOMMU group 15
Memory at 601c100000 (64-bit, prefetchable) [size=1M]
Memory at 601c200000 (64-bit, prefetchable) [size=16K]
Memory at 601c204000 (64-bit, prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: mt7921e
Kernel modules: mt7921e

journalctl

Jun 26 18:00:52 arch systemd-logind[606]: Lid closed.
Jun 26 18:00:52 arch systemd-logind[606]: Suspending...
Jun 26 18:00:52 arch systemd[1]: Reached target Sleep.
Jun 26 18:00:52 arch systemd[1]: Starting System Suspend...
Jun 26 18:00:52 arch kernel: PM: Image not found (code -16)
Jun 26 18:00:52 arch systemd-sleep[1929]: Entering sleep state 'suspend'...
Jun 26 18:00:52 arch kernel: PM: suspend entry (s2idle)
Jun 26 18:00:52 arch kernel: Filesystems sync: 0.001 seconds
Jun 26 18:02:47 arch kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Jun 26 18:02:47 arch kernel: OOM killer disabled.
Jun 26 18:02:47 arch kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Jun 26 18:02:47 arch kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jun 26 18:02:47 arch kernel: wlp3s0: deauthenticating from ee:1d:7f:d1:24:94 by local choice (Reason: 3=DEAUTH_LEAVING)
Jun 26 18:02:47 arch kernel: ACPI: EC: interrupt blocked
Jun 26 18:02:47 arch kernel: ACPI: EC: interrupt unblocked
Jun 26 18:02:47 arch kernel: pcieport 0000:00:1c.3: Data Link Layer Link Active not set in 1000 msec
Jun 26 18:02:47 arch kernel: mt7921e 0000:2d:00.0: can't change power state from D3cold to D0 (config space inaccessible)
Jun 26 18:02:47 arch kernel: pcieport 10000:e0:1d.0: can't derive routing for PCI INT A
Jun 26 18:02:47 arch kernel: nvme 10000:e1:00.0: PCI INT A: no GSI
Jun 26 18:02:47 arch kernel: nvme nvme0: 8/0/0 default/read/poll queues
Jun 26 18:02:47 arch kernel: mt7921e 0000:2d:00.0: can't change power state from D3cold to D0 (config space inaccessible)
Jun 26 18:02:47 arch kernel: mt7921e 0000:2d:00.0: PM: dpm_run_callback(): pci_pm_resume+0x0/0xe0 returns -5
Jun 26 18:02:47 arch kernel: mt7921e 0000:2d:00.0: PM: failed to resume async: error -5
Jun 26 18:02:47 arch kernel: mt7921e 0000:2d:00.0: Message 000046ed (seq 10) timeout
Jun 26 18:02:47 arch kernel: ------------[ cut here ]------------
Jun 26 18:02:47 arch kernel: Hardware became unavailable upon resume. This could be a software issue prior to suspend or a hardware issue.
Jun 26 18:02:47 arch kernel: mt7921e 0000:2d:00.0: chip reset
Jun 26 18:02:47 arch kernel: WARNING: CPU: 2 PID: 1938 at net/mac80211/util.c:2408 ieee80211_reconfig+0x96/0x14e0 [mac80211]
Jun 26 18:02:47 arch kernel: Modules linked in: authenc echainiv esp4 ccm cmac algif_hash algif_skcipher af_alg xt_MASQUERADE nf_conntrack_netlink nfnetlink iptable_nat nf_nat br_netfilter snd_hda_codec_hdmi bridge overlay snd_hda_codec_realtek snd_hda_codec_generic 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 snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus ledtrig_audio bnep snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine joydev spi_nor mousedev snd_hda_intel mtd intel_tcc_cooling iTCO_wdt x86_pkg_temp_thermal intel_powerclamp mei_hdcp intel_pmc_bxt mei_pxp asus_nb_wmi snd_intel_dspcfg iTCO_vendor_support coretemp snd_intel_sdw_acpi asus_wmi mt7921e kvm_intel 8021q sparse_keymap pmt_telemetry garp snd_hda_codec hid_multitouch platform_profile wmi_bmof intel_rapl_msr pmt_class mt7921_common mrp snd_hda_core kvm stp
Jun 26 18:02:47 arch kernel: mt76_connac_lib llc snd_hwdep irqbypass mt76 intel_cstate snd_pcm btusb uvcvideo btrtl intel_uncore mac80211 videobuf2_vmalloc snd_timer btbcm spi_intel_pci ipt_REJECT videobuf2_memops nf_reject_ipv4 snd i2c_i801 btintel pcspkr libarc4 spi_intel i2c_smbus mei_me soundcore videobuf2_v4l2 btmtk xt_LOG cfg80211 mei videobuf2_common nf_log_syslog bluetooth xt_multiport videodev rtsx_usb_ms ucsi_acpi memstick mc intel_lpss_pci xt_limit typec_ucsi intel_lpss ecdh_generic xt_addrtype typec rfkill idma64 xt_tcpudp roles wmi xt_conntrack vfat i2c_hid_acpi i2c_hid fat i915 int3403_thermal nf_conntrack processor_thermal_device_pci_legacy nf_defrag_ipv6 drm_buddy processor_thermal_device tpm_crb video nf_defrag_ipv4 processor_thermal_rfim tpm_tis libcrc32c ttm processor_thermal_mbox tpm_tis_core processor_thermal_rapl acpi_pad drm_dp_helper intel_rapl_common thunderbolt mac_hid acpi_tad int3400_thermal int340x_thermal_zone acpi_thermal_rel intel_gtt intel_vsec igen6_edac
Jun 26 18:02:47 arch kernel: intel_soc_dts_iosf ip6table_filter ip6_tables iptable_filter crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 rtsx_usb_sdmmc mmc_core rtsx_usb dm_crypt cbc encrypted_keys trusted asn1_encoder tee tpm rng_core dm_mod serio_raw nvme atkbd crct10dif_pclmul libps2 nvme_core crc32_pclmul vivaldi_fmap crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd xhci_pci cryptd xhci_pci_renesas vmd i8042 serio
Jun 26 18:02:47 arch kernel: CPU: 2 PID: 1938 Comm: kworker/u16:18 Not tainted 5.18.7-arch1-1 #1 b361f845a00a4369e3079c139378bcbc5b131d49
Jun 26 18:02:47 arch kernel: Hardware name: ASUSTeK COMPUTER INC. Vivobook_ASUSLaptop X3500PA_K3500PA/X3500PA, BIOS X3500PA.300 10/04/2021
Jun 26 18:02:47 arch kernel: Workqueue: events_unbound async_run_entry_fn
Jun 26 18:02:47 arch kernel: RIP: 0010:ieee80211_reconfig+0x96/0x14e0 [mac80211]
Jun 26 18:02:47 arch kernel: Code: 55 02 00 00 c6 83 7d 06 00 00 00 48 89 df e8 11 1f fc ff 41 89 c4 85 c0 0f 84 66 02 00 00 48 c7 c7 28 b0 05 c1 e8 16 f8 f4 f3 <0f> 0b eb 2d 84 c0 0f 85 95 01 00 00 c6 87 7d 06 00 00 00 e8 e2 1e
Jun 26 18:02:47 arch kernel: RSP: 0018:ffffb18207727d88 EFLAGS: 00010282
Jun 26 18:02:47 arch kernel: RAX: 0000000000000000 RBX: ffff9f9ebfb508e0 RCX: 0000000000000027
Jun 26 18:02:47 arch kernel: RDX: ffff9fa1fb6a16a8 RSI: 0000000000000001 RDI: ffff9fa1fb6a16a0
Jun 26 18:02:47 arch kernel: RBP: ffff9f9ebfb503a0 R08: ffffffffb605a9c0 R09: ffffb18207727d18
Jun 26 18:02:47 arch kernel: R10: 3fffffffffffffff R11: 000000000000006f R12: 00000000ffffff92
Jun 26 18:02:47 arch kernel: R13: 0000000000000010 R14: 0000000000000000 R15: ffff9f9f03e02c88
Jun 26 18:02:47 arch kernel: FS: 0000000000000000(0000) GS:ffff9fa1fb680000(0000) knlGS:0000000000000000
Jun 26 18:02:47 arch kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 26 18:02:47 arch kernel: CR2: 00007f0f0ec0c000 CR3: 0000000216e10006 CR4: 0000000000f70ee0
Jun 26 18:02:47 arch kernel: PKRU: 55555554
Jun 26 18:02:47 arch kernel: Call Trace:
Jun 26 18:02:47 arch kernel: <TASK>
Jun 26 18:02:47 arch kernel: ? __wait_for_common+0x19d/0x1d0
Jun 26 18:02:47 arch kernel: ? usleep_range_state+0x90/0x90
Jun 26 18:02:47 arch kernel: wiphy_resume+0x7d/0x160 [cfg80211 c0c99e63c9eecd6977fa282472c693945c507fa2]
Jun 26 18:02:47 arch kernel: ? wiphy_suspend+0x2b0/0x2b0 [cfg80211 c0c99e63c9eecd6977fa282472c693945c507fa2]
Jun 26 18:02:47 arch kernel: dpm_run_callback+0x47/0x150
Jun 26 18:02:47 arch kernel: device_resume+0xa2/0x1f0
Jun 26 18:02:47 arch kernel: async_resume+0x1d/0x30
Jun 26 18:02:47 arch kernel: async_run_entry_fn+0x31/0x130
Jun 26 18:02:47 arch kernel: process_one_work+0x1c4/0x380
Jun 26 18:02:47 arch kernel: worker_thread+0x51/0x380
Jun 26 18:02:47 arch kernel: ? rescuer_thread+0x3a0/0x3a0
Jun 26 18:02:47 arch kernel: kthread+0xdb/0x110
Jun 26 18:02:47 arch kernel: ? kthread_complete_and_exit+0x20/0x20
Jun 26 18:02:47 arch kernel: ret_from_fork+0x1f/0x30
Jun 26 18:02:47 arch kernel: </TASK>
Jun 26 18:02:47 arch kernel: ---[ end trace 0000000000000000 ]---
Jun 26 18:02:47 arch kernel: ------------[ cut here ]------------
Jun 26 18:02:47 arch kernel: wlp3s0: Failed check-sdata-in-driver check, flags: 0x4
Jun 26 18:02:47 arch kernel: WARNING: CPU: 2 PID: 1938 at net/mac80211/driver-ops.c:97 drv_remove_interface+0x111/0x120 [mac80211]
Jun 26 18:02:47 arch kernel: Modules linked in: authenc echainiv esp4 ccm cmac algif_hash algif_skcipher af_alg xt_MASQUERADE nf_conntrack_netlink nfnetlink iptable_nat nf_nat br_netfilter snd_hda_codec_hdmi bridge overlay snd_hda_codec_realtek snd_hda_codec_generic 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 snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus ledtrig_audio bnep snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine joydev spi_nor mousedev snd_hda_intel mtd intel_tcc_cooling iTCO_wdt x86_pkg_temp_thermal intel_powerclamp mei_hdcp intel_pmc_bxt mei_pxp asus_nb_wmi snd_intel_dspcfg iTCO_vendor_support coretemp snd_intel_sdw_acpi asus_wmi mt7921e kvm_intel 8021q sparse_keymap pmt_telemetry garp snd_hda_codec hid_multitouch platform_profile wmi_bmof intel_rapl_msr pmt_class mt7921_common mrp snd_hda_core kvm stp
Jun 26 18:02:47 arch kernel: mt76_connac_lib llc snd_hwdep irqbypass mt76 intel_cstate snd_pcm btusb uvcvideo btrtl intel_uncore mac80211 videobuf2_vmalloc snd_timer btbcm spi_intel_pci ipt_REJECT videobuf2_memops nf_reject_ipv4 snd i2c_i801 btintel pcspkr libarc4 spi_intel i2c_smbus mei_me soundcore videobuf2_v4l2 btmtk xt_LOG cfg80211 mei videobuf2_common nf_log_syslog bluetooth xt_multiport videodev rtsx_usb_ms ucsi_acpi memstick mc intel_lpss_pci xt_limit typec_ucsi intel_lpss ecdh_generic xt_addrtype typec rfkill idma64 xt_tcpudp roles wmi xt_conntrack vfat i2c_hid_acpi i2c_hid fat i915 int3403_thermal nf_conntrack processor_thermal_device_pci_legacy nf_defrag_ipv6 drm_buddy processor_thermal_device tpm_crb video nf_defrag_ipv4 processor_thermal_rfim tpm_tis libcrc32c ttm processor_thermal_mbox tpm_tis_core processor_thermal_rapl acpi_pad drm_dp_helper intel_rapl_common thunderbolt mac_hid acpi_tad int3400_thermal int340x_thermal_zone acpi_thermal_rel intel_gtt intel_vsec igen6_edac
Jun 26 18:02:47 arch kernel: intel_soc_dts_iosf ip6table_filter ip6_tables iptable_filter crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 rtsx_usb_sdmmc mmc_core rtsx_usb dm_crypt cbc encrypted_keys trusted asn1_encoder tee tpm rng_core dm_mod serio_raw nvme atkbd crct10dif_pclmul libps2 nvme_core crc32_pclmul vivaldi_fmap crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd xhci_pci cryptd xhci_pci_renesas vmd i8042 serio
Jun 26 18:02:47 arch kernel: CPU: 2 PID: 1938 Comm: kworker/u16:18 Tainted: G W 5.18.7-arch1-1 #1 b361f845a00a4369e3079c139378bcbc5b131d49
Jun 26 18:02:47 arch kernel: Hardware name: ASUSTeK COMPUTER INC. Vivobook_ASUSLaptop X3500PA_K3500PA/X3500PA, BIOS X3500PA.300 10/04/2021
Jun 26 18:02:47 arch kernel: Workqueue: events_unbound async_run_entry_fn
Jun 26 18:02:47 arch kernel: RIP: 0010:drv_remove_interface+0x111/0x120 [mac80211]
Jun 26 18:02:47 arch kernel: Code: ff ff 48 8b 83 88 04 00 00 48 8d b3 a8 04 00 00 48 c7 c7 00 a1 05 c1 c6 05 f8 97 0e 00 01 48 85 c0 48 0f 45 f0 e8 9b d3 f8 f3 <0f> 0b e9 32 ff ff ff 0f 1f 84 00 00 00 00 00 66 0f 1f 00 0f 1f 44
Jun 26 18:02:47 arch kernel: RSP: 0018:ffffb18207727c50 EFLAGS: 00010286
Jun 26 18:02:47 arch kernel: RAX: 0000000000000000 RBX: ffff9f9ec27a49c0 RCX: 0000000000000027
Jun 26 18:02:47 arch kernel: RDX: ffff9fa1fb6a16a8 RSI: 0000000000000001 RDI: ffff9fa1fb6a16a0
Jun 26 18:02:47 arch kernel: RBP: ffff9f9ebfb508e0 R08: ffffffffb605a9c0 R09: 0000000000000000
Jun 26 18:02:47 arch kernel: R10: ffffffffffffffff R11: ffffffffb68f97a6 R12: ffff9f9ebfb508e0
Jun 26 18:02:47 arch kernel: R13: ffff9f9ec27a5848 R14: ffff9f9ebfb51248 R15: 0000000000000000
Jun 26 18:02:47 arch kernel: FS: 0000000000000000(0000) GS:ffff9fa1fb680000(0000) knlGS:0000000000000000
Jun 26 18:02:47 arch kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 26 18:02:47 arch kernel: CR2: 00007f0f0ec0c000 CR3: 0000000216e10006 CR4: 0000000000f70ee0
Jun 26 18:02:47 arch kernel: PKRU: 55555554
Jun 26 18:02:47 arch kernel: Call Trace:
Jun 26 18:02:47 arch kernel: <TASK>
Jun 26 18:02:47 arch kernel: ieee80211_do_stop+0x653/0x880 [mac80211 6140d03c1a0bdbe2f1f29064d582094a6e8eabbe]
Jun 26 18:02:47 arch kernel: ieee80211_stop+0x41/0x170 [mac80211 6140d03c1a0bdbe2f1f29064d582094a6e8eabbe]
Jun 26 18:02:47 arch kernel: __dev_close_many+0x9b/0x110
Jun 26 18:02:47 arch kernel: dev_close_many+0x8f/0x140
Jun 26 18:02:47 arch kernel: ? ieee80211_sched_scan_end+0x1d/0x60 [mac80211 6140d03c1a0bdbe2f1f29064d582094a6e8eabbe]
Jun 26 18:02:47 arch kernel: dev_close+0x80/0xb0
Jun 26 18:02:47 arch kernel: cfg80211_shutdown_all_interfaces+0x4d/0xf0 [cfg80211 c0c99e63c9eecd6977fa282472c693945c507fa2]
Jun 26 18:02:47 arch kernel: wiphy_resume+0x98/0x160 [cfg80211 c0c99e63c9eecd6977fa282472c693945c507fa2]
Jun 26 18:02:47 arch kernel: ? wiphy_suspend+0x2b0/0x2b0 [cfg80211 c0c99e63c9eecd6977fa282472c693945c507fa2]
Jun 26 18:02:47 arch kernel: dpm_run_callback+0x47/0x150
Jun 26 18:02:47 arch kernel: device_resume+0xa2/0x1f0
Jun 26 18:02:47 arch kernel: async_resume+0x1d/0x30
Jun 26 18:02:47 arch kernel: async_run_entry_fn+0x31/0x130
Jun 26 18:02:47 arch kernel: process_one_work+0x1c4/0x380
Jun 26 18:02:47 arch kernel: worker_thread+0x51/0x380
Jun 26 18:02:47 arch kernel: ? rescuer_thread+0x3a0/0x3a0
Jun 26 18:02:47 arch kernel: kthread+0xdb/0x110
Jun 26 18:02:47 arch kernel: ? kthread_complete_and_exit+0x20/0x20
Jun 26 18:02:47 arch kernel: ret_from_fork+0x1f/0x30
Jun 26 18:02:47 arch kernel: </TASK>
Jun 26 18:02:47 arch kernel: ---[ end trace 0000000000000000 ]---
Jun 26 18:02:47 arch kernel: ------------[ cut here ]------------
Jun 26 18:02:47 arch kernel: WARNING: CPU: 2 PID: 1938 at net/mac80211/driver-ops.c:36 drv_stop+0xf2/0x100 [mac80211]
Jun 26 18:02:47 arch kernel: Modules linked in: authenc echainiv esp4 ccm cmac algif_hash algif_skcipher af_alg xt_MASQUERADE nf_conntrack_netlink nfnetlink iptable_nat nf_nat br_netfilter snd_hda_codec_hdmi bridge overlay snd_hda_codec_realtek snd_hda_codec_generic 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 snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus ledtrig_audio bnep snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine joydev spi_nor mousedev snd_hda_intel mtd intel_tcc_cooling iTCO_wdt x86_pkg_temp_thermal intel_powerclamp mei_hdcp intel_pmc_bxt mei_pxp asus_nb_wmi snd_intel_dspcfg iTCO_vendor_support coretemp snd_intel_sdw_acpi asus_wmi mt7921e kvm_intel 8021q sparse_keymap pmt_telemetry garp snd_hda_codec hid_multitouch platform_profile wmi_bmof intel_rapl_msr pmt_class mt7921_common mrp snd_hda_core kvm stp
Jun 26 18:02:47 arch kernel: mt76_connac_lib llc snd_hwdep irqbypass mt76 intel_cstate snd_pcm btusb uvcvideo btrtl intel_uncore mac80211 videobuf2_vmalloc snd_timer btbcm spi_intel_pci ipt_REJECT videobuf2_memops nf_reject_ipv4 snd i2c_i801 btintel pcspkr libarc4 spi_intel i2c_smbus mei_me soundcore videobuf2_v4l2 btmtk xt_LOG cfg80211 mei videobuf2_common nf_log_syslog bluetooth xt_multiport videodev rtsx_usb_ms ucsi_acpi memstick mc intel_lpss_pci xt_limit typec_ucsi intel_lpss ecdh_generic xt_addrtype typec rfkill idma64 xt_tcpudp roles wmi xt_conntrack vfat i2c_hid_acpi i2c_hid fat i915 int3403_thermal nf_conntrack processor_thermal_device_pci_legacy nf_defrag_ipv6 drm_buddy processor_thermal_device tpm_crb video nf_defrag_ipv4 processor_thermal_rfim tpm_tis libcrc32c ttm processor_thermal_mbox tpm_tis_core processor_thermal_rapl acpi_pad drm_dp_helper intel_rapl_common thunderbolt mac_hid acpi_tad int3400_thermal int340x_thermal_zone acpi_thermal_rel intel_gtt intel_vsec igen6_edac
Jun 26 18:02:47 arch kernel: intel_soc_dts_iosf ip6table_filter ip6_tables iptable_filter crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 rtsx_usb_sdmmc mmc_core rtsx_usb dm_crypt cbc encrypted_keys trusted asn1_encoder tee tpm rng_core dm_mod serio_raw nvme atkbd crct10dif_pclmul libps2 nvme_core crc32_pclmul vivaldi_fmap crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd xhci_pci cryptd xhci_pci_renesas vmd i8042 serio
Jun 26 18:02:47 arch kernel: CPU: 2 PID: 1938 Comm: kworker/u16:18 Tainted: G W 5.18.7-arch1-1 #1 b361f845a00a4369e3079c139378bcbc5b131d49
Jun 26 18:02:47 arch kernel: Hardware name: ASUSTeK COMPUTER INC. Vivobook_ASUSLaptop X3500PA_K3500PA/X3500PA, BIOS X3500PA.300 10/04/2021
Jun 26 18:02:47 arch kernel: Workqueue: events_unbound async_run_entry_fn
Jun 26 18:02:47 arch kernel: RIP: 0010:drv_stop+0xf2/0x100 [mac80211]
Jun 26 18:02:47 arch kernel: Code: 0f 00 48 85 c0 74 0c 48 8b 78 08 48 89 de e8 d5 64 04 00 65 ff 0d 0e 98 06 3f 0f 85 4e ff ff ff e8 16 b4 44 f3 e9 44 ff ff ff <0f> 0b 5b c3 cc 66 0f 1f 84 00 00 00 00 00 66 0f 1f 00 0f 1f 44 00
Jun 26 18:02:47 arch kernel: RSP: 0018:ffffb18207727c58 EFLAGS: 00010246
Jun 26 18:02:47 arch kernel: RAX: 0000000000000000 RBX: ffff9f9ebfb508e0 RCX: ffff9f9e88153468
Jun 26 18:02:47 arch kernel: RDX: 0000000000000000 RSI: 0000000000000282 RDI: ffff9f9ebfb508e0
Jun 26 18:02:47 arch kernel: RBP: ffff9f9ebfb51b78 R08: ffffffffb605a9c0 R09: 0000000000000000
Jun 26 18:02:47 arch kernel: R10: ffffffffffffffff R11: ffffffffb68f97a6 R12: ffff9f9ebfb508e0
Jun 26 18:02:47 arch kernel: R13: ffff9f9ec27a5848 R14: ffff9f9ebfb51248 R15: 0000000000000000
Jun 26 18:02:47 arch kernel: FS: 0000000000000000(0000) GS:ffff9fa1fb680000(0000) knlGS:0000000000000000
Jun 26 18:02:47 arch kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 26 18:02:47 arch kernel: CR2: 00007f0f0ec0c000 CR3: 0000000216e10006 CR4: 0000000000f70ee0
Jun 26 18:02:47 arch kernel: PKRU: 55555554
Jun 26 18:02:47 arch kernel: Call Trace:
Jun 26 18:02:47 arch kernel: <TASK>
Jun 26 18:02:47 arch kernel: ieee80211_do_stop+0x685/0x880 [mac80211 6140d03c1a0bdbe2f1f29064d582094a6e8eabbe]
Jun 26 18:02:47 arch kernel: ieee80211_stop+0x41/0x170 [mac80211 6140d03c1a0bdbe2f1f29064d582094a6e8eabbe]
Jun 26 18:02:47 arch kernel: __dev_close_many+0x9b/0x110
Jun 26 18:02:47 arch kernel: dev_close_many+0x8f/0x140
Jun 26 18:02:47 arch kernel: ? ieee80211_sched_scan_end+0x1d/0x60 [mac80211 6140d03c1a0bdbe2f1f29064d582094a6e8eabbe]
Jun 26 18:02:47 arch kernel: dev_close+0x80/0xb0
Jun 26 18:02:47 arch kernel: cfg80211_shutdown_all_interfaces+0x4d/0xf0 [cfg80211 c0c99e63c9eecd6977fa282472c693945c507fa2]
Jun 26 18:02:47 arch kernel: wiphy_resume+0x98/0x160 [cfg80211 c0c99e63c9eecd6977fa282472c693945c507fa2]
Jun 26 18:02:47 arch kernel: ? wiphy_suspend+0x2b0/0x2b0 [cfg80211 c0c99e63c9eecd6977fa282472c693945c507fa2]
Jun 26 18:02:47 arch kernel: dpm_run_callback+0x47/0x150
Jun 26 18:02:47 arch kernel: device_resume+0xa2/0x1f0
Jun 26 18:02:47 arch kernel: async_resume+0x1d/0x30
Jun 26 18:02:47 arch kernel: async_run_entry_fn+0x31/0x130
Jun 26 18:02:47 arch kernel: process_one_work+0x1c4/0x380
Jun 26 18:02:47 arch kernel: worker_thread+0x51/0x380
Jun 26 18:02:47 arch kernel: ? rescuer_thread+0x3a0/0x3a0
Jun 26 18:02:47 arch kernel: kthread+0xdb/0x110
Jun 26 18:02:47 arch kernel: ? kthread_complete_and_exit+0x20/0x20
Jun 26 18:02:47 arch kernel: ret_from_fork+0x1f/0x30
Jun 26 18:02:47 arch kernel: </TASK>
Jun 26 18:02:47 arch kernel: ---[ end trace 0000000000000000 ]---
Jun 26 18:02:47 arch kernel: ieee80211 phy0: PM: dpm_run_callback(): wiphy_resume+0x0/0x160 [cfg80211] returns -110
Jun 26 18:02:47 arch kernel: ieee80211 phy0: PM: failed to resume async: error -110
Jun 26 18:02:47 arch kernel: OOM killer enabled.
Jun 26 18:02:47 arch kernel: Restarting tasks ...
Jun 26 18:02:47 arch kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
Jun 26 18:02:47 arch kernel: mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
Jun 26 18:02:47 arch kernel: done.
Jun 26 18:02:47 arch systemd-logind[606]: Lid opened.
Jun 26 18:02:47 arch systemd-sleep[1929]: System returned from sleep state.
Jun 26 18:02:47 arch systemd[1]: systemd-suspend.service: Deactivated successfully.
Jun 26 18:02:47 arch systemd[1]: Finished System Suspend.
Jun 26 18:02:47 arch systemd[1]: Stopped target Sleep.
Jun 26 18:02:47 arch systemd[1]: Reached target Suspend.
Jun 26 18:02:47 arch systemd[1]: Stopped target Suspend.
Jun 26 18:02:47 arch kernel: PM: suspend exit
Jun 26 18:02:47 arch kernel: kauditd_printk_skb: 38 callbacks suppressed
Jun 26 18:02:47 arch systemd-logind[606]: Operation 'sleep' finished.
Jun 26 18:02:48 arch kernel: mt7921e 0000:2d:00.0: driver own failed
Jun 26 18:02:48 arch kernel: ------------[ cut here ]------------
Jun 26 18:02:48 arch kernel: WARNING: CPU: 7 PID: 1963 at kernel/kthread.c:659 kthread_park+0x7f/0x90
Jun 26 18:02:48 arch kernel: Modules linked in: authenc echainiv esp4 ccm cmac algif_hash algif_skcipher af_alg xt_MASQUERADE nf_conntrack_netlink nfnetlink iptable_nat nf_nat br_netfilter snd_hda_codec_hdmi bridge overlay snd_hda_codec_realtek snd_hda_codec_generic 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 snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus ledtrig_audio bnep snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine joydev spi_nor mousedev snd_hda_intel mtd intel_tcc_cooling iTCO_wdt x86_pkg_temp_thermal intel_powerclamp mei_hdcp intel_pmc_bxt mei_pxp asus_nb_wmi snd_intel_dspcfg iTCO_vendor_support coretemp snd_intel_sdw_acpi asus_wmi mt7921e kvm_intel 8021q sparse_keymap pmt_telemetry garp snd_hda_codec hid_multitouch platform_profile wmi_bmof intel_rapl_msr pmt_class mt7921_common mrp snd_hda_core kvm stp
Jun 26 18:02:48 arch kernel: mt76_connac_lib llc snd_hwdep irqbypass mt76 intel_cstate snd_pcm btusb uvcvideo btrtl intel_uncore mac80211 videobuf2_vmalloc snd_timer btbcm spi_intel_pci ipt_REJECT videobuf2_memops nf_reject_ipv4 snd i2c_i801 btintel pcspkr libarc4 spi_intel i2c_smbus mei_me soundcore videobuf2_v4l2 btmtk xt_LOG cfg80211 mei videobuf2_common nf_log_syslog bluetooth xt_multiport videodev rtsx_usb_ms ucsi_acpi memstick mc intel_lpss_pci xt_limit typec_ucsi intel_lpss ecdh_generic xt_addrtype typec rfkill idma64 xt_tcpudp roles wmi xt_conntrack vfat i2c_hid_acpi i2c_hid fat i915 int3403_thermal nf_conntrack processor_thermal_device_pci_legacy nf_defrag_ipv6 drm_buddy processor_thermal_device tpm_crb video nf_defrag_ipv4 processor_thermal_rfim tpm_tis libcrc32c ttm processor_thermal_mbox tpm_tis_core processor_thermal_rapl acpi_pad drm_dp_helper intel_rapl_common thunderbolt mac_hid acpi_tad int3400_thermal int340x_thermal_zone acpi_thermal_rel intel_gtt intel_vsec igen6_edac
Jun 26 18:02:48 arch kernel: intel_soc_dts_iosf ip6table_filter ip6_tables iptable_filter crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 rtsx_usb_sdmmc mmc_core rtsx_usb dm_crypt cbc encrypted_keys trusted asn1_encoder tee tpm rng_core dm_mod serio_raw nvme atkbd crct10dif_pclmul libps2 nvme_core crc32_pclmul vivaldi_fmap crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd xhci_pci cryptd xhci_pci_renesas vmd i8042 serio
Jun 26 18:02:48 arch kernel: CPU: 7 PID: 1963 Comm: kworker/u16:43 Tainted: G W 5.18.7-arch1-1 #1 b361f845a00a4369e3079c139378bcbc5b131d49
Jun 26 18:02:48 arch kernel: Hardware name: ASUSTeK COMPUTER INC. Vivobook_ASUSLaptop X3500PA_K3500PA/X3500PA, BIOS X3500PA.300 10/04/2021
Jun 26 18:02:48 arch kernel: Workqueue: mt76 mt7921_mac_reset_work [mt7921_common]
Jun 26 18:02:48 arch kernel: RIP: 0010:kthread_park+0x7f/0x90
Jun 26 18:02:48 arch kernel: Code: 89 df e8 d4 76 01 00 48 85 c0 74 27 31 c0 5b 5d c3 cc 0f 0b 48 8b ab d0 06 00 00 a8 04 74 af 0f 0b b8 da ff ff ff 5b 5d c3 cc <0f> 0b b8 f0 ff ff ff eb db 0f 0b eb d5 0f 1f 40 00 f3 0f 1e fa 0f
Jun 26 18:02:48 arch kernel: RSP: 0018:ffffb182077dfe00 EFLAGS: 00010202
Jun 26 18:02:48 arch kernel: RAX: 0000000000000004 RBX: ffff9f9e88068000 RCX: 0000000000000000
Jun 26 18:02:48 arch kernel: RDX: 0000000000000003 RSI: 0000000000000003 RDI: ffff9f9e88068000
Jun 26 18:02:48 arch kernel: RBP: ffff9f9ec2df8980 R08: ffff9f9ebfb524a0 R09: 00000000fffffff0
Jun 26 18:02:48 arch kernel: R10: 0000000000000003 R11: ffffffffb60caa08 R12: ffff9f9ebfb508e0
Jun 26 18:02:48 arch kernel: R13: ffff9f9ebfb520e0 R14: ffff9f9ebfb58610 R15: ffff9f9ebfb52430
Jun 26 18:02:48 arch kernel: FS: 0000000000000000(0000) GS:ffff9fa1fb7c0000(0000) knlGS:0000000000000000
Jun 26 18:02:48 arch kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 26 18:02:48 arch kernel: CR2: 00007fa3ed3f9000 CR3: 0000000144154003 CR4: 0000000000f70ee0
Jun 26 18:02:48 arch kernel: PKRU: 55555554
Jun 26 18:02:48 arch kernel: Call Trace:
Jun 26 18:02:48 arch kernel: <TASK>
Jun 26 18:02:48 arch kernel: mt7921e_mac_reset+0xa2/0x2e0 [mt7921e b0c4f9a491a5e6421b14fc0ecc71bccb8e700266]
Jun 26 18:02:48 arch kernel: mt7921_mac_reset_work+0xa0/0x14e [mt7921_common 5ee4cf6e6bf83ef23eb988a63c8d577bd120d6e9]
Jun 26 18:02:48 arch kernel: process_one_work+0x1c4/0x380
Jun 26 18:02:48 arch kernel: worker_thread+0x51/0x380
Jun 26 18:02:48 arch kernel: ? rescuer_thread+0x3a0/0x3a0
Jun 26 18:02:48 arch kernel: kthread+0xdb/0x110
Jun 26 18:02:48 arch kernel: ? kthread_complete_and_exit+0x20/0x20
Jun 26 18:02:48 arch kernel: ret_from_fork+0x1f/0x30
Jun 26 18:02:48 arch kernel: </TASK>
Jun 26 18:02:48 arch kernel: ---[ end trace 0000000000000000 ]---
Jun 26 18:03:20 arch kernel: kauditd_printk_skb: 10 callbacks suppressed

Steps to reproduce:

This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 17 April 2023, 06:24 GMT
Reason for closing:  Upstream
Additional comments about closing:  Hopefully upstream will address the kernel bugzilla ticket and/or fix the issue some time soon. Nothing we can do until then.
Comment by Arisa Snowbell (Arisa) - Sunday, 26 June 2022, 21:17 GMT
For me it was happening with older kernel with this wifi chip but it got fixed in newer one's and it doesn't happen anymore, are you sure you restarted and are using the latest kernel?
Comment by Charlie (Charlie-any) - Monday, 27 June 2022, 06:28 GMT
Arisa Snowbell, Hi, yes i tried to do it on version 5.18.7.arch1-1 with reboot and poweroff.

> uname -a
Linux arch 5.18.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 25 Jun 2022 20:22:01 +0000 x86_64 GNU/Linux
Comment by Toolybird (Toolybird) - Tuesday, 02 August 2022, 06:05 GMT Comment by Charlie (Charlie-any) - Saturday, 06 August 2022, 19:43 GMT
Toolybird, Hi, thx for link. I try apply patch but wi-fi module not work after suspend.
Comment by Tomáš Faikl (rampaq) - Saturday, 17 September 2022, 13:17 GMT
Hi, I'm having the exact same issue ("Unable to change power state from D3cold to D0, device inaccesible")- after S3 suspend or lid-close, wifi disappears and most of the system freezes (for example `dmesg`, `journalctl` or `modprobe` hang indefinitely).

Iˇm using Vivobook_ASUSLaptop X3500PHB_K3500PH.

Running `modprobe -r mt7921e`, suspending, and reloading `modprobe mt7921e` does not freeze or hang after suspension, althought the wifi adapter will not show in NetworkManager afterwards.

I'm using 5.19.8-hardened2-1-hardened. Although linux-lts 5.15.70-1 has the same problem, as I tested.
Comment by Toolybird (Toolybird) - Sunday, 16 October 2022, 20:26 GMT
Looking at the latest commits [1], there's a good chance this is fixed. Can anyone confirm?

[1] https://github.com/archlinux/linux/commits/v6.0.2-arch1/drivers/net/wireless/mediatek/mt76/mt7921
Comment by Toolybird (Toolybird) - Thursday, 17 November 2022, 08:22 GMT
No response. It's more than likely fixed.
Comment by Tomáš Faikl (rampaq) - Tuesday, 14 March 2023, 19:55 GMT
  • Field changed: Percent Complete (100% → 0%)
The issue still persist with exactly the same error log. I'm running the newest hardened kernel, the issue is present also in newest lts kernel (6.1.18-1-lts).
Comment by Toolybird (Toolybird) - Tuesday, 14 March 2023, 19:56 GMT
Upstream issue. Arch cannot fix this kind of problem. Please report it upstream to the kernel folks with a pointer back to this ticket.
Comment by Charlie (Charlie-any) - Thursday, 16 March 2023, 18:20 GMT
This bug in kernel upstream bugtracker.
https://bugzilla.kernel.org/show_bug.cgi?id=215463#c4
Comment by Charlie (Charlie-any) - Thursday, 16 March 2023, 18:25 GMT

Loading...