Re: softdog doesn't work on 2.4.20-pre10?

From: Roy Sigurd Karlsbakk (roy@karlsbakk.net)
Date: Wed Oct 09 2002 - 10:27:00 EST


On Wednesday 09 October 2002 17:33, Alan Cox wrote:
> On Wed, 2002-10-09 at 16:12, Roy Sigurd Karlsbakk wrote:
> > > > hi
> > > >
> > > > I have the softdog running on some of my machines, and I noticed it
> > > > didn't work very well. I've got this little program feeding the dog
> > > > (attached), so if it gets killed, the machine should reboot.
> > >
> > > Make sure you have no way out set
> >
> > ok. works with no way out, but still...
> >
> > When I killed 'feedthedog', I sent it a SIGKILL, so it couldn't have shut
> > down the softdog properly.
>
> Of course it did , it exited so the fil ehandles closed

not according to Documentation/watchdog-api.txt

but

it doesn't tell if the softdog supports the send-'V'-before-close-file command
to shut it down

roy

-- 
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners. They stop working when you open Windows.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:31 EST