Bug#969085: nvidia-legacy-390xx-kernel-dkms: fails to build against 5.8.x kernel due to nvidia-uvm module license

Andreas Beckmann anbe at debian.org
Thu Aug 27 19:29:27 BST 2020


On 8/27/20 2:23 PM, Maurizio Avogadro wrote:
> kernel 5.8.x made 'radix_tree_preloads' GPL-only: the build of the
> nvidia-uvm,
> which is MIT licensed, fails at modpost making the whole dkms build process
> fail.

This only affects the nvidia-uvm kernel module, which can be disabled as
follows:
1) in dkms.conf, comment out
BUILD_MODULE_NAME[3]/DEST_MODULE_NAME[3]/DEST_MODULE_LOCATION[3] and
2) build with NV_EXCLUDE_KERNEL_MODULES=nvidia-uvm set in the environment

In 415.18 NVIDIA changed the the module license to "Dual MIT/GPL", so
this issue does not affect later driver releases (which use the same
code paths that triggers the error in 390.xx).

Let's hope NVIDIA changes the license for 390.xx, too, in their next
390.xx release.

But there are some more things that need to be changed for Linux 5.8 ...
(which can be backported from 450.57).


Andreas



More information about the pkg-nvidia-devel mailing list