nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Patch for 1.0-7174 and linux-2.6.12-rc1-mm3 or higher mm kernels (http://www.nvnews.net/vbulletin/showthread.php?t=48782)

wraiden 04-06-05 11:02 AM

Patch for 1.0-7174 and linux-2.6.12-rc1-mm3 or higher mm kernels
 
2 Attachment(s)
The removement of the class simple API from Greg K-Hīs [1] driver tree [ will be soon in vanilla also ] renders nvidia driver interaction with udev useless on 2.6.12-rc1-mm3 or higher mm kernels.

DONīT patch your driver for other kernels or if your dev isn't udev managed.

To get rid of manual device creation after each startup patch your kernel tree [ patch 1 ] and your driver tree [ patch 2 ]

Read the Patch headers for more details.

have fun :D
[ and excuse my bad english ]

[1] http://marc.theaimsgroup.com/?l=linu...4768314104&w=2

PrakashP 04-06-05 11:15 AM

Re: Patch for 1.0-7174 and linux-2.6.12-rc1-mm3 or higher mm kernels
 
So you require the kernel to be patched to export 2 functions as non-GPL? This is bad, as what will users with precompiled kernels do (in future)?

wraiden 04-06-05 02:14 PM

Re: Patch for 1.0-7174 and linux-2.6.12-rc1-mm3 or higher mm kernels
 
Quote:

Originally Posted by PrakashP
So you require the kernel to be patched to export 2 functions as non-GPL?

it exports 4 symbols to modules UNDER ANY KIND OF LICENSE and not ONLY TO GPL LICENSED modules [ "NVIDIA" != "GPL" ].

this has noting todo with the license of the exported functions.

Quote:

Originally Posted by PrakashP
This is bad, as what will users with precompiled kernels do (in future)?

i donīt remember any distro used mm kernels precompiled in the past ...
OTOH who the hell used precompiled kernels anyway ? [ overload of unused modules, very low cpu optimizations ... ]
Read the entire post please this is only for mm kernels ;)

at the point the API-change land in vanilla i think there will be an official patch for this issue from zander or an kernel interface for non GPL'ed modules or maybe an official document boundled with the kernel or udev sources which schows other ways of dealing with udev's device creation [ well i realy hope so or we culd thow away the nice udev device creation for non GPL drivers ]

PrakashP 04-06-05 02:21 PM

Re: Patch for 1.0-7174 and linux-2.6.12-rc1-mm3 or higher mm kernels
 
Quote:

it exports 4 symbols to modules UNDER ANY KIND OF LICENSE and not ONLY TO GPL LICENSED modules
I know, I probably used the wrong words...


Yes, I know this is for mm only, but I guess the patch will go to mainline some day and then those functions are probably exported GPL. In fact it could then be considered a license violation to not restrict them to GPL then by applying the patch...


All times are GMT -5. The time now is 06:50 PM.

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