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-4496), 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 (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
your kernel.
-> Using the kernel include path '/usr/src/redhat' as specified by the
'--kernel-include-dir' commandline option.
ERROR: The kernel header file '/usr/src/redhat/linux/kernel.h' does not exist.
The most likely reason for this is that the kernel include path
'/usr/src/redhat' is incorrect. Please make sure you have installed the
kernel header files for your kernel; on Red Hat Linux systems, for
example, be sure you have the 'kernel-source' rpm installed. If you
know the correct kernel header files are installed, you may specify the
kernel include path with the '--kernel-include-path' commandline
option.
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 www.nvidia.com.

XoD

08-22-03 12:03 PM

Ahem...

First of all, check that you installed the source RPM for your kernel.
You must locate the top directory of your kernel source. Look at the paths in the content of your kernel source RPM package or do a verbore command-line RPM installation in order to see them.
Run the nvidia installer from the command line with this option:
--kernel-include-path="absolute top dir location of your kernel source"
The doublequotes must surround the top dir location"

Hope this will help.

Albert

08-22-03 01:48 PM

Hello,

I have been experiencing the same error, while trying to run the nvidia installer in RedHat9
on several previous kernels. I got the same notification messages, except on kernel 2.4.20-18.9, that one did a fine job and had the driver installed immediately. (I wonder why)

Since English is not my native language, could you please clarify the sentence: "locate the top directory of your kernel source". Maybe by giving an example.

I suppose you mean the directory where the source rpm has been downloaded to. In my case, I presume that should be /boot. Is that correct? I haven't downloaded it yet, so I'd better be right about where to put it.

Thank you for your kind reply.

Albert

08-22-03 02:02 PM

This is the answer Rick Stevens sent me. Rick is a senior member on the RedHat install list. Thanks Rick!

Thought this could be interesting for the members of this list as well.

Quote:

up2date only updates binary RPMs. You must install the kernel sourceRPM to have the kernel headers. RedHat used to also include the headers in a separate RPM, so you wouldn't have to install all of the kernelsource, but they appear to have stopped that practice. It was a nice feature.
Your kernel version can be displayed by using "uname -r". Download and install the kernel source RPM using "rpm -ivh rpmname.rpm" and you'llbe able to build your driver.