Bug 27097 - dkms-rtl8192eu update for kernel 5.7 and 5.8
Summary: dkms-rtl8192eu update for kernel 5.7 and 5.8
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-08-12 15:14 CEST by Jose Manuel López
Modified: 2020-08-23 16:33 CEST (History)
3 users (show)

See Also:
Source RPM: dkms-rtl8192eu-4.3.1.1_11320.20140505-4.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Jose Manuel López 2020-08-12 15:14:37 CEST
Description of problem: I have updated Mageia 8 Beta 1. The kernel is updated to 5.8 version, but now the rtl8192eu driver can't build in this kernel, and I haven't wifi conection, because the device no appears in the system.


Version-Release number of selected component (if applicable): Mageia 8 Beta 1 Xfce X86_64 - Kernel 5.8 - dkms-rtl8192eu


How reproducible: Apply updates on Mageia 8 Beta 1, the package of new kernel version 5.8 is available, and reboot. 


Steps to Reproduce:
1. Apply updates of system.
2. Install update kernel 5.8
3. Reboot, and wifi with rtl8192eu don't build and don't appears in system
Comment 1 David Walser 2020-08-12 17:24:30 CEST
Updated packages uploaded for Mageia 7 and Cauldron.

Advisory:
----------------------------------------

The dkms-rtl8192eu package has been updated to the latest snapshot as of June
20th, with full support for the 5.6 and 5.8 series Linux kernels, bug fixes,
and other enhancements. See the upstream commit log for details.

References:
https://github.com/Mange/rtl8192eu-linux-driver/commits/realtek-4.4.x
----------------------------------------

Updated packages in core/updates_testing:
----------------------------------------
dkms-rtl8192eu-4.4.1-1.20200620.1.mga7

from dkms-rtl8192eu-4.4.1-1.20200620.1.mga7.src.rpm

Source RPM: dkms-rtl8192eu and kernel 5.8 => dkms-rtl8192eu-4.3.1.1_11320.20140505-4.mga7.src.rpm
Assignee: bugsquad => qa-bugs
Version: Cauldron => 7
Summary: Error building dkms-rtl8192eu driver => dkms-rtl8192eu update for kernel 5.7 and 5.8

Comment 2 Jose Manuel López 2020-08-13 07:55:59 CEST
Hi,

I have installed with new version of kernel 5.8.1 and rebooted the computer. Now works fine, build correctly and wifi conection works.

Very thanks and greetings!!
Comment 3 David Walser 2020-08-13 16:15:24 CEST
It would be nice if you could test the core/updates_testing build in Mageia 7 with the kernel 5.7.14 also in updates_testing to make sure it also works there.
Comment 4 Thomas Andrews 2020-08-17 14:39:55 CEST
(In reply to David Walser from comment #3)
> It would be nice if you could test the core/updates_testing build in Mageia
> 7 with the kernel 5.7.14 also in updates_testing to make sure it also works
> there.

I'm guessing the reporter no longer has a Mageia 7 install on the affected hardware to use for a test, as he has upgraded/updated to Cauldron. I also believe he is the only QA member with the affected hardware, making a separate Mageia 7 test unlikely.

So what do we do under these conditions? We have a valid kernel 5.8.x test, but not one for 5.7.x.

CC: (none) => andrewsfarm

Comment 5 Jose Manuel López 2020-08-17 17:59:28 CEST
Hello!

Sorry I'm late, but I've been running some tests, and I'm commenting..

The new package works with the 5.7.14 kernel perfectly. The module has been compiled well for the kernel. 

On the other hand, the hardware I needed from this package is a Realtek TL-WN823N usb-wifi adapter. To make it work I indicate here the process in case we can add something in Mageia and make it easier to work:

- Install the updated packages dmks-rtl8192 and rtlwifi-firmware. Reboot the system.
- The system/kernel gets the rtl8xxxu driver which is not correct for this device. Then it has to be taken to blacklist...
- Create a text file "realtek.conf" in the path /etc/modprobe.d.
- Inside the file put "blacklist=rtl8xxxu" and restart the computer.

After this, the system/kernel takes the correct driver rtl8192eu and the device works correctly with internet connection.

These instructions apply to both kernel 5.7.14 and 5.8.1.

So, We can close this bug fixed.

I hope this helps. Greetings!
Comment 6 Thomas Andrews 2020-08-18 03:36:00 CEST
I would agree that there ought to be a way to streamline the installation, some way to make it more automatic. Newbies would find the above procedure daunting. However, I think that's a good subject for another bug. 

This bug was that the driver module didn't build, and the update fixes that. So, I'm going to give it an OK, and validate it. Advisory in Comment 1.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: (none) => MGA7-64-OK

Dave Hodgins 2020-08-18 21:54:48 CEST

Keywords: (none) => advisory
CC: (none) => davidwhodgins

Comment 7 Mageia Robot 2020-08-18 22:44:45 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0177.html

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

Comment 8 David Walser 2020-08-23 16:33:42 CEST
Jose, please test this again in Bug 22599.

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