View Issue Details

IDProjectCategoryView StatusLast Update
0000047AlmaLinux-8-OTHERpublic2021-03-31 07:23
Reporterj130496 Assigned Toalukoshko  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0000047: rtl8192eu (USB WIFI Dongle) drivers - DKMS build - From Github - Fails
DescriptionTried installing drivers from source using DKMS. Tried 2 options but both fails - Is this an updtream OS bug because I faced same issues in Cent OS 8 Stream and had to upgrade kernel version from Elrepo - but these kernels are forked out from source at kernel.org and may not be stable. So is there a way - that I can stick to kernel 4.18.240 and able to install driver either from sources mentioned below or from any other source which you may suggest

Sources for the above driver : https://github.com/Mange/rtl8192eu-linux-driver and another alternative https://github.com/jeremyb31/rtl8192eu-linux-driver

Error Logs attached.
Steps To Reproduce1. After cloning driver from git using git clone command changed directory to that of driver.
2. dkms add . (creates symbolic link)
3. dkms install dkms install rtl8192eu/1.0

Bad Exit Status 2
TagsNo tags attached.
Attached Files
rtl8192eu.log (9,233 bytes)   
DKMS make.log for rtl8192eu-1.0 for kernel 4.18.0-240.15.1.el8_3.x86_64 (x86_64)
Tue Mar 30 08:04:42 IST 2021
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-240.15.1.el8_3.x86_64/build M=/var/lib/dkms/rtl8192eu/1.0/build  modules
make[1]: Entering directory '/usr/src/kernels/4.18.0-240.15.1.el8_3.x86_64'
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.c:17:
/var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.c:17:
./include/linux/ieee80211.h:1463: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_security.o
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_security.c:17:
/var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_security.c:17:
./include/linux/ieee80211.h:1463: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.o
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.c:17:
/var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.c:17:
./include/linux/ieee80211.h:1463: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_io.o
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_io.c:47:
/var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_io.c:47:
./include/linux/ieee80211.h:1463: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ioctl_query.o
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ioctl_query.c:17:
/var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ioctl_query.c:17:
./include/linux/ieee80211.h:1463: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ioctl_set.o
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ioctl_set.c:17:
/var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ioctl_set.c:17:
./include/linux/ieee80211.h:1463: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ieee80211.o
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ieee80211.c:20:
/var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ieee80211.c:20:
./include/linux/ieee80211.h:1463: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme.o
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/../hal/phydm/phydm_types.h:215,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/../hal/phydm/phydm_precomp.h:29,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/hal_data.h:20,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme.c:17:
/var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/../hal/phydm/phydm_types.h:215,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/../hal/phydm/phydm_precomp.h:29,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/hal_data.h:20,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme.c:17:
./include/linux/ieee80211.h:1463: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.o
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.c:17:
/var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50,
                 from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27,
                 from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.c:17:
./include/linux/ieee80211.h:1463: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.c:1347:18: error: expected ‘)’ before ‘__attribute__’
  __attribute__ ((fallthrough));
                  ^
                  )
/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.c:1347:30: error: expected identifier or ‘(’ before ‘)’ token
  __attribute__ ((fallthrough));
                              ^
/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.c:1347:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  __attribute__ ((fallthrough));
  ^~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:316: /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.o] Error 1
make[1]: *** [Makefile:1544: _module_/var/lib/dkms/rtl8192eu/1.0/build] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.18.0-240.15.1.el8_3.x86_64'
make: *** [Makefile:2293: modules] Error 2
rtl8192eu.log (9,233 bytes)   
abrt_hash
URL

Activities

j130496

2021-03-30 03:32

reporter   ~0000083

Tried direct compilation (also just now - without DKMS) using make clean and make - at make stage it fails - Source of driver: https://github.com/ZeeRooo/RTL8192EU

j130496

2021-03-30 04:40

reporter   ~0000084

Tried another direct compilation from the source of the site of DIGISOL Brand USB WiFI Token - which also failed (ran direct script provided install.sh): https://smartlink-my.sharepoint.com/personal/marketing_communications_digisol_com/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fmarketing%5Fcommunications%5Fdigisol%5Fcom%2FDocuments%2FDIGISOL%20PRODUCT%20RESOURCES%2FACTIVE%20PRODUCTS%2FWIRELESS%2FUSB%20Adapters%2FDrivers%20%26%20Utilities%2FDG%2DWN3300N%5FC1%2FDG%2DWN3300N%5FC1%2Ezip&parent=%2Fpersonal%2Fmarketing%5Fcommunications%5Fdigisol%5Fcom%2FDocuments%2FDIGISOL%20PRODUCT%20RESOURCES%2FACTIVE%20PRODUCTS%2FWIRELESS%2FUSB%20Adapters%2FDrivers%20%26%20Utilities%2FDG%2DWN3300N%5FC1&originalPath=aHR0cHM6Ly9zbWFydGxpbmstbXkuc2hhcmVwb2ludC5jb20vOnU6L2cvcGVyc29uYWwvbWFya2V0aW5nX2NvbW11bmljYXRpb25zX2RpZ2lzb2xfY29tL0VkUTRVQnVMTE14Tmt5NlJGVEt1Z1J3QmZwQnNqM1R5YlpmUWtsRkI1Wlc4NVE_cnRpbWU9azNFZHl6WHoyRWc

alukoshko

2021-03-30 21:37

administrator   ~0000086

Hello.
It's not an AlmaLinux problem actually but I think I can help you.
I've forked driver repo and patched it a bit so now module builds on AlmaLinux 8.
https://github.com/andrewlukoshko/rtl8192eu-linux-driver

I don't have such device so please test it and give a feedback.

j130496

2021-03-31 02:59

reporter   ~0000088

Respected sir

Many thanks, appreciations and gratitude with full respects for your personal concern / knowledge and providing immediate patching so the git source now compiles through DKMS successfully on Almalinux 8.3. I fully agree that this was not at all an OS issue and you are not supposed to provide such a personal level support for non-OS issue and that too even when busy launch schedule was ahead. Still you have helped me out - which is quite creditable. My objective behind posting the issue was - I wanted to stick to / commit to updates to OS /server version exclusively provided by Almalinux repositories and not using any third party repository for a server version whose stability may be in question.

I hope you will agree to my above submission.

Again, thank you for the personal attention and efforts.

Best Regards,

Jignesh.

j130496

2021-03-31 03:01

reporter   ~0000089

Sir

Please close the issue marking it resolved.

Thank you with regards,

Jignesh.

Issue History

Date Modified Username Field Change
2021-03-30 02:38 j130496 New Issue
2021-03-30 02:38 j130496 File Added: rtl8192eu.log
2021-03-30 03:32 j130496 Note Added: 0000083
2021-03-30 04:40 j130496 Note Added: 0000084
2021-03-30 21:37 alukoshko Note Added: 0000086
2021-03-30 21:37 alukoshko Assigned To => alukoshko
2021-03-30 21:37 alukoshko Status new => feedback
2021-03-31 02:59 j130496 Note Added: 0000088
2021-03-31 02:59 j130496 Status feedback => assigned
2021-03-31 03:01 j130496 Note Added: 0000089
2021-03-31 07:23 alukoshko Status assigned => closed
2021-03-31 07:23 alukoshko Resolution open => fixed