Bug#987889: Error! Bad return status for module build on kernel: 5.10.0-5-amd64 (x86_64)

Ruben Herold ruben at insecure.pw
Sat May 1 16:07:37 BST 2021


Package: nvidia-kernel-dkms
Version: 460.73.01-1
Severity: normal


hi,

on upgrade on my debian system I got:


Removing old nvidia-current-460.73.01 DKMS files...

------------------------------
Deleting module version: 460.73.01
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-460.73.01 DKMS files...
Building for 5.10.0-5-amd64 5.10.0-6-amd64
Building initial module for 5.10.0-5-amd64
Error! Bad return status for module build on kernel: 5.10.0-5-amd64
(x86_64)
Consult /var/lib/dkms/nvidia-current/460.73.01/build/make.log for more
information.
dpkg: error processing package nvidia-kernel-dkms (--configure):
 installed nvidia-kernel-dkms package post-installation script
subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-kernel-dkms (= 460.73.01-1) |
nvidia-kernel-460.73.01; however:
  Package nvidia-kernel-dkms is not configured yet.
  Package nvidia-kernel-460.73.01 is not installed.
  Package nvidia-kernel-dkms which provides nvidia-kernel-460.73.01 is
not configured yet.

dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nvidia-kernel-dkms
 nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)


The /var/lib/dkms/nvidia-current/460.73.01/build/make.log said:


KMS make.log for nvidia-current-460.73.01 for kernel 5.10.0-5-amd64
(x86_64)
Sat May  1 17:06:59 CEST 2021
make KBUILD_OUTPUT=/lib/modules/5.10.0-5-amd64/build V=1 -C
/lib/modules/5.10.0-5-amd64/source
M=/var/lib/dkms/nvidia-current/460.73.01/build ARCH=x86_64
NV_KERNEL_SOURCES=/lib/modules/5.10.0-5-amd64/source
NV_KERNEL_OUTPUT=/lib/modules/5.10.0-5-amd64/build
NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm"
INSTALL_MOD_DIR=kernel/drivers/video NV_SPECTRE_V2=0 modules
make[1]: Entering directory '/usr/src/linux-headers-5.10.0-5-common'
make -C /usr/src/linux-headers-5.10.0-5-amd64 -f
/usr/src/linux-headers-5.10.0-5-common/Makefile modules
make[2]: Entering directory '/usr/src/linux-headers-5.10.0-5-amd64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
\
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or
include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to
fix it.";      \
echo >&2 ;                                                      \
/bin/false)

  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[2]: *** [/usr/src/linux-headers-5.10.0-5-common/Makefile:717:
include/config/auto.conf] Error 1
make[2]: Leaving directory '/usr/src/linux-headers-5.10.0-5-amd64'
make[1]: *** [Makefile:185: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-5-common'
make: *** [Makefile:80: modules] Error 2


        Ruben


-- 
Ruben Herold 
ruben at insecure.pw



More information about the pkg-nvidia-devel mailing list