nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Nvidia 1.0-2960 and Red Hat 7.3 Kernal 2.4.18-5 (http://www.nvnews.net/vbulletin/showthread.php?t=484)

Cheetah 08-07-02 01:24 AM

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?

DarkLLord 08-07-02 05:06 AM

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

Thunderbird 08-07-02 07:29 AM

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)

CN_ 08-07-02 09:27 AM

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 ;)

Thunderbird 08-07-02 10:50 AM

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)

jccartwright 08-12-02 12:16 PM

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

Thunderbird 08-12-02 02:06 PM

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.

jccartwright 08-12-02 04:36 PM

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

jccartwright 08-12-02 05:28 PM

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

UCMullet 08-12-02 08:19 PM

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?

Thunderbird 08-13-02 02:59 AM

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.

Mogar 08-18-02 06:52 PM

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....


All times are GMT -5. The time now is 01:34 PM.

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