nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   280.13 + 3.0.1-rt8 (realtime) - FATAL: modpost: GPL-incompatible module nvidia.ko ... (http://www.nvnews.net/vbulletin/showthread.php?t=165238)

interzoneuk 08-12-11 07:17 AM

280.13 + 3.0.1-rt8 (realtime) - FATAL: modpost: GPL-incompatible module nvidia.ko ...
 
Hi.

I have been using the Nvidia driver with the realtime kernel for a while now on 2.6.33 (previously with a patch - http://www.nvnews.net/vbulletin/show...=148509&page=2)

I have tried to install the Nvidia driver (280.13) with the latest rt kernel - 3.0.1-rt8.

I get the following error whilst trying to install.
scripts/mod/modpost -i /usr/src/linux-3.0-rt-src/Module.symvers -I /home
/morgan/src/AUR/nvidia-rt/src/NVIDIA-Linux-x86_64-280.13-no-compat32/kernel/
Module.symvers -o /home/morgan/src/AUR/nvidia-rt/src/NVIDIA-Linux-x86_64-28
0.13-no-compat32/kernel/Module.symvers -S -w -s
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'migr
ate_enable'
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
Does anyone have any suggestions ?

Has anyone got the Nvidia driver to install with linux 3.0.x rt ?

Lysius 08-12-11 08:40 AM

Re: 280.13 + 3.0.1-rt8 (realtime) - FATAL: modpost: GPL-incompatible module nvidia.ko
 
This happens when there is at least one symbol in the kernel that is only usable for modules with the license "GPL" while the nvidia kernel module reports its license as "nvidia" (hint: run the nvidia installer in "extraction only" mode and have a look at the kernel module source code). This is not the case for the normal kernel but happens when additional debugging is enabled (like in the fedora rawhide kernels) and seemingly also for the rt patch.

interzoneuk 08-12-11 12:32 PM

Re: 280.13 + 3.0.1-rt8 (realtime) - FATAL: modpost: GPL-incompatible module nvidia.ko
 
Hi.

Thank you for your response.

So I could change the license in the kernel/nv.c file to GPL ?

- wouldn't that break the license as it is not really GPL - i.e would any package created be breaking the GPL?

Is there a way for me to find out which kernel symbol is causing this ? It is obviously from the rt patch...

Lysius 08-12-11 02:40 PM

Re: 280.13 + 3.0.1-rt8 (realtime) - FATAL: modpost: GPL-incompatible module nvidia.ko
 
Quote:

Originally Posted by interzoneuk (Post 2467221)
- wouldn't that break the license as it is not really GPL - i.e would any package created be breaking the GPL?

That's quite likely. Perhaps that would also break the nvidia license. So I would not recommend to do that modification in public.

Quote:

Originally Posted by interzoneuk (Post 2467221)
Is there a way for me to find out which kernel symbol is causing this ? It is obviously from the rt patch...

The error names "migrate_enable". That's implemented in the rt patch and exported with EXPORT_SYMBOL_GPL(migrate_enable).


All times are GMT -5. The time now is 11:36 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.