grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Make EFI watchdog behaviour configurable


From: Andrei Borzenkov
Subject: Re: [PATCH] Make EFI watchdog behaviour configurable
Date: Fri, 11 Sep 2015 18:24:30 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

11.09.2015 17:53, Arthur Mesh пишет:





On 9/11/15, 7:32 AM, "address@hidden on behalf of Andrei Borzenkov" 
<address@hidden on behalf of address@hidden> wrote:

10.09.2015 03:11, Arthur Mesh пишет:
Add `--enable-efi-watchdog' configure argument, which defaults to Off.
When enabled, efi watchdog will not be disabled.
Otherwise, efi watchdog will be disabled.


Please, no. This will result in incompatible binaries without any
indication at run-time that allows to distinguish between them.

That's true, but I see no way around that w/o avoiding the initial call to
disable the watchdog in the efi init routine (and Vladimir is against that 
idea).


Create a command line interface to enable/disable watchdog:
   efi-watchdog (enable|disable) <timeout>

Why is it not enough? You can always add it to your grub.cfg.

Well, it still leaves a window of time where the system operates w/o a watchdog.
It could be a problem if grub.cfg resides on a network file system, and is not
accessible, in which case the system would hang.

I'm fine with making it controlled by parameter passed to grub invocation or EFI variable. We discussed parameters several times but did not come to definitive conclusion hos interface should look like.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]