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

Re: nVidia drivers



On Thu, May 26, 2005 at 03:48:28PM +0100, Rupert Heesom wrote:
> Thanks for the pointer.  I followed the instructions on that page, but
> I'm still stuck; some weird things.....
> 
> I installed the needed deb files:  gcc-3.4, nvidia-kernel-source,
> nvidia-kernel-common, kernel-headers-2.6.8-11-amd64-k8-smp.
> 
> Then I tried to run the make-kpkg cmd from the header dir:...
> ...and I got a problem......
> 
> It seemed to have a problem with the kernel version number, so I tried
> changing it, or leaving it out etc.  Nothing.  I tried taking a look at
> the Makefile in the headers directory.  Couldn't do that either!  I
> stat'd the files in the headers directory, all stat'd wierdly (below).
> 
> This has got beyond anything I know in Linux, so some help would be
> appreciated!  How can files stat to be a symlink to a directory that
> does not exist???
> 
> ----------------------------------------------------------
> rahdebian:/usr/src/kernel-headers-2.6.8-11-amd64-k8-smp# CC=gcc-3.4
> make-kpkg --append-to-version -11-amd64-k8-smp modules_image
> We do not seem to be in a top level linux kernel source directory
> tree. However, there are kernel headers that may be suitable to build
> external kernel modules. Since you do not have non-module targets, let
> us continue.
> Warning: The file include/linux/version.h exists
> The contained UTS_VERSION string:
>                         "2.6.8-11-amd64-k8-smp"
> does not match expectations:
>                         "..-11-amd64-k8-smp"
> I'll try and recover
> touch: cannot touch `Makefile': No such file or directory
> touch Makefile failed:256 at /usr/bin/make-kpkg line 981, <VERSION> line
> 3.
> rahdebian:/usr/src/kernel-headers-2.6.8-11-amd64-k8-smp# ls
> arch     fs       ipc     Makefile        net       sound
> crypto   include  kernel  mm              scripts   usr
> drivers  init     lib     Module.symvers  security
> rahdebian:/usr/src/kernel-headers-2.6.8-11-amd64-k8-smp#
> 
> 
> rahdebian:/usr/src/kernel-headers-2.6.8-11-amd64-k8-smp# stat Makefile
>   File: `Makefile' -> `../kernel-headers-2.6.8-11/Makefile'
> 
> They all stat the same way.

My method is generally:

apt-get install nvidia-kernel-source module-assistant
m-a -t prepare nvidia-kernel
m-a -t build nvidia-kernel
m-a -t install nvidia-kernel
apt-get install nvidia-glx
dpkg-reconfigure xserver-xfree86 (select nvidia driver for videocard
driver).

Enjoy fast graphics.

Len Sorensen



Reply to: