Bug 28150 - With kernel 5.7.19 on an HP 17z CA-100 laptop, Wifi worked without any special attention. After the automatic upgrade and reboot to 5.10.6, the Wifi connection disappeared.
Summary: With kernel 5.7.19 on an HP 17z CA-100 laptop, Wifi worked without any specia...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on: 28210
Blocks:
  Show dependency treegraph
 
Reported: 2021-01-17 17:42 CET by Alan Rocker
Modified: 2021-01-31 22:37 CET (History)
4 users (show)

See Also:
Source RPM: kernel-desktop-5.10.6
CVE:
Status comment:


Attachments

Description Alan Rocker 2021-01-17 17:42:26 CET
Description of problem: Automatic upgrade broke Wifi setting. (The wifi interface no longer shows in Network Center.) Attempting to add it back runs into a request for a Windows ndiswrapper (which wasn't required before, AFAIK.)

Control Center Hardware finds a Wifi card under "Ethernet", but it might not be correctly identified; it only shows 802.11a/c, and IIRC it should be more like 802.11b/g/n/ac (HP 17z ca-100 is virtually new.)

Version-Release kernel desktop 5.7.19 -> 5.10.6

How reproducible: Don't know how to return to status quo ante so how do 1 repeat the change?


Steps to Reproduce:
1. Accept automatic upgrade?
Comment 1 Aurelien Oudelet 2021-01-17 17:57:56 CET
Hi, thanks for reporting this.

Can you please attach here the output of

$ inxi -Nn

CC: (none) => ouaurelien
Keywords: (none) => Triaged

Comment 2 Alan Rocker 2021-01-17 18:55:22 CET
inxi doesn't seem to be on the machine, even in /usr/sbin. (It's not on the other machine I installed from the same USB.) What does it do, and for what should I be looking.
Comment 3 Alan Rocker 2021-01-17 19:21:33 CET
I've just found inxi in the software lists, so I nkw know what it does. Is there anything required to run it?
Comment 4 Alan Rocker 2021-01-17 19:45:17 CET
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: 6c:02:e0:0b:a8:8c 
           Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter driver: N/A
Comment 5 Lewis Smith 2021-01-17 21:26:35 CET
Just a note to say that from Mageia 8, inxi will be installed automatically. It is very good for collecting different system information in a compact form.
If you are curious, do
 $ man inxi
!
Comment 6 Thomas Backlund 2021-01-17 21:38:13 CET
please provide output of "lspcidrake -v"
Comment 7 Alan Rocker 2021-01-17 22:19:55 CET
lspcidrake -v generates a lot of output, but I think the 2 relevant lines are:

r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:103c subd:85b3) (rev: 15)

rtw88_8821ce    : Realtek Semiconductor Co., Ltd.|RTL8821CE 802.11ac PCIe Wireless Network Adapter [NETWORK_OTHER] (vendor:10ec device:c821 subv:103c subd:831a)
Comment 8 Alan Rocker 2021-01-18 00:53:14 CET
Checking card types, I learned that 802.11ac is a later designation, not a/c (which would be an older, much more limited, combination).
Comment 9 Karl Gerstenberg 2021-01-18 14:42:54 CET
I can confirm the error. 
The same date: It occurred after the updates on 15.1.2021.
The same wifi-device: RTL8821CE

Even if I go back to the previous kernel-version, the problem remains.

CC: (none) => mail.gerstenberg

Comment 10 Florian Hubold 2021-01-18 17:27:00 CET
Guys, please have a look at https://github.com/tomaspinho/rtl8821ce#wi-fi-not-working-for-kernel--59 as this only seems to be since kernel >= 5.9 is in place.

CC: (none) => doktor5000

Comment 11 Lewis Smith 2021-01-19 20:06:52 CET
Note that the link given above (thank you Florian) shows a workaround:
"Wi-Fi not working for kernel >= 5.9
The Linux Kernel 5.9 version comes with a broken rtw88 module developed by Realtek that has poor compatibility with most revision of the 8821ce chip.

You must disable it by adding the following to your module blacklists (/etc/modprobe.d/blacklist.conf):

blacklist rtw88_8821ce
Then, make sure you have the rtl8821ce module correctly installed.

Turn off your computer, wait a few seconds (to force firmware reload) and then turn it on again."

Assigning to the kernel/drivers group.

Assignee: bugsquad => kernel

Comment 12 Thomas Backlund 2021-01-19 22:47:38 CET
hi, 

seems I forgot to fix and re-enable the 3rdparty rtl8821ce for kernel 5.10 series :/

sorry about that...

I've fixed it for Cauldron in the currently building 5.10.9-1

that will land in mga7 testing after 5.10.8-2 that currently passing through QA is validated and pusheg.
Comment 13 Alan Rocker 2021-01-20 16:13:47 CET
Thomas Backlund:

> will land in mga7 testing after 5.10.8-2 that currently passing through QA 

I'm willing to test that, if you'd like.
Comment 14 Thomas Backlund 2021-01-21 00:01:40 CET
kernel-5.10.9-1.mga7 is now building and should show up in Mageia 7 Core Updates Testing after some hours...
Comment 15 Thomas Backlund 2021-01-22 12:56:17 CET
does kernel-5.10.9-1.mga7 work any better ?
Comment 16 Alan Rocker 2021-01-22 15:57:16 CET
(In reply to Thomas Backlund from comment #15)
> does kernel-5.10.9-1.mga7 work any better ?

How do I get that to download and install? rpm commands or control-centre? Mirror lists to have checked?
Comment 17 Alan Rocker 2021-01-22 16:02:42 CET
P.S. when installec, should a reboot bring it back immediately, or are there extra steps?
Comment 18 Thomas Backlund 2021-01-22 16:31:20 CET
either go to media manager, enable "Core Updates Testing" and select the kernel from there.

or in console as root:

urpmi.update ""
urpmi --media Testing kernel-desktop-latest

and if you are using any dkms package, 

urpmi --media Testing kernel-desktop-devel-latest



after its installed, reboot with the new kernel and see if it works again
Comment 19 Alan Rocker 2021-01-22 17:21:54 CET
It took a couple of reboots to get its full attention, but wlp3s0 is now there and functioning. Thanks.
Comment 20 Roger Checa 2021-01-22 22:01:41 CET
Confirm "8821ce.ko.xz" is back again in  "/usr/lib/modules/5.10.9-desktop-1.mga7/kernel/3rdparty/rtl8821ce" and working => with kernel 5.10.9-1 in Updates-testing.
Thanks

CC: (none) => django27

Thomas Backlund 2021-01-24 15:09:50 CET

Depends on: (none) => 28210

Comment 21 Thomas Backlund 2021-01-24 15:13:36 CET
this fix will be part of the official 5.10.10 update tracked in bug 28210

please test that it all still works for you
Comment 22 Roger Checa 2021-01-24 16:25:41 CET
Hi,
YES ! Working here.
Thanks
Comment 23 Thomas Backlund 2021-01-31 22:37:11 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2021-0061.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.