nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   RH9 kernel 2.4.20-20.9 athlon and Nvidia driver 1.0-4496 (http://www.nvnews.net/vbulletin/showthread.php?t=16841)

massimo 08-22-03 02:26 AM

RH9 kernel 2.4.20-20.9 athlon and Nvidia driver 1.0-4496
 
I am a newbie with Linux.

I succeded in installing this Nvidia driver with previous version of the kernel (2.4.20-19.9), but then, once updated, Nvidia installer reports problems with "kernel headers"...

I do not know what to do!!!

Please help :confused:

Thank you in advance

XoD 08-22-03 03:57 AM

What pb?
 
Please post the details the nvidia installer pb....

massimo 08-22-03 04:35 AM

I am sorry, but I do not understand what you are asking me to do... :confused:

LoOoD 08-22-03 04:51 AM

install kernel-source-2.4.20-20.9

massimo 08-22-03 05:11 AM

Do you mean one of these?

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/kernel-2.4.20-20.9.src.rpm

athlon:
ftp://updates.redhat.com/9/en/os/athlon/kernel-2.4.20-20.9.athlon.rpm
ftp://updates.redhat.com/9/en/os/athlon/kernel-smp-2.4.20-20.9.athlon.rpm

And what before?

Thank you so much!
I am new to linux and maybe I keep doing silly questions...

XoD 08-22-03 05:24 AM

Development RPMs
 
If the proper development RPMs are installed(gcc, binutils etc...) update your kernel with: ftp://updates.redhat.com/9/en/os/ath...0.9.athlon.rpm
if you have only one CPU or with:
ftp://updates.redhat.com/9/en/os/ath...0.9.athlon.rpm
if you have more than one CPU.
Then install
ftp://updates.redhat.com/9/en/os/SRP...0-20.9.src.rpm

From there run the nvidia installer. Should go fine.

massimo 08-22-03 07:09 AM

It didn't work...
Always the same message: the installer cannot find the kernel header files...

If I use the option --include-kernel-path with any argument, the installer searches for another directory which does not exist!!!

Go back to the previous kernel???? :(

XoD 08-22-03 07:18 AM

log file from the installer
 
Could you post the log file generated by the installer? Thanks.

massimo 08-22-03 10:58 AM

I hope this is the log you mean....

----------------------------------

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Aug 22 13:47:09 2003

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 include path : /usr/src/redhat
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.
-> 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.


All times are GMT -5. The time now is 10:42 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.