LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2003, 04:24 PM   #1
prophet665
LQ Newbie
 
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10

Rep: Reputation: 0
Updating NVidia Drivers in Redhat 8


I am pounding my head against the wall trying to update my video drivers. I am running Redhat 8 and I have the 2.4.20-19.8 kernel on an AMD XP 2100+ box with 1 gig of RAM.

I log in as root. I have downloaded the new drivers in the following directory:
/home/downloads/nvidiadrivers

I then try to install the drivers with the following command:
(I forget the exact driver name, I am on my Windows partition now)
sh nvidia_driver_name --kernel-include-path /usr/src/redhat/RPMS/athlon/kernel-2.4.20-19.8.src.rpm

and it gives me a message saying that the kernel source does not exist. I have verified that the RPM files do exist in that directory and that I am spelling everything correctly.

Needless to say, I am a newbie when it comes to Linux and this is driving me up the wall.

Can anyone help me?

Thanks,
Christian
 
Old 07-28-2003, 04:26 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
thats because that is not the kernel source, that is the kernel source rpm package...you have to point it to the directory where the source is extracted...and the only reason why you should use this command argument, is if you have more than one kernel on your system.
 
Old 07-28-2003, 04:43 PM   #3
prophet665
LQ Newbie
 
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10

Original Poster
Rep: Reputation: 0
I do have more than one kernel on my system. I thought it might have extracted to a different directory, but I couldn't find where that destination directory was. The RPM just ran and finished without any messages. Is there a directory somewhere called "kernel"? If so, is that what it is asking for?
 
Old 07-28-2003, 04:51 PM   #4
jvds
Member
 
Registered: Jul 2003
Posts: 88

Rep: Reputation: 15
Try looking in /usr/src/linux as this is where the kernel source should be. IF not download it from http://www.kernel.org and build an appropiate kernel

Rus
 
Old 07-28-2003, 05:15 PM   #5
prophet665
LQ Newbie
 
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10

Original Poster
Rep: Reputation: 0
I tried looking at www.kernel.org, but they didn't have my specific kernel (2.4.20-19.8), though interesting enough they had some newer kernels. i thought I had the latest one.

Going back to my first reply, shouldn't the RPM have extracted some code somewhere? I keep doing a search and I am not finding anything useful. My distro of RH 8 has the following folder structure:

/usr/src/redhat

Is the NVidia driver looking for a ".h" file? I have two kernel.h files in the following locations:

/boot/kernel.h
/usr/include/linux/kernel.h

Or is it looking for the ".o" files? I have some ".o" files at the following location:

/lib/modules/2.4.20-19.8/kernel/arch/i386/kernel/cpuid.o
/lib/modules/2.4.20-19.8/kernel/arch/i386/kernel/edd.o
/lib/modules/2.4.20-19.8/kernel/arch/i386/kernel/microcode.o
/lib/modules/2.4.20-19.8/kernel/arch/i386/kernel/msr.o

Or am I just way off base?
 
Old 07-28-2003, 05:17 PM   #6
jvds
Member
 
Registered: Jul 2003
Posts: 88

Rep: Reputation: 15
With RH they ship a base kernel 2.4.xx + Patches which is the -18. IF you are up for it I can take you through a nice new kernel compile

Rus
 
Old 07-28-2003, 05:21 PM   #7
prophet665
LQ Newbie
 
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10

Original Poster
Rep: Reputation: 0
Ok...I think i can deal with a kernel compile. I have a book called Linux for Windows Addicts that has a section on recompiling your kernel. I guess my only fear is that I might really screw something up if I can't even find the damn source that the NVidia drivers require. If I recompile my kernel, will that process show me where the the header files are so I can update my stupid video drivers?
 
Old 07-28-2003, 05:23 PM   #8
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
show us what contents you see when you go to the /usr/src folder and type ls -al..
 
Old 07-28-2003, 05:23 PM   #9
jvds
Member
 
Registered: Jul 2003
Posts: 88

Rep: Reputation: 15
Well best thing it get a new kernel installed and it will setup all the background things which should make the nvidia stuff easy. Make sure that you get 2.4.21 and not anything higher. Also try putting stuff in /usr/src/linux or at least create a symlink

Rus
 
Old 07-28-2003, 05:29 PM   #10
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
or just download the source instead of compiling another kernel, which makes more sense..
that is if the source doesn't already exist.
 
Old 07-28-2003, 05:40 PM   #11
prophet665
LQ Newbie
 
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10

Original Poster
Rep: Reputation: 0
What are the source files named? I don't even know what i am looking for, that is 90% of my problem I think. If I knew where the source were located an d what their name was, I would just point the NVidia drivers to that location.

I also saw another post that said the newest NVidia drivers released today incorporate RH 8 distros. I have downloaded those and I am going to try and get those to run.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
updating Nvidia drivers Lleb_KCir Linux - Hardware 3 04-14-2005 02:59 PM
updating my Nvidia drivers problems... elbrens Linux - Software 6 05-22-2004 06:45 PM
NVIDIA Drivers on RedHat 8 kierl Linux - Hardware 7 03-26-2003 04:21 PM
Redhat 8.0 + nVidia Drivers Tnadrev Linux - General 9 11-04-2002 01:09 PM
Updating nVidia drivers error joadoor Linux - Newbie 11 06-03-2002 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration