Bug#794435: nvidia-kernel-dkms: DKMS build failure on armhf

Andreas Beckmann anbe at debian.org
Mon Aug 3 09:58:37 UTC 2015

On 2015-08-03 02:21, Luca Boccassi wrote:
> Testing the build of nvidia-kernel-dkms in an armhf chroot (via qemu static binaries) results in build failure
> for kernels 3.16 (jessie) and 4.0 (sid). Cannot test 4.1 as the armhf build of linux-kbuild-4.1 is missing.

Does any other of the armhf linux-headers-* work? Oh wait, there are not
that many any more :-)

> I already addressed 2 problems and committed to the SVN repo (patch nv-linux.h and enable dma_ops for arm in
> conftest.h, but the final problem is that the armhf kernel ships with CONFIG_XEN enabled [1], without CONFIG_PARAVIRT,
> and this is not supported.

Sounds like a question for the kernel maintainers ...

what about ignoring CONFIG_XEN on armhf in nv-linux.h:

-#if defined(CONFIG_XEN) && !defined(CONFIG_PARAVIRT)
+#if defined(CONFIG_XEN) && !defined(CONFIG_PARAVIRT) &&


More information about the pkg-nvidia-devel mailing list