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

Luca Boccassi luca.boccassi at gmail.com
Wed Aug 5 23:50:23 UTC 2015


On Mon, 2015-08-03 at 11:58 +0200, Andreas Beckmann wrote:
> On 2015-08-03 02:21, Luca Boccassi wrote:
> > 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) &&
> !defined(CONFIG_whatever_indicates_armhf)

Works on 4.0 and 4.1, but not on 3.16 due to this error:

FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol
'xen_start_info'
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.modpost:90:
recipe for target '__modpost' failed

This goes away when I hack away CONFIG_XEN from the headers auto.conf. I
do not see anything else that we could disable in nv-linux.h or that we
are missing in conftest.h. Any clue where that comes from?

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150806/aad25a14/attachment.sig>


More information about the pkg-nvidia-devel mailing list