You are not logged in.

#1 2024-09-21 18:11:38

crissuper20
Member
Registered: 2024-08-14
Posts: 5

[SOLVED] wifi on rtw_8822ce stops working after fresh install

Hi, this is my first post here as I cant find a similar issue with my wifi card, it worked fine on the first boot and when I started the machine again, wifi is gone, although bluetooth still works fine. I have limited knowledge about devices and kernel stuff, so please tell me if I have to give more details or logs

It stopped showing up on here:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 7c:4d:8f:3b:fb:cf brd ff:ff:ff:ff:ff:ff

It does show up on lspci -v

0000:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
        Subsystem: Hewlett-Packard Company Device 85f7
        Flags: fast devsel, IRQ 16
        I/O ports at 4000 [size=256]
        Memory at 54100000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, IntMsgNum 0
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-c8-22-01
        Capabilities: [158] Latency Tolerance Reporting
        Capabilities: [160] L1 PM Substates
        Kernel modules: rtw88_8822ce

and dmesg output: https://pastebin.com/K8cmSwY8

I didn't try anything else than restarting but it still doesn't show up

Last edited by crissuper20 (2024-09-25 00:54:55)

Offline

#2 2024-09-21 22:58:32

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,720

Re: [SOLVED] wifi on rtw_8822ce stops working after fresh install

[    2.455172] rtw_8822ce 0000:01:00.0: enabling device (0000 -> 0003)
[    2.456640] rtw_8822ce 0000:01:00.0: WOW Firmware version 9.9.4, H2C version 15
[    2.457686] rtw_8822ce 0000:01:00.0: Firmware version 9.9.15, H2C version 15
[    2.485330] rtw_8822ce 0000:01:00.0: failed to download firmware
[    2.485587] rtw_8822ce 0000:01:00.0: failed to setup chip efuse info
[    2.485590] rtw_8822ce 0000:01:00.0: failed to setup chip information
[    2.493893] rtw_8822ce 0000:01:00.0: probe with driver rtw_8822ce failed with error -22
[    1.221658]  nvme0n1: p1 p2 p3 p4 p5 p6
[    0.947873]  ? tgl_tc_phy_init+0x107/0x130 [i915 06218d946af7f472d746afa08932bd6a473ca4d4]
[    0.947971]  ? __warn.cold+0x8e/0xf5
[    0.947974]  ? tgl_tc_phy_init+0x107/0x130 [i915 06218d946af7f472d746afa08932bd6a473ca4d4]
[    0.948060]  ? report_bug+0xe7/0x210
[    0.948062]  ? handle_bug+0x3c/0x80
[    0.948064]  ? exc_invalid_op+0x19/0xc0
[    0.948066]  ? asm_exc_invalid_op+0x1a/0x20
[    0.948068]  ? tgl_tc_phy_init+0x107/0x130 [i915 06218d946af7f472d746afa08932bd6a473ca4d4]
[    0.948144]  ? tgl_tc_phy_init+0x107/0x130 [i915 06218d946af7f472d746afa08932bd6a473ca4d4]

How many parallel windows installations do you have?

(It's a trick-question, if the answer is > 0, see the 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.)

Offline

#3 2024-09-22 00:57:59

crissuper20
Member
Registered: 2024-08-14
Posts: 5

Re: [SOLVED] wifi on rtw_8822ce stops working after fresh install

Quite confused how Windows fast Startup affects the functionality of that. Ive disabled both hibernation and Fast Startup, went to Arch. No bueno.
Still doesn't appear when using the ip addr command, and the dmesg output is the same, with the same trace and same -22 error
dmesg: https://pastebin.com/JqZZLdZ0
I made sure to reboot twice, im pretty lost by now xD

Offline

#4 2024-09-22 06:36:13

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,720

Re: [SOLVED] wifi on rtw_8822ce stops working after fresh install

"Fast start" and hibernation are the same and the result is that the hardware is in an undefined state because it's still operated by the hibernating OS.
Radio is the primary victim of this condition.

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

for userspace context, make sure to have the linux-firmware package installed and try the non-zen as well as the LTS kernel.
It's a slightly different chip but you might be affected by https://bbs.archlinux.org/viewtopic.php?id=299462 as well.

Offline

#5 2024-09-22 18:08:40

crissuper20
Member
Registered: 2024-08-14
Posts: 5

Re: [SOLVED] wifi on rtw_8822ce stops working after fresh install

here is the complete journal http://0x0.st/XYKN.txt
Also, i tried to boot with LTS kernel, heres the output for that one http://0x0.st/XYKa.txt
the linux-firmware package is installed, just like in the installation guide, also tested another slightly older kernel version (6.9.arch1-1), same thing :c

I checked out the link you gave me to that similar bug, I don't know how to bisect... Will try to learn how to do this and see if I can locate my issue, I don't think its an upstream kernel issue, but im gonna try to do the whole thing anyways smile

Offline

#6 2024-09-22 19:53:06

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,720

Re: [SOLVED] wifi on rtw_8822ce stops working after fresh install

There's even a much closer hit: https://bbs.archlinux.org/viewtopic.php?id=294162

Double and triple check that fast-start is disabled, then… check again.
Finally, the user in that thread had https://archlinux.org/packages/extra/x8 … oadcom-wl/ installed and it seems to cover the chip (for whatever reason)
They might just have moved over to that driver, you could ask in that thread what their condition is right now, but a hibernating windows was my first take on the situation regardless of that thread.
So make absolutely sure it's disabled and you've properly rebooted both OS.

How does the chip btw. behave when you boot the install iso?

Offline

#7 2024-09-22 23:11:28

crissuper20
Member
Registered: 2024-08-14
Posts: 5

Re: [SOLVED] wifi on rtw_8822ce stops working after fresh install

after several attempts, still no wifi, and also the same error happens on the arch iso http://0x0.st/XYNa.txt
I made sure to install that driver, and it does no difference
Also rebooted windows, then shutdown and then booted to the arch iso, to no avail

update: What i did was disassemble my laptop, unplug the battery (mine doesn't have a coin battery so that does reset BIOS, and make sure to push the power button this way theres NO power), assembled it and turned it back on, after booting to Arch, it works fine. I dont have any idea of how doing that made it work, but now it does. Very logic... Totally.

I don't wanna mark it as solved as i know this is not a solution, and im 1000% sure that it will break again

Last edited by crissuper20 (2024-09-22 23:48:11)

Offline

#8 2024-09-23 07:29:47

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,720

Re: [SOLVED] wifi on rtw_8822ce stops working after fresh install

I don't wanna mark it as solved as i know this is not a solution, and im 1000% sure that it will break again

If windows fast-start is and stays off, I'll bet your right arm against that.
It's the most likely cause to have triggered this.

Offline

#9 2024-09-25 00:52:35

crissuper20
Member
Registered: 2024-08-14
Posts: 5

Re: [SOLVED] wifi on rtw_8822ce stops working after fresh install

To be sure about it, i enabled Hibernation and fast start again, and the same exact problem appeared, and taking the battery out and back in does fix the problem, at least on the HP 240 G8, Im sure theres more to it than just that but for now the accepted solution for me is the one you gave, thx for the support and patience! C:

Offline

Board footer

Powered by FluxBB