Re: [PATCH] watchdog: add pretimeout ioctl

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

 



Alan Cox wrote:
> Ar Maw, 2006-06-27 am 13:22 -0500, ysgrifennodd [email protected]:
>   
>> Some watchdog timers support the concept of a "pretimeout" which
>> occurs some time before the real timeout.  The pretimeout can
>> be delivered via an interrupt or NMI and can be used to panic
>> the system when it occurs (so you get useful information instead
>> of a blind reboot).
>>     
>
> All watchdogs can do pre-timeouts in software so possibly this should
> use a software fallback as well if you want good coverage ?
>   
I hadn't thought of that, but a software emulator could be used with
this interface, but it doesn't really help with hard lockups.  This is
primarily intended to set up watchdogs that can delver an NMI,
since even if the machine is hard-locked the NMI will come through.
Of course, there's all kinds of problems with getting the NMI to a
useful handler, but that's another story.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux