|
From: | Andrei Borzenkov |
Subject: | Re: [PATCH] Make EFI watchdog behaviour configurable |
Date: | Fri, 11 Sep 2015 17:32:42 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
10.09.2015 03:11, Arthur Mesh пишет:
Starting with d9a0c9413e81d3c0affc6383693bdd28dc863a5c, GRUB unconditionally disables watchdog on EFI platforms. This opens up a window (starting at GRUB's grub_efi_init(), until OS re-enables it) when EFI system operates w/o watchdog. If an EFI system gets stuck in that window, the chipset will never reset the system. 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.
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.
[Prev in Thread] | Current Thread | [Next in Thread] |