LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Proprietary Nvidia driver not building under 3.10.6 (current (http://www.linuxquestions.org/questions/slackware-14/proprietary-nvidia-driver-not-building-under-3-10-6-current-4175473524/)

fogpipe 08-15-2013 03:37 PM

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.

Darth Vader 08-15-2013 04:27 PM

You should upgrade your NVIDIA driver from 319.32 to 325.15, for kernel 3.10.x compatibility.

cwizardone 08-15-2013 04:28 PM

It is necessary to use the 325.15 Nvidia driver with the 3.10.5> kernel.

fogpipe 08-15-2013 06:05 PM

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.

regis_n_bits 08-15-2013 06:57 PM

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.

John VV 08-15-2013 07:34 PM

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/

fogpipe 08-15-2013 07:43 PM

Thanks. Gee, nothing like making them easy to find :)

fogpipe 08-16-2013 07:48 PM

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.

John VV 08-16-2013 10:11 PM

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

mats_b_tegner 08-17-2013 10:51 AM

Quote:

Originally Posted by John VV (Post 5010728)
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/


All times are GMT -5. The time now is 07:50 PM.