You are not logged in.

#1 2020-08-17 09:15:48

chw
Member
Registered: 2020-08-17
Posts: 7

[SOLVED] WiFi works during install but fails on boot

Hi.

I bought a new Laptop which has a Realtek RTL8822CE 802.11ac PCIe Adapter built in.
Said adpater works just fine during the install, but fails on boot of the installed system.

I used archiso to make a current ISO, so the linux and the linux-firmware packages are the same on both.

dmesg on the iso:

[    9.888720] rtw_8822ce 0000:01:00.0: enabling device (0000 -> 0003)
[    9.940105] rtw_8822ce 0000:01:00.0: Firmware version 9.9.0, H2C version 15
[    9.940526] rtw_8822ce 0000:01:00.0: Firmware version 9.9.0, H2C version 15
[   11.225827] rtw_8822ce 0000:01:00.0: start vif 70:66:55:e8:5e:7c on port 0
[   12.495542] rtw_8822ce 0000:01:00.0: stop vif 70:66:55:e8:5e:7c on port 0
[   12.727565] rtw_8822ce 0000:01:00.0: start vif 70:66:55:e8:5e:7c on port 0

lspci on the iso:

01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
    Subsystem: Hewlett-Packard Company Device 85f7
    Kernel driver in use: rtw_8822ce
    Kernel modules: rtw88_8822ce, wl

dmesg on the installed system:

[    3.725976] rtw_8822ce 0000:01:00.0: enabling device (0000 -> 0003)
[    3.726265] rtw_8822ce 0000:01:00.0: failed to init rx buffer
[    3.726882] rtw_8822ce 0000:01:00.0: Firmware version 9.9.0, H2C version 15
[    3.726895] rtw_8822ce 0000:01:00.0: Firmware version 9.9.0, H2C version 15
[    3.726898] rtw_8822ce 0000:01:00.0: failed to allocate pci resources
[    3.727481] rtw_8822ce 0000:01:00.0: failed to setup pci resources
[    3.728150] rtw_8822ce: probe of 0000:01:00.0 failed with error -16

lspci on the installed system:

01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
    Subsystem: Hewlett-Packard Company Device 85f7
    Kernel modules: rtw88_8822ce

This is repeatable, no matter how many times I boot either the ISO or the installed system.

I'd really appreciate any pointers as to what might be the cause here, cause I'm at a loss.

Thanks.

Last edited by chw (2020-08-27 16:52:36)

Offline

#2 2020-08-22 12:37:13

chw
Member
Registered: 2020-08-17
Posts: 7

Re: [SOLVED] WiFi works during install but fails on boot

Just upgraded to linux 5.8.2 (it had a few rtw88 fixes) and the latest linux-firmware, but unfortunately nothing changed.

I've tried unloading and reloading the modules which resulted in this error:

[  237.316472] rtw_8822ce 0000:01:00.0: Firmware version 9.9.0, H2C version 15
[  237.316520] rtw_8822ce 0000:01:00.0: Firmware version 9.9.0, H2C version 15
[  237.316661] rtw_8822ce 0000:01:00.0: swiotlb buffer is full (sz: 8216 bytes), total 0 (slots), used 0 (slots)
[  237.316664] rtw_8822ce 0000:01:00.0: failed to init rx buffer
[  237.316667] rtw_8822ce 0000:01:00.0: failed to allocate pci resources
[  237.316670] rtw_8822ce 0000:01:00.0: failed to setup pci resources
[  237.316733] rtw_8822ce: probe of 0000:01:00.0 failed with error -16

Which led me to this issue.

I put iommu=off in the kernel boot parameters before to troubleshoot another problem.
So, I removed that and WiFi is working!

Offline

#3 2020-08-23 09:40:21

IslandC0der
Member
From: Portugal
Registered: 2020-06-28
Posts: 39

Re: [SOLVED] WiFi works during install but fails on boot

Great to know you've fixed it! smile
Make sure to add "[SOLVED]" to your post title.

Offline

#4 2020-08-23 20:12:46

chw
Member
Registered: 2020-08-17
Posts: 7

Re: [SOLVED] WiFi works during install but fails on boot

I'd love to, but there is a character limit.
Not 100% sure what the etiquette is around here.
Should I remove a word or two to fit a "[SOLVED]" or keep the thread title intact?

Offline

#5 2020-08-26 20:27:17

IslandC0der
Member
From: Portugal
Registered: 2020-06-28
Posts: 39

Re: [SOLVED] WiFi works during install but fails on boot

I'm not a mod, but I would say something like "[SOLVED] WiFi works during install but fails on boot" would do just fine smile

Offline

#6 2020-08-27 16:53:00

chw
Member
Registered: 2020-08-17
Posts: 7

Re: [SOLVED] WiFi works during install but fails on boot

OK, done.

Offline

Board footer

Powered by FluxBB