|
|
#1 | |
|
Guest
Posts: n/a
|
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 |
|
|
|
|
#2 | |
|
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
|
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 |
|
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#4 | |
|
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
|
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)
|
|
|
|
|
|
|
#5 |
|
Guest
Posts: n/a
|
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? |
|
|
|
#6 | |
|
Guest
Posts: n/a
|
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. |
|
|
|
|
#7 |
|
Fifteen-K Saiyan Bastard
|
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? |
|
|
|
|
|
#8 |
|
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
|
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.
|
|
|
|
|
|
#9 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#10 |
|
Guest
Posts: n/a
|
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! |
|
|
|
#11 | |
|
Guest
Posts: n/a
|
Quote:
![]() 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.. |
|
|
|
|
#12 |
|
Guest
Posts: n/a
|
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 |
|
![]() |
| Thread Tools | |
|
|
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 |