[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building nvidia drivers



This worked for me:

This worked for me for kernel 2.6.8-11-amd64-generic.

Good luck

Simon




==========

Make sure the following are in /etc/apt/sources.list:

deb http://amd64.debian.net/debian-amd64 stable main non-free contrib
deb http://amd64.debian.net/debian-amd64 unstable main non-free contrib

Make sure you've got all the kernel sources - all these are needed as they have symbolic links in them.

$ apt-get install kernel-kbuild-2.6-3 kernel-headers-2.6.8-11-amd64-generic kernel-headers-2.6.8-11 nvidia-kernel-source nvidia-kernel-common

Get the module assistant:

$ apt-get module-assistant

Set up the appropriate kernel sources ready for the module assistant:

$ m-a -i prepare

Build the kernel module:

$ m-a a-i -i -t -f nvidia-kernel

Now get the other packages needed for getting the nvidia drivers working:

$ apt-get install nvidia-glx nvidia-glx-dev

If you haven't got xfree86 installed, install it:

$ apt-get install xserver-xfree86

Otherwise, reconfigure it:

$ dpkg-reconfigure xserver-xfree86

Select 'nvidia' for the driver when prompted. Enter whatever you want for the card name, and just press 'return' for the Bus Identifier and for amount of RAM.

All other options depend on what you want. Best bet is to select 'simple' for the monitor configuration!

Dean Hamstead wrote:

hi all

just did a clean install on my shiny new amd64

before i post mboard specs (im running on a dfi lanparty ut sli-d)
can someone shed some light on why i cant built the nvidia drivers
i followed the instructions on alioth it didnt work ;)

now for some details (as root)...

mele:/usr/src/kernel-headers-2.6.8-11-amd64-k8# MAKEFLAGS="CC=gcc-3.4" make-kpkg --append-to-version -11-amd64-k8 modules_image
/usr/bin/make EXTRAVERSION=-11-amd64-k8-11-amd64-k8   \
                                 ARCH=x86_64 oldconfig
make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-11-amd64-k8'
  HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu' follows non-static declaration scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was here
make[2]: *** [scripts/kconfig/mconf.o] Error 1
make[1]: *** [oldconfig] Error 2
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-11-amd64-k8'
make: *** [stamp-kernel-configure] Error 2
mele:/usr/src/kernel-headers-2.6.8-11-amd64-k8#

bummer nothing!!

heres my sources.list, im up to date (apt-get update; apt-get upgrade)

mele:/usr/src/kernel-headers-2.6.8-11-amd64-k8# cat /etc/apt/sources.list
#deb file:///cdrom/ sarge main

deb http://public.planetmirror.com/pub/debian-amd64/debian/ unstable main contrib non-free deb http://public.planetmirror.com/pub/debian-amd64/debian/ stable main contrib non-free #deb-src http://debian.csail.mit.edu/debian-amd64/debian/ unstable main contrib non-free

deb http://security.debian.org/ stable/updates main
mele:/usr/src/kernel-headers-2.6.8-11-amd64-k8#


Dean



Reply to: