Realtek RTL8822BE [10ec:b822] subsystem [103c:831b] purge skb(s) not reported by firmware

Bug #1890096 reported by You-Sheng Yang
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
You-Sheng Yang

Bug Description

Aug 03 00:35:20 wpa_supplicant[777]: wlp1s0: CTRL-EVENT-BEACON-LOSS
Aug 03 00:35:21 wpa_supplicant[777]: wlp1s0: CTRL-EVENT-BEACON-LOSS
Aug 03 00:35:24 kernel: rtw_pci 0000:01:00.0: failed to send h2c command
Aug 03 00:35:37 wpa_supplicant[777]: wlp1s0: CTRL-EVENT-BEACON-LOSS
Aug 03 00:35:40 wpa_supplicant[777]: wlp1s0: CTRL-EVENT-BEACON-LOSS
Aug 03 00:35:40 kernel: rtw_pci 0000:01:00.0: firmware failed to restore hardware setting
Aug 03 00:35:41 kernel: ------------[ cut here ]------------
Aug 03 00:35:41 kernel: purge skb(s) not reported by firmware
Aug 03 00:35:41 kernel: WARNING: CPU: 7 PID: 0 at drivers/net/wireless/realtek/rtw88/tx.c:162 rtw_tx_report_purge_timer+0x25/0x60 [rtw88]
Aug 03 00:35:41 kernel: Modules linked in: ccm rfcomm cmac algif_hash algif_skcipher af_alg bnep nls_iso8859_1 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_sof_pci snd_sof_intel_hd>
Aug 03 00:35:41 kernel: wmi_bmof videodev dell_wmi_descriptor drm_kms_helper ucsi_acpi mei_me mc processor_thermal_device i2c_algo_bit hid_multitouch typec_ucsi fb_sys_fops intel_rapl_common ecdh_gener>
Aug 03 00:35:41 kernel: CPU: 7 PID: 0 Comm: swapper/7 Not tainted 5.4.0-42-generic #46-Ubuntu
Aug 03 00:35:41 kernel: Hardware name: Dell Inc. Inspiron 7380/, BIOS 1.1.0 08/08/2018
Aug 03 00:35:41 kernel: RIP: 0010:rtw_tx_report_purge_timer+0x25/0x60 [rtw88]
Aug 03 00:35:41 kernel: Code: 0f 1f 44 00 00 0f 1f 44 00 00 8b 47 f0 85 c0 75 01 c3 55 48 89 e5 41 55 41 54 53 48 89 fb 48 c7 c7 98 e9 1d c1 e8 f6 16 d4 c9 <0f> 0b 4c 8d 6b d8 4c 89 ef e8 dd 5c 77 ca 48>
Aug 03 00:35:41 kernel: RSP: 0018:ffffba0d00288e48 EFLAGS: 00010286
Aug 03 00:35:41 kernel: RAX: 0000000000000000 RBX: ffffa0c7a03097f8 RCX: 0000000000000006
Aug 03 00:35:41 kernel: RDX: 0000000000000007 RSI: 0000000000000082 RDI: ffffa0c7a75d78c0
Aug 03 00:35:41 kernel: RBP: ffffba0d00288e60 R08: 00000000000003c4 R09: 0000000000000004
Aug 03 00:35:41 kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffffa0c7a75dba80
Aug 03 00:35:41 kernel: R13: ffffa0c7a03097f8 R14: ffffffffc1160090 R15: ffffa0c7a03097f8
Aug 03 00:35:41 kernel: FS: 0000000000000000(0000) GS:ffffa0c7a75c0000(0000) knlGS:0000000000000000
Aug 03 00:35:41 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 03 00:35:41 kernel: CR2: 00007fc77dfd4000 CR3: 000000024e80a003 CR4: 00000000003606e0
Aug 03 00:35:41 kernel: Call Trace:
Aug 03 00:35:41 kernel: <IRQ>
Aug 03 00:35:41 kernel: call_timer_fn+0x32/0x130
Aug 03 00:35:41 kernel: __run_timers.part.0+0x180/0x280
Aug 03 00:35:41 kernel: ? timerqueue_add+0x9b/0xb0
Aug 03 00:35:41 kernel: ? enqueue_hrtimer+0x3d/0x90
Aug 03 00:35:41 kernel: ? recalibrate_cpu_khz+0x10/0x10
Aug 03 00:35:41 kernel: ? ktime_get+0x3e/0xa0
Aug 03 00:35:41 kernel: run_timer_softirq+0x2a/0x50
Aug 03 00:35:41 kernel: __do_softirq+0xe1/0x2d6
Aug 03 00:35:41 kernel: ? hrtimer_interrupt+0x13b/0x220
Aug 03 00:35:41 kernel: irq_exit+0xae/0xb0
Aug 03 00:35:41 kernel: smp_apic_timer_interrupt+0x7b/0x140
Aug 03 00:35:41 kernel: apic_timer_interrupt+0xf/0x20
Aug 03 00:35:41 kernel: </IRQ>
Aug 03 00:35:41 kernel: RIP: 0010:cpuidle_enter_state+0xc5/0x450
Aug 03 00:35:41 kernel: Code: ff e8 bf 08 81 ff 80 7d c7 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 65 03 00 00 31 ff e8 12 6c 87 ff fb 66 0f 1f 44 00 00 <45> 85 ed 0f 88 8f 02 00 00 49 63 cd 4c 8b 7d>
Aug 03 00:35:41 kernel: RSP: 0018:ffffba0d00113e38 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
Aug 03 00:35:41 kernel: RAX: ffffa0c7a75ead00 RBX: ffffffff8c559c00 RCX: 000000000000001f
Aug 03 00:35:41 kernel: RDX: 0000000000000000 RSI: 00000000471c7c22 RDI: 0000000000000000
Aug 03 00:35:41 kernel: RBP: ffffba0d00113e78 R08: 000001e6725fec9b R09: 0000000000000001
Aug 03 00:35:41 kernel: R10: ffffa0c7a75e9a00 R11: ffffa0c7a75e99e0 R12: ffffa0c7a75f5700
Aug 03 00:35:41 kernel: R13: 0000000000000006 R14: 0000000000000006 R15: ffffa0c7a75f5700
Aug 03 00:35:41 kernel: ? cpuidle_enter_state+0xa1/0x450
Aug 03 00:35:41 kernel: cpuidle_enter+0x2e/0x40
Aug 03 00:35:41 kernel: call_cpuidle+0x23/0x40
Aug 03 00:35:41 kernel: do_idle+0x1dd/0x270
Aug 03 00:35:41 kernel: cpu_startup_entry+0x20/0x30
Aug 03 00:35:41 kernel: start_secondary+0x167/0x1c0
Aug 03 00:35:41 kernel: secondary_startup_64+0xa4/0xb0
Aug 03 00:35:41 kernel: ---[ end trace fc1e06321e14fd73 ]---
Aug 03 00:36:07 wpa_supplicant[777]: wlp1s0: CTRL-EVENT-BEACON-LOSS
Aug 03 00:36:23 wpa_supplicant[777]: wlp1s0: CTRL-EVENT-BEACON-LOSS
...

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-42-generic 5.4.0-42.46
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: u 1369 F.... pulseaudio
CasperMD5CheckResult: skip
Date: Mon Aug 3 00:59:46 2020
InstallationDate: Installed on 2020-06-13 (50 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0c45:6715 Microdia Integrated_Webcam_HD
 Bus 001 Device 002: ID 04f3:0c01 Elan Microelectronics Corp. ELAN:Fingerprint
 Bus 001 Device 004: ID 0bda:b00b Realtek Semiconductor Corp. Bluetooth Radio
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Inspiron 7380
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic root=UUID=42a91f49-a940-4c01-ad29-9f785174fa1e ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-42-generic N/A
 linux-backports-modules-5.4.0-42-generic N/A
 linux-firmware 1.187.2
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/08/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.1.0
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.1.0:bd08/08/2018:svnDellInc.:pnInspiron7380:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 7380
dmi.product.sku: 08A5
dmi.sys.vendor: Dell Inc.

Revision history for this message
You-Sheng Yang (vicamo) wrote :
tags: added: hwe-networking-wifi
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Looks like it's a duplicate of already expired bug 1850502. Since I'm able to reproduce this by playing YouTube video streaming, I'm to set that bug as a duplicate of this instead.

You-Sheng Yang (vicamo)
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Can still reproduce with current v5.8 mainline build with linux-firmware 1.189.

Revision history for this message
Shyam Jos (shyamjos) wrote :

@vicamo I reported this bug 10 months ago, and I am still having this issue in 5.7.x kernel.

Are you able to reproduce this issue with 5Ghz band wifi connection? ( connect Bluetooth speaker and play a YouTube video) ?

Are you able to reproduce this issue with 2Ghz(20Mhz bandwidth) band wifi connection ? ( connect Bluetooth speaker and play a YouTube video) ?

Revision history for this message
Shyam Jos (shyamjos) wrote :

I am suspecting BT interference with 2Ghz (40mhz bandwidth ) connection.

Right now I am testing this issue with 5Ghz and 2Ghz 20mhz bandwidth wireless connections. Will report my findings here soon.

Revision history for this message
You-Sheng Yang (vicamo) wrote :

https://lkml.org/lkml/2020/1/8/222

@Shyam, yes, I was on 5G WLAN, trying 2.4G. You might want to reply to that lkml thread as this can still be reproduced with mainline kernel.

tags: added: kernel-bug-exists-upstream
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Also reproducible with a 2.4G WLAN.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.