You are not logged in.

#1 2023-06-08 09:00:38

gr0gu
Member
Registered: 2023-06-08
Posts: 2

Kernel 6.3.x - dkms problem

Hello.
When I want to install any kernel dkms module with pacman, I get an error:

Building module:
Cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=6.3.6-arch1-1 -C /usr/lib/modules/6.3.6-arch1-1/build M=/var/lib/dkms/vboxhost/7.0.8_OSE/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.3.6-arch1-1 (x86_64)
Consult /var/lib/dkms/vboxhost/7.0.8_OSE/build/make.log for more information.
dkms autoinstall on 6.3.6-arch1-1/x86_64 failed for chipsec(10) pfring(10) rtl8814au(10) tyton(10) vboxhost(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.

uname -a
Linux RF55 6.3.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 05 Jun 2023 15:12:57 +0000 x86_64 GNU/Linux
BlackArch


This is the case for any dkms module (nvidia, rtl814au,....)

The package build log is:
cat /var/lib/dkms/rtl8814au/94.bdf80b5/build/make.log
DKMS make.log for rtl8814au-94.bdf80b5 for kernel 6.3.6-arch1-1 (x86_64)
czw, 8 cze 2023, 10:49:35 CEST
: bad option  -- '"'
: bad opiton  -- '"'

...

The dkms.conf configuration file looks like this:


cat /var/lib/dkms/rtl8814au/94.bdf80b5/build/dkms.conf
PACKAGE_NAME="realtek-rtl8814au"
PACKAGE_VERSION="5.8.5.1"
CLEAN="'make' clean"
BUILT_MODULE_NAME[0]=8814au
PROCS_NUM=`nproc`
[ $PROCS_NUM -gt 16 ] && PROCS_NUM=16
DEST_MODULE_LOCATION[0]="/updates"
MAKE="'make' -j$PROCS_NUM KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build"
AUTOINSTALL="yes"
REMAKE_INITRD=no

I can not find where this erroneous sign is (: bad opiton  -- '"')

The error occurs when you compile anything using the make command

Last edited by gr0gu (2023-06-08 09:24:11)

Offline

#2 2023-06-08 11:37:38

loqs
Member
Registered: 2014-03-06
Posts: 18,885

Re: Kernel 6.3.x - dkms problem

gr0gu wrote:

The error occurs when you compile anything using the make command

What is the output of

$ type -a make
$ make

Please use code tags for commands and their output.

Offline

#3 2023-06-08 21:29:55

sydneyj
Member
From: Texas, US
Registered: 2018-10-20
Posts: 24

Re: Kernel 6.3.x - dkms problem

gr0gu wrote:

uname -a
Linux RF55 6.3.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 05 Jun 2023 15:12:57 +0000 x86_64 GNU/Linux
BlackArch

This question should be directed to the BlackArch boards.

Offline

#4 2023-06-08 22:14:38

gr0gu
Member
Registered: 2023-06-08
Posts: 2

Re: Kernel 6.3.x - dkms problem

ok thank you guys. I'll ask the blackrch community

Offline

Board footer

Powered by FluxBB