LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Nvidia Installation problem (https://www.linuxquestions.org/questions/debian-26/nvidia-installation-problem-116421/)

Gruzzen 11-15-2003 02:56 PM

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

Gary987 11-15-2003 07:46 PM

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

Gruzzen 11-15-2003 09:11 PM

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

Gruzzen 11-17-2003 11:50 PM

Nobody knows? That can't be true
 
Nobody knows where to find the source headers for Linux version 2.4.20-bf2.4-xfs?


All times are GMT -5. The time now is 06:24 PM.