Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-12-11, 07:17 AM   #1
interzoneuk
Registered User
 
Join Date: Mar 2005
Posts: 81
Default 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 ?
interzoneuk is offline   Reply With Quote
Old 08-12-11, 08:40 AM   #2
Lysius
Registered User
 
Join Date: Oct 2008
Posts: 98
Default 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.
Lysius is offline   Reply With Quote
Old 08-12-11, 12:32 PM   #3
interzoneuk
Registered User
 
Join Date: Mar 2005
Posts: 81
Default 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...
interzoneuk is offline   Reply With Quote
Old 08-12-11, 02:40 PM   #4
Lysius
Registered User
 
Join Date: Oct 2008
Posts: 98
Default Re: 280.13 + 3.0.1-rt8 (realtime) - FATAL: modpost: GPL-incompatible module nvidia.ko

Quote:
Originally Posted by interzoneuk View Post
- 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 View Post
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).
Lysius is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:53 PM.


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