LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Big problems installing NVIDIA-Linux-x86-1.0-4349.run (http://www.linuxquestions.org/questions/linux-software-2/big-problems-installing-nvidia-linux-x86-1-0-4349-run-55703/)

ludwig W 04-18-2003 03:17 PM

Big problems installing NVIDIA-Linux-x86-1.0-4349.run
 
Ok,Here's my situation:

Installed RH8 a few weeks ago and downloaded the kernel source for the 2.4.20 kernel.I compiled and built it without problems.

Now,I want to install the Nvidia drivers for my GF4 ti4200.This is what I did:

1.Downloaded NVIDIA-Linux-x86-1.0-4349.run
2.Exited X and cd-ed to the directory with NVIDIA-Linux-x86-1.0-4349.run in
3.#sh NVIDIA-Linux-x86-1.0-4349.run
4.The installer mentioned that I had no precompiled kernel interface to match my kernel and the installer will attempt to download a kernel interface for your kernel from the NVIDIA ftp site (ftp://download.nvidia.com)
5.It began to download and then stopped withthe error message:

ERROR: Unable to load the kernel module 'nvidia.o'. This is most likely
because the kernel module was built using the wrong kernel header files.
Please make sure you have installed the kernel header files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel header
files are installed, you may specify the kernel include path with the
'--kernel-include-path' commandline option.
-> Kernel module load error: ./usr/src/nv/nvidia.o: kernel-module version
mismatch
./usr/src/nv/nvidia.o was compiled for kernel version 2.4.20V2
while this kernel is version 2.4.20.


The error message mentions the last kernel that I built but subsequently deleted (2.4.20V2).My current kernel is Linux-2.4.20.

Does anyone have any suggestions as to how I can proceed from here?
I'm not sure exactly what kernel header files are (although I have the kernel source and a symlink installed) and I'm not sure what the " '--kernel-include-path' commandline option." is.

Can someone please help me?


thanks,
Ludwig

lazer66 04-18-2003 05:48 PM

It can depend on what kind of X86 version you have...I've read on nvidia.com that to get this to function perfect you must have v.4.x.x. installed instead of v.3.x.x.
But this is only a hunch....sorry for my bad english !

Aussie 04-18-2003 11:43 PM

Re: Big problems installing NVIDIA-Linux-x86-1.0-4349.run
 
Quote:

Originally posted by ludwig W
Ok,Here's my situation:

Installed RH8 a few weeks ago and downloaded the kernel source for the 2.4.20 kernel. I compiled and built it without problems.

Did you boot this new kernel and were you running it when you attempted to install the nvidia driver?

Quote:


Now,I want to install the Nvidia drivers for my GF4 ti4200.This is what I did:
--<snip>--
5.It began to download and then stopped withthe error message:

ERROR: Unable to load the kernel module 'nvidia.o'. This is most likely
because the kernel module was built using the wrong kernel header files.
Please make sure you have installed the kernel header files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed.


--<snip>--

This tells us exactly what went wrong,

1) It's downloading a pre-compiled RH8 kernel module.
2) This module was built against the RH8 kernel that was detected running on your system.
3) The kernel source that you installed and built does not match the RH8 kernel that your running.

Delete the kernel source that you built and install the 'kernel-source' rpm as per the recomendations in the installer.

ludwig W 04-19-2003 04:22 AM

Quote:

Did you boot this new kernel and were you running it when you attempted to install the nvidia driver?
Yes.
I've been running the 2.4.20 kernel for ages.
I left the default 2.4-18-14 kernel on my system,but I never boot it now.
I need the 2.4.20 kernel for my modem to function(it's a long story) so I can't delete it.

You say:
Quote:

3) The kernel source that you installed and built does not match the RH8 kernel that your running.
but I'm running the 2.4.20 kernel that I built and installed :confused:

What do you think I should do?
The last part of the error message :

......../usr/src/nv/nvidia.o was compiled for kernel version 2.4.20V2
while this kernel is version 2.4.20.

seems to suggest that the NVIDIA installer is looking at the kernel 2.4.20V2 that I built after 2.4.20 and subsequently deleted.

(When I deleted it, I deleted the entries in the grub.conf file refering to the V2 kernel and in the /boot folder, deleted the vmLinuz-2.4.20V2 file as well as the initrd-2.4.20V2.img file as well as/lib/modules/2.4.20V2 folder.)

cheers,
Ludwig

Aussie 04-19-2003 06:35 AM

In that case you might want to try them in the old .tar.gz format,
ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4349

The installer may be downloading the precompiled module based on the RH version instead of the kernel version.


All times are GMT -5. The time now is 10:03 AM.