LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 08-15-2013, 03:37 PM   #1
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 Current
Posts: 329

Rep: Reputation: 77
Proprietary Nvidia driver not building under 3.10.6 (current


I hadnt done an update in a while and got around to it last night. I noticed there were some important changes, gcc, glibc etc. When i rebooted after the upgrade to kernel 3.10.6, the nvidia driver wouldnt compile. Error message below.

From /var/log/nvidia-installer.log

Code:
 Building kernel module:
   executing: 'cd ./kernel; make module SYSSRC=/lib/modules/3.10.6/source SYSOUT=/lib/modules/3.10.6/build'...
   NVIDIA: calling KBUILD...
   make -C /lib/modules/3.10.6/build \
   KBUILD_SRC=/usr/src/linux-3.10.6 \
   KBUILD_EXTMOD="/tmp/selfgz9652/NVIDIA-Linux-x86_64-319.32/kernel" -f /usr/src/linux-3.10.6/Makefile \
   modules
   test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
   echo >&2;							\
   echo >&2 "  ERROR: Kernel configuration is invalid.";		\
   echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
   echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
   echo >&2 ;							\
   /bin/false)
   mkdir -p /tmp/selfgz9652/NVIDIA-Linux-x86_64-319.32/kernel/.tmp_versions ; rm -f /tmp/selfgz9652/NVIDIA-Linux-x86_64-319.32/kernel/.tmp_version
Not sure whats at fault here, nvidia and gcc, or the kernel config. I rebooted to my backup kernel (home rolled 3.9.1) so everything else is working fine. i may fool around with it later to nail down the cause, in the meantime, just a heads up for current users.

Last edited by fogpipe; 08-15-2013 at 04:00 PM.
 
Old 08-15-2013, 04:27 PM   #2
Darth Vader
Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 602

Rep: Reputation: 109Reputation: 109
You should upgrade your NVIDIA driver from 319.32 to 325.15, for kernel 3.10.x compatibility.
 
1 members found this post helpful.
Old 08-15-2013, 04:28 PM   #3
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,236

Rep: Reputation: 176Reputation: 176
It is necessary to use the 325.15 Nvidia driver with the 3.10.5> kernel.

Last edited by cwizardone; 08-16-2013 at 08:32 PM. Reason: Typo.
 
1 members found this post helpful.
Old 08-15-2013, 06:05 PM   #4
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 Current
Posts: 329

Original Poster
Rep: Reputation: 77
The 3.25 version wont build either. I tried the 3.25 beta drivers before i posted. Also, the nvidia driver wont build after the upgrade when booted to 3.9.1 and using that source tree linked to /usr/src/linux.
Quote:
$gcc --version
gcc (GCC) 4.8.1
Sorry, my mistake. Apparently i only thought i had the 3.9.1 source linked to /usr/src/linux, when i actually checked to make sure that was the case, i got the nvidia driver to compile fine with the above version of gcc and kernel 3.9.1.

Just checked again making sure i had the 3.10.6 kernel source tree linked to /usr/src/linux. The nvidia 325 version drivers wont build for me booted to that kernel.

Last edited by fogpipe; 08-15-2013 at 06:36 PM.
 
Old 08-15-2013, 06:57 PM   #5
regis_n_bits
Member
 
Registered: Mar 2006
Distribution: Slackware64 14.1 (kernel 3.14.4)
Posts: 83

Rep: Reputation: Disabled
It's the 325.25 version of the nVidia driver you probably need (release date was around August 5th or 6th) - not the 325.08 beta from July.

It seems that nVidia is playing hide-and-seek with the 325.15 drivers. It was there earlier this week. But now it is missing again.


Also, you don't need to worry about that "/usr/src/linux" symlink. It isn't used when building the nVidia drivers.
 
1 members found this post helpful.
Old 08-15-2013, 07:34 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 12,901

Rep: Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713
the 32 bit is here
ftp://download.nvidia.com/XFree86/Linux-x86/325.15/
-- 64 bit --
ftp://download.nvidia.com/XFree86/Linux-x86_64/325.15/
 
1 members found this post helpful.
Old 08-15-2013, 07:43 PM   #7
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 Current
Posts: 329

Original Poster
Rep: Reputation: 77
Thanks. Gee, nothing like making them easy to find
 
Old 08-16-2013, 07:48 PM   #8
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 Current
Posts: 329

Original Poster
Rep: Reputation: 77
That whooshing noise was a kernel version going past
Currently using the nvidia 3.25.15 drivers and kernel 3.10.7 and all is well.
 
Old 08-16-2013, 10:11 PM   #9
John VV
Guru
 
Registered: Aug 2005
Posts: 12,901

Rep: Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713
for reference and you might want to make a nvidia bookmark folder
http://www.nvidia.com/object/unix.html
the above ftp page- this will NOT be the next current , it changes with versions
ftp://download.nvidia.com/XFree86/Linux-x86_64/325.15/
ftp://download.nvidia.com/XFree86/Linux-x86_64

if there is an issue with a driver and kernel it will very likely show up in the Nv linux forum
http://www.nvnews.net/vbulletin/foru...?s=&forumid=14
 
Old 08-17-2013, 10:51 AM   #10
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 143

Rep: Reputation: 47
Quote:
Originally Posted by John VV View Post
if there is an issue with a driver and kernel it will very likely show up in the Nv linux forum
http://www.nvnews.net/vbulletin/foru...?s=&forumid=14
There is also the nVidia Developer Zone forum:
https://devtalk.nvidia.com/default/board/98/linux/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware64-Current + Bumblebee nvidia proprietary driver not found (but exists) TommyC7 Slackware 2 08-16-2012 03:21 AM
nvidia proprietary driver, nvidia-settings and how to configure panning bluebox Linux - Hardware 1 03-11-2011 03:21 PM
Slackware64-current and ATi Proprietary Driver ack_iix Slackware 5 03-06-2010 12:09 PM
FC12 kernel source PAE, building proprietary nvidia wikopl Linux - Software 5 02-10-2010 10:11 PM
does the vesa console framebuffer driver conflict with the proprietary nvidia driver? mr.v. Linux - Hardware 2 01-28-2007 06:51 AM


All times are GMT -5. The time now is 08:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration