View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005037 | Kali Linux | General Bug | public | 2018-10-08 03:46 | 2018-10-13 02:35 |
Reporter | amg | Assigned To | steev | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Product Version | 2018.3 | ||||
Summary | 0005037: realtek-rtl88xxau-dkms to rp3 - Bad return status for module build on kernel: 4.14.50-kali-v6 (armv7l) | ||||
Description | 'apt-get install realtek-rtl88xxau-dkms' fails on raspberry pi 3. The contents of the build log are included below: root@kali:~# cat /var/lib/dkms/realtek-rtl88xxau/5.2.20.2~20180812/build/make.log | ||||
The problem is something that I didn't notice during image build; for some reason, the headers package gets the directory(s) wrong. If you go into /lib/modules/ you will see that there are 4 directories, when there should only be 1. You can remove all of them except for 4.14.50-kali-v7+ And then due to the headers issue, you want to make sure that the build symlink in there correctly points to So if the build symlink is incorrect, then do cd /lib/modules/4.14.50-kali-v7+ And then it should properly find the headers. Because the headers for both armel and armhf are installed, it attempts to build the module for both kernels, and that is incorrect. |
|
As you suggested, I removed extra directories from /lib/modules and made sure /lib/modules/4.14.50-kali-v7+/build was linked to /usr/src/linux-headers-4.14.50-kali-v7 Unfortunately the net result of 'apt-get install realtek-rtl88xxau-dkms' was similar: Loading new realtek-rtl88xxau-5.2.20.2~20180812 DKMS files... With a make.log containing: DKMS make.log for realtek-rtl88xxau-5.2.20.2~20180812 for kernel 4.14.50-kali-v7+ (armv7l) ls confirms that /usr/src/linux-headers-4.14.50-kali-v7/arch does not contain armv7l: root@kali:~# ls -l /usr/src/linux-headers-4.14.50-kali-v7/arch I had a quick go at linking armv7l to arm and also to arm64 (in /usr/src/linux-headers-4.14.50-kali-v7/arch), which got it further, but in both cases it then went on to fail with compilation errors, so I presume that was not a valid strategy. |
|
That will be an upstream issue actually, the arm architecture reports back armv4,5,6,7 but the kernel has all of them under arm (and arm64 is for 64bit kernels, we only support 32bit for the rpis currently.) unfortunately, those drivers are terrible (not the fault of the air rack developers but Realtek themselves) so you may have to dig in yourself to figure out what is going wrong with it. I did recently purchase an 8812 device based on dragorn’s recommendation, so may try and figure to dig in, but for now, this is an upstream issue. I would recommend opening an issue on their tracker, https://github.com/aircrack-my/rtl8812au |
|
Sorry, phone autocorrect went nuts - https://github.com/aircrack-ng/rtl8812au |
|
:) |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-10-08 03:46 | amg | New Issue | |
2018-10-08 21:19 | steev | Note Added: 0009796 | |
2018-10-09 02:07 | amg | Note Added: 0009797 | |
2018-10-09 02:26 | steev | Note Added: 0009798 | |
2018-10-09 02:27 | steev | Note Added: 0009799 | |
2018-10-09 02:31 | amg | Note Added: 0009800 | |
2018-10-13 02:35 | steev | Assigned To | => steev |
2018-10-13 02:35 | steev | Status | new => assigned |