Bug 25309 - dkms module for rtl8192eu not building under Mageia7 (kernel 5.x)
Summary: dkms module for rtl8192eu not building under Mageia7 (kernel 5.x)
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-15 09:52 CEST by Nicolas Nicolas
Modified: 2020-08-31 00:07 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 Nicolas Nicolas 2019-08-15 09:52:25 CEST
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible: always


Steps to Reproduce:
1.install dkms-rtl8192eu package

When the machine is rebooted, the "building rtl8192eu driver" is displayed but compilation seems to fail (message is displayed at each boot even if no new kernel is installed).

The var/lib/dkms/rtl8192eu/4.3.1.1_11320.20140505-4.mga7/build/make.log output the below: 

"# cat /var/lib/dkms/rtl8192eu/4.3.1.1_11320.20140505-4.mga7/build/make.log
DKMS make.log for rtl8192eu-4.3.1.1_11320.20140505-4.mga7 for kernel 5.2.7-desktop-1.mga7 (x86_64)
jeu. août 15 09:40:17 CEST 2019
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.2.7-desktop-1.mga7/build M=/var/lib/dkms/rtl8192eu/4.3.1.1_11320.20140505-4.mga7/build  modules
make[1] : on entre dans le répertoire « /usr/src/kernel-5.2.7-desktop-1.mga7 »
  CC [M]  /var/lib/dkms/rtl8192eu/4.3.1.1_11320.20140505-4.mga7/build/core/rtw_cmd.o
In file included from /var/lib/dkms/rtl8192eu/4.3.1.1_11320.20140505-4.mga7/build/include/osdep_service.h:41,
                 from /var/lib/dkms/rtl8192eu/4.3.1.1_11320.20140505-4.mga7/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8192eu/4.3.1.1_11320.20140505-4.mga7/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8192eu/4.3.1.1_11320.20140505-4.mga7/build/include/osdep_service_linux.h: Dans la fonction « _init_timer »:
/var/lib/dkms/rtl8192eu/4.3.1.1_11320.20140505-4.mga7/build/include/osdep_service_linux.h:253:8: error: « _timer » {alias « struct timer_list »} n'a pas de membre nommé « data »
  ptimer->data = (unsigned long)cntx;
        ^~
/var/lib/dkms/rtl8192eu/4.3.1.1_11320.20140505-4.mga7/build/include/osdep_service_linux.h:254:2: error: déclaration implicite de la fonction « init_timer »; vouliez-vous utiliser « _init_timer » ? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
cc1 : certains avertissements sont traités comme des erreurs
make[2]: *** [scripts/Makefile.build:279: /var/lib/dkms/rtl8192eu/4.3.1.1_11320.20140505-4.mga7/build/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1591: _module_/var/lib/dkms/rtl8192eu/4.3.1.1_11320.20140505-4.mga7/build] Error 2
make[1] : on quitte le répertoire « /usr/src/kernel-5.2.7-desktop-1.mga7 »
make: *** [Makefile:1323: modules] Error 2"


When using the driver of the git https://github.com/Mange/rtl8192eu-linux-driver, the module is compiled without error.

Note: i have not the hardware to make tests if the git driver is functionnal.
Marja Van Waes 2019-08-15 17:02:53 CEST

CC: (none) => makowski.mageia, marja11
Assignee: bugsquad => kernel

Comment 1 David Walser 2020-08-31 00:07:12 CEST
This has been fixed in Bug 27097, and another fix is pending in Bug 22599.

CC: (none) => luigiwalser
Status: NEW => RESOLVED
Resolution: (none) => OLD


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