Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-22-03, 02:26 AM   #1
massimo
Registered User
 
Join Date: Aug 2003
Location: Bassano del Grappa - Italy
Posts: 7
Unhappy 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

Thank you in advance
massimo is offline   Reply With Quote
Old 08-22-03, 03:57 AM   #2
XoD
Registered User
 
XoD's Avatar
 
Join Date: Aug 2003
Location: Paris - France
Posts: 101
Default What pb?

Please post the details the nvidia installer pb....
XoD is offline   Reply With Quote
Old 08-22-03, 04:35 AM   #3
massimo
Registered User
 
Join Date: Aug 2003
Location: Bassano del Grappa - Italy
Posts: 7
Question

I am sorry, but I do not understand what you are asking me to do...
massimo is offline   Reply With Quote
Old 08-22-03, 04:51 AM   #4
LoOoD
Registered User
 
Join Date: May 2003
Posts: 14
Default

install kernel-source-2.4.20-20.9
LoOoD is offline   Reply With Quote
Old 08-22-03, 05:11 AM   #5
massimo
Registered User
 
Join Date: Aug 2003
Location: Bassano del Grappa - Italy
Posts: 7
Question

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...
massimo is offline   Reply With Quote
Old 08-22-03, 05:24 AM   #6
XoD
Registered User
 
XoD's Avatar
 
Join Date: Aug 2003
Location: Paris - France
Posts: 101
Default 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.
XoD is offline   Reply With Quote
Old 08-22-03, 07:09 AM   #7
massimo
Registered User
 
Join Date: Aug 2003
Location: Bassano del Grappa - Italy
Posts: 7
Thumbs down

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????
massimo is offline   Reply With Quote
Old 08-22-03, 07:18 AM   #8
XoD
Registered User
 
XoD's Avatar
 
Join Date: Aug 2003
Location: Paris - France
Posts: 101
Default log file from the installer

Could you post the log file generated by the installer? Thanks.
XoD is offline   Reply With Quote

Old 08-22-03, 10:58 AM   #9
massimo
Registered User
 
Join Date: Aug 2003
Location: Bassano del Grappa - Italy
Posts: 7
Default

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.
massimo is offline   Reply With Quote
Old 08-22-03, 12:03 PM   #10
XoD
Registered User
 
XoD's Avatar
 
Join Date: Aug 2003
Location: Paris - France
Posts: 101
Default 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.
XoD is offline   Reply With Quote
Old 08-22-03, 01:48 PM   #11
Albert
Registered User
 
Join Date: May 2003
Location: Antwerp, BELGIUM
Posts: 19
Default

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
Albert is offline   Reply With Quote
Old 08-22-03, 02:02 PM   #12
Albert
Registered User
 
Join Date: May 2003
Location: Antwerp, BELGIUM
Posts: 19
Default

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.
__________________
Albert
Albert is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat 8.0 NVIDIA works - INSTRUCTIONS STEEL1 NVIDIA Linux 267 04-15-03 06:48 PM

All times are GMT -5. The time now is 06:55 AM.


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