tomaspinho / rtl8821ce

Other
1.59k stars 409 forks source link

PCIe Bus Error #336

Open emerajid opened 1 year ago

emerajid commented 1 year ago

Greetings.

I know you can't care less but to fuck around with Realtek shit, but my dmesg is ravaged by hundreds of

[  459.968990] rtl8821ce 0000:02:00.0:   device [10ec:c821] error status/mask=00000001/0000e000
[  459.968998] rtl8821ce 0000:02:00.0:    [ 0] RxErr                  (First)
[  460.545028] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: 0000:02:00.0
[  460.545056] rtl8821ce 0000:02:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)

People report turning off ASPM fixes this, but it's not much of a solution, because power saving gets hurt badly. Is there anything you can do about this crap?

Kernel: Linux 6.1.0-13-amd64 I'm on Debian, which you don't support, so please don't frown upon me too much :)

EDIT: for justice sake, journalctl -b | grep rtl8821ce | wc -l yields 46398.

emerajid commented 1 year ago

Look what I found, might be relevant.

kernel: ------------[ cut here ]------------
kernel: netdevice: wlp2s0: Incorrect netdev->dev_addr
kernel: WARNING: CPU: 3 PID: 836 at net/core/dev_addr_lists.c:519 dev_addr_check.cold+0x43/0x74
kernel: Modules linked in: 8021q garp stp mrp llc cmac algif_hash algif_skcipher af_alg bnep isofs cdrom binfmt_misc snd_sof_pci_intel_skl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_hda_codec_hdmi snd_hda_codec_realtek snd_soc_skl btusb snd_hda_codec_generic snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp btrtl btbcm btintel snd_soc_acpi_intel_match btmtk snd_soc_acpi uvcvideo bluetooth snd_soc_core i915 x86_pkg_temp_thermal intel_powerclamp videobuf2_vmalloc videobuf2_memops coretemp snd_compress videobuf2_v4l2 kvm_intel videobuf2_common snd_hda_intel videodev 8821ce(OE) drm_buddy jitterentropy_rng snd_intel_dspcfg kvm snd_intel_sdw_acpi drm_display_helper drbg ansi_cprng mc snd_hda_codec irqbypass ecdh_generic ecc cec snd_hda_core snd_hwdep ghash_clmulni_intel sha512_ssse3 rc_core asus_nb_wmi asus_wmi sha512_generic snd_pcm ttm
kernel: cfg80211 platform_profile sparse_keymap ledtrig_audio snd_timer aesni_intel drm_kms_helper snd joydev crypto_simd mei_hdcp evdev cryptd rfkill rapl intel_cstate intel_rapl_msr i2c_algo_bit iTCO_wdt intel_pmc_bxt soundcore iTCO_vendor_support intel_xhci_usb_role_switch watchdog mei_me mei processor_thermal_device_pci_legacy processor_thermal_device intel_uncore processor_thermal_rfim processor_thermal_mbox processor_thermal_rapl intel_rapl_common wmi_bmof roles ee1004 pcspkr intel_soc_dts_iosf ac sg int3403_thermal serio_raw int340x_thermal_zone hid_multitouch button asus_wireless int3400_thermal intel_pch_thermal acpi_thermal_rel intel_pmc_core acpi_pad parport_pc ppdev lp parport dm_mod drm efi_pstore loop fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic usbhid sd_mod t10_pi crc64_rocksoft crc64 crc_t10dif crct10dif_generic ahci libahci libata hid_generic sdhci_pci cqhci xhci_pci xhci_hcd scsi_mod sdhci usbcore i2c_hid_acpi
kernel: crct10dif_pclmul crct10dif_common i2c_hid scsi_common crc32_pclmul mmc_core crc32c_intel hid i2c_i801 i2c_smbus intel_lpss_pci usb_common intel_lpss idma64 video battery wmi
kernel: CPU: 3 PID: 836 Comm: wpa_supplicant Tainted: G OE 6.1.0-13-amd64 #1 Debian 6.1.55-1
kernel: Hardware name: # is that even needed?
kernel: RIP: 0010:dev_addr_check.cold+0x43/0x74
kernel: Code: 01 e8 da b0 67 ff 0f 0b 48 c7 c5 b3 75 9b 82 80 3b 00 75 27 48 c7 c6 be 75 9b 82 48 89 ea 48 c7 c7 50 db a0 82 e8 b6 b0 67 ff <0f> 0b e9 c1 fb da ff 48 8b 2c d5 c0 3e 73 82 eb d4 be 25 00 00 00
kernel: RSP: 0018:ffffa0034093bb68 EFLAGS: 00010286
kernel: RAX: 0000000000000000 RBX: ffff94a5c0def000 RCX: 0000000000000000
kernel: RDX: 0000000000000002 RSI: ffffffff8299ec9e RDI: 00000000ffffffff
kernel: RBP: ffffffff8299ec9e R08: 0000000000000000 R09: ffffa0034093b9d8
kernel: R10: 0000000000000003 R11: ffffffff830d43c8 R12: ffffffffc16df0c0
kernel: R13: ffff94a5c0def268 R14: 0000000000000000 R15: 0000000000000001
kernel: FS: 00007fbd96286c80(0000) GS:ffff94a812d80000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 00005560d0a56b78 CR3: 0000000106286006 CR4: 00000000003706e0
kernel: Call Trace:
kernel: <TASK>
kernel: ? __warn+0x7d/0xc0
kernel: ? dev_addr_check.cold+0x43/0x74
kernel: ? report_bug+0xe6/0x170
kernel: ? handle_bug+0x41/0x70
kernel: ? exc_invalid_op+0x13/0x60
kernel: ? asm_exc_invalid_op+0x16/0x20
kernel: ? dev_addr_check.cold+0x43/0x74
kernel: ? dev_addr_check.cold+0x43/0x74
kernel: __dev_open+0x3f/0x1a0
kernel: __dev_change_flags+0x1d1/0x240
kernel: dev_change_flags+0x22/0x60
kernel: devinet_ioctl+0x396/0x7c0
kernel: inet_ioctl+0x1ae/0x1e0
kernel: sock_do_ioctl+0x7b/0x120
kernel: sock_ioctl+0xed/0x330
kernel: __x64_sys_ioctl+0x8d/0xd0
kernel: do_syscall_64+0x58/0xc0
kernel: ? fpregs_assert_state_consistent+0x22/0x50
kernel: ? exit_to_user_mode_prepare+0x40/0x1d0
kernel: ? syscall_exit_to_user_mode+0x27/0x40
kernel: ? do_syscall_64+0x67/0xc0
kernel: ? exit_to_user_mode_prepare+0x40/0x1d0
kernel: entry_SYSCALL_64_after_hwframe+0x64/0xce
kernel: RIP: 0033:0x7fbd95d1cb5b
kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
kernel: RSP: 002b:00007ffecfb96090 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
kernel: RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbd95d1cb5b
kernel: RDX: 00007ffecfb960f0 RSI: 0000000000008914 RDI: 0000000000000006
kernel: RBP: 0000000000000006 R08: 0000000000000007 R09: 00005560d0a232b0
kernel: R10: 0aa29c984a553067 R11: 0000000000000246 R12: 00005560d0a23130
kernel: R13: 0000000000000001 R14: 00007ffecfb960f0 R15: 0000000000000000
kernel: </TASK>
kernel: ---[ end trace 0000000000000000 ]---