Bug#800554: nvidia-kernel-dkms: kernel module won't build for 3.16.0-4-amd64 (missing rule in Makefile)

Luca Boccassi luca.boccassi at gmail.com
Wed Sep 30 22:03:16 UTC 2015

On Wed, 2015-09-30 at 16:38 -0400, Norman Ramsey wrote:
> Package: nvidia-kernel-dkms
> Version: 352.30-1
> Severity: important
> Dear Maintainer,
> I've upgraded my graphics hardware and installed proprietary nvidia
> drivers from experimental.  My normal kernel is 3.16.0-4-amd64,
> but the module won't build.  The make.log file with the error
> information is attached.  (I tried both 'dpkg-reconfigure
> nvidia-kernel-dkms' and also 'dkms build nvidia-current/352.30'.)
> The same module *does* build against my old kernel, 3.16.0-4-686-pae.

> -- System Information:
> Debian Release: 8.2
>   APT prefers stable
>   APT policy: (990, 'stable'), (1, 'experimental')
> Architecture: i386 (x86_64)
> Foreign Architectures: amd64
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)

Hi Norman,

>From the system info, I gather that you are running i386 userspace with
an amd64 kernel, is that correct?

If that's the case, please see 799960 and the relative discussion for
more information. [1]

As it was written by Andreas in that thread, support was dropped for
building amd64 kernel with the i386 userspace packages because
amd64:i386 kernel is no longer available in unstable. As he suggested,
you should be able to build the module by installing the package
nvidia-kernel-dkms:amd64 thanks to multiarch.

Kind regards,
Luca Boccassi

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799960

More information about the pkg-nvidia-devel mailing list