[SOLVED] Can't install NVIDIA proprietary driver in Slackware 13.1
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Can't install NVIDIA proprietary driver in Slackware 13.1
I've been trying to install the driver for my NVIDIA GeForce 6150SE nForce 430 in Slackware 13.1 with no success. I always get the same error report: the module you're trying to build does not match the kernel source or something like that. The result: unable to build module and the installation crashes.
I have tried to:
set a custom kernel source path,
install it with the slackbuilds driver and kernel,
extract the contents and trying to compile it myself,
find possibly conflicting drivers or modules,
use different versions of the same driver (I've tried installing the versions 256.53, 256.44, 195.36.31 and 173.14.27)
recompile the Linux kernel in an attempt to make sure that the tools used to build the kernel were the same used o build the module.
The only time I got a different error message was when I used the slackbuild packages. It built the 'nvidia.ko' module, but it didn't work. I got a version magic notice when booting and, when I tried to start x, a fatal error "no screens were found."
Just to be sure, I made a clean full install of Slackware (only added WICD to be able to download the drivers and ran slackpkg update and upgrade all) and tried again. It didn't work.
I have browsed as much as I could, but now I gave up. Can anybody help me, please? If you need me to post any logs, the actual messages that were displayed, etc. I'll do it ASAP. Just don't ask me to recompile the kernel again unless you're damn sure it will work because it takes forever to do that and it would be frustrating to go through that for the third time without success.
Thanks in advance!
Last edited by bonixavier; 10-08-2010 at 07:04 AM.
I assume you use 32bit version. So you should use only 256.53 or one of the previous versions, not 195.x.x nor 173.x.x.
Can you post xorg log
I installed the slackbuilds package again (256.44) so I posted 2 logs: one from before it was installed and the current one.
Looking at it now, I see that X has been trying to load "dri", but I commented it out in the xorg.conf. That might be the cause of my problems because the nvidia readme file states that that module should be disabled. Or maybe it's something else. It also asks me to check the kernel log for details so I attached it too on the OP because I couldn't do it here.
By the way, should I use another format for them? It seems they still keep the same permissions requirements they had. Maybe copy/paste would be better?
Originally Posted by disturbed1
/usr/src/linux/.config Should all match.
/usr/src/linux should be or link to the current running kernel.
/usr/src/linux should be in a ready state --- make prepare.
So, /usr/src/linux is a link to /usr/src/linux/18.104.22.168. Is that the running kernel? I ran make prepare there. I have a question: how can I make sure that /proc/config.gz is the same as the other two files? I tried to open it to check, but it's a binary.
Guys, thanks for the support. Any other information you need, just ask.
I did. That's where I started. I began experimenting different paths when it was not working. The installer always crashes - it is unable to build the kernel. Apparently, the slackbuilds script could do it, but I can't get X to start without some further tweaking that I don't know how to do.
What exactly did you do, when recompiling the kernel?
Did you have it working before?
Just changed some settings, such as adding the appropriate processor, but keeping the rest of the config unaltered. However, I am NOT running a recompiled kernel. I am trying to install this friendly driver in a clean install of Slackware 13.1. The only things that are different from what came from the full install are:
2-slackpkg update and slackpkg upgrade-all,
3-slackbuilds driver and kernel + the executable from nvidia's website.
As to the other question, it has never worked in Slackware. I could get it working in Ubuntu 10.04.
I prefer to use the NVIDIA.run installer rather than the slackbuilds.org packages and it's always worked for me.
Have you switched to running the 'generic' kernel, initrd & modules rather than the initial 'huge' install kernel. If not then you might want to do that before trying to install the proprietary nvidia driver. Have a read of /boot/README.initrd if you need any guidance on that.
You also need to ensure that the kernel source for your running kernel is installed or the nvidia kernel module won't build.
You are running a non-SMP kernel in 32-bit Slackware ("/boot/vmlinuz-huge-22.214.171.124" according to your X.Org logfile).
If you run a non-SMP kernel (why? it would only be required on old hardware usually) you have to tweak the installed kernel source. SLackware's kernel source package has been pre-configured to generate kernel modules for a SMP kernel. That is why you get those "version magic" errors.
If you want to build kernel modules for a non-SMP kernel, then use the information you find here: http://slackware.osuosl.org/slackwar...3.4-nosmp-sdk/ to "patch" your copy of the kernel source.
After you do that, building a NVIDIA kernel module will no longer fail.
If you run a non-SMP kernel (why? it would only be required on old hardware usually) you have to tweak the installed kernel source.
I also wonder why. I didn't type in the huge option when installing. I chose a full install and might have missed it when I got the option to select the kernel. Is there anyway I can switch to the SMP one? I suppose most things I try to install will bring me the same problems. Is that something I can still do or is it an installation option?
Either way, I'll look into what was suggested and report back.