Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-09-2014, 05:16 AM
|
#1
|
Member
Registered: Oct 2009
Posts: 146
Rep:
|
kernel 3.14.3 and NVIDIA driver
Just upgraded to the latest updates from the repo, including kernel 3.14.3, and now NVIDIA Linux driver won't install any more. The error reported by the driver installer is "GPL-incompatible module nvidia.ko uses GPL-only symbol 'mutex_lock_nested'". I was able to temporarily fix the problem through patching it to change MODULE_LICENCE("NVIDIA") strings to MODULE_LICENSE("GPL") throughout the driver source code, and driver got built and installed then. Obviously, this is wrong thing to do, so I'm wondering what is the proper approach here?
Thanks.
|
|
|
05-09-2014, 05:48 AM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,770
|
which version of the NVIdia driver?
You know there are a lot of NVidia driver available
|
|
|
05-09-2014, 05:48 AM
|
#3
|
Member
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 211
Rep:
|
For newer kernels, the Nvidia driver packages available on SBo may not build because of some changes.
What the maintainers usually do, is checking out how the Archlinux folks got it to build with the use of a patch and then, they mod the said Arch patch to fit Slackware.
That's what I needed to do for my laptop.
Please note that the scripts provided on SBo are done in such a manner that the vdpau part of the Nvidia driver is installed by a separate package to avoid some X breakages. And that's something you wont avoid if you just run the bare .run file.
If you are familiar with git, you can have a look at the git repo of Archlinux and check out the commits for the Nvidia driver you need.
For example, I need the 304.xx series driver since my 6 years old laptop has a "legacy supported" graphic card.
There's a interesting thread here on LQ about this particular driver :
http://www.linuxquestions.org/questi...xx-4175458722/
If you need help for a newer card, the git method is still valid IMHO.
|
|
|
05-09-2014, 06:16 AM
|
#4
|
Member
Registered: Oct 2009
Posts: 146
Original Poster
Rep:
|
Quote:
Originally Posted by willysr
which version of the NVIdia driver?
You know there are a lot of NVidia driver available
|
Tried several versions: latest long (331.67) and short (334.21) lived branch versions, as well as latest beta (337.19) version of the driver, and all have this problem.
(Please note also that I'm not using SBo NVIDIA driver install script, am instead installing "directly", by executing .run file provided by NVIDIA.)
|
|
|
05-09-2014, 06:22 AM
|
#5
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,770
|
Try 337.12
it should work with 3.14.3
http://rglinuxtech.com/?p=1096
|
|
|
05-09-2014, 06:28 AM
|
#6
|
Member
Registered: Oct 2009
Posts: 146
Original Poster
Rep:
|
Quote:
Originally Posted by willysr
|
It doesn't work, same problem as mentioned above.
|
|
|
05-09-2014, 06:46 AM
|
#7
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,770
|
Hm... the author on that blog mentioned that he successfully install the NVIdia driver on his machine (not a slackware, but it doesn't really matter actually).
I don't have the GPU that is supported by those drivers, so i can't confirm it.
|
|
|
05-09-2014, 07:42 AM
|
#8
|
Senior Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727
|
Most likely it's about a debug option in the config of current kernel...
I have a NVIDIA GeForce 210 in my home computer, so I will post in short time my solution, because for sure I will have that problem too...
Now, I want to say THANKS! to OP, because I do not updated yet the system and I know what to expect.
An finally Gulp!
Last edited by Darth Vader; 05-09-2014 at 07:44 AM.
|
|
|
05-09-2014, 09:54 AM
|
#9
|
LQ Veteran
Registered: Feb 2007
Distribution: Slackware64-current with KDE4Town.
Posts: 9,431
|
I installed the new kernel late last night (my time) and was not able to build any of the of the following NVIDIA drivers, 325.15, 331.49 and 331.67.
There was also a new step in building, that is, trying to build, the last two. Something about building a kernel memory module.
Last edited by cwizardone; 05-09-2014 at 09:57 AM.
|
|
|
05-09-2014, 10:57 AM
|
#10
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,770
|
lucky me then
304.121 works OK with Linux Kernel 3.14.3
|
|
|
05-09-2014, 11:13 AM
|
#11
|
LQ Veteran
Registered: Feb 2007
Distribution: Slackware64-current with KDE4Town.
Posts: 9,431
|
Quote:
Originally Posted by willysr
lucky me then
304.121 works OK with Linux Kernel 3.14.3
|
304.121??!!
Just how old is your graphics card? (Said tongue-in-cheek)
Last edited by cwizardone; 05-09-2014 at 11:18 AM.
|
|
|
05-09-2014, 02:56 PM
|
#12
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,770
|
It's not the best GPU out there, but i'm not a gamer so it still works for me
I'm kinda lazy to upgrade PC components, so i would rather build a new one, but usually i wait until the current one is really broken or unusable then i would buy a new one hehe
The exception is adding new drive which i already did this year, so i have plenty of space for multiple VMs to work with
|
|
1 members found this post helpful.
|
05-09-2014, 03:43 PM
|
#13
|
Senior Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727
|
OK, I confirm the fail of the kernel module building, in the latest NVIDIA drivers.
Suspecting that is Yet Another Linus Kick Right In The Face Of Closed Source Drivers(tm), I made a strong hand rebuild of kernel, with just a option changed:
CONFIG_DEBUG_KERNEL=n
The kernel built without debug support works fine, also All NVIDIA Stars builds fine and works fine...
So, the dirty way is: do it like me (no debug support on rebuilt kernel) or fake the driver as GPL.
BUT, I believe that is the time to ask P.V. a question: While I understand that a kernel with debug support is very fine for him, or for a kernel developer, most likely, why Slackware ship a debug enabled kernel as default, considering that the typical slacker is eventually an fine connoisseur of the noble art of BASH scripting language?
|
|
|
05-09-2014, 03:59 PM
|
#14
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,770
|
Which kernel are you using?
I think you are running a huge kernel which built everything inside the kernel
Try switching to generic kernel (don't forget to create initrd to support your filesystems) and reinstall nvidia driver
It should work out of the box
|
|
|
05-09-2014, 03:59 PM
|
#15
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Slackware's latest current kernel is labeled for the 3.12 Kernel series.
If you want to update the kernel properly to a newer edition you need to run "make oldconfig" with the proper 3.12 configuration file renamed as .config and select the defaults, then use "make menuconfig" to further customize it before building and installing it.
Patrick ships what he feels he needs to for a broad audience of users, admins, and developers, and leaves the rest up to you.
|
|
|
All times are GMT -5. The time now is 01:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|