Created attachment 1676476 [details] Wifi drivers rtw88 / rtwpci keeps crashing Created attachment 1676476 [details] Wifi drivers rtw88 / rtwpci keeps crashing 1. Please describe the problem: Wifi driver keeps craching and won't re-enable without power down / restart. Crashes after a minute or five. Unpredictable. 2. What is the Version-Release number of the kernel: kernel-core-5.5.13-200.fc31 3. Did it work previously in Fedora? If so, what kernel version did the issue *first* appear? Old kernels are available for download at https://koji.fedoraproject.org/koji/packageinfo?packageID=8 : Yes did work previously, but may not have been this driver. Seemed to first appear in kernel 5.5 4. Can you reproduce this issue? If so, please provide the steps to reproduce the issue below: Always occurs. 5. Does this problem occur with the latest Rawhide kernel? To install the Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by ``sudo dnf update --enablerepo=rawhide kernel`` Don't know will try. 6. Are you running any modules that not shipped with directly Fedora's kernel?: No 7. Please attach the kernel logs. You can get the complete kernel log for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the issue occurred on a previous boot, use the journalctl ``-b`` flag. From ABRT backtrace WARNING: CPU: 5 PID: 196 at drivers/net/wireless/realtek/rtw88/pci.c:1109 rtw_dbi_read8.constprop.0+0xa0/0xb0 [rtwpci] Modules linked in: uinput rfcomm ccm xt_CHECKSUM xt_MASQUERADE nf_nat_tftp nf_conntrack_tftp tun bridge stp llc nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_REJECT nf_reject_ipv6 ip6t_rpfilter ipt_REJECT nf_reject_ipv4 xt_conntrack ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter cmac bnep sunrpc vfat fat intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_hdmi snd_hda_codec_conexant kvm snd_hda_codec_generic rtwpci irqbypass rtw88 snd_hda_intel snd_intel_dspcfg iTCO_wdt snd_hda_codec uvcvideo crct10dif_pclmul videobuf2_vmalloc mac80211 mei_hdcp iTCO_vendor_support videobuf2_memops crc32_pclmul snd_hda_core ghash_clmulni_intel videobuf2_v4l2 btusb intel_cstate snd_hwdep videobuf2_common intel_uncore btrtl btbcm intel_rapl_perf snd_seq videodev snd_seq_device btintel cfg80211 snd_pcm wmi_bmof intel_wmi_thunderbolt pcspkr bluetooth joydev mc snd_timer i2c_i801 mei_me thinkpad_acpi libarc4 ecdh_generic ledtrig_audio ecc mei intel_pch_thermal snd soundcore rfkill acpi_pad ip_tables nouveau i915 sdhci_pci cqhci sdhci nvme mxm_wmi ttm i2c_algo_bit nvme_core crc32c_intel drm_kms_helper mmc_core serio_raw r8169 drm hid_logitech ff_memless wmi usb_storage video fuse CPU: 5 PID: 196 Comm: kworker/u16:2 Tainted: G W 5.5.10-200.fc31.x86_64 #1 Hardware name: LENOVO 20JAA00EAU/20JAA00EAU, BIOS R0MET35W (1.12 ) 09/01/2017 Workqueue: phy0 ieee80211_scan_work [mac80211] RIP: 0010:rtw_dbi_read8.constprop.0+0xa0/0xb0 [rtwpci] Code: be ed 03 00 00 48 8b 40 40 e8 fc c4 55 c9 5b 5d 41 88 04 24 31 c0 41 5c c3 be 19 07 00 00 48 c7 c7 60 72 8a c0 e8 b2 d5 83 c8 <0f> 0b b8 fb ff ff ff 5b 5d 41 5c c3 0f 1f 40 00 0f 1f 44 00 00 55 RSP: 0018:ffffafe400383d18 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000007 RDX: 0000000000000007 RSI: 0000000000000086 RDI: ffff88db8f559cc0 RBP: ffff88db89c59e80 R08: 0000000000000570 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000001 R12: ffffafe400383d3f R13: 0000000000000004 R14: ffff88db89c5db98 R15: ffff88db74dc88c0 FS: 0000000000000000(0000) GS:ffff88db8f540000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055aca20fa278 CR3: 000000031160a006 CR4: 00000000003606e0 Call Trace: rtw_pci_link_ps+0x4a/0x80 [rtwpci] rtw_enter_ips+0x38/0x40 [rtw88] rtw_ops_config+0x41/0xa0 [rtw88] ieee80211_hw_config+0x8d/0x390 [mac80211] __ieee80211_scan_completed+0xf5/0x3b0 [mac80211] ? __switch_to_asm+0x40/0x70 ieee80211_scan_work+0x116/0x4f0 [mac80211] process_one_work+0x1b5/0x360 worker_thread+0x50/0x3c0 kthread+0xf9/0x130 ? process_one_work+0x360/0x360 ? kthread_park+0x90/0x90 ret_from_fork+0x35/0x40
Tried, but failed to install rawhide kernel : GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-31-x86_64 (0x3C3359C4) is already installed The GPG keys listed for the "Fedora - Rawhide - Developmental packages for the next Fedora release" repository are already installed but they are not correct for this package.
Testing with Kernel 5.4.17-200.fc31.x86_64. This kernel seems to work without problem and wifi doesn't show any issues AFAICT.
Failing code seems to have been added in this commit https://github.com/torvalds/linux/commit/d2e2c47e65af7310ad7d40ebf4cbb1d898719ec2 - enable CLKREQ function if host supports it
Upstream bug https://bugzilla.kernel.org/show_bug.cgi?id=206411
Just upgraded to Fedora 32. Still broken.
Upstream bug has been closed fixed in Kernel 5.8.3 Requires entry in /etc/modprobe.d: options rtw88_pci disable_aspm=1