On 5/9/21 2:35 PM, rtl8821cerfe2 wrote:
Hi! My system freezes if I use this driver. My laptop's wifi card is RTL8821CE, type RFE 2. My laptop is HP 250 G7, model 6MQ29EA. It happens within a few minutes after booting if I don't do anything out of the ordinary. If I do a speed test at speedtest.net, the system usually freezes during the test. I have to hold the power button to shut it down. This happens with the 5.12/5.12.1 kernel provided by Arch Linux, but it also happens with the latest rtw88 code from https://github.com/lwfinger/rtw88, revision 22f319b11d6d3c4a3ac9e1f90e3433ed9f5ecf11. I have been using the driver from https://github.com/tomaspinho/rtl8821ce since late 2019 with no problems, even with Linux 5.12/5.12.1. I tested all combinations of rtw_pci parameters "disable_msi" and "disable_aspm". Nothing helped. I set up netconsole and added the parameter "loglevel=7" to the kernel command line. Unfortunately all the messages that came through netconsole also appear in journalctl, so I got no new information that way. I used the driver from the stock Arch Linux kernel for this test. I'm attaching the file "journalctl-nono.txt", which contains the output of "sudo journalctl _TRANSPORT=kernel" from the time I tested the code from lwfinger/rtw88. I'm also attaching the file "journalctl-senorsnor.txt", which comes from another user who has the same problem. Their wifi card is also RFE 2. Maybe there is something relevant, I don't know. I'm happy to provide more information, test possible fixes, etc.
The only splat that shows in either attachment is due to you not installing the regulatory database that sets the channels etc. for your domain. I do not know what it is called for your distro - it is wireless-regdb on mine. It is unlikely that this is the cause of your problem, but who knows?
Larry