Bug#988300: linux-kbuild-5.10: can not build nvidia-kernel-340xx-dkms
Package: linux-kbuild-5.10
Version: 5.10.28-1
Severity: important
Dear Maintainer,
I am not quite sure, but I believe, there is a problem with either linux-kbuild-5.10 or the nvidia-kernel-340xx-dkms.
The problem is, that the build of the kernel module stops and the make.log says the following:
--- snip ---
make[3]: Verzeichnis „/usr/src/linux-headers-5.10.0-6-amd64“ wird betreten
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.10.0-6-common/scripts/Makefile.build obj=.. \
single-build= \
need-builtin=1 need-modorder=1
/usr/src/linux-headers-5.10.0-6-common/scripts/Makefile.build:44: /usr/src/linux-headers-5.10.0-6-common/../Makefile: Datei oder Verzeichnis nicht gefunden
make[4]: *** Keine Regel, um „/usr/src/linux-headers-5.10.0-6-common/../Makefile“ zu erstellen. Schluss.
make[3]: *** [/usr/src/linux-headers-5.10.0-6-common/Makefile:1822: ..] Fehler 2
make[3]: Verzeichnis „/usr/src/linux-headers-5.10.0-6-amd64“ wird verlassen
make[2]: *** [Makefile:185: __sub-make] Fehler 2
make[2]: Verzeichnis „/usr/src/linux-headers-5.10.0-6-common“ wird verlassen
make[1]: *** [Makefile:205: nvidia.ko] Fehler 2
make[1]: Verzeichnis „/var/lib/dkms/nvidia-legacy-340xx/340.108/build“ wird verlassen
make: *** [Makefile:221: ../Module.symvers] Fehler 2
make: Verzeichnis „/var/lib/dkms/nvidia-legacy-340xx/340.108/build/uvm“ wird verlassen
1124,1
--- snap ----
This issue happened, when I deinstalled and reinstalled all the nvidia-packages.
Please note: It was possible before to build the nvidia-module for a 5.10-version, but this was a prior version before 5.10.0-6-amd64 (maybe 5.10.0-4-amd64 or similar).
On kernel version 4.19.0-16-amd64 the module can be build, but this is another linux-kbuild-version!
Thus and because of the make.log I believe, linux-kbuild-5.10 might be buggy.
Thank you for reading this and any help.
Best regards
Hans
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-16-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages linux-kbuild-5.10 depends on:
ii libc6 2.31-11
ii libelf1 0.183-1
ii libssl1.1 1.1.1k-1
linux-kbuild-5.10 recommends no packages.
linux-kbuild-5.10 suggests no packages.
-- debconf-show failed
Reply to: