-   Slackware (
-   -   Proprietary Nvidia driver not building under 3.10.6 (current (

fogpipe 08-15-2013 04: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


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 \
  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 ;                                                        \
  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 05:27 PM

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

cwizardone 08-15-2013 05:28 PM

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

fogpipe 08-15-2013 07: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.

$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 07: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 08:34 PM

the 32 bit is here
-- 64 bit --

fogpipe 08-15-2013 08:43 PM

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

fogpipe 08-16-2013 08: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 11:11 PM

for reference and you might want to make a nvidia bookmark folder
the above ftp page- this will NOT be the next current , it changes with versions

if there is an issue with a driver and kernel it will very likely show up in the Nv linux forum

mats_b_tegner 08-17-2013 11:51 AM


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

There is also the nVidia Developer Zone forum:

All times are GMT -5. The time now is 06:08 PM.