On Fri, 2 Jul 2004 akonstam(a)trinity.edu wrote:
On Thu, Jul 01, 2004 at 04:35:31PM -0400, Matthew Saltzman wrote:
> On Thu, 1 Jul 2004 akonstam(a)trinity.edu wrote:
>
> > On Wed, Jun 30, 2004 at 03:15:52PM -0700, Mike Fedyk wrote:
> > > Greg Swallow wrote:
> > >
> > > >During installation of the new 4kstacks compatible nvidia driver, am
> > > >informed it will not operate correctly with the kernel module rivafb
> > > >loaded/active. Tried modprobe -r rivafb to remove, but still have
> > > >garbage cursor.
> > >
> > > You need to reboot without the module loaded.
> > >
> > > Module unloading is now unsupported for the most part in 2.6 kernels.
> > I made this work by what may be the kludge of the year. I placed the:
> > modprobe -r rivafb
> > as the next to last line in the rc.sysinit file. Ask me why not
> > the last line? The last line looked like it should be last.
> >
> > Well nvidia module seems to work so unless someone has a better idea I
> > leave it the way it is,
>
> Modifying rc.sysinit is dangerous as your mods will be nuked in an
> upgrade. Better is /etc/rc.local or /etc/rc.modules. The latter is
> called early in the init process by rc.sysinit and the former is the last
> thing done at startup.
I will look again but I could not find anywhere that rc.local is
called in the rc.sysinit script.
rc.local is called via the SysV startup mechanism. If you look in
/etc/rc5.d (e..g.), you'll find 99local, which links to /etc/rc.local
--
Matthew Saltzman
Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs