lkml.org 
[lkml]   [1996]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: pre2.0.5 / sbpcd problems
Date
Andre Schoorl ecrivit:
>
> > I use sbpcd compiled as a module, and it is loaded at boot time
> > with insmod.
> >
> > The problem is that pre2.0.5 unloads this module with out provocation
> > after about a minute.
[...]
> > May 18 22:49:50 servo kernel: sbpcd-0 [05]: sbpcd module released.

OK, you loaded the module with insmod, but that doesn't actually pin
it into the kernel (if you want to do that, then compile it straight
in). The thing is, you have kerneld running too, and every minute (or
whatever delay is set) it cleans out unused modules. Since your sbpcd
module is actually unused until you mount a CD or start playing music
(and even then, it is only needed to _start_ playback), it gets kicked
out.

So that kerneld recognises accesses to your CD drive and reloads sbpcd
as necessary, make sure you have the line:

alias block-major-25 sbpcd

in /etc/conf.modules

(I also have "options block-major-25 sbpcd=0x230,1", but it's not nec.)

:E
--
Eric S. Mountain - eric@minouche.demon.co.uk

And then minouche deleted ~eric...


\
 
 \ /
  Last update: 2005-03-22 13:37    [from the cache]
©2003-2011 Jasper Spaans