LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Nvidia Driver (https://www.linuxquestions.org/questions/slackware-14/nvidia-driver-4175483194/)

Slack_Buddha 11-02-2013 06:28 PM

Nvidia Driver
 
I recently upgraded my machine to slackware64-current and when i try to install the nvidia driver i get this error message

ERROR: The kernel header file '/lib/modules/3.10.17/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/3.10.17/build' have not been configured.


Usually I'm pretty good at figuring out problems on my own but this one has me stumped.

wildwizard 11-02-2013 06:39 PM

Questions

1. Via the blob or slackbuilds?
2. Which driver version?

GazL 11-02-2013 06:45 PM

If you can't get the latest driver to install then try this:
ln -s ../generated/uapi/linux/version.h /lib/modules/3.10.17/build/include/linux

Slack_Buddha 11-02-2013 08:30 PM

Quote:

Originally Posted by wildwizard (Post 5057338)
Questions

1. Via the blob or slackbuilds?
2. Which driver version?

1. I used slackpkg using the -current mirrors
2. 304.64

Quote:

If you can't get the latest driver to install then try this:
ln -s ../generated/uapi/linux/version.h /lib/modules/3.10.17/build/include/linux
I tried this but no luck

TobiSGD 11-02-2013 08:44 PM

Quote:

Originally Posted by Slack_Buddha (Post 5057385)
1. I used slackpkg using the -current mirrors
2. 304.64



I tried this but no luck

You need 304.88, previous versions do not work with the 3.10 kernel.

willysr 11-02-2013 09:02 PM

or even better, 304.108 :)

Slack_Buddha 11-02-2013 09:11 PM

Quote:

Originally Posted by TobiSGD (Post 5057396)
You need 304.88, previous versions do not work with the 3.10 kernel.

Well i tried that and it still wouldnt work but I did a little digging and found that 304.108 was the latest and it worked no problem.

Quote:

or even better, 304.108
Yep worked like a charm. Thanks guys!

GazL 11-03-2013 05:25 AM

Quote:

Originally Posted by Slack_Buddha (Post 5057385)
I tried this but no luck

If you were trying to use an old driver then version.h moving is probably not the only issue.

TobiSGD 11-03-2013 05:45 AM

Quote:

Originally Posted by Slack_Buddha (Post 5057410)
Well i tried that and it still wouldnt work but I did a little digging and found that 304.108 was the latest and it worked no problem.

Sorry, I mixed up the numbers.

Nh3xus 11-03-2013 08:23 AM

I just updated the Nvidia driver on my -current system.

Installation of 304.108 went smoothly and no patch was needed for the kernel 3.10.5-smp.

Hope it helps :)


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