From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ZaQBr-0003nl-Md for mharc-grub-devel@gnu.org; Fri, 11 Sep 2015 11:24:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaQBp-0003nX-L8 for grub-devel@gnu.org; Fri, 11 Sep 2015 11:24:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaQBl-0004hx-6x for grub-devel@gnu.org; Fri, 11 Sep 2015 11:24:37 -0400 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:36726) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaQBk-0004ht-VS for grub-devel@gnu.org; Fri, 11 Sep 2015 11:24:33 -0400 Received: by lanb10 with SMTP id b10so49973847lan.3 for ; Fri, 11 Sep 2015 08:24:32 -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=s8lO3ZcpIqd3tyc6+vN+BGY+4f1BAY8Ol2bcVXT37LE=; b=03YUnrMVxN96eQirLRiuhV8khx5BQ1i6IroxtYAsZgKrfgPRJwTwHBloyleRzmDFaG vIMcVyykWonmOZY2hEnoZc1LKmv/v6pZGefUSiRZuEUcOfrKMMJmbTCqjGn+gk68Rh57 L1JtDKMXRPe+B+QfXq1wRTgpHvUwRkEtgASHwFVzmUI/eX2LjDIgWQksbFbt+bXaVaMO vT44r6PMQApz9mcFxCebz2oUYHIwo3mK5BhbX0OkiIaM1JNOGZXHf5krSDs2bJITsoAX jv8cIFtAQcGc8CnQtTFiyDJcpIsaXNGHjRk/vEM13kiUrjXPfFCpKcUjuP9tIXoFgJ7H Ho7A== X-Received: by 10.152.27.230 with SMTP id w6mr30551605lag.63.1441985072180; Fri, 11 Sep 2015 08:24:32 -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 y6sm113151lay.49.2015.09.11.08.24.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Sep 2015 08:24:31 -0700 (PDT) Subject: Re: [PATCH] Make EFI watchdog behaviour configurable To: The development of GNU GRUB References: <20150910001133.GA35797@juniper.net> <55F2E60A.2040800@gmail.com> <0A811914-E6BD-4AB7-B096-D9C1C8F405CE@juniper.net> From: Andrei Borzenkov Message-ID: <55F2F22E.5030304@gmail.com> 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 MIME-Version: 1.0 In-Reply-To: <0A811914-E6BD-4AB7-B096-D9C1C8F405CE@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:c03::22c 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 15:24:38 -0000 11.09.2015 17:53, Arthur Mesh пишет: > > > > > > On 9/11/15, 7:32 AM, "grub-devel-bounces+amesh=juniper.net@gnu.org on behalf of Andrei Borzenkov" 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) >> >> 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.