On Sat, 2009-11-07 at 22:45 +0100, Michael Meskes wrote:
> On Sat, Nov 07, 2009 at 03:40:22PM +0000, Ben Hutchings wrote:
> > > worse, if the module is loaded with the "nowayout=1" - the machine then
> > > gets hard-reset "timeout" seconds later!
> > 
> > The watchdog device cannot be closed if it was not successfully opened.
> > This is a problem with the watchdog daemon.
> 
> Ben, would you mind giving us a little bit more of information as to why you 
> think
> this is a bug in the daemon?
[...]

1. EBUSY indicates that the watchdog is opening it more than once, which
is obviously incorrect behaviour.
2. Failure to open the device will not result in the device being
closed, except in the case of (1).
3. I had a look at the watchdog daemon's source and repeatedly went
"WTF?".  I am now inclined to assume it is doing the wrong thing unless
proved otherwise.

Ben.

-- 
Ben Hutchings
The generation of random numbers is too important to be left to chance.
                                                            - Robert Coveyou



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to