Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-09-04, 10:34 AM   #1
nitAnts
Registered User
 
Join Date: Oct 2004
Posts: 4
Question nVidia drivers on debian.

I try to install my nForce network card (integrated) on debian system.
The debian I installed is testing version, guess it should be Sarge.
Kenerl is 2.6.8.

I already got kernal source under directory /usr/src/linux.
And then I ran the install file, it tried to compile the drivers. But at the end it got an error message say can not find nvidia.ko file.

below I attached the log file. Could anyone take a look and help me out here ?

I am quite a newbie for linux so please give me more explanations. thanks your guys all.
Attached Files
File Type: txt nvidia-nforce-installer.txt (15.9 KB, 202 views)
File Type: txt nvidia-installer.txt (13.1 KB, 134 views)
nitAnts is offline   Reply With Quote
Old 10-09-04, 10:54 AM   #2
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: nVidia drivers on debian.

Did you download a kernel from kernel.org or did you use the kernel-source from apt?

The kernel from debian has some patches and stuff that probably isn't compatible with a vanilla kernel.
Lithorus is offline   Reply With Quote
Old 10-09-04, 11:00 AM   #3
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: nVidia drivers on debian.

Really make sure you use the correct kernel headers for your kernel. The drivers want the EXACT headers that were used to build the kernel (unless the kernel was build without module versions ..). To get those headers you need the kernel-headers package for your kernel:
apt-get install kernel-headers-$(uname -r)
Thunderbird is offline   Reply With Quote
Old 10-09-04, 11:27 AM   #4
nitAnts
Registered User
 
Join Date: Oct 2004
Posts: 4
Default Re: nVidia drivers on debian.

Quote:
Originally Posted by Lithorus
Did you download a kernel from kernel.org or did you use the kernel-source from apt?

The kernel from debian has some patches and stuff that probably isn't compatible with a vanilla kernel.
When I install debian I select the 2.6.8 i386 kernel.
So, I use the kernel-source file which has the same version as the one showed in grub interface. I downloaded it from debians offical ftp. And then use dpkg to install it manually.
nitAnts is offline   Reply With Quote
Old 10-09-04, 11:31 AM   #5
nitAnts
Registered User
 
Join Date: Oct 2004
Posts: 4
Question Re: nVidia drivers on debian.

BTW: There is a command name as "kernelversion". When I used it, it shows only 2.6 . no more information. Is that means I use 2.6 kernel instead of 2.6.8 ?

many thanks,
nitAnts is offline   Reply With Quote
Old 10-09-04, 02:42 PM   #6
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: nVidia drivers on debian.

kernelversion will only show you 2.6 for a 2.6.8 kernel. If you copy paste the command as Thunderbird gave you it will automatically get the correct headers, because the uname -r command will output your kernelversion with revision numbers, in theory. However since there are revisions of the packages you probably have to do a "apt-get install kernel-headers-$(uname -r)-1" for the first revision of the debian kernel. Although this is true for my own system which is using unstable/experimental, but you can always use "apt-cache search" and find the names or frontend like aptitude.
Lithorus is offline   Reply With Quote
Old 10-09-04, 05:56 PM   #7
Leech
Registered User
 
Join Date: Jul 2004
Posts: 86
Default Re: nVidia drivers on debian.

Also, make sure you create a symlink for the headers. For you, since you seemingly have the kernel-image-2.6.8-1-386 package, what you'll want to do is apt-get like they said before, then do 'ln -s /usr/src/kernel-headers-2.6.8-1-386 /usr/src/linux' and then try to compile the driver.... I looked for a bit on the net to see if there were already packages for the driver, but I could only find some for the Graphics driver, I've never used any of their chipsets or anything.

Leech

Last edited by Leech; 10-09-04 at 06:21 PM. Reason: Oops on the symlink, need the /usr/src/linux
Leech is offline   Reply With Quote
Reply


Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA Drivers Receive Windows 8 Certification News Archived News Items 0 06-01-12 05:30 AM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 09:31 PM
Debian + Nvidia drivers, bad compilation Prodigy NVIDIA Linux 16 09-10-02 07:13 PM
NVIDIA 2960 Drivers & RH 7.3 W/2.4.18-5 XASCompuGuy NVIDIA Linux 6 08-02-02 11:53 AM

All times are GMT -5. The time now is 03:14 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.