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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-07-02, 01:24 AM   #1
Cheetah
Guest
 
Posts: n/a
Default Nvidia 1.0-2960 and Red Hat 7.3 Kernal 2.4.18-5

Is it possible to install Nvidia Graphics Drivers ver. 1.0-2960 on Red Hat 7.3 (Kernal 2.4.18-5). I have been trying now for about a day; reading what I can on the forums, and have not been able to get it.

If it is possible, could someone please post a complete step-by-step guide on how to do it?
  Reply With Quote
Old 08-07-02, 05:06 AM   #2
DarkLLord
Registered User
 
Join Date: Jul 2002
Posts: 19
Default

probably the easiest is to download these two files

http://download.nvidia.com/XFree86_4...h73up.i686.rpm
http://download.nvidia.com/XFree86_4...-2960.i386.rpm

once you downloaded them, do a
rpm -Uv <filename>
where filename are the names of the files you just downloaded

U mean Upgrade
v mean verbose

edit your XFree-Config
remove the lines
Load "dri"
Load "glxcore" (line should be pretty close to this)

somewhere in the file it should say
Section Device

There edit the line
Driver "<whatever>"
to
Driver "nvidia"

and your X-Server should start if I haven't forgotten anything important

Tell me whether it worked
__________________
DarkLLord
DarkLLord is offline   Reply With Quote
Old 08-07-02, 07:29 AM   #3
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

Those rpms won't work. (the kernel module won't work) For 2.4.18-5 you will need the src.rpm or the tar.gz version which you will have to compile. A lot of people have/had problems using kernel 2.4.18-5 on rh and the nvidia drivers. I would stick with the "old" 2.4.18-3. (this kernel isn't that newer, contains a few bugfixes. Something like 2.4.19 is a bit new)
Thunderbird is offline   Reply With Quote
Old 08-07-02, 09:27 AM   #4
CN_
Guest
 
Posts: n/a
Default

this should work
but there may be some problems like thunderbird said

plz do not use rpms

get the .tar.gz-files and un"tar" them like this:
tar xfvz <filename>

got to the directory where u un"tar"ed the package (if trhe packages's name is bla.tar.gz the directory should be "bla")
and type this:
./configure
make install

do this first with the kernel-driver then with the other one

now you should edit your /etc/X11/XF86Config-4 like said before
  Reply With Quote
Old 08-07-02, 10:50 AM   #5
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

The only thing that needs to be typed after extracting the (kernel) tar.gz file is: make

The same for the GLX package. After it you ofcourse need to edit XF86Config(-4).

CN_ I see you never installed the kernel module from tar.gz. The makefiles don't require all that autoconf stuff like configure since nvidia made their own horrible Makefiles.

(perhaps you used deb src packages from apt or src.rpm's)
Thunderbird is offline   Reply With Quote
Old 08-12-02, 12:16 PM   #6
jccartwright
Guest
 
Posts: n/a
Default

Hello,

I'm still having some trouble building and installing the driver.

I uninstalled the rpms and got the tar files as you suggested (NVIDIA_GLX-1.0-2960.tar.gz, NVIDIA_kernel-1.0-2960.tar.gz) . Starting with the kernel, I typed "make" with no apparent errors and got the following result:

ld -r -o NVdriver Module-linux Module-nvkernel
size NVdriver
text data bss dec hex filename
824061 52788 52396 929245 e2ddd NVdriver
Please run "make install" as root.

so, I ran "make install" as root and got this result:

ld -r -o NVdriver Module-linux Module-nvkernel
size NVdriver
text data bss dec hex filename
824061 52788 52396 929245 e2ddd NVdriver
depmod: *** Unresolved symbols in /lib/modules/2.4.18-5/kernel/drivers/video/NVdriver
make: *** [package-install] Error 1

This is RH7.3 with the 2.4.18-5 kernel rpm installed.

Can you point me to what I might be doing wrong or how to proceed from here?

Thanks!

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

You didn't use the kernel-headers for your kernel to compile the kernel module. Make sure you have the 2.4.18-5 headers installed and check if they are used.
Thunderbird is offline   Reply With Quote
Old 08-12-02, 04:36 PM   #8
jccartwright
Guest
 
Posts: n/a
Default

Thanks for you prompt reply!

I installed two rpms (rpm -Uvh ...):

kernel-2.4.18-5.i686.rpm
kernel-2.4.18-5.src.rpm

I'm not seeing a rpm specifically for the kernel-headers - should I?

Thanks again!

-- john
  Reply With Quote

Old 08-12-02, 05:28 PM   #9
jccartwright
Guest
 
Posts: n/a
Default

OK, I think that I found them - they seem to be packaged with the glibc updates.

Everything seems to be working now.

Thanks so much for your help!

-- john
  Reply With Quote
Old 08-12-02, 08:19 PM   #10
UCMullet
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Thunderbird
You didn't use the kernel-headers for your kernel to compile the kernel module. Make sure you have the 2.4.18-5 headers installed and check if they are used.
I would like to install in the same way, yet I have no idea how to use kernel-headers in the install. Mind telling me?
  Reply With Quote
Old 08-13-02, 02:59 AM   #11
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

The linux kernel headers/source are installed in /usr/src/.
For example the source of 2.4.18-3 can be called: linux-2.4.18-3 and of 2.4.18-5: linux-2.4.18-5.

Next to this there's a symlink I think linux or linux-2.4 to linux-2.4.18-3.

The nvidia makefiles try to use the source /usr/src/linux but when it is pointing to 2.4.18-3 you won't get a correct kernel module for your version.

You need to remove the symlink linux and create a new one using:
ln -s linux-2.4.18-5 linux

It will be something like this for your distro.
Thunderbird is offline   Reply With Quote
Old 08-18-02, 06:52 PM   #12
Mogar
Guest
 
Posts: n/a
Default

Please, would you post step by step what did you did ? I'm completely newbie in Linux (started to use it some days ago), and almost all that I know how to do is to start the x server (joking, but not so much).


I'm running red hat 7.3 too....
  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
Red Hat 7.3, tarred 2960 download, NVdriver failed to initialize SparceMatrix NVIDIA Linux 7 09-10-02 12:02 AM

All times are GMT -5. The time now is 09:15 PM.


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