I have a somewhat fresh installation of Manjaro GNOME on my Lenovo Legion Y530 laptop, and while at first Wi-Fi was working properly, after some time it started disconnecting randomly not long after startup. At first rebooting the system several times helped with this problem, but such an approach works very rarely now. A parallel installation of Windows 10 has its Wi-Fi still working properly, so the hardware seems to be intact.
A moderate amount of searching for info has pointed out to me that this might be a Realtek RTL8822BE Wi-FI adapter problem which I’ve tried fixing by:
- following this piece of advice:
https://bbs.archlinux.org/viewtopic.php?id=260589
, - installing the
rtw88-dkms-git
package from AUR (https://aur.archlinux.org/packages/rtw88-dkms-git/
),
but to no avail as of now.
I had the exact same problem two months ago on a Manjaro KDE installation, but I recall fixing it by downgrading the kernel which I’d like to avoid this time. Some solutions online also suggest disabling Bluetooth drivers which is something I’d like to avoid as well.
inxi --admin --verbosity=7 --filter --no-host --width
output:
System:
Kernel: 5.13.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64
root=UUID=84d67fcd-a628-441f-b13d-0c7e6cb4d56c rw quiet udev.log_priority=3
pcie_aspm.policy=performance
Desktop: GNOME 40.4 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 40.1
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 81FV v: Lenovo Legion Y530-15ICH
serial: <filter> Chassis: type: 10 v: Lenovo Legion Y530-15ICH
serial: <filter>
Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <filter> UEFI: LENOVO
v: 8JCN25WW date: 06/15/2018
Battery:
ID-1: BAT0 charge: 39.9 Wh (95.9%) condition: 41.6/52.5 Wh (79.2%)
volts: 12.6 min: 11.2 model: SMP L17M3PG1 type: Li-poly serial: <filter>
status: Unknown
Memory:
RAM: total: 11.57 GiB used: 2.89 GiB (25.0%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP
arch: Kaby Lake note: check family: 6 model-id: 9E (158) stepping: A (10)
microcode: EA cache: L2: 9 MiB bogomips: 52815
Speed: 849 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 849 2: 800 3: 801
4: 800 5: 800 6: 800 7: 812 8: 811 9: 799 10: 800 11: 800 12: 800
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art
avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid
cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est
f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window
hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm
mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat
pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts
rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1
sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
xsaves xtopology xtpr
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Lenovo
driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:3e9b class-ID: 0300
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Lenovo
driver: nouveau v: kernel bus-ID: 01:00.0 chip-ID: 10de:1c8d class-ID: 0300
Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
bus-ID: 1-6:3 chip-ID: 13d3:56a6 class-ID: 0e02 serial: <filter>
Display: wayland server: X.org 1.20.13 compositor: gnome-shell driver:
loaded: nouveau note: n/a (using device driver) - try sudo/root
display-ID: 0 resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 21.2.1
direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:a348 class-ID: 0403
Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fb9 class-ID: 0403
Sound Server-1: ALSA v: k5.13.15-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.35 running: no
Network:
Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter driver: rtw_8822be
v: kernel modules: rtw88_8822be port: 5000 bus-ID: 07:00.0
chip-ID: 10ec:b822 class-ID: 0280
IF: wlp7s0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel port: 3000 bus-ID: 08:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp8s0 state: up speed: 100 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Realtek RTL8822BE Bluetooth 4.2 Adapter type: USB driver: btusb
v: 0.8 bus-ID: 1-14:4 chip-ID: 0bda:b023 class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.14 TiB used: 156.14 GiB (13.4%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO 250GB
size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: 2B2QEXE7 temp: 36.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM049-2GH172
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 7200 serial: <filter> rev: LXM3 scheme: MBR
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 47.23 GiB size: 46.18 GiB (97.79%) used: 8.32 GiB (18.0%)
fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A
uuid: 84d67fcd-a628-441f-b13d-0c7e6cb4d56c
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 25.3 MiB (26.3%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
label: N/A uuid: 32E7-E428
ID-3: /home/<filter>/shared raw-size: 882.68 GiB size: 882.68 GiB (100.00%)
used: 147.8 GiB (16.7%) fs: ntfs dev: /dev/sda1 maj-min: 8:1 label: HDD
uuid: 802043D92043D536
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 185.05 GiB fs: ntfs label: N/A
uuid: D82EFF4D2EFF22E4
ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 508 MiB fs: ntfs label: N/A
uuid: 5AC47637C476160B
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-1:2 info: Razer USA DeathAdder Essential type: Mouse,Keyboard
driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
power: 500mA chip-ID: 1532:006e class-ID: 0300
Device-2: 1-6:3 info: IMC Networks Integrated Camera type: Video
driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
chip-ID: 13d3:56a6 class-ID: 0e02 serial: <filter>
Device-3: 1-14:4 info: Realtek RTL8822BE Bluetooth 4.2 Adapter
type: Bluetooth driver: btusb interfaces: 2 rev: 1.1 speed: 12 Mb/s
power: 500mA chip-ID: 0bda:b023 class-ID: e001 serial: <filter>
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 55.0 C mobo: N/A gpu: nouveau temp: 47.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 287 Uptime: 50m wakeups: 1 Init: systemd v: 249 tool: systemctl
Compilers: gcc: 11.1.0 Packages: apt: 0 pacman: 1018 lib: 280 Shell: Zsh
v: 5.8 running-in: gnome-terminal inxi: 3.3.06
Here are various logs I deemed potentially important to the problem.
parts of sudo dmesg --level emerg,alert,crit,err,warn
output:
- some startup snippets (the first line seems to suggest the first solution I tried either didn’t do anything or is incomplete):
[ 0.136256] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[ 0.203638] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.TPLD], AE_ALREADY_EXISTS (20210331/dswload2-326)
[ 0.203647] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20210331/psobject-220)
[ 0.203714] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.HS01], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.203719] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.203754] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.HS02], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.203758] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.203792] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.HS03], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.203796] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.203831] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.HS04], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.203834] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.203868] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.HS05], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.203872] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.203906] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.HS06], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.203910] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.203944] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.HS07], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.203948] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.203982] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.HS08], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.203985] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.204019] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.HS09], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.204023] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.204056] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.HS10], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.204060] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.213890] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.USR1], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.213895] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.213901] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.USR2], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.213905] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.213943] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.SS01], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.213947] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.213982] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.SS02], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.213986] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.214020] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.SS03], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.214024] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.214057] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.SS04], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.214061] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.214095] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.SS05], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.214098] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.214132] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.XHC.RHUB.SS06], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.214136] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.215420] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.I2C2.TPD0], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.215426] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.215464] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.I2C3.TPL1], AE_NOT_FOUND (20210331/dswload2-162)
[ 0.215468] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210331/psobject-220)
[ 0.218885] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.PEG0.PEGP._ON], AE_ALREADY_EXISTS (20210331/dswload2-326)
[ 0.218892] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20210331/psobject-220)
[ 0.218897] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.PEG0.PEGP._OFF], AE_ALREADY_EXISTS (20210331/dswload2-326)
[ 0.218901] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20210331/psobject-220)
...
[ 2.424785] r8169 0000:08:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 2.760295] rtw_core: loading out-of-tree module taints kernel.
[ 2.844606] ACPI Warning: \_SB.PCI0.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20210331/nsarguments-61)
[ 2.844679] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20210331/nsarguments-61)
...
- two examples of driver failures, by the looks of it:
[ 20.667658] ------------[ cut here ]------------
[ 20.667660] failed to read DBI register, addr=0x0719
[ 20.667678] WARNING: CPU: 8 PID: 172 at /var/lib/dkms/rtw88/r104.956ff66/build/pci.c:1308 rtw_dbi_read8.constprop.0+0xa0/0xb0 [rtw_pci]
[ 20.667684] Modules linked in: rfcomm ccm cmac algif_hash algif_skcipher af_alg bnep btusb btrtl btbcm btintel bluetooth ecdh_generic usbhid ecc snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci uvcvideo snd_sof_xtensa_dsp videobuf2_vmalloc videobuf2_memops snd_sof videobuf2_v4l2 videobuf2_common soundwire_bus videodev snd_soc_skl joydev snd_soc_hdac_hda mousedev mc snd_hda_ext_core snd_hda_codec_realtek snd_soc_sst_ipc snd_soc_sst_dsp intel_tcc_cooling snd_soc_acpi_intel_match x86_pkg_temp_thermal rtw_8822be(OE) intel_powerclamp snd_hda_codec_generic snd_soc_acpi coretemp hid_multitouch ledtrig_audio snd_soc_core rtw_8822b(OE) iTCO_wdt rtw_pci(OE) intel_pmc_bxt ee1004 iTCO_vendor_support 8250_dw mei_hdcp intel_rapl_msr snd_compress kvm_intel rtw_core(OE) ac97_bus intel_wmi_thunderbolt wmi_bmof snd_pcm_dmaengine snd_hda_codec_hdmi nouveau kvm snd_hda_intel snd_intel_dspcfg irqbypass
[ 20.667727] snd_intel_sdw_acpi crct10dif_pclmul crc32_pclmul i915 mxm_wmi mac80211 ghash_clmulni_intel snd_hda_codec drm_ttm_helper aesni_intel crypto_simd snd_hda_core cryptd ttm r8169 rapl intel_spi_pci i2c_algo_bit intel_cstate intel_spi realtek intel_uncore spi_nor snd_hwdep mdio_devres i2c_i801 vfat cfg80211 fat pcspkr mtd i2c_smbus libphy drm_kms_helper snd_pcm libarc4 snd_timer ucsi_acpi processor_thermal_device typec_ucsi cec processor_thermal_rfim snd intel_gtt processor_thermal_mbox mei_me typec processor_thermal_rapl syscopyarea intel_lpss_pci sysfillrect intel_rapl_common tpm_crb i2c_hid_acpi intel_lpss sysimgblt mei soundcore fb_sys_fops idma64 intel_soc_dts_iosf intel_pch_thermal roles mac_hid i2c_hid tpm_tis ideapad_laptop tpm_tis_core platform_profile sparse_keymap tpm rfkill int3403_thermal int340x_thermal_zone rng_core wmi video int3400_thermal acpi_thermal_rel acpi_pad drm fuse crypto_user agpgart ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw
[ 20.667762] atkbd libps2 crc32c_intel i8042 xhci_pci serio
[ 20.667765] CPU: 8 PID: 172 Comm: kworker/u24:8 Tainted: G OE 5.13.15-1-MANJARO #1
[ 20.667767] Hardware name: LENOVO 81FV/LNVNB161216, BIOS 8JCN25WW 06/15/2018
[ 20.667768] Workqueue: phy0 rtw_watch_dog_work [rtw_core]
[ 20.667775] RIP: 0010:rtw_dbi_read8.constprop.0+0xa0/0xb0 [rtw_pci]
[ 20.667778] Code: be ed 03 00 00 48 8b 40 58 e8 ec 02 9b c8 5b 5d 41 88 04 24 31 c0 41 5c c3 be 19 07 00 00 48 c7 c7 c8 47 85 c0 e8 05 00 62 c8 <0f> 0b b8 fb ff ff ff 5b 5d 41 5c c3 0f 1f 40 00 0f 1f 44 00 00 53
[ 20.667779] RSP: 0018:ffffa2f600767de8 EFLAGS: 00010282
[ 20.667780] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000027
[ 20.667781] RDX: ffff90a1e2418728 RSI: 0000000000000001 RDI: ffff90a1e2418720
[ 20.667782] RBP: ffff909f9c6a1f40 R08: 0000000000000000 R09: ffffa2f600767c18
[ 20.667783] R10: ffffa2f600767c10 R11: ffffffff89eccde8 R12: ffffa2f600767e17
[ 20.667784] R13: ffff909f9c6a1f40 R14: 0000000000000000 R15: 0000000000000002
[ 20.667785] FS: 0000000000000000(0000) GS:ffff90a1e2400000(0000) knlGS:0000000000000000
[ 20.667786] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 20.667787] CR2: 0000561838435000 CR3: 0000000249810004 CR4: 00000000003706e0
[ 20.667788] Call Trace:
[ 20.667790] rtw_pci_link_ps+0x57/0x90 [rtw_pci]
[ 20.667792] rtw_leave_lps+0x74/0x1b0 [rtw_core]
[ 20.667800] rtw_watch_dog_work+0x1bc/0x230 [rtw_core]
[ 20.667806] process_one_work+0x1e3/0x3b0
[ 20.667809] worker_thread+0x50/0x3b0
[ 20.667810] ? process_one_work+0x3b0/0x3b0
[ 20.667812] kthread+0x133/0x160
[ 20.667813] ? set_kthread_struct+0x40/0x40
[ 20.667814] ret_from_fork+0x22/0x30
[ 20.667818] ---[ end trace 732f334b0184ad20 ]---
[ 20.667820] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[ 20.670865] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 20.802566] rtw_8822be 0000:07:00.0: firmware failed to leave lps state
[ 20.805629] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 20.808696] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 20.811761] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 20.814872] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 20.817955] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 20.821011] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 20.821288] ------------[ cut here ]------------
[ 20.821289] failed to read DBI register, addr=0x0719
[ 20.821304] WARNING: CPU: 8 PID: 172 at /var/lib/dkms/rtw88/r104.956ff66/build/pci.c:1308 rtw_dbi_read8.constprop.0+0xa0/0xb0 [rtw_pci]
[ 20.821309] Modules linked in: rfcomm ccm cmac algif_hash algif_skcipher af_alg bnep btusb btrtl btbcm btintel bluetooth ecdh_generic usbhid ecc snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci uvcvideo snd_sof_xtensa_dsp videobuf2_vmalloc videobuf2_memops snd_sof videobuf2_v4l2 videobuf2_common soundwire_bus videodev snd_soc_skl joydev snd_soc_hdac_hda mousedev mc snd_hda_ext_core snd_hda_codec_realtek snd_soc_sst_ipc snd_soc_sst_dsp intel_tcc_cooling snd_soc_acpi_intel_match x86_pkg_temp_thermal rtw_8822be(OE) intel_powerclamp snd_hda_codec_generic snd_soc_acpi coretemp hid_multitouch ledtrig_audio snd_soc_core rtw_8822b(OE) iTCO_wdt rtw_pci(OE) intel_pmc_bxt ee1004 iTCO_vendor_support 8250_dw mei_hdcp intel_rapl_msr snd_compress kvm_intel rtw_core(OE) ac97_bus intel_wmi_thunderbolt wmi_bmof snd_pcm_dmaengine snd_hda_codec_hdmi nouveau kvm snd_hda_intel snd_intel_dspcfg irqbypass
[ 20.821337] snd_intel_sdw_acpi crct10dif_pclmul crc32_pclmul i915 mxm_wmi mac80211 ghash_clmulni_intel snd_hda_codec drm_ttm_helper aesni_intel crypto_simd snd_hda_core cryptd ttm r8169 rapl intel_spi_pci i2c_algo_bit intel_cstate intel_spi realtek intel_uncore spi_nor snd_hwdep mdio_devres i2c_i801 vfat cfg80211 fat pcspkr mtd i2c_smbus libphy drm_kms_helper snd_pcm libarc4 snd_timer ucsi_acpi processor_thermal_device typec_ucsi cec processor_thermal_rfim snd intel_gtt processor_thermal_mbox mei_me typec processor_thermal_rapl syscopyarea intel_lpss_pci sysfillrect intel_rapl_common tpm_crb i2c_hid_acpi intel_lpss sysimgblt mei soundcore fb_sys_fops idma64 intel_soc_dts_iosf intel_pch_thermal roles mac_hid i2c_hid tpm_tis ideapad_laptop tpm_tis_core platform_profile sparse_keymap tpm rfkill int3403_thermal int340x_thermal_zone rng_core wmi video int3400_thermal acpi_thermal_rel acpi_pad drm fuse crypto_user agpgart ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw
[ 20.821371] atkbd libps2 crc32c_intel i8042 xhci_pci serio
[ 20.821373] CPU: 8 PID: 172 Comm: kworker/u24:8 Tainted: G W OE 5.13.15-1-MANJARO #1
[ 20.821375] Hardware name: LENOVO 81FV/LNVNB161216, BIOS 8JCN25WW 06/15/2018
[ 20.821376] Workqueue: phy0 rtw_watch_dog_work [rtw_core]
[ 20.821383] RIP: 0010:rtw_dbi_read8.constprop.0+0xa0/0xb0 [rtw_pci]
[ 20.821386] Code: be ed 03 00 00 48 8b 40 58 e8 ec 02 9b c8 5b 5d 41 88 04 24 31 c0 41 5c c3 be 19 07 00 00 48 c7 c7 c8 47 85 c0 e8 05 00 62 c8 <0f> 0b b8 fb ff ff ff 5b 5d 41 5c c3 0f 1f 40 00 0f 1f 44 00 00 53
[ 20.821387] RSP: 0018:ffffa2f600767df8 EFLAGS: 00010282
[ 20.821388] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000027
[ 20.821389] RDX: ffff90a1e2418728 RSI: 0000000000000001 RDI: ffff90a1e2418720
[ 20.821390] RBP: ffff909f9c6a1f40 R08: 0000000000000000 R09: ffffa2f600767c28
[ 20.821391] R10: ffffa2f600767c20 R11: ffffffff89eccde8 R12: ffffa2f600767e27
[ 20.821392] R13: ffff909f9c6a1f40 R14: 0000000000000000 R15: 0000000000000002
[ 20.821392] FS: 0000000000000000(0000) GS:ffff90a1e2400000(0000) knlGS:0000000000000000
[ 20.821393] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 20.821394] CR2: 00007faa8c00d808 CR3: 0000000249810005 CR4: 00000000003706e0
[ 20.821395] Call Trace:
[ 20.821398] rtw_pci_link_ps+0x57/0x90 [rtw_pci]
[ 20.821400] rtw_enter_lps+0x73/0xf0 [rtw_core]
[ 20.821408] rtw_watch_dog_work+0x20d/0x230 [rtw_core]
[ 20.821414] process_one_work+0x1e3/0x3b0
[ 20.821417] worker_thread+0x50/0x3b0
[ 20.821419] ? process_one_work+0x3b0/0x3b0
[ 20.821420] kthread+0x133/0x160
[ 20.821422] ? set_kthread_struct+0x40/0x40
[ 20.821423] ret_from_fork+0x22/0x30
[ 20.821426] ---[ end trace 732f334b0184ad21 ]---
[ 20.821427] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
- there are more of these, but the parts between
[cut here]
and up to the call traces are seemingly always the same, so I’ve cut them for brevity:
[ 21.416225] ------------[ cut here ]------------
...
[ 21.416499] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[ 21.419516] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 21.552611] rtw_8822be 0000:07:00.0: firmware failed to leave lps state
[ 21.555685] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 21.558793] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 22.202670] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[ 22.202754] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[ 22.202839] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[ 22.202922] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[ 22.203005] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[ 22.203088] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[ 22.206164] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 22.209522] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 22.209612] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[ 22.209695] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[ 22.209780] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[ 22.209864] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[ 22.209946] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[ 22.210029] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[ 22.213086] rtw_8822be 0000:07:00.0: failed to send h2c command
[ 24.213121] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 24.213395] ------------[ cut here ]------------
...
[ 24.213756] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[ 24.229649] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[ 24.229733] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[ 24.229817] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[ 24.229901] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[ 24.229984] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[ 24.230067] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[ 24.314414] ------------[ cut here ]------------
...
[ 24.315314] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[ 26.024068] kauditd_printk_skb: 13 callbacks suppressed
[ 26.315433] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 26.315440] rtw_8822be 0000:07:00.0: mac power on failed
[ 26.315441] rtw_8822be 0000:07:00.0: failed to power on mac
[ 26.315442] rtw_8822be 0000:07:00.0: leave idle state failed
[ 26.315570] rtw_8822be 0000:07:00.0: failed to leave ips state
[ 26.315571] rtw_8822be 0000:07:00.0: failed to leave idle state
[ 26.315669] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[ 26.315753] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[ 26.315842] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[ 26.315925] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[ 26.316010] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[ 26.316095] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[ 26.316173] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[ 26.316256] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[ 26.316341] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[ 26.316425] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[ 26.316511] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[ 26.316595] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[ 30.223472] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[ 30.223576] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[ 30.223673] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[ 30.223768] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[ 30.223863] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[ 30.223960] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[ 32.224131] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 32.224405] ------------[ cut here ]------------
...
[ 32.224629] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[ 32.225006] ------------[ cut here ]------------
...
[ 32.225402] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[ 34.175678] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 34.175684] rtw_8822be 0000:07:00.0: mac power on failed
[ 34.175685] rtw_8822be 0000:07:00.0: failed to power on mac
[ 34.175685] rtw_8822be 0000:07:00.0: leave idle state failed
[ 34.175814] rtw_8822be 0000:07:00.0: failed to leave ips state
[ 34.175815] rtw_8822be 0000:07:00.0: failed to leave idle state
[ 42.011232] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[ 42.011332] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[ 42.011425] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[ 42.011520] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[ 42.011617] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[ 42.011713] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[ 43.988359] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 43.988633] ------------[ cut here ]------------
...
[ 43.988969] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[ 45.971133] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 47.958033] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 47.958043] rtw_8822be 0000:07:00.0: mac power on failed
[ 47.958044] rtw_8822be 0000:07:00.0: failed to power on mac
[ 461.695756] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 461.695762] rtw_8822be 0000:07:00.0: mac power on failed
[ 461.695764] rtw_8822be 0000:07:00.0: failed to power on mac
[ 876.617189] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 876.617196] rtw_8822be 0000:07:00.0: mac power on failed
[ 876.617197] rtw_8822be 0000:07:00.0: failed to power on mac
[ 1290.692000] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 1290.692007] rtw_8822be 0000:07:00.0: mac power on failed
[ 1290.692008] rtw_8822be 0000:07:00.0: failed to power on mac
[ 1705.687028] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 1705.687034] rtw_8822be 0000:07:00.0: mac power on failed
[ 1705.687035] rtw_8822be 0000:07:00.0: failed to power on mac
[ 2120.639170] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 2120.639176] rtw_8822be 0000:07:00.0: mac power on failed
[ 2120.639177] rtw_8822be 0000:07:00.0: failed to power on mac
[ 2534.621679] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 2534.621686] rtw_8822be 0000:07:00.0: mac power on failed
[ 2534.621687] rtw_8822be 0000:07:00.0: failed to power on mac
[ 2948.658088] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 2948.658133] rtw_8822be 0000:07:00.0: mac power on failed
[ 2948.658134] rtw_8822be 0000:07:00.0: failed to power on mac
[ 3362.670716] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[ 3362.670722] rtw_8822be 0000:07:00.0: mac power on failed
[ 3362.670723] rtw_8822be 0000:07:00.0: failed to power on mac
journalctl --catalog --priority=3 --boot=-1 | grep "wpa_supplicant\|NetworkManager"
output:
Sep 22 03:00:09 <laptop-name> wpa_supplicant[838]: Could not set interface wlp7s0 flags (UP): Operation already in progress
Sep 22 03:00:09 <laptop-name> wpa_supplicant[838]: nl80211: Could not set interface 'wlp7s0' UP
Sep 22 03:00:11 <laptop-name> wpa_supplicant[838]: Could not set interface wlp7s0 flags (UP): Operation already in progress
Sep 22 03:00:11 <laptop-name> wpa_supplicant[838]: WEXT: Could not set interface 'wlp7s0' UP
Sep 22 03:00:11 <laptop-name> wpa_supplicant[838]: wlp7s0: Failed to initialize driver interface
Sep 22 03:00:11 <laptop-name> NetworkManager[2073]: <error> [1632268811.1712] device (wlp7s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Sep 22 03:00:23 <laptop-name> wpa_supplicant[838]: Could not set interface wlp7s0 flags (UP): Operation already in progress
Sep 22 03:00:23 <laptop-name> wpa_supplicant[838]: nl80211: Could not set interface 'wlp7s0' UP
Sep 22 03:00:25 <laptop-name> wpa_supplicant[838]: Could not set interface wlp7s0 flags (UP): Operation already in progress
Sep 22 03:00:25 <laptop-name> wpa_supplicant[838]: WEXT: Could not set interface 'wlp7s0' UP
Sep 22 03:00:25 <laptop-name> wpa_supplicant[838]: wlp7s0: Failed to initialize driver interface
Sep 22 03:00:25 <laptop-name> NetworkManager[2073]: <error> [1632268825.0304] device (wlp7s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Sep 22 03:00:37 <laptop-name> wpa_supplicant[838]: Could not set interface wlp7s0 flags (UP): Operation already in progress
Sep 22 03:00:37 <laptop-name> wpa_supplicant[838]: nl80211: Could not set interface 'wlp7s0' UP
Sep 22 03:00:39 <laptop-name> wpa_supplicant[838]: Could not set interface wlp7s0 flags (UP): Operation already in progress
Sep 22 03:00:39 <laptop-name> wpa_supplicant[838]: WEXT: Could not set interface 'wlp7s0' UP
Sep 22 03:00:39 <laptop-name> wpa_supplicant[838]: wlp7s0: Failed to initialize driver interface
Sep 22 03:00:39 <laptop-name> NetworkManager[2073]: <error> [1632268839.0275] device (wlp7s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Sep 22 03:00:51 <laptop-name> wpa_supplicant[838]: Could not set interface wlp7s0 flags (UP): Operation already in progress
Sep 22 03:00:51 <laptop-name> wpa_supplicant[838]: nl80211: Could not set interface 'wlp7s0' UP
Sep 22 03:00:53 <laptop-name> wpa_supplicant[838]: Could not set interface wlp7s0 flags (UP): Operation already in progress
Sep 22 03:00:53 <laptop-name> wpa_supplicant[838]: WEXT: Could not set interface 'wlp7s0' UP
Sep 22 03:00:53 <laptop-name> wpa_supplicant[838]: wlp7s0: Failed to initialize driver interface
Sep 22 03:00:53 <laptop-name> NetworkManager[2073]: <error> [1632268853.0358] device (wlp7s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Sep 22 03:01:05 <laptop-name> wpa_supplicant[838]: Could not set interface wlp7s0 flags (UP): Operation already in progress
Sep 22 03:01:05 <laptop-name> wpa_supplicant[838]: nl80211: Could not set interface 'wlp7s0' UP
Sep 22 03:01:07 <laptop-name> wpa_supplicant[838]: Could not set interface wlp7s0 flags (UP): Operation already in progress
Sep 22 03:01:07 <laptop-name> wpa_supplicant[838]: WEXT: Could not set interface 'wlp7s0' UP
Sep 22 03:01:07 <laptop-name> wpa_supplicant[838]: wlp7s0: Failed to initialize driver interface
Sep 22 03:01:07 <laptop-name> NetworkManager[2073]: <error> [1632268867.0365] device (wlp7s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Sep 22 03:01:19 <laptop-name> wpa_supplicant[838]: Could not set interface wlp7s0 flags (UP): Operation already in progress
Sep 22 03:01:19 <laptop-name> wpa_supplicant[838]: nl80211: Could not set interface 'wlp7s0' UP
Sep 22 03:01:21 <laptop-name> wpa_supplicant[838]: Could not set interface wlp7s0 flags (UP): Operation already in progress
Sep 22 03:01:21 <laptop-name> wpa_supplicant[838]: WEXT: Could not set interface 'wlp7s0' UP
Sep 22 03:01:21 <laptop-name> NetworkManager[2073]: <error> [1632268881.0295] device (wlp7s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Sep 22 03:01:21 <laptop-name> wpa_supplicant[838]: wlp7s0: Failed to initialize driver interface
Here are other details of me attempting to use the rtw88-dkms-git package.
contents of my /etc/modprobe.d/blacklist.conf
:
blacklist rtw88
blacklist rtw88_8822be
blacklist rtw88_8822b
blacklist rtw88_pci
blacklist rtw88_core
lsmod | grep "rtw"
output:
rtw_8822be 16384 0
rtw_8822b 233472 1 rtw_8822be
rtw_pci 28672 1 rtw_8822be
rtw_core 233472 2 rtw_8822b,rtw_pci
mac80211 1171456 2 rtw_core,rtw_pci
cfg80211 1044480 2 rtw_core,mac80211
lspci -v
output related to a network controller:
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: rtw_8822be
Kernel modules: rtw88_8822be, rtw_8822be
I have also blindly attempted to use modprobe -r rtw88_8822be
and modprobe rtw_8822be
commands from time to time, but I have no idea how permanent their effects are (or anything, really, I was just rather exhausted and trying out random stuff by the time).
So right now I’m trying to figure out the following points:
- As I’m a complete newbie when it comes to Linux, are there any details I might’ve missed when attempting aforementioned soultions? (e. g. in case of
rtw88-dkms-git
I’m really not sure I pulled off blacklisting conflicting drivers and modules correctly) - Is this behavior actually related to RTL8822BE at all, or have I tunnel-visioned and am missing some other possible problems now?
- If it’s indeed most probably a RTL8822BE problem and nothing else helps, is it possible to replace relevant hardware with a more managable alternative as a last resort?
Any help and/or insight is appreciated. Thanks!