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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-12-02, 09:22 AM   #1
denisepoll
Guest
 
Posts: n/a
Default help! looking for correct driver to install

I'm running RedHat 7.1 and I need to upgrade the kernel to 2.4.9-31. My video card is a nVidia GeForce4 MX 420. I checked the following site http://www.nvidia.com/view.asp?PAGE=linux and I do not see an RPM for rh 7.1 and kernel 2.4.9-31. Can someone point me in the right direction? Thanks in advance!

Denise
  Reply With Quote
Old 08-12-02, 10:03 AM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

If there's no rpm you need the source rpms (src.rpm) or the tarball version.

Build rpms from the src.rpm using: rpm --rebuild filename.src.rpm.
The rpms will be placed in /usr/src/redhat/RPMS/i386
Thunderbird is offline   Reply With Quote
Old 08-12-02, 12:25 PM   #3
denisepoll
Guest
 
Posts: n/a
Default

Thunderbird,

I downloaded rpm NVIDIA_kernel-1.0-2960.src.rpm but when I tried to build it, I got a listing of the syntax for rpm instead. I'm a newbie and this is the 1st time I'm having trouble with rpm's.

Is --rebuilddb the same as --rebuild? So I would type rpm --rebuilddb NVIDIA_kernel-1.0-2960.src.rpm?

Here is what the help is showing for rpm:
rpm {--rebuilddb} [--rcfile <file>] [--dbpath <dir>]

Again, thanks in advance.

Denise
  Reply With Quote
Old 08-12-02, 02:08 PM   #4
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

No it really is rpm --rebuild. Make sure you have the rpm build packages installed. (not on an rh based distro here so I can't check the package name)
Thunderbird is offline   Reply With Quote
Old 08-12-02, 04:01 PM   #5
denisepoll
Guest
 
Posts: n/a
Default

Thunderbird,

Thanks for your reply. I found the package (rpm-build on rh) and installed it from the CD. Now when I try to build the rpm's from the source I'm getting errors like the following:
#error to build against currently running kernel
install: cannot stat 'NVdriver': no such file or directory
RPM build errors:
bad exit status from /var/tmp/rpm-tmp.82603(%install)

What could I have done wrong?
  Reply With Quote
Old 08-13-02, 04:20 AM   #6
Phlanx
Guest
 
Posts: n/a
Default

Nah... Nvidia can't build RPM's. Every single person gets troubles with RPM. Download the tarballz
unpack with
tar -zxvf $tarfile.tar.gz
then do
cd $tarfile
(mind, no tar.gz prefix)
make install
done.
  Reply With Quote
Old 08-13-02, 06:42 AM   #7
TheOneKEA
Fifteen-K Saiyan Bastard
 
TheOneKEA's Avatar
 
Join Date: Aug 2002
Location: Somewhere in England, waiting for ROTK and drooling over the A64 3000+
Posts: 417
Send a message via ICQ to TheOneKEA Send a message via AIM to TheOneKEA Send a message via Yahoo to TheOneKEA
Default

If you use devfs the install may fail if you configured devfsd to create nvidia* device nodes when a lookup for them occurs.

BTW, did nVidia never mention when they would add devfs support to their code?
TheOneKEA is offline   Reply With Quote
Old 08-13-02, 07:06 AM   #8
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

Phlanx using src.rpms you get exactly the same kernel module as using tar.gz. An src.rpm contains the standard tar.gz file and a spec file. That spec file contains the instructions for building the rpm.
Thunderbird is offline   Reply With Quote

Old 08-13-02, 07:43 AM   #9
denisepoll
Guest
 
Posts: n/a
Default

Phlanx,

I tried the .tar.gz file even though Thunderbird said the .src will work. I'm getting the same errors, #error to build against currently running kernel and some others that I didn't see before. At this point I do not know how to resolve this or why it's happening.

Also, I didn't manually configure devfsd and I don't know what it is. Maybe I should reload rh and start over? Would that be best?

Denise
  Reply With Quote
Old 08-13-02, 07:56 AM   #10
denisepoll
Guest
 
Posts: n/a
Default

Hi all,

I read another thread and it said that in order to rebuild rpm's, the kernel-source and the same version of gcc that the kernel was built from is needed. I will try that and see what happens. Hopefully, I will be able to update with my success.

Thanks again!
  Reply With Quote
Old 08-13-02, 08:24 AM   #11
Phlanx
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Thunderbird
Phlanx using src.rpms you get exactly the same kernel module as using tar.gz. (..)
Yeah.. I thought so too, but tell that to my Linux box

Denise, I got my drivers working after upgrading to 7.3. But I know that's a little depreciated.. :-/
But it will give you hope..

good luck..
  Reply With Quote
Old 08-13-02, 09:03 AM   #12
denisepoll
Guest
 
Posts: n/a
Default

Everything worked out!!!

After getting the gcc & cpp dependency issues out of the way I was able to install the kernel source. I then did the --rebuild of the .src to get the rpm needed for my new kernel and installed it. I ran startx and it worked so then I changed /etc/inittab to start X on startup, rebooted and everything is working. What a challenge for a newbie.

Thank you all for your help!

Denise
  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
Mageia 2 Cannot Install 71.86.15 for Riva TNT/TNT2 kbulgrien NVIDIA Linux 3 06-29-12 08:27 AM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
How to install my nvdia driver... danyal_r NVIDIA Linux 2 10-11-02 12:06 PM
Getting bizarre errors with driver install clutch NVIDIA Linux 1 09-14-02 09:53 PM
NVIDIA driver doesn't install successfully on RH 7.3 Sunni NVIDIA Linux 3 08-28-02 02:30 PM

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


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