LinuxQuestions.org
Review your favorite Linux distribution.
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 08-02-2005, 09:25 AM   #1
gibran
Member
 
Registered: Jul 2005
Location: California
Posts: 36

Rep: Reputation: 15
Unhappy NVIDIA Driver Installation on Debian Current


Hello, this is my first debian install.
I am trying to get my GeForce FX 5200 Video Card to work with X Server but ran into a slight problem. I figured out how to kill X(init 3..blahblah..which took a while) and i thought it would work.

I accept their license.
Then i get the message 'No procompiled kernel interface was foudn to match your kernel; Would you like the installer to attempt to download a kernel interface for your kernel from the NVIDIA ftp site?
I picked yes.

No matching precompiled kernel interface was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel.

ERROR: Unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel; on red hat blah blah blah. If you know the correct kernel source tree files are installed, you may specify the kernel source path with the '--kernel-source-path' command.
ERROR: Installation failed. Please see....blah blah

Well, i do know my kernel is possibly located in /lib/modules/2.4.27-2-386/

Does anyone have any idea where exactly it is inside though? Is there a search method i could use?

Any help is appreciated.

I dont understand how to use the --kernel-source-path either, if someone could explain that to me would be awesome.
 
Old 08-02-2005, 09:50 AM   #2
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
uname -r

apt-get install kernel-source

make sure you get the version that matches your current kernel


then get gcc too after that.
 
Old 08-02-2005, 10:02 AM   #3
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 624

Rep: Reputation: 32
actually if you are using the stock debian kernel all you need the the kernel-headers for your kernel...
at root
apt-get install kernel-headers-$(uname -r)

Last edited by utanja; 08-02-2005 at 10:05 AM.
 
Old 08-02-2005, 10:57 AM   #4
Biased turkey
Member
 
Registered: Jan 2002
Location: Canada
Distribution: redhat7.2
Posts: 169

Rep: Reputation: 30
I have exactly the same problem but after installing the kernel-source I still have the failure message.
After the kernel-source being installed in /usr/src do I have to create a link named linux to the kernel source ( like when using redhat ? )
I downloaded the drivers directly from Nvidia website, is it right or is there an Nvidia driver I can get with apt-get ? ( If yes, which one )

I installed Nvidia drivers on Fedora and on Gentoo systems the process went smoothly but it looks like it's a little more difficult with Debian and obviously other Debian newbies are in the same situation.
I hope that very common problem will be solved by a detailed document on the Debian website explaining howto install Nvidia drivers ( the way it is done on the Gentoo website ).

P.S. I'm starting to be converted to Debian and it's legendary package management ( that's the 1st reason why I'm giving Debian a try )

tia for any help
 
Old 08-02-2005, 11:01 AM   #5
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Rep: Reputation: 15
I am having the same problem.
 
Old 08-02-2005, 11:33 AM   #6
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
I had the same problem, until I discovered these instructions . They've worked for 3.1 stable, on a 2.4 and 2.6 kernel, and also under testing with the k7 kernel.

They were also the third result when googling for 'debian+nvidia' - not exactly hard to find...
 
Old 08-02-2005, 01:19 PM   #7
ToastedToad
Member
 
Registered: Feb 2005
Location: Sequim,WA
Distribution: Debian_sid/Debian_sarge_amd64
Posts: 157

Rep: Reputation: 30
You guys need to have the kernel-headers package, not just the kernel-source. After that just exit x, run the installer and edit XF86Config-4.
 
Old 08-02-2005, 02:12 PM   #8
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Rep: Reputation: 15
Ok I installed the driver, now what?
 
Old 08-02-2005, 03:37 PM   #9
gibran
Member
 
Registered: Jul 2005
Location: California
Posts: 36

Original Poster
Rep: Reputation: 15
wow after installing the kernel headers it let me install the driver. anyone explain to me what the kernel headers actually are???

the only problem now is that my XFree86 config doesent seem to be working with this card. Although i did exactly what the NVIDIA instructions said. Can anyone help me properly edit this?
 
Old 08-02-2005, 03:52 PM   #10
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Rep: Reputation: 15
I just restarted my machine and it won't boot into x
 
Old 08-02-2005, 04:07 PM   #11
gibran
Member
 
Registered: Jul 2005
Location: California
Posts: 36

Original Poster
Rep: Reputation: 15
I edited X like all the tutorials say but X crashed when i start it. even after a reboot.

i checked the log file, no errors. the resolutions keep saying hsync out of range in there. any ideas?
 
Old 08-02-2005, 04:29 PM   #12
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Rep: Reputation: 15
I'm getting the same thing.
 
Old 08-02-2005, 04:32 PM   #13
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
'hsync out of range' means that the monitor settings are incorrect. Try getting the values from the manufacturers' site and editing XF86Config-4 to correct them.
 
Old 08-02-2005, 04:40 PM   #14
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Rep: Reputation: 15
I tried to correct everything, but I'm getting a "no screens found" error
 
Old 08-02-2005, 04:46 PM   #15
gibran
Member
 
Registered: Jul 2005
Location: California
Posts: 36

Original Poster
Rep: Reputation: 15
COKE: make sure you edit your x config so that GLCore and dri do not load.

I edited it and now its still crashing. No idea why. Any ideas people? Please help...
**EDIT*

No errors are in the log file btw, just a few seemingly harmless warnings.
This sucks!

Last edited by gibran; 08-02-2005 at 05:07 PM.
 
  


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 3d driver on debian sarge chimi Linux - Hardware 2 09-08-2005 12:27 PM
Trouble with new nVidia driver installation...no nvidia logo and KDE no start up mdb Linux - Software 8 08-18-2004 09:45 AM
[PB] nVidia 6106 driver on Debian Creak Linux - Hardware 3 07-10-2004 01:38 PM
Debian and X? Nvidia driver woes as well. oudent Debian 3 05-10-2004 05:54 PM
NVIDIA Driver Help - Debian Sid philwozza Debian 3 02-07-2004 03:25 PM


All times are GMT -5. The time now is 12:04 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