Bug#641654: nvidia-kernel-dkms: Nvidia kernel module fails compiling duo GPL-only symbols used by a non-GPL module

Andreas Beckmann debian at abeckmann.de
Wed Sep 14 23:20:21 UTC 2011

severity 641654 normal
forwarded 641654 http://www.nvnews.net/vbulletin/showthread.php?t=165238
affects 641654 nvidia-kernel-source
affects 641654 fglrx-modules-dkms
retitle 641654 module build fails for realtime kernel (3.0.0-1-rt-*) due to GPL-only symbol 'migrate_enable' being used

On 2011-09-15 00:04, José Luis Segura Lucas wrote:
> Severity: grave
> Justification: renders package unusable

No. Only the *-rt-* kernels are not supported.

> The compilations fails and the log, on
> /var/lib/dkms/nvidia/275.28/build/make.log says, at the end, the following:
> /usr/src/linux-headers-3.0.0-1-common-rt/arch/x86/include/asm/uaccess_64.h: In
> FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol
> 'migrate_enable'

That symbol is introduced by the realtime patch and is (indirectly)
used by the nvidia module, making the module build fail, see

The module builds fine for all other kernel flavors, so you will have to
choose between using the RT kernel and using the NVIDIA driver. Currently
you can't have both.

Possible solutions:
* convince the RT patch developers to remove the GPL-only restriction
* convince NVIDIA to work around the indirect migrate_enable usage
* patch the nvidia sources yourself to not use migrate_enable indirectly
* ...


More information about the pkg-nvidia-devel mailing list