also sprach Nicolas <martin_28@oxstone.com> [2004.11.21.0041 +0100]:
> Yep, I installed the nvidia modules. It's a shame that's so badly made!
They are well-made and you can compile drivers with one command:
Make a new directory and drop the following Makefile there:
---snip---
KROOT = /usr/src/kernel-headers
.PHONY: all
all: modules/nvidia-kernel
ifndef KVERS
@echo "You must specify the kernel version to use like so:" 1>&2
@echo " make ... KVERS=2.6.9-1-k7"
@/bin/false
endif
@(umask 007 && KSRC=$(KROOT)-$(KVERS) fakeroot make -C $< -f debian/rules binary_modules)
chmod -R ug=rwX,o= $<
find $< -type d -exec chmodd g+s {} \;
modules/nvidia-kernel: /usr/src/nvidia-kernel-source.tar.gz modules
rm -rf modules/nvidia-kernel
tar xfz $<
chmod -R ug=rwX,o= $@
find $@ -type d -exec chmod g+s {} \;
modules:
mkdir -p2770 modules
/usr/src/nvidia-kernel-source.tar.gz:
apt-get install -t unstable nvidia-kernel-source
---snip---
Now amend the first line and run
make KVERS=2.6.9-1-k7
or whichever is your version.
--
Please do not send copies of list mail to me; I read the list!
.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer, admin, user, and author
`. `'`
`- Debian - when you have better things to do than fixing a system
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
Attachment:
signature.asc
Description: Digital signature