[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <83ff62ab-42c8-df6c-32c1-c1df2f8cda7a@roeck-us.net>
Date: Tue, 4 Aug 2020 09:15:46 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Naveen Kumar P <naveenkumar.parna@...il.com>,
linux-watchdog@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: iTCO watchdog last reboot reason?
On 8/4/20 7:41 AM, Naveen Kumar P wrote:
> [ Please keep me in CC as I'm not subscribed to the list]
>
> Hi everyone,
>
> I enabled the iTCO watchdog in my Linux system.
>
> sudo cat /dev/watchdog perfectly reboots my system. But, is there a
> way to find out on each boot if the machine was rebooted due to a
> watchdog timeout or not?
>
> Any ideas?
>
If the hardware supports it, the driver could set the reboot reason
in its probe function.
Guenter
Powered by blists - more mailing lists