Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-02-2005, 09:25 AM
|
#1
|
|
Member
Registered: Jul 2005
Location: California
Posts: 36
Rep:
|
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.
|
|
|
|
08-02-2005, 09:50 AM
|
#2
|
|
Member
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606
Rep:
|
uname -r
apt-get install kernel-source
make sure you get the version that matches your current kernel
then get gcc too after that.
|
|
|
|
08-02-2005, 10:02 AM
|
#3
|
|
Member
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 605
Rep:
|
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.
|
|
|
|
08-02-2005, 10:57 AM
|
#4
|
|
Member
Registered: Jan 2002
Location: Canada
Distribution: redhat7.2
Posts: 169
Rep:
|
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
|
|
|
|
08-02-2005, 11:01 AM
|
#5
|
|
Member
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100
Rep:
|
I am having the same problem.
|
|
|
|
08-02-2005, 11:33 AM
|
#6
|
|
Member
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305
Rep:
|
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... 
|
|
|
|
08-02-2005, 01:19 PM
|
#7
|
|
Member
Registered: Feb 2005
Location: Sequim,WA
Distribution: Debian_sid/Debian_sarge_amd64
Posts: 157
Rep:
|
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.
|
|
|
|
08-02-2005, 02:12 PM
|
#8
|
|
Member
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100
Rep:
|
Ok I installed the driver, now what?
|
|
|
|
08-02-2005, 03:37 PM
|
#9
|
|
Member
Registered: Jul 2005
Location: California
Posts: 36
Original Poster
Rep:
|
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?
|
|
|
|
08-02-2005, 03:52 PM
|
#10
|
|
Member
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100
Rep:
|
I just restarted my machine and it won't boot into x
|
|
|
|
08-02-2005, 04:07 PM
|
#11
|
|
Member
Registered: Jul 2005
Location: California
Posts: 36
Original Poster
Rep:
|
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?
|
|
|
|
08-02-2005, 04:29 PM
|
#12
|
|
Member
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100
Rep:
|
I'm getting the same thing.
|
|
|
|
08-02-2005, 04:32 PM
|
#13
|
|
Member
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305
Rep:
|
'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.
|
|
|
|
08-02-2005, 04:40 PM
|
#14
|
|
Member
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100
Rep:
|
I tried to correct everything, but I'm getting a "no screens found" error
|
|
|
|
08-02-2005, 04:46 PM
|
#15
|
|
Member
Registered: Jul 2005
Location: California
Posts: 36
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:05 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|