[lkml]   [1996]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: pre2.0.5 / sbpcd problems
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

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.)

Eric S. Mountain -

And then minouche deleted ~eric...

 \ /
  Last update: 2005-03-22 13:37    [W:0.039 / U:2.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site