[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] Patch to do a save close of the watchdog device
From:       Holger Kiehl <Holger.Kiehl () dwd ! de>
Date:       2002-07-30 7:04:18
[Download RAW message or body]

On Fri, 26 Jul 2002, Alan Robertson wrote:

> Holger Kiehl wrote:
> > Hello
> >
> > Heartbeat does not send the magic character 'V' to the watchdog device. So
> > doing a shutdown of heartbeat will crash the host. The following patch
> > fixes this problem for me. What I am not sure is if I placed close_watchdog()
> > correctly. Could someone with more knowledge check if this is correct.
> > I only tested this on one host without a second machine, since the second
> > host is still missing some hardware.
> >
> > Holger
> >
>
>
> Hi,
>
> I put your patch in, but changed a little where the close_watchdog was
> called.  Please check the CVS version and see if it still works for you.
>
Yes, it still works for me. Thanks.

Besides, I noticed that telecom/apphbd/apphbd.c needs a #include <stdlib.h>
or it will not compile due to:

    apphbd.c:586: warning: implicit declaration of function `exit'

Holger

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.community.tummy.com
http://lists.community.tummy.com/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic