LinuxQuestions.org
Help answer threads with 0 replies.
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 11-15-2003, 03:56 PM   #1
Gruzzen
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
Nvidia Installation problem


Greetings,

I am trying to get the Nvidia drivers for my Geforce 4 4200 to install. I've found and read some guides around the net, but they all seem to have problems.

I"ve followed this guide

h tt p:// w w w .linuxquestions.org/questions/showthread.php?s=&threadid=71711
and the Nvidia installation fails because it cannot find my kernel Source.

I followed this guide
ht t p: / /w w w.madcow404.com/buyle/Nvidia_drivers_Debian_3_0.html#3._The_Debian_Way
Both the Manual, and the Debian Way installation.

The manual installation fails in section 2.2 where I get tons of errors. This is after I set the IGNORE_CC_MISMATCH=true in the makefile.

in the Debian way part of the guide. When I get the packages, and I follow the readme, which says
-------------------------------------------------------------------------------------------------
To build the nvidia-kernel deb you need to first make sure you have
kernel-package installed, then do the following:

cd /usr/src
tar -zxf nvidia-kernel-src.tar.gz
cd linux (or your kernel source directory)
make-kpkg modules_image
cd /usr/src
dpkg -i nvidia-kernel-KVER*.deb

-------------------------------------------------------------------------------------------------
When I change to my kernel source directory and run the make-kpkg modules_image command I get an error that says
-------------------------------------------------------------------------------------------------
We do not seem to be in a top level linux kernel source directory
tree. Since we are trying to make a kernel package, that does not make
sense. Please change directory to a top level linux kernel source
directory, and try again. (If I am wrong, and this is indeed a top
level linux kernel source directory, then I have gotten sadly out of
date with current kernels, and you should upgrade kernel-package)
-------------------------------------------------------------------------------------------------

I determined my current kernel by running cat /proc/version/ My ourput is
---------------------
Linux version 2.4.20-bf2.4-xfs (root@zombie) (gcc version 3.2.2 20030109 (Debian prerelease)) #1 Don Jan 16 08:25:40 CET 2003
--------------------

Using Synaptic I downloaded and installed the kernel-headers-2.2.20 package.


Does anybody have any suggestions on what I can do to get the installation to work.?

Gruzzen

EDIT: I apologize for the links not being clickable, but I apparently don't have enough posts to post URL's
 
Old 11-15-2003, 08:46 PM   #2
Gary987
Member
 
Registered: Oct 2003
Distribution: Gentoo, Mint, Ubuntu, Vector
Posts: 174

Rep: Reputation: 17
Hi


Okay here's what I understand

First you need to install the kernel headers specific to your distrobution..


>>I determined my current kernel by running cat /proc/version/ My ourput is
---------------------
>>Linux version 2.4.20-bf2.4-xfs (root@zombie) (gcc version 3.2.2 20030109 (Debian prerelease)) #1 Don Jan 16 08:25:40 CET 2003
--------------------

>>Using Synaptic I downloaded and installed the kernel-headers-2.2.20 package.

Did you install the correct ones I see 2.2 not 2.4?

Secondly, did you install them to /usr/src/linux, If not then made a symbolic link?

Thirdly I'm guessing that you have to compile it or something? so it can make a module image? make menconfig, make-kpkg kernel_image and THEN

make your nvidia-kernel bit

AND THEN

do your make-kpkg modules_image

*shrug* I"m not a Debian User http://www.linuxquestions.org/questions/

I'd ask the maintainer of the HOW TO guide for pointers too.


Have fun,

Gary
 
Old 11-15-2003, 10:11 PM   #3
Gruzzen
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Doh, your right, I did download the wrong Kernel Headers. The problem I'm having now is finding a copy of Kernel-headers for my specific kernel.

I can't find any 2.4.20's through synaptic, or dselect.

Here's my sources.list file

deb http://http.us.debian.org/debian stable main contrib non-free
deb ftp://ftp.debian.org/debian stable main contrib non-free

Does anyone know of the sources that I should have in my list? or a copy of big source list. Or more importantly a source that has the kernel header files for my specific kernel?

Linux version 2.4.20-bf2.4-xfs


Gruzzen
 
Old 11-18-2003, 12:50 AM   #4
Gruzzen
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Nobody knows? That can't be true

Nobody knows where to find the source headers for Linux version 2.4.20-bf2.4-xfs?
 
  


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
Suse 10.0 nvidia installation problem CL-1 SUSE / openSUSE 30 01-19-2006 08:38 AM
Nvidia nforce driver installation problem Wozl SUSE / openSUSE 1 07-25-2005 08:58 AM
yet another nvidia driver installation problem sbboy Linux - General 4 10-30-2004 01:28 AM
Yet another nvidia driver installation problem sbboy Mandriva 1 10-24-2004 09:12 AM
NVIDIA Installation problem! plz help! samuelgomes Linux - Hardware 2 04-22-2004 11:00 AM

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

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