xfs
[Top] [All Lists]

Re: nVidia driver incompatible

To: linux-xfs@xxxxxxxxxxx
Subject: Re: nVidia driver incompatible
From: Anthony DeStefano <destefan@xxxxxxxxxxx>
Date: Tue, 19 Jun 2001 20:11:04 -0400
In-reply-to: Message from Dan Swartzendruber <dswartz@druber.com> of "Tue, 19 Jun 2001 19:45:44 EDT." <Pine.LNX.4.33.0106191945300.31135-100000@sphinx.druber.com>
References: <Pine.LNX.4.33.0106191945300.31135-100000@sphinx.druber.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
> On Tue, 19 Jun 2001, D. Stimits wrote:
> 
> > > > I know this is just a test release, but you should
> > > > know that the nVidia driver available from the nVidia
> > > > website doesn't work when installed on the Redhat
> > > > 7.1-XFS system.
> > >
> > > The nVidia drivers don't work with devfs (as stated in their README), and
> > > the SGI kernels have devfs turned on.  Try turning off devfs and see if
> > > that helps.
> > >
> > I can confirm that my working version does NOT use devfs.
> 
> ditto.  i disabled devfs, since it was hosing other things...
> 
 
I have the nvidia driver working perfectly fine on my Debian system with the 
xfs kernel out of CVS and devfs enabled. Now the Debian devfsd package has 
support for adding extra devices in /dev by basically using mknod, chmod, and 
chown on options it parses out of a file.  So you may want to try the 
following in /etc/rc.d/rc.local (NOTE: this was pulled out of the 
makedevices.sh from the NVIDIA_kernel tarball)


major=195

for i in 0 1 2 3; do
    devfile="/dev/nvidia$i"
    rm -f $devfile
    if ! mknod $devfile c $major $i || ! chmod 0666 $devfile; then
        echo "Couldn't create device \"$devfile\"."
        exit 1
    fi
done

devfile=/dev/nvidiactl
rm -f $devfile
mknod $devfile c $major 255
chmod 0666 $devfile


Seems to work fine here.

~Tony





<Prev in Thread] Current Thread [Next in Thread>