[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why are the watchdog drivers blacklisted?



On Tue, 09 Feb 2010, Michael Meskes wrote:
> TOn Mon, Feb 08, 2010 at 11:44:55PM -0200, Henrique de Moraes Holschuh wrote:
> > And while at it, change wd_keepalive and watchdog to default to pat at 1Hz
> > instead of 0.1Hz.  That will reduce a _lot_ the changes of spurious
> > reboots.
> 
> This looks like a workaround for some other problem to me. Patting at 0.1Hz
> should be sufficient if the kernel expects a change at 0.016 Hz. I don't have
> any report about a spurious reboot, but if you do have some I'd like to learn
> more about it to see where this problem stems from.

The kernel drivers don't always expect pats at 0.016Hz by default.  Some
drivers have different defaults, and as far as I recall, some of them
default to whatever the BIOS or BMC programmed in the watchdog.

A period of 1s would be a much safer default on the userland side.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: