I have a custom kernel and am trying to install latest nVidia drivers (6111) using the automatic installer. I've read the manual and the advanced options and the installer is still having trouble finding the kernel sources, despite what the advanced options state....
--kernel-source-path=[KERNEL SOURCE PATH]
The directory containing the kernel source files that should be
used when compiling the NVIDIA kernel module. When not
specified, the installer will use '/lib/modules/`uname
-r`/build', if that directory exists. Otherwise, it will use
So the options I'm using to run the installer are....
sh NVIDIA-Linux-x86-1.0-6111-pkg1.run --kernel-source-path=/usr/src/linux-2.4.26/ -a
(I've also tried --kernel-source-path=/usr/src/linux/ with the same result, but then thats not surprsing given...
$ ls -l /usr/src/
lrwxrwxrwx 1 root root 12 Jul 13 20:02 linux -> linux-2.4.26/
drwxr-xr-x 15 573 573 608 Aug 9 16:24 linux-2.4.26/
(There sources do actually exists, its not just an empty folder ;-))
and as a result I end up with the following in /var/log/nvidia-installer.log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Aug 24 18:47:02 2004
license pre-accepted : true
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : /usr/src/linux-2.4.26/
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com
Using: nvidia-installer ncurses user interface
-> License accepted by command line option.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com
)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
-> Using the kernel source path '/usr/src/linux-2.4.26/' as specified by the
'--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.4.26/'
-> Performing cc_version_check with CC="cc".
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.
If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the appropriate nvidia-installer command line option.
Output of uname -r is 2.4.26 so I'm using the correct sources. If its of any relevance I'm using a recenlty updated slackware 10 (used swaret to upgrade from 9.1).
One thought was that it may be a different versions of gcc currently installed than that which was used to compile the kernel, but I can't remember what date I did the upgrade (before or after recompiling the kernel).
Any suggestions or advice would be greatly appreciated.
P.S. - Beyond take the casing off is there anyway of determining what card I have (I lost the details of what I bought ages ago)