PDA

View Full Version : I am having problems


AndrewBond
12-30-02, 05:48 AM
Hello,

I've been around linux for quite some time, and I finally decided to completely switch over to RedHat 8.0. I have completely updated the software using up2date, including the kernel.

I downloaded the 3 iso's and checked the disks. The installation was successful. I am able to login with the text mode, and then if i wish i am able to "startx".

I have a GeForce 3 Ti 200. I have read many posts, and many other websites on how to install the driver. I have tried just installing the basic RPM's, the src RPM's, and with the tar files by compiling it. I have uninstalled what has been done between each attempt. When installing the RPM's either by rebuilding the source or using prebuilt RPM's i get this error:

rpm -ivh NVIDIA_kernel-1.0-2960.rh73up.i686.rpm
Preparing... ########################################### [100%]
1:NVIDIA_kernel ########################################### [100%]
/lib/modules/2.4.18-19.8.0/kernel/drivers/video/NVdriver: The module you are trying to load (/lib/modules/2.4.18-19.8.0/kernel/drivers/video/NVdriver) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
/lib/modules/2.4.18-19.8.0/kernel/drivers/video/NVdriver: insmod /lib/modules/2.4.18-19.8.0/kernel/drivers/video/NVdriver failed
/lib/modules/2.4.18-19.8.0/kernel/drivers/video/NVdriver: insmod NVdriver failed
NVdriver installed successfully

With this method it doesn't seem to create the driver so that i can use insmod or modprobe to load it.


However, I tried using the make method and get a similar error about the gcc compiler. Yes I did install the kernel development tools. It tells me that the kernel was compiled with gcc version 3 and that the module was being compiled with version 2. With this error, i decided to update the gcc to version 3. I download the gcc rpm version 3.2-7, but it said i already had it installed in my system.

I would greatly appreciate it if someone could point me in the right direction.

Sincerely,
Andrew Bond
andrew@daysite.net

etr
12-30-02, 06:17 PM
You actually have the reverse problem--nVidia didn't update its compiler when it built its drivers, so it won't work with your kernel, which was built with a later compiler. I presume you are attempting to use one of the binary packages. Instead, I would recommend that you use the source RPM or the tarballs. Once you do this, you can compile the drivers on your own system to ensure that a compatible compiler is used.

To use the source RPM's or the tarball, you will need to install the kernel headers (and possibly also the kernel source--though I think that you can get by with just the headers).

Good luck!

AndrewBond
12-30-02, 07:18 PM
Hi,

I have tried downloading the src rpm files for both the kernel and the glx. It still refuses to run
i just get a black screen.



Thanks alot,

Andrew Bond
andrew@daysite.net

Karzak
12-31-02, 06:07 AM
why are you trying to use driver version 2960?
grab 4191 binaries/source .. the gcc problem is gone with those.

also, if downloading binary, be careful to download the exact one for your kernel. ie, if you have not upgraded kernel, you need 4191-rh80up-i686. Or, for example, if you have an athlon, you need 4191-rh80up-athlon (because rh8.0 automatically installed a different kernel on athlon). If you're not sure, just grab the 4191 source and recompile.