A lot of wifi errors on syslog

My system’s network configuration is:

Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 5000
    bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 4000
    bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  Device-3: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    driver: rtw_8821ce v: N/A modules: rtw88_8821ce pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:c821 class-ID: 0280

On the syslog I find a lot of errors:

rtw_8821ce 0000:03:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
rtw_8821ce 0000:03:00.0:   device [10ec:c821] error status/mask=00000001/00000000
rtw_8821ce 0000:03:00.0:    [ 0] RxErr                  (First)
pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:03:00.0
rtw_8821ce 0000:03:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
rtw_8821ce 0000:03:00.0:   device [10ec:c821] error status/mask=00000001/00000000
rtw_8821ce 0000:03:00.0:    [ 0] RxErr                  (First)
pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:03:00.0       

Bluetooth randomly loses connection with the external device which it regains after some time later.
I have tried editing the file /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

[connection]
wifi.powersave = 2

as I read, but the error messages remain.
What can I do to fix the bugs?

:hugs:

I saw … and then ?

Any advice ?

Your reply didn’t help. Happy of your happiness, probably you don’t have any problem.

There have been a few threads about this wifi chip.
You might want to search for the threads here with word rtl8821ce.

There is an AUR package which provides a driver with firmware for your WiFi card that may be worth a shot: https://github.com/tomaspinho/rtl8821ce

You can install it with yay.

yay rtl8821ce-dkms-git

Thank you. I’ve installed it, but it seems there is no result, the errors are still present, as before.

I reinstalled the rtl8821ce-dkms-git driver on the linux-lts kernel but no new positive result in the issue.
However, the device seems to be working, should I continue to see errors on the syslog ?

You have tried the following package?

Edit: Still getting errors or is it working properly? Don’t be concerned with error messaging and errors that stop it from working. :wink:

https://aur.archlinux.org/packages/rtl8821ce-dkms-git

As I said I installed rtl8821ce-dkms-git. Errors remain on syslog, but I can use the WiFi. I would prefer to eliminate them, however. :grin:

However you may not be able to. :wink:

Edit: Try the following kernel parameters.

pci=noaer

or

pci=nomsi

Kernel parameter pci=noaer with the rtl8821ce-dkms-git driver seem to be the solution.
Now no more errors on syslog. :grin: :grin: :grin:
Thank you very much !!

The pci=nomsi parameter also works.
Only this error in both cases, should I be worried?

set 15 11:22:13 ACE kernel: rtw_8821ce 0000:03:00.0: enabling device (0000 -> 0003)
set 15 11:22:13 ACE kernel: rtw_8821ce 0000:03:00.0: Firmware version 24.11.0, H2C version 12
set 15 11:22:14 ACE kernel: 8821ce: loading out-of-tree module taints kernel.
set 15 11:22:14 ACE kernel: 8821ce: module verification failed: signature and/or required key missing - tainting kernel

I wouldn’t worry as long as the WiFi is working for you.

Edit: Not sure if you have to blacklist the modulertw88_8821ce since you are use the dkms version? Not sure whether you tried that.

Edit: You would do that here

/etc/modprobe.d/blacklist.conf

add

blacklist rtw88_8821ce

Edit2: If this doesn’t work then just keep what you have that is working.

If the module rtw88_8821ce is blacklisted the network doesn’t work at all.
I’ve tried to remove rtl8821ce-dkms-git driver and the network works without reporting errors.
So the right option is only the pci=noaer or nomsi parameter for the kernel in the grub configuration.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.