Bug#950128: nvidia-graphics-drivers: Error! Bad return status for module build on kernel: 5.4.0-3-amd64 (x86_64)
Bas Couwenberg
sebastic at xs4all.nl
Wed Jan 29 05:14:22 GMT 2020
Source: nvidia-graphics-drivers
Version: 435.21-3
Severity: serious
Justification: makes the package in question unusable or mostly so
Dear Maintainer,
The upgrade of nvidia-kernel-dkms failed due to building the module for 5.4.0-3-amd64 failing:
Building initial module for 5.4.0-3-amd64
Error! Bad return status for module build on kernel: 5.4.0-3-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/435.21/build/make.log for more information.
The make.log shows:
The Module.symvers file is missing, or does not contain any
symbols exported from the kernel. This could cause the NVIDIA
kernel modules to be built against a configuration that does
not accurately reflect the actual target kernel.
The Module.symvers file check can be disabled by setting the
environment variable IGNORE_MISSING_MODULE_SYMVERS to 1.
make[3]: *** [/var/lib/dkms/nvidia-current/435.21/build/Kbuild:198: module_symvers_sanity_check] Error 1
Setting the env var doesn't help.
Kind Regards,
Bas
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.3.0-2-amd64 (SMP w/6 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
DKMS make.log for nvidia-current-435.21 for kernel 5.4.0-3-amd64 (x86_64)
Wed 29 Jan 2020 06:14:09 AM CET
make KBUILD_OUTPUT=/lib/modules/5.4.0-3-amd64/build V=1 -C /lib/modules/5.4.0-3-amd64/source M=/var/lib/dkms/nvidia-current/435.21/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/5.4.0-3-amd64/source NV_KERNEL_OUTPUT=/lib/modules/5.4.0-3-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.4.0-3-common'
make -C /usr/src/linux-headers-5.4.0-3-amd64 -f /usr/src/linux-headers-5.4.0-3-common/Makefile modules
make[2]: Entering directory '/usr/src/linux-headers-5.4.0-3-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)
make -f /usr/src/linux-headers-5.4.0-3-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/435.21/build single-build= need-builtin=1 need-modorder=1
ln -sf /var/lib/dkms/nvidia-current/435.21/build/nvidia/nv-kernel-amd64.o_binary /var/lib/dkms/nvidia-current/435.21/build/nvidia/nv-kernel.o
NV_CONFTEST_CMD=/bin/sh /var/lib/dkms/nvidia-current/435.21/build/conftest.sh " gcc-9" x86_64 /lib/modules/5.4.0-3-amd64/source /lib/modules/5.4.0-3-amd64/build
NV_CONFTEST_CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest3399488" -DKBUILD_MODNAME="#conftest3399488" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/9/include -I/lib/modules/5.4.0-3-amd64/source/arch/x86/include/asm/mach-default -I/lib/modules/5.4.0-3-amd64/source/include/asm-x86/mach-default -I/lib/modules/5.4.0-3-amd64/build/include2 -I/lib/modules/5.4.0-3-amd64/build/include -include /lib/modules/5.4.0-3-amd64/build/include/generated/autoconf.h -I/lib/modules/5.4.0-3-amd64/source/arch/x86/include -I/lib/modules/5.4.0-3-amd64/source/arch/x86/include/uapi -I/lib/modules/5.4.0-3-amd64/build/arch/x86/include/generated -I/lib/modules/5.4.0-3-amd64/build/arch/x86/include/generated/uapi -I/lib/modules/5.4.0-3-amd64/source/include -I/lib/modules/5.4.0-3-amd64/source/include/uapi -I/lib/modules/5.4.0-3-amd64/source/include/xen -I/lib/modules/5.4.0-3-amd64/build/include/generated/uapi -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -fmacro-prefix-map=/usr/src/linux-headers-5.4.0-3-common/= -fcf-protection=none -Wno-packed-not-aligned
KBUILD_CFLAGS=-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.4.0-3-common/= -fcf-protection=none -Wno-packed-not-aligned
LINUXINCLUDE=-I/usr/src/linux-headers-5.4.0-3-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.4.0-3-common/include -I./include -I/usr/src/linux-headers-5.4.0-3-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.4.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.4.0-3-common/include/linux/kconfig.h
LDFLAGS=
KBUILD_LDFLAGS=-m elf_x86_64 -z max-page-size=0x200000
ARCH=x86_64
ln -sf /var/lib/dkms/nvidia-current/435.21/build/nvidia-modeset/nv-modeset-kernel-amd64.o_binary /var/lib/dkms/nvidia-current/435.21/build/nvidia-modeset/nv-modeset-kernel.o
The Module.symvers file is missing, or does not contain any
symbols exported from the kernel. This could cause the NVIDIA
kernel modules to be built against a configuration that does
not accurately reflect the actual target kernel.
The Module.symvers file check can be disabled by setting the
environment variable IGNORE_MISSING_MODULE_SYMVERS to 1.
make[3]: *** [/var/lib/dkms/nvidia-current/435.21/build/Kbuild:198: module_symvers_sanity_check] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-5.4.0-3-common/Makefile:1665: /var/lib/dkms/nvidia-current/435.21/build] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-3-amd64'
make[1]: *** [Makefile:179: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-3-common'
make: *** [Makefile:81: modules] Error 2
More information about the pkg-nvidia-devel
mailing list