DKMS issues
Hi,
My laptop : Zephyrus Rog G14 (GA401IU) Bios version : 218 Kernel : Linux LUNE 5.9.0-4-amd64 #1 (closed) SMP Debian 5.9.11-1 (2020-11-27) x86_64 GNU/Linux OS : Debian testing
I'm trying to install the following components with errors at dkms steps, I don't have any nvidia-drivers installed yet. (i also ahave dkms error with nvidia 450, by the way, but not linked to this issue, i guess)
With Xubuntu 20.10 repositories setup : sudo apt install asus-nb-ctrl dkms-asus-rog-nb-wmi dkms-hid-asus-rog
the following error appear :
The following NEW packages will be installed:
dkms-asus-rog-nb-wmi dkms-hid-asus-rog
0 upgraded, 2 newly installed, 0 to remove and 10 not upgraded.
Need to get 0 B/24.5 kB of archives.
After this operation, 198 kB of additional disk space will be used.
Selecting previously unselected package dkms-asus-rog-nb-wmi.
(Reading database ... 580593 files and directories currently installed.)
Preparing to unpack .../dkms-asus-rog-nb-wmi_0.3.0-9.5_all.deb ...
Unpacking dkms-asus-rog-nb-wmi (0.3.0-9.5) ...
Selecting previously unselected package dkms-hid-asus-rog.
Preparing to unpack .../dkms-hid-asus-rog_0.6.0-1.5_all.deb ...
Unpacking dkms-hid-asus-rog (0.6.0-1.5) ...
Setting up dkms-asus-rog-nb-wmi (0.3.0-9.5) ...
Loading new asus-rog-nb-wmi-0.3.0 DKMS files...
Building for 5.9.0-4-amd64
Building initial module for 5.9.0-4-amd64
Error! Bad return status for module build on kernel: 5.9.0-4-amd64 (x86_64)
Consult /var/lib/dkms/asus-rog-nb-wmi/0.3.0/build/make.log for more information.
dpkg: error processing package dkms-asus-rog-nb-wmi (--configure):
installed dkms-asus-rog-nb-wmi package post-installation script subprocess returned error exit status 10
Setting up dkms-hid-asus-rog (0.6.0-1.5) ...
Loading new hid-asus-rog-0.6.0-1.5 DKMS files...
Building for 5.9.0-4-amd64
Building initial module for 5.9.0-4-amd64
Error! Bad return status for module build on kernel: 5.9.0-4-amd64 (x86_64)
Consult /var/lib/dkms/hid-asus-rog/0.6.0-1.5/build/make.log for more information.
dpkg: error processing package dkms-hid-asus-rog (--configure):
installed dkms-hid-asus-rog package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
dkms-asus-rog-nb-wmi
dkms-hid-asus-rog
Error: Timeout was reached
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
make.log content :
cat /var/lib/dkms/asus-rog-nb-wmi/0.3.0/build/make.log
DKMS make.log for asus-rog-nb-wmi-0.3.0 for kernel 5.9.0-4-amd64 (x86_64)
Sat 12 Dec 15:56:23 CET 2020
make[1]: Entering directory '/var/lib/dkms/asus-rog-nb-wmi/0.3.0/build'
make -C /lib/modules/5.9.0-4-amd64/build M=/var/lib/dkms/asus-rog-nb-wmi/0.3.0/build modules
make[2]: Entering directory '/usr/src/linux-headers-5.9.0-4-amd64'
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.
make[3]: *** [/usr/src/linux-headers-5.9.0-4-common/Makefile:718: include/config/auto.conf] Error 1
make[2]: *** [/usr/src/linux-headers-5.9.0-4-common/Makefile:185: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.9.0-4-amd64'
make[1]: *** [Makefile:9: default] Error 2
make[1]: Leaving directory '/var/lib/dkms/asus-rog-nb-wmi/0.3.0/build'
Same for the other one :
╰─ cat /var/lib/dkms/hid-asus-rog/0.6.0-1.5/build/make.log
DKMS make.log for hid-asus-rog-0.6.0-1.5 for kernel 5.9.0-4-amd64 (x86_64)
Sat 12 Dec 15:50:02 CET 2020
make: Entering directory '/usr/src/linux-headers-5.9.0-4-amd64'
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.
make[1]: *** [/usr/src/linux-headers-5.9.0-4-common/Makefile:718: include/config/auto.conf] Error 1
make: *** [/usr/src/linux-headers-5.9.0-4-common/Makefile:185: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-5.9.0-4-amd64'
Apart from the package available in the repository manager you manage, I also tried to build them myself and met the same issue in the DKMS steps :( Source used, latest "main" branch of repositories :
I also tried same thing with kernel 5.8 & 5.10 without any success...
Tell me if i'm missing something, Thank you for your amazing project, and thank you for your help :)
PS : Your Discord invitation link is dead, is it normal ?