PDA

View Full Version : Debian and NVIDIA 4191


juhge
12-24-02, 04:14 PM
Good evening and a happy christmas
i've got a big problem. I want to use my Geforce 4 4200 on a Debian 3.0 (kernel 2.4.18) system but i can't install the sources. He complains about the compiler. Which compiler do i have to use to make the the sources running?
I'm no advanced Linux-User and so please describe your solutions a bit more cleare ;)
Thx
CU juhge

crimsun
12-25-02, 12:33 AM
First of all, please paste here the output of the following:

cat /proc/version

cc -v

Essentially what you need to do is install the appropriate kernel-headers package matching the kernel version you have installed. Then you need to compile the Nvidia kernel module against those headers. Also, you need to edit your /etc/X11/XF86Config-4.

juhge
12-25-02, 01:35 PM
cat /proc/version shows:
Linux version 2.2.20-idepci (gcc-version 2.7.2.3)
and cc -v
gcc version 2.95.4 (Debian prerelease)

BLASTER_
12-25-02, 10:36 PM
youl need to update to a 2.4 kernel.. looks like your still booting the default installed one.

the command uname -a will identify the kernel version.

you can do apt-cache search kernel |more to take al ook at all of debians packages then to install one. use..

apt-get install kernel-image-2.4.18-k7
apt-get install kernel-headers-2.4.18-k7

try that first or you can get the source

apt-get install kernel-source-2.4.18

or alternativly there is documentation on Debian kernel builder make_kpkg on the net.. its been awhile since ive used Debian so I wont try to go any more in depth. it may be called kernel-package or something like that.. and it will place most of the files needed for building kernel source on your system, please refer to debian documentation on thsi before doing anything.

BTW- I think the old 2880 drivers are actualy included with woody.. try

apt-cache search nvidia

juhge
12-26-02, 03:33 AM
Yes i found this mistake too *blushing* I thought i installed kernel 2.4 but my install-disk used kernel 2.2
Thank you for your help.
CU
juhge