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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-16-02, 12:26 PM   #1
stevnb
Registered User
 
Join Date: Dec 2002
Posts: 6
Send a message via AIM to stevnb
Default 2.4.18-3 Nvidia driver help needed

I am running RedHat 7.3 with the 2.4.18-3 kernel. I have attempted to build the NVIDIA_kernel from the src rpm but I get error messages.

install: cannot stat `nvidia.o`: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.92699 (%install)

Any help would be appreciated. I am trying to get a Dell Latitude C840 up and running with a dual boot w2k/RH7.3.

Thanks.
stevnb is offline   Reply With Quote
Old 12-16-02, 05:38 PM   #2
Anthaus
Registered User
 
Join Date: Jul 2002
Posts: 197
Default

I think you best option would be to upgrade your kernel. Kernel 2.4.18-3 doesn't get along too well with nvidia's drivers. It's not very difficult with RedHat's rpms.

You will need, AT LEAST, one of these (just one):

Intel (one processor)
ftp://updates.redhat.com/7.3/en/os/i...8.7.x.i686.rpm

AMD (one processor)
ftp://updates.redhat.com/7.3/en/os/a...7.x.athlon.rpm

If you have two or more processors and/or a LOT of ram, let me know.

It would be convenient to upgrade or install the following as well:
ftp://updates.redhat.com/7.3/en/os/i...8.7.x.i386.rpm

Type the usual, as root:

rpm -Uvh kernel.blah.blah.blah.rpm

Reboot (one of the few occasions linux has to). After that, you will be tossed to text mode. Login as root and install the nvidia drivers. (I suppose you already know the drill with XF86Config-4).

Since you're comfortable with src rpms, why not give the tar balls a chance? The release notes will take you step by step into the installation procedure.
Don't forget to install the drivers in text mode (X must NOT be running)!!!
__________________
Use the source, Tux.
Anthaus is offline   Reply With Quote
Old 12-17-02, 07:54 AM   #3
stevnb
Registered User
 
Join Date: Dec 2002
Posts: 6
Send a message via AIM to stevnb
Default

Anthaus, thank you for your reply. Unfortunately, I am unable to upgrade the kernel. The system in question is loaded with a linux load configured and by our development dept. for use with the point of sale software we manufacture and distribute. As such, I must use the system on the kernel level that they are distributing into the field. This means that I need to find an answer within the kernel level we are on.

I have tried both the src rpm and the tar.gz files with similar results.

Is there a nvidia driver known to work with the 2.4.18-3 kernel? If so, which one?

Thanks again for the help.
stevnb is offline   Reply With Quote
Old 12-17-02, 02:25 PM   #4
Anthaus
Registered User
 
Join Date: Jul 2002
Posts: 197
Default

Ok. As you may already know, the nvidia drivers have two components: the kernel driver and the GLX driver (OpenGL).

The GLX is the same for all architectures:
http://download.nvidia.com/XFree86_4...-4191.i386.rpm

There are various flavors for the kernel driver, depending on you architecture:

Intel (i686) one processor:
http://download.nvidia.com/XFree86_4...h73up.i686.rpm

AMD one processor:
http://download.nvidia.com/XFree86_4...3up.athlon.rpm

If you have more than one processor and/or more than 4GB RAM, you will need different rpms. Look for them here:
http://www.nvidia.com/view.asp?IO=li..._ia32_1.0-4191

In general, you must look for the plain vanilla Red Hat 7.3 driver (without upgrades).

Now, I always recommend people to use the tar files, since they should work on all distros and architectures. But, in order to make them work, you need the kernel-source (the exact same version of your current kernel) and the make libraries.
__________________
Use the source, Tux.
Anthaus is offline   Reply With Quote
Old 12-17-02, 03:46 PM   #5
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Quote:
Originally posted by stevnb
The system in question is loaded with a linux load configured and by our development dept. for use with the point of sale software we manufacture and distribute. As such, I must use the system on the kernel level that they are distributing into the field.
Does this also mean you don't have root access to the machine? If so, no nVidia drivers will work, at all.

If not, if you do have root access, then take note that the nVidia drivers do in fact change your kernel!

When you load external kernel modules, your kernel changes. It may not affect anything, but it might. You would need to do more testing, which may not mean anything is out of the ordinary -- if this box is getting the drivers for testing purposes. If not, though, then you will have to consider that.

If you really don't care anymore, then just download the NVchooser.sh script that's on the download page of whatever driver you are going to install (3123 or 4191), and run it to tell you which files to download. No need to go checking CPU or whatever, it will do that. Simply sh NVchooser.sh to run it.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 12-17-02, 04:34 PM   #6
stevnb
Registered User
 
Join Date: Dec 2002
Posts: 6
Send a message via AIM to stevnb
Default

Thank you again for the reply. I do have root access to the system. The loading of an external module for the video is not a concern for us. We simply need to remain on the same rev of the kernel for purposes of our software.

As for the NVchooser.sh, I have run this. I have then downloaded and installed the suggested package with the exact same results.

thanks,
stevnb is offline   Reply With Quote
Old 12-17-02, 04:57 PM   #7
Anthaus
Registered User
 
Join Date: Jul 2002
Posts: 197
Default

As I said, kernel 2.4.18-3 is known as a troublesome rev. Lots of people complained that the nvidia drivers wouldn't work well or not at all with it.

Maybe you should put forward this to your employers.
__________________
Use the source, Tux.
Anthaus is offline   Reply With Quote
Old 12-17-02, 06:59 PM   #8
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Anthaus: Can you give me some links to these complaints? I'm not aware of any specific complaints with 2.4.18-3 that haven't been traced back to issues unrelated to kernel version.

stevnb: Can you verify that the md5sum of the files you've downloaded matches the one posted on the driver download page?

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote

Old 12-17-02, 07:38 PM   #9
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Wait a minute, "cannot stat nvidia.o, no such file or directory", that's not the actual error. That's just a message that the kernel module failed to finish building. There will be errors before that one that will be a pointer to the actual issue.

Verify the md5sum first, then try, instead of rpmbuild --rebuild whatever, rpmbuild --rebuild whatever >log.txt 2>&1, and post the log.txt file here. That will give a better idea of the problem...
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 12-18-02, 07:49 AM   #10
Wolfman [TWP]
Geforce 8800 GTS 512
 
Join Date: Nov 2002
Location: Australia
Posts: 396
Default

Sounds to me that he is missing the Kernel Source. As it will also be needed when you do a rpm --rebuild..
Wolfman [TWP] is offline   Reply With Quote
Old 12-18-02, 08:19 AM   #11
stevnb
Registered User
 
Join Date: Dec 2002
Posts: 6
Send a message via AIM to stevnb
Default

Andy:
Yes, the md5sum checks out. The files I downloaded match the ones from the download site. The two files being recommended by NVchooser.sh are the NVIDIA_kernel-1.0-4191.src.rpm and the NVIDIA_GLX-1.0-4191.i386.rpm.

I do an rpm --rebuild NVIDIA_kernel-1.0-4191.src.rpm which results in error's. I have included with this posting a output of these messages.

Wolfman:
I do indeed have the kernel source so I dont believe that is an issue.

bwkaz:

I am doing as you suggested. This post should have the log.txt file from the rpm --rebuild of the kernel.src file.
Attached Files
File Type: txt log.txt (3.2 KB, 146 views)
stevnb is offline   Reply With Quote
Old 12-18-02, 08:44 AM   #12
Wolfman [TWP]
Geforce 8800 GTS 512
 
Join Date: Nov 2002
Location: Australia
Posts: 396
Default

It's definately has something to do with the Kernel Source. I just ran the rebuild again, and I didn't get any of the 'can't find xxx.h file' errors that is listed in your *.log file.

You may need to check to see if these files are in you /usr/src/linux-XXX.XXX/include/asm directory.

I found that mine seemed to match, hence no can't find files errors..
Wolfman [TWP] 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
Memory leak in KDE plasma-desktop process with Nvidia driver shmerl NVIDIA Linux 0 08-07-12 10:27 AM
nvidia driver quality decrease? legluondunet NVIDIA Linux 17 06-26-12 10:03 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM

All times are GMT -5. The time now is 01:00 AM.


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