LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-18-2003, 02:17 PM   #1
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
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
 
Old 04-18-2003, 04:48 PM   #2
lazer66
LQ Newbie
 
Registered: Apr 2003
Posts: 7

Rep: Reputation: 0
Cool

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 !
 
Old 04-18-2003, 10:43 PM   #3
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
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.
 
Old 04-19-2003, 03:22 AM   #4
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
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

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

Last edited by ludwig W; 04-19-2003 at 03:28 AM.
 
Old 04-19-2003, 05:35 AM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
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.

Last edited by Aussie; 04-19-2003 at 05:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X86-64 problems, BIG TIME. mickeyboa Fedora 4 11-27-2005 02:17 PM
installing NVIDIA-Linux-x86-1.0-7676 on 5.10 Breezy badger... chronosoft Ubuntu 9 10-16-2005 05:10 AM
NVIDIA (NVIDIA-Linux-x86-1.0-7667-pkg1.run) undef00 Linux - Hardware 8 08-21-2005 02:35 PM
NVIDIA-Linux-x86-1.0-5111-pkg1.run ?? dolphans1 Mandriva 7 09-01-2004 09:39 AM
how to update to 4349 nvidia drivers (slackware) neenee Slackware 4 04-02-2003 02:21 AM


All times are GMT -5. The time now is 03:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration