From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ZaPNk-00019q-Mw for mharc-grub-devel@gnu.org; Fri, 11 Sep 2015 10:32:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaPNf-00019F-Ug for grub-devel@gnu.org; Fri, 11 Sep 2015 10:32:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaPNc-0001Qv-NT for grub-devel@gnu.org; Fri, 11 Sep 2015 10:32:47 -0400 Received: from mail-lb0-x22e.google.com ([2a00:1450:4010:c04::22e]:36476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaPNc-0001Ql-G5 for grub-devel@gnu.org; Fri, 11 Sep 2015 10:32:44 -0400 Received: by lbcao8 with SMTP id ao8so40562456lbc.3 for ; Fri, 11 Sep 2015 07:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=CY59L2zgw0U1DpD82vzP0rMfcUInJ0T7RcNopHBuAyY=; b=dg5IiBiuMWZRaIHnF/Wv237+nZFOVOwKeVvHDJCU+hzE844Vk++UMDaSx9CHmkmiQz X8HyPaT+7gBx0xJccaWSBwFlRsd6SwQmQHHQM7ACvO5XRuLEZDqG6SvM0xztnRji8+E+ 5FA9LJ32lK0HR57P2ccF9WvGX/I/Cl4PGVkzHC56lRbspxhQFL360Z3r1UUHB9m6qQVM hWL7wa2ZZtjM7Bm1fwLRGf1KXR1dhiuZvXFbr42JFej0SoCJgz3tWJuaKgpzPESQDw80 Fh2CV6tqLLI5lr/iwbiz9vnQx3t3DASrrl9iO5f9jlOiHwNduEtHALLjZ3VKJ1PrLhoK Oadw== X-Received: by 10.112.12.165 with SMTP id z5mr42192392lbb.33.1441981963791; Fri, 11 Sep 2015 07:32:43 -0700 (PDT) Received: from [192.168.1.43] (ppp91-76-134-130.pppoe.mtu-net.ru. [91.76.134.130]) by smtp.gmail.com with ESMTPSA id ku11sm97203lac.8.2015.09.11.07.32.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Sep 2015 07:32:43 -0700 (PDT) Subject: Re: [PATCH] Make EFI watchdog behaviour configurable To: The development of GNU GRUB References: <20150910001133.GA35797@juniper.net> From: Andrei Borzenkov Message-ID: <55F2E60A.2040800@gmail.com> 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 MIME-Version: 1.0 In-Reply-To: <20150910001133.GA35797@juniper.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22e X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2015 14:32:51 -0000 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) Why is it not enough? You can always add it to your grub.cfg.