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

Re: The Debian Way-NVIDIA



Paul Cartwright wrote:
On Sun February 24 2008, Raj Kiran Grandhi wrote:
Linux paulandcilla 2.6.18-6-686 #1 SMP Sun Feb 10 22:11:31 UTC 2008 i686
GNU/Linux
It appears you are using the stock kernel. There is a precompiled nvidia
driver available for this kernel. It is in the non-free section. You
might want to try that.
what driver would that be??

apt-get install nvidia-kernel-`uname -r`
(or)
apt-get install nvidia-kernel-legacy-`uname -r`
then,
apt-get install nvidia-glx (or) nvidia-glx-legacy



Regarding the errors, do you have the linux-kbuild-2.6.18 installed?
linux-headers depends on it, so it should have been installed
automatically.
# dpkg --list |grep kbuild
ii kbuild 1:0.1.2svn1377-5 framework for writing simple makefiles for c ii linux-kbuild-2.6.18 2.6.18-1 Kbuild infrastructure for Linux 2.6.18

ok, what about the linux-headers-`uname -r` package?


Also, I think the recommended way to compile the kernel is as a normal
user instead of as root. You may use fakeroot to create the debs.

I tried to follow the docs, but it does things like this:
$ cd /usr/src/linux
# make-kpkg clean
# make-kpkg kernel_image modules_image

so as a NORMAL user you cd to the folder, then MAGIC, you are root to run a command..


I have never seen such magic. Changing to a directory giving you root access? Something is very odd. Inspect your PATH and check if 'cd' is aliased to something.

echo $PATH
type cd

--
Raj Kiran Grandhi
--
At the source of every error which is blamed on the computer, you will find at least two human errors, including the error of blaming it on the computer.


Reply to: