LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 03-06-2004, 10:00 AM   #1
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Install NVIDIA driver on kernel v. 2.4.18


I have SuSe 7.3 and had previously upgraded kernel to version 2.4.18 to get supportfor my sb 128 card.

Now I have trouble loading the NVIDIA driver modules, which seem to be compiled for kernel v. 2.4.10.

I checked the NVIDIA readme file, which says that in case of such incompatibility, the NVIDIA driver can be compiled for other, NOT INSTALLED kernel versions.

But my kernel has already been installed...

What to do then?

Last edited by J_Szucs; 03-06-2004 at 10:01 AM.
 
Old 03-06-2004, 10:53 AM   #2
Qzukk
Member
 
Registered: Jun 2003
Posts: 132

Rep: Reputation: 15
Errm, that doesn't make sense. I think by "not installed" they mean "not installed by default by your distribution" or something.

Anyway, have a look at <a href="http://mirrors.usc.edu/pub/linux/distributions/suse/i386/supplementary/X/XFree86/nvidia-installer-HOWTO">suse nvidia installer HOWTO</a> that explains how to set up your kernel source stuff to compile the nvidia driver. Once you have setup the kernel source, download the nvidia installer from www.nvidia.com and run it following their directions to compile and install the nvidia driver stuff.
 
Old 03-06-2004, 12:37 PM   #3
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
> Errm, that doesn't make sense.

You are right, the readme speaks about "not running" kernel (and not "not installed" kernel).

Here is the relevant text of the readme:
--------
"Q: I just upgraded my kernel, and now the NVIDIA kernel module will not
load. What is wrong?

A: The kernel interface layer of the NVIDIA kernel module must be
compiled specifically for the configuration and version of your kernel.
If you upgrade your kernel, then the simplest solution is to reinstall
the driver.

ADVANCED: You can install the NVIDIA kernel module for a non
running kernel (for example: in the situation where you just built
and installed a new kernel, but have not rebooted yet) with a command
line such as this:

sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --kernel-name='KERNEL_NAME'"
------

This is exactly my case.

My problem is that my kernel must be running in order to use the system, meanwhile the NVIDIA driver cannot be installed on it.

I think I should compile a new kernel, but I see it risky, since I never did such thing on Linux. I did that sometimes on FreeBSD, but it is different on Linux, and I should read the docs for hours until I grasp just the general idea.
Besides, I do not know if it has any drawbacks with regard to the usability of the configuration tools of SuSe (yast, sax2), if I do not have the default kernel, but compile an own one.


If that is the only way, I think the whole thing does not deserve the price.

Last edited by J_Szucs; 03-06-2004 at 12:39 PM.
 
Old 03-06-2004, 04:11 PM   #4
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
I finally decided to compile my own kernel, and got stucked just at the beginning:

I upgraded to 2.4.18 from a SuSE kernel upgrade package before, but the kernel source package available in the distro is for version 2.4.10.
And there is no "kernel source upgrade" package at the SuSe website.

Great.
I thought something like that would happen.
 
  


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
NVIDIA driver install problem."kernel source "needed ztdep Linux - Hardware 4 07-21-2005 02:50 AM
Nvidia Driver Install/Kernel Source Problem Brian of Gep Debian 6 03-14-2004 07:27 PM
kernel 2.6.3--bk8 and NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia zdenkod Linux - Hardware 2 03-09-2004 06:38 AM
Command Line Kernel and Nvidia Driver Install mandrakerookie Mandriva 11 12-23-2003 02:23 PM
nVidia Driver won't install because Kernel Headers are missing...Whats that me then? Stevetgn Linux - Newbie 3 08-24-2003 09:27 PM


All times are GMT -5. The time now is 09:35 PM.

Main Menu
Advertisement
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