clnhub / rtl8192eu-linux

Realtek rtl8192eu official Linux driver, versions: 5.2.19.1 (master), 5.6.3.1, 5.6.4 and 5.11.2.1 (default)
442 stars 90 forks source link

Driver no longer loading as from Kernel 6.3 (Fedora Linux) #77

Closed onyeibo closed 1 year ago

onyeibo commented 1 year ago

I have watched this for a long time now and it is consistent. I reserved the last release of kernel 6.2 on my Fedora box (rawhide version). I observe that the WIFI driver does not load when I chose any of the recent kernels before booting. I am stuck with that last release of 6,2.

I hope I am not the only one seeing this.

sunwire commented 1 year ago

Are you sure? I'm able to load the module by hand (modprobe). I don't have supported hardware to test it.

[root@fedora ~]# dkms status 8192eu
8192eu/5.11.2.1-5.git20230312.fc39, 6.3.0-0.rc3.20230324git1e760fa3596e.33.fc39.x86_64, x86_64: installed

[root@fedora ~]# uname -a
Linux fedora 6.3.0-0.rc3.20230324git1e760fa3596e.33.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar 24 18:27:21 UTC 2023 x86_64 GNU/Linux

[root@fedora ~]# lsmod |grep 8192eu
8192eu               2207744  0
cfg80211             1282048  1 8192eu

[root@fedora ~]# cat /etc/os-release 
NAME="Fedora Linux"
VERSION="39 (Workstation Edition Prerelease)"
ID=fedora
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"
PRETTY_NAME="Fedora Linux 39 (Workstation Edition Prerelease)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:39"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=rawhide
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=rawhide
SUPPORT_END=2024-05-14
VARIANT="Workstation Edition"
VARIANT_ID=workstation
onyeibo commented 1 year ago

Very interesting

I got the following instead:

[root@one ~]# modprobe 8192eu
modprobe: FATAL: Module 8192eu not found in directory /lib/modules/6.3.0-0.rc2.20230314gitfc89d7fb499b.24.fc39.x86_64
[root@one ~]# dkms status 8192eu
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/8192eu/5.11.2.1-4.git20230212.fc39/source/dkms.conf does not exist.
[root@one ~]# cat /etc/os-release 
NAME="Fedora Linux"
VERSION="39 (Rawhide Prerelease)"
ID=fedora
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"
PRETTY_NAME="Fedora Linux 39 (Rawhide Prerelease)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:39"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=rawhide
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=rawhide
SUPPORT_END=2024-05-14

I see there is a new kernel package in the repos. I will run an update and see what happens

sunwire commented 1 year ago

5.11.2.1-4.git20230212

Your driver is also a month old (current version 5.11.2.1-5.git20230312 and it include support for kernel 6.3 which was added three weeks ago)

onyeibo commented 1 year ago
Running scriptlet: kernel-modules-core-6.3.0-0.rc3.20230324git1e760fa3596e.33.fc39.x86_64                                                                              
Running scriptlet: kernel-core-6.3.0-0.rc3.20230324git1e760fa3596e.33.fc39.x86_64                                                                                      
dkms: running auto installation service for kernel 6.3.0-0.rc3.20230324git1e760fa3596e.33.fc39.x86_64
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/8192eu/5.11.2.1-4.git20230212.fc39/source/dkms.conf does not exist.
Done. 
dkms: running auto installation service for kernel 6.3.0-0.rc3.20230324git1e760fa3596e.33.fc39.x86_64
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/8192eu/5.11.2.1-4.git20230212.fc39/source/dkms.conf does not exist.
Done. 

Something is not right here

$ dnf list --installed | grep dkms
dkms.noarch                                     3.0.10-3.fc38                               @rawhide                                              
dkms-rtl8192eu.noarch                           5.11.2.1-5.git20230312.fc39                 @copr:copr.fedorainfracloud.org:sunwire:dkms-rtl8192eu

Why is it not working?

sunwire commented 1 year ago

Why is it not working?

Well I don't know but I assume that there are some old files and/or links in the /var/lib/dkms/8192eu directory. I think the easiest way is to remove dkms-rtl8192eu rpm package, when go to /var/lib/dkms directory and if 8192eu directory still exist remove it and then install dkms-rtl8192eu package.

onyeibo commented 1 year ago

That worked!!

Wireless card now operational for Kernel 6.3. Thank you!