LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-08-2014, 05:14 AM   #16
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled

Code:
-MODULE_LICENSE("NVIDIA");
+MODULE_LICENSE("GPL");
Wow. I don't know who would be more angry about this blatant act of copyright infringement - nVidia, or the thousands of kernel contributors.

And at the end of the day, all that patch does is prevent the kernel's taint flag from being set. It won't fix any build problems at all.
 
Old 02-08-2014, 05:35 AM   #17
LightStar
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by 55020 View Post
Code:
-MODULE_LICENSE("NVIDIA");
+MODULE_LICENSE("GPL");
Wow. I don't know who would be more angry about this blatant act of copyright infringement - nVidia, or the thousands of kernel contributors.

And at the end of the day, all that patch does is prevent the kernel's taint flag from being set. It won't fix any build problems at all.
But it fixed. No more "FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'mutex_lock_nested'" error for me
 
Old 02-08-2014, 05:47 AM   #18
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by LightStar View Post
But it fixed. No more "FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'mutex_lock_nested'" error for me
That's not a build problem. That's working as designed.

If nVidia wants to put its hand in the GPL cookie-jar...
 
Old 02-08-2014, 03:53 PM   #19
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
It's a dirty fix regardless. That's a fix better suited for developers only, testers, and such crowds, not end users.

It is nothing more than a kernel license lockout avoidance, not a fix. That feature that is disabled is only a kernel feature used by debugging and developments. You gain no benefit from applying that except extra debugging.
 
Old 02-08-2014, 11:02 PM   #20
LightStar
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Rep: Reputation: 0
You are right indeed. But can't find any other solution yet. Nvidia kernel driver 331.20 won't build for 3.12 kernel otherwise.
 
Old 02-09-2014, 02:27 AM   #21
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by LightStar View Post
...
Nvidia kernel driver 331.20 won't build for 3.12 kernel otherwise.
How did you come to this conclusion? No one else have this problem. Besides, is there any reason to not use v331.38 or later drivers?
 
Old 02-09-2014, 02:48 AM   #22
LightStar
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Rep: Reputation: 0
Well, topic starter had this problem (and by the way he tried to build newer version 331.38). I had it too and just posted my solution because didn't seen any other solution in this thread which is working (other then using stock 3.10.17 kernel, which is in fact no solution at all). If you have any other idea how to solve it - just post it please.
 
Old 02-09-2014, 03:15 AM   #23
LightStar
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Rep: Reputation: 0
But sorry, didn't tried "disable lock debugging" thing yet. Will do it when have time.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware NVIDIA inescapeableus Slackware 4 09-04-2005 09:03 PM
NVidia driver on slackware 10.1, nvidia.o not found azazel11998 Linux - General 3 09-02-2005 11:19 AM
nvidia 6106, kernel 2.6.7, slackware 10, failure to load nvidia.ko Tarball_Phreak Linux - Hardware 3 08-04-2004 03:16 PM
NVIDIA in Slackware 9.0 lss223 Slackware 5 05-01-2003 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration