Can't initialise driver
robcalcroft opened this issue · 3 comments
robcalcroft commented
When i run ifconfig
i see the interface wlx2887ba3aaf01
showing up but when i go to start wpa_supplicant i get this error:
me@server:~$ wpa_supplicant -B -i wlx2887ba3aaf01 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
nl80211: deinit ifname=wlx2887ba3aaf01 disabled_11b_rates=0
wlx2887ba3aaf01: Failed to initialize driver interface
$ cat /proc/version
Linux version 4.15.0-194-generic (buildd@lcy02-amd64-052) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022
Do i need to compile differently for a amd64 system?
CGarces commented
amd64 should use the standard CONFIG_PLATFORM_I386_PC = y
Please compile the kernel from
https://github.com/clnhub/rtl8192eu-linux/tree/5.11.2.1
And ping me with the results to understand if the problem is caused by my custom modifications.
robcalcroft commented
Sadly that didn't work on that branch:
Result of install_wifi.sh
rmmod: ERROR: Module 8192eu is not currently loaded
rmmod: ERROR: Module rtl8xxxu is not currently loaded
Error! There are no instances of module: rtl8192eu
located in the DKMS tree.
Error! Invalid number of parameters passed.
Usage: remove <module>/<module-version> --all
or: remove <module>/<module-version> -k <kernel-version>
rm: cannot remove '/var/lib/dkms/rtl8192eu': No such file or directory
Creating symlink /var/lib/dkms/rtl8192eu/1.0/source ->
/usr/src/rtl8192eu-1.0
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' all KVER=4.15.0-194-generic......(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8192eu: 1.0 not found
Error! Bad return status for module build on kernel: 4.15.0-194-generic (x86_64)
Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.
modprobe: FATAL: Module 8192eu not found in directory /lib/modules/4.15.0-194-generic
cat
of make.log
DKMS make.log for rtl8192eu-1.0 for kernel 4.15.0-194-generic (x86_64)
Tue 18 Oct 15:10:18 BST 2022
/bin/sh: 1: bc: not found
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-194-generic/build M=/var/lib/dkms/rtl8192eu/1.0/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-194-generic'
/bin/sh: 1: bc: not found
CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.o
/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.c: In function ‘dump_drv_version’:
/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.c:45:62: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
RTW_PRINT_SEL(sel, "build time: %s %s\n", DATE, __TIME__);
^
/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.c:45:62: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.c:45:62: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.c:45:62: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
cc1: some warnings being treated as errors
scripts/Makefile.build:333: recipe for target '/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.o' failed
make[2]: *** [/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.o] Error 1
Makefile:1590: recipe for target '_module_/var/lib/dkms/rtl8192eu/1.0/build' failed
make[1]: *** [_module_/var/lib/dkms/rtl8192eu/1.0/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-194-generic'
Makefile:2425: recipe for target 'modules' failed
make: *** [modules] Error 2
@CGarces any suggestions here?
CGarces commented
I don't have free time to find the issue, maybe on November I can work on this.