Help - Search - Members - Calendar
Full Version: Problem Installing Nvidia Drivers
Linuxhelp > Support > Technical Support
When trying to install the latest NVidia drivers, I get the error:

"Unable to determine the NVIDIA kernel module filename" blink.gif

I have no idea what to do. I already had to reinstall the kernel source code to even get this far, now I'm completely lost! smile.gif

[edit] I'm running SuSE 9.0, kernel v2.4.21. I've tried using the --kernel-source switch, and verified that the symbolic link /usr/src/linux is working, to no avail.[/edit]

make sure that the kernel source you've downloaded does not contain any cutsom in the version line

I think it is /usr/src-[kernel-version]/Makefile

(sorry doing this from a WinXP computer)

please check the first few lines of the Makefile, those about the version information , and make sure that your kernel source and kernel version match(?).

usualy you install the nvidia driver
by downloading the driver from
download the kernel source for your current kernel
modify the init level to 3 in /etc/inittab
and type ./NVIDIA-[blablabla]
and it should install without any errors

your error is likely because your Makefile in the kernel source directory contains a custom word in it's version number, or you don't have the correct kernel source (it must be the same as your kernel version).
Since you said that you have the correct symbolic link , then that shoudn't be the problem , I mean the symbolic link to the source.

Robert B
The first few lines of the Makefile are:



uname -r gives a kernel version of 2.4.21-215-smp4g, which more or less matches the (rather convoluted) entry in Makefile. Does this look correct?

it seems that the kernel version doesn't mach the kernel source, that is not good, you should download the kernel source which is the same version (exactly the same version) as you kernel.

That is causing the problem with the NVIDIA installer.

Robert B
?? It looks to me like the kernel does match the source, I'm not sure what you mean. Apart from those vague last two lines, the source indicates version 2.4.21, which matches the kernel.

Plus, I downloaded the source using YaST, so it should have automatically matched it to my existing kernel.

Thanks for your help, but still very confused smile.gif
If you used YAST, it should be the same.

Are you using the file?

Do you have a Nvidia NFORCE2 chipset Motherboard?
That's exactly the file that I'm using to install the drivers. I'm not sure what the motherboard is, as it came included with my compy (it's a Sony Vaio), but I'm pretty sure it's some generic Intel chipset, definitely nothing NVidia. Is an Nvidia chipset motherboard required for it to work correctly??
No, the NFORCE2 chipset actually doesn't work with the 2.4.21 kernel.

As root (from a console) in the directory tht contains the NVIDIA file try these lines:

chmod 755
On thing that looks wierd is the smp4g kernel ... is this a dual processor machine (or a P4 with hyperthreading)?
No, the NFORCE2 chipset actually doesn't work with the 2.4.21 kernel.
LOL! Good thing, then.

Yup, it's a P4 w/ HT.

chmod 755

I tried those lines and it didn't seem to change anything at all sad.gif I still get that error, and below it the line
ake: *** [select_makefile] Error 1

BTW, thank you everyone so far for you helpful and swift replies smile.gif
No problem with the smp kernel then ....

I am using the NVIDIA drivers on the SUSE 2.4.21-215-default kernel right now with no problems at all .... (my test box is a pIII 800 w/ 768mb RAM and a GeForce2, so the default kernel and not the smp kernel is installed).

Try this:

cd /usr/src/linux
cp /boot/config-2.4.21-215-smp4g .config
make oldconfig
make dep

Then go back to the directory containing and redo the command:

It didn't seem to have any affect, hughesjr

Here's the log from the installation, if it helps:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu May 20 20:55:18 2004

option status:
 license pre-accepted    : false
 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
 XFree86 install prefix  : /usr/X11R6
 OpenGL install prefix   : /usr
 Installer install prefix: /usr
 kernel source path      : (not specified)
 kernel install path     : (not specified)
 proc mount point        : /proc
 ui                      : (not specified)
 tmpdir                  : /tmp
 ftp site                :

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
  4496).  As part of installing this driver (version: 1.0-5336), the existing
  driver will be uninstalled.  Are you sure you want to continue? ('no' will a
  bort installation) (Answer: Yes)
-> 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 ( (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
  your kernel.
-> Kernel source path: '/usr/src/linux'
-> Performing cc_version_check with CC="cc".
ERROR: Unable to determine the NVIDIA kernel module filename.
ERROR: Installation has failed.  Please see the file
      '/var/log/nvidia-installer.log' for details.  You may find suggestions
      on fixing installation problems in the README available on the Linux
      driver download page at
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.