View Issue Details

IDProjectCategoryView StatusLast Update
0006716Kali LinuxGeneral Bugpublic2021-06-02 10:11
Reportermicsec Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Product Version2020.3 
Summary0006716: Error! Bad return status for module build on kernel: 5.7.0-kali3-arm64 (aarch64)
Description

Pinebook WiFi driver rtl8723cs fails to build during upgrade to kernel 5.7.0-kali3-arm64.

Steps To Reproduce

apt-get --reinstall install linux-image-5.7.0-kali3-arm64

Additional Information

Setting up linux-image-5.7.0-kali3-arm64 (5.7.17-1kali1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.7.0-kali3-arm64:
Kernel preparation unnecessary for this kernel. Skipping ...

Building module:
cleaning build area ...
'make' -j4 ARCH=arm64 KVER= KSRC=/lib/modules//build/ ... (bad exit status: 2)
Error! Bad return status for module build on kernel: 5.7.0-kali3-arm64 (aarch64)
Consult /var/lib/dkms/rtl8723cs/2020.02.27/build/make.log for more information.

make.log contains:

DKMS make.log for rtl8723cs-2020.02.27 for kernel 5.7.0-kali3-arm64 (aarch64)
Wed Sep 10 15:44:39 CEST 2020
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules//build/ M=/var/lib/dkms/rtl8723cs/2020.02.27/build modules
make[1]: /lib/modules//build/: No such file or directory. Stop.
make:
[Makefile:1670: modules] Error 2

Activities

Michu

Michu

2020-09-16 15:22

reporter   ~0013440

do you install kali on rasperry pi or different devices? if not in my opinion you choose wrong kernel maybe this article will be helpful https://askubuntu.com/questions/554624/how-to-resolve-the-lib-modules-3-13-0-27-generic-build-no-such-file-or-direct

micsec

micsec

2020-09-16 19:13

reporter   ~0013444

I'm running Kali Linux on a Pinebook which is a Pine64.
https://www.offensive-security.com/kali-linux-arm-images/
(You will find the current release at the top of the page 2020.3)

I've been using Kali Linux 2020.1 for a while on the Pinebook.
And kernel 5.7.0-kali1-arm64 has a working WiFi driver for the Pinebook.
But after a system update "apt-get update && apt-get upgrade".
The WiFi driver rtl8723cs fails to build during upgrade to kernel 5.7.0-kali3-arm64.

Michu

Michu

2020-09-18 18:42

reporter   ~0013453

my proposition is
search for compat wireless 2010 06 26 p.tar.bz2
unpack it
cd compat wireless but folder nat archive
make unload
make load
or second option
use older kernel if possible

micsec

micsec

2020-09-19 14:33

reporter   ~0013458

Ok, I while continue using the older kernel for now, and hopefully this will be fixed in the next kernel upgrade.

Michu

Michu

2020-09-20 16:07

reporter   ~0013461

yeah i hope so

g0tmi1k

g0tmi1k

2021-06-02 10:11

administrator   ~0014638

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.
Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?
If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2020-09-11 08:37 micsec New Issue
2020-09-16 15:22 Michu Note Added: 0013440
2020-09-16 19:13 micsec Note Added: 0013444
2020-09-18 18:42 Michu Note Added: 0013453
2020-09-19 14:33 micsec Note Added: 0013458
2020-09-20 16:07 Michu Note Added: 0013461
2021-06-02 10:11 g0tmi1k Note Added: 0014638
2021-06-02 10:11 g0tmi1k Status new => closed