View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005550||Kali Linux||[All Projects] Kali Package Bug||public||2019-06-16 18:59||2019-06-17 18:10|
|Status||resolved||Resolution||no change required|
|Target Version||Fixed in Version|
|Summary||0005550: realtek-rtl88xxau-dkms package fails with kalli 4.14.120 armv7l for ODROID XU3, XU4|
|Description||Driver support for the Alfa AUS036ACH usb wifi adaptor is out-of-date with respect to latest kernel releases. Note that for mainstream releases, the driver package (realtek-rtl88xxau-dkms) is working fine. The issue is related to the ARM releases, specifically for the ODROID XU3 and XU4 SBCs. It appears that the driver package is looking for linux-headers from an older version of the kernel source code. Here is the output from an apt install of the driver package:|
root@kali:~# apt install realtek-rtl88xxau.dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'realtek-rtl88xxau-dkms' for regex 'realtek-rtl88xxau.dkms'
The following additional packages will be installed:
linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic | linux-headers
The following NEW packages will be installed:
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1862 kB of archives.
After this operation, 18.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package dkms.
(Reading database ... 132306 files and directories currently installed.)
Preparing to unpack .../archives/dkms_2.6.1-4_all.deb ...
Unpacking dkms (2.6.1-4) ...
Selecting previously unselected package realtek-rtl88xxau-dkms.
Preparing to unpack .../realtek-rtl88xxau-dkms_188.8.131.52~20190210-0kali1_all.deb ...
Unpacking realtek-rtl88xxau-dkms (184.108.40.206~20190210-0kali1) ...
Setting up dkms (2.6.1-4) ...
Setting up realtek-rtl88xxau-dkms (220.127.116.11~20190210-0kali1) ...
Loading new realtek-rtl88xxau-18.104.22.168~20190210 DKMS files...
It is likely that 4.14.120 belongs to a chroot's host
Building for 4.14.120
Building initial module for 4.14.120
Error! Bad return status for module build on kernel: 4.14.120 (armv7l)
Consult /var/lib/dkms/realtek-rtl88xxau/22.214.171.124~20190210/build/make.log for more information.
dpkg: error processing package realtek-rtl88xxau-dkms (--configure):
installed realtek-rtl88xxau-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for man-db (2.8.5-2) ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here is the make.log from the install process:
root@kali:~# cat /var/lib/dkms/realtek-rtl88xxau/126.96.36.199~20190210/build/make.log
DKMS make.log for realtek-rtl88xxau-188.8.131.52~20190210 for kernel 4.14.120 (armv7l)
Sun Jun 16 16:09:52 UTC 2019
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.14.120/build M=/var/lib/dkms/realtek-rtl88xxau/184.108.40.206~20190210/build modules
make: Entering directory '/usr/src/kernel'
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump ./Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
scripts/Makefile.modpost:43: include/config/auto.conf: No such file or directory
make: *** No rule to make target 'include/config/auto.conf'. Stop.
make: *** [Makefile:1538: modules] Error 2
make: Leaving directory '/usr/src/kernel'
make: *** [Makefile:1551: modules] Error 2
FYI, here is my kernel info:
root@kali:~# uname -a
Linux kali 4.14.120 0000001 SMP PREEMPT Fri May 17 19:34:41 UTC 2019 armv7l GNU/Linux
|Steps To Reproduce||1) Target device must be ODROID XU3 or XU4|
2) Download and install the following image: https://images.offensive-security.com/arm-images/kali-linux-2019.2-odroidxu3.img.xz
2) After installing, run apt update, apt upgrade, and apt dist-upgrade to insure system is current with latest updates, fixes, features, etc
3) run apt install realtek-rtl88xxau-dkms
|Additional Information||Have also downloaded and installed 2019.2 for the X86 platform. The Realtek driver installs and works perfectly in this environment.|
Can you try going into /usr/src/kernel and running "make modules_prepare" ?
Because of the images being cross compiled, running make modules_prepare during the image build process always resulted in incorrect binaries so we do not run it in there anymore (or shouldn't be);
If you want to be certain of it, you can run
And then re-run the dkms install?
||Thanks for the speedy response. Your suggestions were right on... the problem was fixed. You da MAN!!|
|2019-06-16 18:59||shull2805||New Issue|
|2019-06-17 03:45||steev||Note Added: 0010700|
|2019-06-17 13:17||shull2805||Note Added: 0010702|
|2019-06-17 18:10||steev||Assigned To||=> steev|
|2019-06-17 18:10||steev||Status||new => resolved|
|2019-06-17 18:10||steev||Resolution||open => no change required|