On Mon, 23 Aug 2004 06:13:22 -0400, Tom Allison <[EMAIL PROTECTED]> wrote:

> OK, I tried to install the nvidia kernel headers and such with a stock
> debian kernel.  I didn't see any errors through any of the steps,
> however I keep getting failure when I now start X.  IIRC the packages
> where nvidia-kernel and variou headers and such.  The list of the
> specific packages isn't available right now since I've shut things down...

If you used the nvidia drivers from the nvidia side and not the ones
that come with Debian you have to create a few device files at startup
to make them work. The nvidia install script creates those devices
itself, but in case of devfs or udev, those devices will be gone after
a reboot:

This is the script I currently use:

#! /bin/bash

case $1 in
     start)
     for i in `seq 0 7`; do
          mknod /dev/nvidia$i c 195 $i
          chown :video /dev/nvidia$i
          chmod 660 /dev/nvidia$i
     done

     mknod /dev/nvidiactl c 195 255
     chown :video /dev/nvidiactl
     chmod 660 /dev/nvidiactl
     ;;

     stop)
     ;;

     *)
     echo "Usage: $0 {start|stop}"
esac

# EOF #

You can save it to /etc/init.d/nvidia and 'activate' it via:

$ /usr/sbin/update-rc.d  nvidia defaults

You also should make sure that the 'Driver' line in
/etc/X11/XF86Config-4 points to:
        Driver      "nvidia"
not to "nv".

If this all doesn't help, have a look at /var/log/XFree86.log and
copy&paste the exact error message you get on XFree start.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to