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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-18-03, 02:12 PM   #1
LUDWIG
Registered User
 
Join Date: Apr 2003
Posts: 10
Default problem 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
LUDWIG is offline   Reply With Quote
Old 04-18-03, 04:31 PM   #2
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

You're probably still pointing at your 2.4.20-v2 sources. Make sure your build symlinks are pointing at the right kernel source tree. (/lib/modules/`uname -r`/build, for example) The NVIDIA driver requires your kernel sources to match the configuration of the running kernel to correctly compile.

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 04-19-03, 03:07 AM   #3
LUDWIG
Registered User
 
Join Date: Apr 2003
Posts: 10
Default

When I built the kernel,I put a symlink :
ln -s usr/src/Linux-2.4.20 /usr/src/Linux

I used this symlink to compile both the 2.4.20 and the 2.4.20V2 kernels since they both use the same kernel source.

Any idea about what to do,Andy?
LUDWIG is offline   Reply With Quote
Old 04-19-03, 03:40 AM   #4
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

What kernel are your sources currently configured for? Your kernel source configuration *must* match your running kernel to build the driver correctly.

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 04-19-03, 03:42 AM   #5
LUDWIG
Registered User
 
Join Date: Apr 2003
Posts: 10
Default

Quote:
Originally posted by Andy Mecham
What kernel are your sources currently configured for? Your kernel source configuration *must* match your running kernel to build the driver correctly.

--andy
Hi Andy.
I'm not sure what my 'sources' are and what they are configured for. How can I check?
LUDWIG is offline   Reply With Quote
Old 04-22-03, 02:19 PM   #6
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

"Sources" refers to your kernel sources. "Configured" means you can type 'make bzImage' and produce the same kernel you're running - ie: your .config file represents the current running kernel.

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham 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
How can NVIDIA better engage with Linux artem NVIDIA Linux 8 06-26-12 09:05 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
nVidia Linux drivers with Linux on Mac, help? Thetargos NVIDIA Linux 0 05-13-12 12:52 PM
download problem with linux NVIDIA driver packages Timo NVIDIA Linux 7 07-31-02 09:22 AM

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


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