From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1U9Ttw-0006xq-IT for mharc-grub-devel@gnu.org; Sun, 24 Feb 2013 00:13:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Ttt-0006wi-P4 for grub-devel@gnu.org; Sun, 24 Feb 2013 00:13:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9Tts-0005An-Hg for grub-devel@gnu.org; Sun, 24 Feb 2013 00:13:25 -0500 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:50128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Tts-0005AZ-B4 for grub-devel@gnu.org; Sun, 24 Feb 2013 00:13:24 -0500 Received: by mail-la0-f42.google.com with SMTP id fe20so1755732lab.1 for ; Sat, 23 Feb 2013 21:13:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=JMuXI0TiVNHNYL8d5QgogEbOSAUuc69kcUq09+LjXas=; b=L/FYshWnVk1q7TrPpxk4gcqLn1g49S+DDN5R9idvntwse3NUgnlYYp/gyx2s0ujFLG 2EXZlBs1fLc2ssDqFcKU1lufajT7bzXIKJ1xiTi1PMK46af3zZ0B3eo3WP61/++rHAuR ihMfh7xxydVcA+Aws0Gxx3xp3ngrLNLgyumuVgtrfRvaFHRVUhKQLUC5VKeXWPBMuxYo HPJNF7DRV067jXO5moa/R1CAc9YcX0LyVk4QrUoRkzU1defckzO+QX9v9pnsyYElyn36 ksWpUaLi+egu6gPuozz67zCvd67JnzNu/OkjO84A2dZ5Q30e88XocwgasuMy/+QiJeEY 9iYA== X-Received: by 10.112.42.162 with SMTP id p2mr2844904lbl.103.1361682802568; Sat, 23 Feb 2013 21:13:22 -0800 (PST) Received: from opensuse.site (ppp79-139-243-180.pppoe.spdop.ru. [79.139.243.180]) by mx.google.com with ESMTPS id f4sm2600545lbo.4.2013.02.23.21.13.21 (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 23 Feb 2013 21:13:21 -0800 (PST) Date: Sun, 24 Feb 2013 09:13:20 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: grub_efi_finish_boot_services not spec-compliant Message-ID: <20130224091320.470adfd1@opensuse.site> In-Reply-To: References: X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.10; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R 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::22a 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: Sun, 24 Feb 2013 05:13:27 -0000 В Sat, 23 Feb 2013 20:35:17 -0800 Seth Goldberg пишет: > Hi there, > > On some systems, ExitBootServices() will fail due to a change in the memory map during execution of the boot services call. The UEFI spec says that in that event, GetMemoryMap() should be repeated, then the new key passed to another call to ExitBootServices(). Note that the spec doesn't give an upper bound on the number of times to do this dance. The logic in grub_efi_finish_boot_services() just tries once, leading to a failure to properly shut down boot services and various issue booting UEFI-compliant operating systems. > I have seen reports about ELILO failing due to changed memory map too, but ELILO does retry GetMemoryMap() and still fails (https://bugzilla.novell.com/show_bug.cgi?id=800035). Did you test if increasing number of attempts to get memory map fixes it in your case? What hardware is it?