WiFi drops and system pauses after 5.5 update

I recently (5 days or so) ran dnf upgrade, which got me the 5.5.5 kernel, a NetworkManager-ssh upgrade, some iptables stuff, and various other assorted packages. Since that upgrade, I cannot connect to wireless networks. At the login screen, I see the connection is established. After logging in, the system hangs for 2 or 3 seconds, and then I get a bunch of warnings and cannot see any WiFi networks, despite the adapter apparently being active.

Intermittently, the system also hangs for about a second during normal usage. I can connect to the internet using an ethernet cable.

The relevant output of lspci -k is here

03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter (rev ff)
	Kernel driver in use: rtw_pci
	Kernel modules: rtwpci

I was reading about this being caused by a change in the default driver for these cards, but I’m not sure. Has anyone else run into this? Does anyone know of any solutions or possible causes?

Thanks in advance (:

2 Likes

I’ve also attached the output from dmesg here

Please, consider to use an another paste service in future.
This one may block tor users with captcha  (Cloudflare).
A Debian paste, for example, works even without a JS enabled, and has controllable expiration time too.

What about compilling a rtlwifi_new?.  rtl8822be is supported.

Sorry, wasn’t aware of that. I’ll switch to Debian paste!

I switched to the 5.4.21 kernel, and everything seems normal. There’s a slight difference in my lspci output (there is a Lenovo Subsystem detected). I wonder if the issue is related to some proprietary thing Lenovo has done that’s no longer supported?

03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
	Subsystem: Lenovo Device b023
	Kernel driver in use: rtw_pci
	Kernel modules: rtwpci
1 Like

FYI, I have the same network adapter and I have not noticed such issues on kernel 5.5.5.

The default driver changed many kernel versions ago, from I think rtw88 to rtw_pci.

I managed to get around the issue using the 5.4.21 kernel for a while, but an upgrade today broke that too. Here is my journalctl at the time of the issue

Mar 21 23:22:50 gabe-lenovo-s340 wpa_supplicant[967]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=48:d3:43:f9:44:5f reason=4 locally_generated=1
Mar 21 23:22:50 gabe-lenovo-s340 NetworkManager[855]: <warn>  [1584829370.5911] sup-iface[0x565139d9e930,wlp3s0]: connection disconnected (reason -4)
Mar 21 23:22:50 gabe-lenovo-s340 systemd[1]: geoclue.service: Succeeded.
Mar 21 23:22:50 gabe-lenovo-s340 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 21 23:22:50 gabe-lenovo-s340 wpa_supplicant[967]: dbus: wpa_dbus_property_changed: no property SessionLength in object /fi/w1/wpa_supplicant1/Interfaces/0
Mar 21 23:22:50 gabe-lenovo-s340 wpa_supplicant[967]: wlp3s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Mar 21 23:22:50 gabe-lenovo-s340 NetworkManager[855]: <info>  [1584829370.6019] device (wlp3s0): supplicant interface state: completed -> disconnected
Mar 21 23:22:52 gabe-lenovo-s340 NetworkManager[855]: <info>  [1584829372.7602] device (wlp3s0): supplicant interface state: disconnected -> scanning
Mar 21 23:22:52 gabe-lenovo-s340 kernel: rtw_pci 0000:03:00.0: mac power on failed
Mar 21 23:22:52 gabe-lenovo-s340 kernel: rtw_pci 0000:03:00.0: failed to power on mac
Mar 21 23:22:52 gabe-lenovo-s340 kernel: rtw_pci 0000:03:00.0: leave idle state failed
Mar 21 23:22:52 gabe-lenovo-s340 kernel: rtw_pci 0000:03:00.0: failed to leave ips state
Mar 21 23:22:52 gabe-lenovo-s340 kernel: rtw_pci 0000:03:00.0: failed to leave idle state
Mar 21 23:22:59 gabe-lenovo-s340 kernel: rtw_pci 0000:03:00.0: mac power on failed
Mar 21 23:22:59 gabe-lenovo-s340 kernel: rtw_pci 0000:03:00.0: failed to power on mac
Mar 21 23:22:59 gabe-lenovo-s340 kernel: rtw_pci 0000:03:00.0: leave idle state failed
Mar 21 23:22:59 gabe-lenovo-s340 kernel: rtw_pci 0000:03:00.0: failed to leave ips state
Mar 21 23:22:59 gabe-lenovo-s340 kernel: rtw_pci 0000:03:00.0: failed to leave idle state