Re: cursed nvidia fedora my lack of knowledgeness

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

 



2005/11/8, Gilboa Davara <gilboada@xxxxxxxxxxxxxxxx>:
> Never the less, I rather have a local copy of the drivers, with a simple
> rc.local based script that builds the driver if the kernel is replaced.
>
> Mine looks something in the lines of this:
>
> if [ ! -f /lib/modules/$(uname -r)/kernel/drivers/video/nvidia.ko ] ;
> then
>        pushd /usr/src/drivers/video/nvidia_driver/current
>        init 3
>        ./nvidia_install -a -N -q
>        init 5
>        popd
> fi
>
> Gilboa
>
> On Tue, 2005-11-08 at 12:17 +0100, Rudolf Kastl wrote:
> > 2005/11/8, Gilboa Davara <gilboada@xxxxxxxxxxxxxxxx>:
> > > The problem with using RPMs, is that Livna doesn't necessarily follows
> > > the FC kernel team release schedule.
> > > If a new kernel is released, and Livna fails to update their package in
> > > a timely fashion, you're left with text-only machine.
> > >
> > > Gilboa
> > >
> > > On Tue, 2005-11-08 at 10:32 +0000, Paul F. Johnson wrote:
> > > > Hi,
> > > >
> > > > > Just download the Linux driver from
> > > > > http://www.nvidia.com/object/unix.html.
> > > > > Once you have the NVIDIA_XXX.sh file, go down to init 3 (init 3 as root)
> > > > > and execute the script.
> > > > > After a couple of "yes", go back to init 5 (again as root). It should
> > > > > work.
> > > >
> > > > Personally, I'd use the ones from livna - you don't need to mess around
> > > > with dropping down to different init levels.
> > > >
> > > > TTFN
> > > >
> > > > Paul
> > > > --
> > > > "Writing for a penny a word is ridiculous. If a man really wants to make
> > > > a million dollars, the best way would be to start his own religion" - L.
> > > > Ron Hubbard, an awful Sci-Fi author, WW2 fraud and founder of one of the
> > > > world's most evil and insidious cults, Scientology.
> > > >
> > >
> > > --
> > > fedora-list mailing list
> > > fedora-list@xxxxxxxxxx
> > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> > >
> >
> > no you arent because the driver rpms from livna have a fallback to
> > "nv" driver if the kernel module for the booted kernel is missing ;))
> >
> > regards,
> > rudolf kastl
> >
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

you could also adapt the script to rebuild and install the nvidia
kernel module with a src rpm ;).

regards,
Rudolf Kastl

just outlining how it could look like (i spent 5 secs on the hack
below), one should probably catch exceptions and also make sure a
userbuildenv exists.

## find a good way to not build as root either via su or sudoing to a
special builduser etc
#su builduser
pushd /dir/to/builddir
rpmbuild --rebuild -ba bleh.src.rpm
## this is the point where you exit the session and return to root
#exit
rpm -U /dir/to/outputdir/kernel-module-bleh...


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux