Re: bad kerneld behaviour

Bjorn Ekwall (bj0rn@blox.se)
Fri, 26 Apr 1996 13:58:52 +0200 (MET DST)


Jacek Zapala wrote:
>
> Look at this log. PPP was started at 13:45:43 and it caused ppp.o to be
> insmod-ed by kerneld. OK. Later ppp was started at 13:46:48 and 13:50:05.
> But all of the attempts was unsuccesfull. At 13:50:42, _during_ the last
> chat, ppp.o has been unloaded.
>
> So, ppp.o has been unloaded by kerneld after the specified timeout (5
> minutes in this case) COUNTING FROM LOADING TIME and not from the time of
> last use/access. This is wrong. Of course if it had been in use then, if
> wouldn't had been unloaded.

There is no way that kerneld can now when the last access ocurred...
The right fix is to make sure that modprobe knows about tty-ldisc-3.
Check the output from "modprobe -c", it should contain:

alias tty-ldisc-3 ppp

If it doesn't, then add that line to "/etc/conf.modules".
There are some more hints in the kerneld-mini-HOWTO (thanks Henrik!).

Cheers,

Bjorn <bj0rn@blox.se>