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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-06-05, 10:02 AM   #1
wraiden
Registered User
 
Join Date: Jun 2004
Posts: 3
Exclamation Patch for 1.0-7174 and linux-2.6.12-rc1-mm3 or higher mm kernels

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
[ and excuse my bad english ]

[1] http://marc.theaimsgroup.com/?l=linu...4768314104&w=2
Attached Files
File Type: txt export-class-api_kernel.patch.txt (1.3 KB, 254 views)
File Type: txt class-api_nvidia.patch.txt (3.6 KB, 236 views)

Last edited by wraiden; 04-06-05 at 10:05 AM. Reason: note the patch descriptions
wraiden is offline   Reply With Quote
Old 04-06-05, 10:15 AM   #2
PrakashP
gentoo ~x86_64 user
 
PrakashP's Avatar
 
Join Date: Jul 2004
Location: Germania
Posts: 213
Default 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)?
PrakashP is offline   Reply With Quote
Old 04-06-05, 01:14 PM   #3
wraiden
Registered User
 
Join Date: Jun 2004
Posts: 3
Default 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 ]
wraiden is offline   Reply With Quote
Old 04-06-05, 01:21 PM   #4
PrakashP
gentoo ~x86_64 user
 
PrakashP's Avatar
 
Join Date: Jul 2004
Location: Germania
Posts: 213
Default 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...
PrakashP 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 07:01 PM.


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