Re: kernel module (un)loader
Keith Owens (kaos@ocs.com.au)
Tue, 27 Jun 2000 16:36:56 +1000
On Mon, 26 Jun 2000 23:50:06 EDT,
"William Knop" <w_knop@hotmail.com> wrote:
>I'm not a kernel-elite, but I've been wracking my brain over a way to find a
>way to be able to isolate a module in the event it crashes. The module would
>then be unloaded and then a clean one loaded in its place. Perhaps this
>could be integrated into the intelligent module (un)loader or there could be
>a deamon to oversee this. Perhaps the kernel could be locked when crash is
>detected, and then modules could be dealt with-- not too sure. I'd
>definitely be willing to code something like this, but I need a little
>direction. Thanks!
Define "crash". If the module corrupts critical kernel code or fails
with interrupts disabled then the entire kernel is dead, reboot time.
If the module fails and leaves a non-zero use count on something then
the module cannot be unloaded, not even manually. Only if a module
runs clean and has no dangling resources can it be removed. In which
case, how do you tell it crashed?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/