LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-15-2004, 09:21 PM   #1
anemic
LQ Newbie
 
Registered: Nov 2004
Location: Germany
Distribution: Slackware 10,Debian Sarge
Posts: 4

Rep: Reputation: 0
Error installing nVidia-driver-missing kernel-source?


Hi all,
i guess this is a very known issue, but i somehow couldn't find fitting answers yet.

I'm trying to install the latest nVidia-driver (v. 6629), but apparently it doesn't find the kernel-source.
I've carried out the following steps before attempting the driver installation:


Code:
apt-get install kernel-source-2.6.8 (i'm using a 2.6.8-1-386 kernel)

tar -xvfj /usr/src/kernel-source-2.6.8.tar.bz2

ln -s /usr/src/kernel-source-2.6.8 /usr/src/linux
Isn't this the correct way of installing the kernel-source? If yes, does anyone know why the installer outputs an error by asking if the (correct) kernel-source is installed?

Thx,
-pd
 
Old 12-16-2004, 01:32 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I think you are having the problem because the Nvidia kernel build looks for the files in /usr/include/linux so you should link the source to /usr/include. Check the readme but that is what was in the last one I used.
 
Old 12-16-2004, 03:22 AM   #3
kermit
Member
 
Registered: Jul 2002
Location: Madrid. Spain
Distribution: considering ubuntu
Posts: 87

Rep: Reputation: 15
Take a look at this:

http://tinyplanet.ca/~lsorense/debia...-dri-howto.txt

After a couple of weeks of headaches and low res, it solved the problem really fast.

Good luck!
 
Old 12-16-2004, 08:55 AM   #4
anemic
LQ Newbie
 
Registered: Nov 2004
Location: Germany
Distribution: Slackware 10,Debian Sarge
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks a lot

Kermit, the link is great. Didn't know you can install the drivers by only using Apt. It worked w/o any problems

regards,
-pd
 
Old 12-16-2004, 05:50 PM   #5
anemic
LQ Newbie
 
Registered: Nov 2004
Location: Germany
Distribution: Slackware 10,Debian Sarge
Posts: 4

Original Poster
Rep: Reputation: 0
Hm, well actually now i have a different problem occuring from this installation.

After i've restarted my PC X won't start anymore. Instead i get a message that my configuration might be wrong, eventhough i had it all working smoothly prior to this.

The log says that it has "failed to initialize the nvidia kernel module"

EDIT: When i 'modprobe nvidia' the modules load without problems and the X-server works.

Anyone know what this means now?

Thx

Last edited by anemic; 12-16-2004 at 06:01 PM.
 
Old 12-17-2004, 01:13 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Use modconf as root and install the module. It will then be available on boot.
 
Old 12-17-2004, 11:52 AM   #7
anemic
LQ Newbie
 
Registered: Nov 2004
Location: Germany
Distribution: Slackware 10,Debian Sarge
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, works fine now
 
  


Reply



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
Installing NVIDIA Driver --- Kernel Source ??? aratis Red Hat 4 06-29-2005 08:07 PM
Trying to get 1280x800, need kernel source for nvidia driver Zonzhal Linux - Laptop and Netbook 6 03-23-2005 09:16 AM
Nvidia Driver Kernel Source SparkerR Linux - Hardware 1 09-29-2004 09:29 PM
Nvidia Driver can't find kernel source Forezt Fedora 9 04-20-2004 07:35 PM
nVidia Driver won't install because Kernel Headers are missing...Whats that me then? Stevetgn Linux - Newbie 3 08-24-2003 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:43 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
Open Source Consulting | Domain Registration