Debian Bug report logs -
#763629
linux-headers-3.16-0.bpo.2-common: Building official NVidia driver on 3.16 (amd64) kernel fails to build the DKMS module
Report forwarded
to debian-bugs-dist@lists.debian.org, reallfqq-debian@yahoo.fr, Debian Kernel Team <debian-kernel@lists.debian.org>: Bug#763629; Package linux-headers-3.16-0.bpo.2-common.
(Wed, 01 Oct 2014 14:12:06 GMT) (full text, mbox, link).
Acknowledgement sent
to "B. R." <reallfqq-debian@yahoo.fr>:
New Bug report received and forwarded. Copy sent to reallfqq-debian@yahoo.fr, Debian Kernel Team <debian-kernel@lists.debian.org>.
(Wed, 01 Oct 2014 14:12:06 GMT) (full text, mbox, link).
Package: linux-headers-3.16-0.bpo.2-common
Version: 3.16.3-2~bpo70+1
Severity: normal
Hello,
While attempting to install NVidia drivers v340.46 (x64) on the currentli running 3.16 Debian kernel, the auto installer fails during the build of the DKMS module.
It seems the Makefiles chain inside the linux-headers leads to the error.
Here are the relevant parts of the make.log file from the NVidia module (sorry for French locale, but file references and line numbers are common language! ;o) ):
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)
-> Is it expected? normal?
make -f /usr/src/linux-headers-3.16-0.bpo.2-common/scripts/Makefile.build obj=./..
/usr/src/linux-headers-3.16-0.bpo.2-common/scripts/Makefile.build:44: /usr/src/linux-headers-3.16-0.bpo.2-common/./../Makefile: Aucun fichier ou dossier de ce type
make[4]: *** Pas de règle pour fabriquer la cible « /usr/src/linux-headers-3.16-0.bpo.2-common/./../Makefile ». Arrêt.
-> It looks like something went wrong with the path here
- The installer has been collected from http://fr.download.nvidia.com/XFree86/Linux-x86_64/340.46/NVIDIA-Linux-x86_64-340.46.run
- It has been run with 'sudo', no option
- The DKMS module has been requested to be built
- The 32 bits compatibility libraries have not been requested to be built
Having read https://devtalk.nvidia.com/default/topic/769055/dkms-fails-to-compile-nvidia-modules-340-32-343-13-during-kernel-3-16-1-compile-process-on-debia/, I attempted to add the following to /etc/dkms/framework.conf:
unset MAKEFLAGS
unset ARCH
unset KBUILD_EXTMOD
unset obj
It did not succeed.
Log files are attached
-- System Information:
Debian Release: 7.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-- no debconf information
On Wed, 2014-10-01 at 16:09 +0200, B. R. wrote:
> Package: linux-headers-3.16-0.bpo.2-common
> Version: 3.16.3-2~bpo70+1
> Severity: normal
>
> Hello,
>
> While attempting to install NVidia drivers v340.46 (x64) on the currentli running 3.16 Debian kernel, the auto installer fails during the build of the DKMS module.
>
> It seems the Makefiles chain inside the linux-headers leads to the error.
>
> Here are the relevant parts of the make.log file from the NVidia module (sorry for French locale, but file references and line numbers are common language! ;o) ):
>
> 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)
>
> -> Is it expected? normal?
Yes.
> make -f /usr/src/linux-headers-3.16-0.bpo.2-common/scripts/Makefile.build obj=./..
> /usr/src/linux-headers-3.16-0.bpo.2-common/scripts/Makefile.build:44: /usr/src/linux-headers-3.16-0.bpo.2-common/./../Makefile: Aucun fichier ou dossier de ce type
> make[4]: *** Pas de règle pour fabriquer la cible « /usr/src/linux-headers-3.16-0.bpo.2-common/./../Makefile ». Arrêt.
>
> -> It looks like something went wrong with the path here
>
>
> - The installer has been collected from http://fr.download.nvidia.com/XFree86/Linux-x86_64/340.46/NVIDIA-Linux-x86_64-340.46.run
> - It has been run with 'sudo', no option
> - The DKMS module has been requested to be built
> - The 32 bits compatibility libraries have not been requested to be built
>
> Having read https://devtalk.nvidia.com/default/topic/769055/dkms-fails-to-compile-nvidia-modules-340-32-343-13-during-kernel-3-16-1-compile-process-on-debia/, I attempted to add the following to /etc/dkms/framework.conf:
> unset MAKEFLAGS
> unset ARCH
> unset KBUILD_EXTMOD
> unset obj
>
> It did not succeed.
This is not our problem to fix; ask Nvidia for support.
Ben.
--
Ben Hutchings
When in doubt, use brute force. - Ken Thompson
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.