lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 11 Dec 2009 16:38:27 +0800
From:	Cypher Wu <cypher.w@...il.com>
To:	Pádraig Brady <P@...igbrady.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Questions about Watch Dog Timer under Linux.

Less than 2 seconds is not a thing in our embedded system, the WDT
we've already used will time out every 1.6s, and only a WDI connection
to support timer clearing. I'm not sure if we depend on a user
application to clearing the dog directly, is this too short for Linux
since it's not a RTOS.


2009/12/10 Pádraig Brady <P@...igbrady.com>:
> On 09/12/09 14:47, Cypher Wu wrote:
>>
>> I'm used to work on embedded systems, the Watch Dog Timer in our
>> products is usually a seperate chip on the board wich will start to
>> work after power reset and will time out in 2 seconds. The system has
>> to start dog clearing from the very beginning and there have no way to
>> disable WDT.
>
> wow 2 seconds :(
>
> It's easy to patch grub stage 1 to pat the watchdog.
> I was even able to get support for the complicated iTCO intel
> watchdogs in there, though your watchdog may be much simpler.
>
> Then when the kernel started it patted the watchdog as normal.
>
> Note I did this to support robust remote upgrade (as the boot
> loader wasn't touched on upgrade), rather than to support a
> very short timeout.
>
> cheers,
> Pádraig.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ