tomaspinho / rtl8821ce

Other
1.58k stars 412 forks source link

Periodic errors #327

Open 0x5BC2E7 opened 1 year ago

0x5BC2E7 commented 1 year ago
[ 4061.172308] WARNING: CPU: 5 PID: 12129 at net/wireless/sme.c:756 __cfg80211_connect_result+0x3c1/0x400 [cfg80211]
[ 4061.172392] Modules linked in: intel_rapl_msr nls_iso8859_1 snd_hda_codec_realtek intel_rapl_common snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi edac_mce_amd kvm_amd kvm btusb btrtl snd_hda_intel btbcm snd_intel_dspcfg btintel bluetooth snd_intel_sdw_acpi rapl snd_hda_codec snd_hda_core snd_hwdep ecdh_generic ecc snd_seq_midi snd_seq_midi_event binfmt_misc snd_rawmidi snd_pci_acp6x snd_pcm k10temp 8821ce(OE) snd_seq snd_seq_device snd_pci_acp5x snd_timer snd snd_rn_pci_acp3x cfg80211 snd_pci_acp3x soundcore ccp ucsi_acpi typec_ucsi typec mac_hid sch_fq_codel msr parport_pc ppdev lp parport pstore_blk ramoops pstore_zone reed_solomon efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c amdgpu iommu_v2 gpu_sched i2c_algo_bit drm_ttm_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt uas usb_storage fb_sys_fops cec crct10dif_pclmul crc32_pclmul ghash_clmulni_intel rc_core aesni_intel ahci crypto_simd i2c_amd_mp2_pci libahci
[ 4061.172525]  cryptd i2c_piix4 r8169 drm nvme xhci_pci xhci_pci_renesas realtek nvme_core video
[ 4061.172542] CPU: 5 PID: 12129 Comm: kworker/u32:1 Tainted: G        W  OE     5.15.0-72-generic #79~20.04.1-Ubuntu
[ 4061.172548] Hardware name: HC HCAR357-MI/HCAR357-MI, BIOS 5.13 12/28/2020
[ 4061.172551] Workqueue: cfg80211 cfg80211_event_work [cfg80211]
[ 4061.172600] RIP: 0010:__cfg80211_connect_result+0x3c1/0x400 [cfg80211]
[ 4061.172660] Code: 40 e8 48 8b 40 30 48 85 c0 0f 84 73 fd ff ff f0 ff 40 e8 e9 6a fd ff ff 0f 0b 48 8b 76 10 e8 26 10 fd ff e9 45 fe ff ff 0f 0b <0f> 0b e9 3c fe ff ff e8 63 38 d3 e8 e9 32 fe ff ff 0f 0b e9 5f fd
[ 4061.172665] RSP: 0018:ffffaad3ca987d70 EFLAGS: 00010246
[ 4061.172669] RAX: 0000000000000000 RBX: ffff99a920990800 RCX: 0000000000000000
[ 4061.172672] RDX: 0000000000000002 RSI: 00000000fffffe01 RDI: ffffffffc0ff8ee8
[ 4061.172674] RBP: ffffaad3ca987dc0 R08: ffff99a90b7410b8 R09: 0000000000000003
[ 4061.172676] R10: 0000000000000000 R11: fffffffefff1c467 R12: ffff99ab7613fcd8
[ 4061.172679] R13: ffff99a900bbf000 R14: ffffaad3ca987d70 R15: dead000000000100
[ 4061.172681] FS:  0000000000000000(0000) GS:ffff99affff40000(0000) knlGS:0000000000000000
[ 4061.172684] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4061.172687] CR2: 00007f90736ea290 CR3: 0000000109b20000 CR4: 00000000003506e0
[ 4061.172690] Call Trace:
[ 4061.172693]  <TASK>
[ 4061.172699]  cfg80211_process_wdev_events+0x148/0x1b0 [cfg80211]
[ 4061.172749]  ? cfg80211_process_wdev_events+0x148/0x1b0 [cfg80211]
[ 4061.172807]  cfg80211_process_rdev_events+0x2b/0x50 [cfg80211]
[ 4061.172860]  cfg80211_event_work+0x2a/0x40 [cfg80211]
[ 4061.172906]  process_one_work+0x22b/0x3d0
[ 4061.172915]  worker_thread+0x4d/0x3f0
[ 4061.172920]  ? process_one_work+0x3d0/0x3d0
[ 4061.172925]  kthread+0x12a/0x150
[ 4061.172930]  ? set_kthread_struct+0x50/0x50
[ 4061.172934]  ret_from_fork+0x22/0x30
[ 4061.172943]  </TASK>
[ 4130.523412] WARNING: CPU: 0 PID: 12550 at net/wireless/sme.c:756 __cfg80211_connect_result+0x3c1/0x400 [cfg80211]
[ 4130.523506] Modules linked in: intel_rapl_msr nls_iso8859_1 snd_hda_codec_realtek intel_rapl_common snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi edac_mce_amd kvm_amd kvm btusb btrtl snd_hda_intel btbcm snd_intel_dspcfg btintel bluetooth snd_intel_sdw_acpi rapl snd_hda_codec snd_hda_core snd_hwdep ecdh_generic ecc snd_seq_midi snd_seq_midi_event binfmt_misc snd_rawmidi snd_pci_acp6x snd_pcm k10temp 8821ce(OE) snd_seq snd_seq_device snd_pci_acp5x snd_timer snd snd_rn_pci_acp3x cfg80211 snd_pci_acp3x soundcore ccp ucsi_acpi typec_ucsi typec mac_hid sch_fq_codel msr parport_pc ppdev lp parport pstore_blk ramoops pstore_zone reed_solomon efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c amdgpu iommu_v2 gpu_sched i2c_algo_bit drm_ttm_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt uas usb_storage fb_sys_fops cec crct10dif_pclmul crc32_pclmul ghash_clmulni_intel rc_core aesni_intel ahci crypto_simd i2c_amd_mp2_pci libahci
[ 4130.523650]  cryptd i2c_piix4 r8169 drm nvme xhci_pci xhci_pci_renesas realtek nvme_core video
[ 4130.523669] CPU: 0 PID: 12550 Comm: kworker/u32:2 Tainted: G        W  OE     5.15.0-72-generic #79~20.04.1-Ubuntu
[ 4130.523677] Hardware name: HC HCAR357-MI/HCAR357-MI, BIOS 5.13 12/28/2020
[ 4130.523681] Workqueue: cfg80211 cfg80211_event_work [cfg80211]
[ 4130.523742] RIP: 0010:__cfg80211_connect_result+0x3c1/0x400 [cfg80211]
[ 4130.523822] Code: 40 e8 48 8b 40 30 48 85 c0 0f 84 73 fd ff ff f0 ff 40 e8 e9 6a fd ff ff 0f 0b 48 8b 76 10 e8 26 10 fd ff e9 45 fe ff ff 0f 0b <0f> 0b e9 3c fe ff ff e8 63 38 d3 e8 e9 32 fe ff ff 0f 0b e9 5f fd
[ 4130.523827] RSP: 0018:ffffaad3cafc7d70 EFLAGS: 00010246
[ 4130.523832] RAX: 0000000000000000 RBX: ffff99a920990800 RCX: 0000000000000000
[ 4130.523836] RDX: 0000000000000002 RSI: 00000000fffffe01 RDI: ffffffffc0ff8ee8
[ 4130.523839] RBP: ffffaad3cafc7dc0 R08: ffff99a90b7410b8 R09: 0000000000000003
[ 4130.523842] R10: 0000000000000000 R11: fffffffefff180ad R12: ffff99ab7613fa98
[ 4130.523845] R13: ffff99a900bbf000 R14: ffffaad3cafc7d70 R15: dead000000000100
[ 4130.523848] FS:  0000000000000000(0000) GS:ffff99afffe00000(0000) knlGS:0000000000000000
[ 4130.523852] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4130.523855] CR2: 00007fbc30002d78 CR3: 0000000109f5a000 CR4: 00000000003506f0
[ 4130.523859] Call Trace:
[ 4130.523862]  <TASK>
[ 4130.523871]  cfg80211_process_wdev_events+0x148/0x1b0 [cfg80211]
[ 4130.523936]  ? cfg80211_process_wdev_events+0x148/0x1b0 [cfg80211]
[ 4130.524000]  cfg80211_process_rdev_events+0x2b/0x50 [cfg80211]
[ 4130.524064]  cfg80211_event_work+0x2a/0x40 [cfg80211]
[ 4130.524124]  process_one_work+0x22b/0x3d0
[ 4130.524136]  worker_thread+0x4d/0x3f0
[ 4130.524142]  ? process_one_work+0x3d0/0x3d0
[ 4130.524148]  kthread+0x12a/0x150
[ 4130.524154]  ? set_kthread_struct+0x50/0x50
[ 4130.524159]  ret_from_fork+0x22/0x30
[ 4130.524170]  </TASK>
[219329.313189] WARNING: CPU: 6 PID: 1297 at /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/hal/hal_com.c:11447 rtw_lps_state_chk+0x39/0x49 [8821ce]
[219329.313327] Modules linked in: intel_rapl_msr nls_iso8859_1 snd_hda_codec_realtek intel_rapl_common snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi edac_mce_amd kvm_amd kvm btusb btrtl snd_hda_intel btbcm snd_intel_dspcfg btintel bluetooth snd_intel_sdw_acpi rapl snd_hda_codec snd_hda_core snd_hwdep ecdh_genericecc snd_seq_midi snd_seq_midi_event binfmt_misc snd_rawmidi snd_pci_acp6x snd_pcm k10temp 8821ce(OE) snd_seq snd_seq_device snd_pci_acp5x snd_timer snd snd_rn_pci_acp3x cfg80211 snd_pci_acp3x soundcore ccp ucsi_acpi typec_ucsi typec mac_hid sch_fq_codel msr parport_pc ppdev lp parport pstore_blk ramoops pstore_zone reed_solomon efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c amdgpu iommu_v2 gpu_sched i2c_algo_bit drm_ttm_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt uas usb_storage fb_sys_fops cec crct10dif_pclmul crc32_pclmul ghash_clmulni_intel rc_core aesni_intel ahci crypto_simd i2c_amd_mp2_pci libahci
[219329.313460]  cryptd i2c_piix4 r8169 drm nvme xhci_pci xhci_pci_renesas realtek nvme_core video
[219329.313476] CPU: 6 PID: 1297 Comm: RTW_CMD_THREAD Tainted: G        W  OE     5.15.0-72-generic #79~20.04.1-Ubuntu
[219329.313482] Hardware name: HC HCAR357-MI/HCAR357-MI, BIOS 5.13 12/28/2020
[219329.313484] RIP: 0010:rtw_lps_state_chk+0x39/0x49 [8821ce]
[219329.313596] Code: 54 53 49 89 fc bb 0b 00 00 00 be 04 06 00 00 4c 89 e7 e8 c6 99 f8 ff 84 c0 79 11 bf 01 00 00 00 e8 8d 3d fd ff 80 eb 01 75 e0 <0f> 0b 5b 41 5c 5d e9 b4 5e a2 e9 e9 af 5e a2 e9 0f 1f 44 00 00 55
[219329.313601] RSP: 0018:ffffaad3c1a37c20 EFLAGS: 00010246
[219329.313605] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[219329.313607] RDX: ffff99affffa2d00 RSI: 0000000000000006 RDI: ffffaad3c1a37b50
[219329.313609] RBP: ffffaad3c1a37c30 R08: 0000000000000001 R09: 0000000000000000
[219329.313611] R10: 0000000000000000 R11: 0000000000000001 R12: ffffaad3c09e9000
[219329.313613] R13: ffffaad3c1a37cfc R14: ffffaad3c1811000 R15: ffffaad3c1811000
[219329.313616] FS:  0000000000000000(0000) GS:ffff99affff80000(0000) knlGS:0000000000000000
[219329.313619] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[219329.313622] CR2: 00007fbcf57f9fb8 CR3: 0000000109f5a000 CR4: 00000000003506e0
[219329.313625] Call Trace:
[219329.313627]  <TASK>
[219329.313632]  SetHwReg+0x18c/0x73c [8821ce]
[219329.313741]  rtl8821c_sethwreg+0xd2c/0xd7f [8821ce]
[219329.313841]  sethwreg+0x2a/0x153 [8821ce]
[219329.313940]  rtw_hal_set_hwreg+0x19/0x1f [8821ce]
[219329.314047]  rtw_set_ps_mode+0xd9/0x1eb [8821ce]
[219329.314134]  LPS_Leave+0xd4/0xf6 [8821ce]
[219329.314220]  traffic_status_watchdog+0x1dc/0x2d5 [8821ce]
[219329.314280]  rtw_iface_dynamic_chk_wk_hdl+0x5a/0x1ad [8821ce]
[219329.314339]  _rtw_mi_dynamic_chk_wk_hdl+0xe/0x19 [8821ce]
[219329.314415]  _rtw_mi_process+0xa3/0xc3 [8821ce]
[219329.314491]  ? _rtw_mi_dynamic_check_timer_handlder+0x19/0x19 [8821ce]
[219329.314567]  ? session_tracker_cmd_hdl+0x1c9/0x1c9 [8821ce]
[219329.314626]  rtw_mi_dynamic_chk_wk_hdl+0x1f/0x25 [8821ce]
[219329.314704]  rtw_dynamic_chk_wk_hdl+0x12/0x4e [8821ce]
[219329.314762]  rtw_drvextra_cmd_hdl+0xaf/0x43a [8821ce]
[219329.314822]  ? session_tracker_cmd_hdl+0x1c9/0x1c9 [8821ce]
[219329.314881]  rtw_cmd_thread+0x2e4/0x430 [8821ce]
[219329.314939]  ? rtw_stop_cmd_thread+0x46/0x46 [8821ce]
[219329.314996]  kthread+0x12a/0x150
[219329.315004]  ? set_kthread_struct+0x50/0x50
[219329.315009]  ret_from_fork+0x22/0x30
[219329.315018]  </TASK>
[213027.906668] WARNING: CPU: 4 PID: 1297 at /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/hal/hal_com.c:11447 rtw_lps_state_chk+0x39/0x49 [8821ce]
[213027.906807] Modules linked in: intel_rapl_msr nls_iso8859_1 snd_hda_codec_realtek intel_rapl_common snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi edac_mce_amd kvm_amd kvm btusb btrtl snd_hda_intel btbcm snd_intel_dspcfg btintel bluetooth snd_intel_sdw_acpi rapl snd_hda_codec snd_hda_core snd_hwdep ecdh_genericecc snd_seq_midi snd_seq_midi_event binfmt_misc snd_rawmidi snd_pci_acp6x snd_pcm k10temp 8821ce(OE) snd_seq snd_seq_device snd_pci_acp5x snd_timer snd snd_rn_pci_acp3x cfg80211 snd_pci_acp3x soundcore ccp ucsi_acpi typec_ucsi typec mac_hid sch_fq_codel msr parport_pc ppdev lp parport pstore_blk ramoops pstore_zone reed_solomon efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c amdgpu iommu_v2 gpu_sched i2c_algo_bit drm_ttm_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt uas usb_storage fb_sys_fops cec crct10dif_pclmul crc32_pclmul ghash_clmulni_intel rc_core aesni_intel ahci crypto_simd i2c_amd_mp2_pci libahci
[213027.906936]  cryptd i2c_piix4 r8169 drm nvme xhci_pci xhci_pci_renesas realtek nvme_core video
[213027.906951] CPU: 4 PID: 1297 Comm: RTW_CMD_THREAD Tainted: G        W  OE     5.15.0-72-generic #79~20.04.1-Ubuntu
[213027.906957] Hardware name: HC HCAR357-MI/HCAR357-MI, BIOS 5.13 12/28/2020
[213027.906959] RIP: 0010:rtw_lps_state_chk+0x39/0x49 [8821ce]
[213027.907071] Code: 54 53 49 89 fc bb 0b 00 00 00 be 04 06 00 00 4c 89 e7 e8 c6 99 f8 ff 84 c0 79 11 bf 01 00 00 00 e8 8d 3d fd ff 80 eb 01 75 e0 <0f> 0b 5b 41 5c 5d e9 b4 5e a2 e9 e9 af 5e a2 e9 0f 1f 44 00 00 55
[213027.907075] RSP: 0018:ffffaad3c1a37c20 EFLAGS: 00010246
[213027.907079] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[213027.907081] RDX: ffff99affff22d00 RSI: 0000000000000004 RDI: ffffaad3c1a37b50
[213027.907084] RBP: ffffaad3c1a37c30 R08: 0000000000000001 R09: 0000000000000000
[213027.907086] R10: 0000000000000000 R11: 0000000000000001 R12: ffffaad3c09e9000
[213027.907088] R13: ffffaad3c1a37cfc R14: ffffaad3c1811000 R15: ffffaad3c1811000
[213027.907090] FS:  0000000000000000(0000) GS:ffff99affff00000(0000) knlGS:0000000000000000
[213027.907093] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[213027.907096] CR2: 00007fbd2cff7ff8 CR3: 0000000109b20000 CR4: 00000000003506e0
[213027.907099] Call Trace:
[213027.907102]  <TASK>
[213027.907106]  SetHwReg+0x18c/0x73c [8821ce]
[213027.907215]  rtl8821c_sethwreg+0xd2c/0xd7f [8821ce]
[213027.907315]  sethwreg+0x2a/0x153 [8821ce]
[213027.907413]  rtw_hal_set_hwreg+0x19/0x1f [8821ce]
[213027.907522]  rtw_set_ps_mode+0xd9/0x1eb [8821ce]
[213027.907609]  LPS_Leave+0xd4/0xf6 [8821ce]
[213027.907694]  traffic_status_watchdog+0x1dc/0x2d5 [8821ce]
[213027.907754]  rtw_iface_dynamic_chk_wk_hdl+0x5a/0x1ad [8821ce]
[213027.907814]  _rtw_mi_dynamic_chk_wk_hdl+0xe/0x19 [8821ce]
[213027.907890]  _rtw_mi_process+0xa3/0xc3 [8821ce]
[213027.907965]  ? _rtw_mi_dynamic_check_timer_handlder+0x19/0x19 [8821ce]
[213027.908041]  ? session_tracker_cmd_hdl+0x1c9/0x1c9 [8821ce]
[213027.908101]  rtw_mi_dynamic_chk_wk_hdl+0x1f/0x25 [8821ce]
[213027.908184]  rtw_dynamic_chk_wk_hdl+0x12/0x4e [8821ce]
[213027.908242]  rtw_drvextra_cmd_hdl+0xaf/0x43a [8821ce]
[213027.908302]  ? session_tracker_cmd_hdl+0x1c9/0x1c9 [8821ce]
[213027.908362]  rtw_cmd_thread+0x2e4/0x430 [8821ce]
[213027.908419]  ? rtw_stop_cmd_thread+0x46/0x46 [8821ce]
[213027.908477]  kthread+0x12a/0x150
[213027.908485]  ? set_kthread_struct+0x50/0x50
[213027.908489]  ret_from_fork+0x22/0x30
[213027.908498]  </TASK>
[213027.908500] ---[ end trace 495c09d65b2b2b72 ]---
[203073.056507] WARNING: CPU: 5 PID: 1297 at /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/hal/hal_com.c:11447 rtw_lps_state_chk+0x39/0x49 [8821ce]
[203073.056644] Modules linked in: intel_rapl_msr nls_iso8859_1 snd_hda_codec_realtek intel_rapl_common snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi edac_mce_amd kvm_amd kvm btusb btrtl snd_hda_intel btbcm snd_intel_dspcfg btintel bluetooth snd_intel_sdw_acpi rapl snd_hda_codec snd_hda_core snd_hwdep ecdh_genericecc snd_seq_midi snd_seq_midi_event binfmt_misc snd_rawmidi snd_pci_acp6x snd_pcm k10temp 8821ce(OE) snd_seq snd_seq_device snd_pci_acp5x snd_timer snd snd_rn_pci_acp3x cfg80211 snd_pci_acp3x soundcore ccp ucsi_acpi typec_ucsi typec mac_hid sch_fq_codel msr parport_pc ppdev lp parport pstore_blk ramoops pstore_zone reed_solomon efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c amdgpu iommu_v2 gpu_sched i2c_algo_bit drm_ttm_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt uas usb_storage fb_sys_fops cec crct10dif_pclmul crc32_pclmul ghash_clmulni_intel rc_core aesni_intel ahci crypto_simd i2c_amd_mp2_pci libahci
[203073.056781]  cryptd i2c_piix4 r8169 drm nvme xhci_pci xhci_pci_renesas realtek nvme_core video
[203073.056796] CPU: 5 PID: 1297 Comm: RTW_CMD_THREAD Tainted: G        W  OE     5.15.0-72-generic #79~20.04.1-Ubuntu
[203073.056802] Hardware name: HC HCAR357-MI/HCAR357-MI, BIOS 5.13 12/28/2020
[203073.056805] RIP: 0010:rtw_lps_state_chk+0x39/0x49 [8821ce]
[203073.056916] Code: 54 53 49 89 fc bb 0b 00 00 00 be 04 06 00 00 4c 89 e7 e8 c6 99 f8 ff 84 c0 79 11 bf 01 00 00 00 e8 8d 3d fd ff 80 eb 01 75 e0 <0f> 0b 5b 41 5c 5d e9 b4 5e a2 e9 e9 af 5e a2 e9 0f 1f 44 00 00 55
[203073.056920] RSP: 0018:ffffaad3c1a37c20 EFLAGS: 00010246
[203073.056924] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[203073.056927] RDX: ffff99affff62d00 RSI: 0000000000000005 RDI: ffffaad3c1a37b50
[203073.056929] RBP: ffffaad3c1a37c30 R08: 0000000000000001 R09: 0000000000000000
[203073.056931] R10: 0000000000000000 R11: 0000000000000001 R12: ffffaad3c09e9000
[203073.056933] R13: ffffaad3c1a37cfc R14: ffffaad3c1811000 R15: ffffaad3c1811000
[203073.056936] FS:  0000000000000000(0000) GS:ffff99affff40000(0000) knlGS:0000000000000000
[203073.056939] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[203073.056942] CR2: 00007fedf0e27bcc CR3: 000000073b010000 CR4: 00000000003506e0
[203073.056945] Call Trace:
[203073.056947]  <TASK>
[203073.056952]  SetHwReg+0x18c/0x73c [8821ce]
[203073.057061]  rtl8821c_sethwreg+0xd2c/0xd7f [8821ce]
[203073.057161]  sethwreg+0x2a/0x153 [8821ce]
[203073.057259]  rtw_hal_set_hwreg+0x19/0x1f [8821ce]
[203073.057368]  rtw_set_ps_mode+0xd9/0x1eb [8821ce]
[203073.057455]  LPS_Leave+0xd4/0xf6 [8821ce]
[203073.057541]  traffic_status_watchdog+0x1dc/0x2d5 [8821ce]
[203073.057601]  rtw_iface_dynamic_chk_wk_hdl+0x5a/0x1ad [8821ce]
[203073.057660]  _rtw_mi_dynamic_chk_wk_hdl+0xe/0x19 [8821ce]
[203073.057736]  _rtw_mi_process+0xa3/0xc3 [8821ce]
[203073.057811]  ? _rtw_mi_dynamic_check_timer_handlder+0x19/0x19 [8821ce]
[203073.057887]  ? session_tracker_cmd_hdl+0x1c9/0x1c9 [8821ce]
[203073.057947]  rtw_mi_dynamic_chk_wk_hdl+0x1f/0x25 [8821ce]
[203073.058024]  rtw_dynamic_chk_wk_hdl+0x12/0x4e [8821ce]
[203073.058083]  rtw_drvextra_cmd_hdl+0xaf/0x43a [8821ce]
[203073.058142]  ? session_tracker_cmd_hdl+0x1c9/0x1c9 [8821ce]
[203073.058202]  rtw_cmd_thread+0x2e4/0x430 [8821ce]
[203073.058259]  ? rtw_stop_cmd_thread+0x46/0x46 [8821ce]
[203073.058317]  kthread+0x12a/0x150
[203073.058325]  ? set_kthread_struct+0x50/0x50
[203073.058329]  ret_from_fork+0x22/0x30
[203073.058338]  </TASK>
[203073.058341] ---[ end trace 495c09d65b2b2b6f ]---
[199551.273606] WARNING: CPU: 5 PID: 155496 at net/wireless/sme.c:756 __cfg80211_connect_result+0x3c1/0x400 [cfg80211]
[199551.273688] Modules linked in: intel_rapl_msr nls_iso8859_1 snd_hda_codec_realtek intel_rapl_common snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi edac_mce_amd kvm_amd kvm btusb btrtl snd_hda_intel btbcm snd_intel_dspcfg btintel bluetooth snd_intel_sdw_acpi rapl snd_hda_codec snd_hda_core snd_hwdep ecdh_genericecc snd_seq_midi snd_seq_midi_event binfmt_misc snd_rawmidi snd_pci_acp6x snd_pcm k10temp 8821ce(OE) snd_seq snd_seq_device snd_pci_acp5x snd_timer snd snd_rn_pci_acp3x cfg80211 snd_pci_acp3x soundcore ccp ucsi_acpi typec_ucsi typec mac_hid sch_fq_codel msr parport_pc ppdev lp parport pstore_blk ramoops pstore_zone reed_solomon efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c amdgpu iommu_v2 gpu_sched i2c_algo_bit drm_ttm_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt uas usb_storage fb_sys_fops cec crct10dif_pclmul crc32_pclmul ghash_clmulni_intel rc_core aesni_intel ahci crypto_simd i2c_amd_mp2_pci libahci
[199551.273815]  cryptd i2c_piix4 r8169 drm nvme xhci_pci xhci_pci_renesas realtek nvme_core video
[199551.273832] CPU: 5 PID: 155496 Comm: kworker/u32:2 Tainted: G        W  OE     5.15.0-72-generic #79~20.04.1-Ubuntu
[199551.273838] Hardware name: HC HCAR357-MI/HCAR357-MI, BIOS 5.13 12/28/2020
[199551.273842] Workqueue: cfg80211 cfg80211_event_work [cfg80211]
[199551.273890] RIP: 0010:__cfg80211_connect_result+0x3c1/0x400 [cfg80211]
[199551.273950] Code: 40 e8 48 8b 40 30 48 85 c0 0f 84 73 fd ff ff f0 ff 40 e8 e9 6a fd ff ff 0f 0b 48 8b 76 10 e8 26 10 fd ff e9 45 fe ff ff 0f 0b <0f> 0b e9 3c fe ff ff e8 63 38 d3 e8 e9 32 fe ff ff 0f 0b e9 5f fd
[199551.273954] RSP: 0018:ffffaad3ccb07d70 EFLAGS: 00010246
[199551.273958] RAX: 0000000000000000 RBX: ffff99a920990800 RCX: 0000000000000000
[199551.273961] RDX: 0000000000000002 RSI: 00000000fffffe01 RDI: ffffffffc0ff8ee8
[199551.273963] RBP: ffffaad3ccb07dc0 R08: ffff99a90b7410b8 R09: 0000000000000003
[199551.273966] R10: 0000000000000000 R11: fffffffefd080709 R12: ffff99a9293d0258
[199551.273968] R13: ffff99a900bbf000 R14: ffffaad3ccb07d70 R15: dead000000000100
[199551.273971] FS:  0000000000000000(0000) GS:ffff99affff40000(0000) knlGS:0000000000000000
[199551.273974] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[199551.273977] CR2: 00007fbcf67faff8 CR3: 0000000109f6c000 CR4: 00000000003506e0
[199551.273979] Call Trace:
[199551.273982]  <TASK>
[199551.273990]  cfg80211_process_wdev_events+0x148/0x1b0 [cfg80211]
[199551.274040]  ? cfg80211_process_wdev_events+0x148/0x1b0 [cfg80211]
[199551.274089]  cfg80211_process_rdev_events+0x2b/0x50 [cfg80211]
[199551.274138]  cfg80211_event_work+0x2a/0x40 [cfg80211]
[199551.274184]  process_one_work+0x22b/0x3d0
[199551.274195]  worker_thread+0x4d/0x3f0
[199551.274200]  ? process_one_work+0x3d0/0x3d0
[199551.274205]  kthread+0x12a/0x150
[199551.274210]  ? set_kthread_struct+0x50/0x50
[199551.274214]  ret_from_fork+0x22/0x30
[199551.274224]  </TASK>
[199551.274226] ---[ end trace 495c09d65b2b2b6d ]---
dexter2000 commented 1 year ago

@0x5BC2E7 @tomaspinho These warnings I've also seen:

[213027.906668] WARNING: CPU: 4 PID: 1297 at /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/hal/hal_com.c:11447 rtw_lps_state_chk+0x39/0x49 [8821ce]

I Fixed it by increasing the value of this variable "LPS_ACTIVE_TIMEOUT" by 10 each time till the Periodic warning never appeared again for me the value ended up at 50

commit 5d2e9a6384b1285beb6c1b95bdbb27f739ffabb6
Author: dexter <dexter@nostromo4.home>
Date:   Wed Feb 10 17:08:55 2021 +0000

    Increase LPS_ACTIVE_TIMEOUT to 20 from 10

diff --git a/hal/hal_com.c b/hal/hal_com.c
index cacb3ef..d64282b 100644
--- a/hal/hal_com.c
+++ b/hal/hal_com.c
@@ -11427,7 +11427,7 @@ s32 rtw_hal_set_wifi_btc_port_id_cmd(_adapter *adapter)
 }
 #endif

-#define LPS_ACTIVE_TIMEOUT     10 /*number of times*/
+#define LPS_ACTIVE_TIMEOUT     20 /*number of times*/
 void rtw_lps_state_chk(_adapter *adapter, u8 ps_mode)
 {
        if (ps_mode == PS_MODE_ACTIVE) {