Received: from list by lists.gnu.org with archive (Exim 4.71) id 1U9TJC-00012a-3d for mharc-grub-devel@gnu.org; Sat, 23 Feb 2013 23:35:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9TJ5-00011q-7m for grub-devel@gnu.org; Sat, 23 Feb 2013 23:35:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9TJ1-0005cB-UT for grub-devel@gnu.org; Sat, 23 Feb 2013 23:35:23 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:48732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9TJ1-0005c2-LC for grub-devel@gnu.org; Sat, 23 Feb 2013 23:35:19 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r1O4ZHnU015179 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 24 Feb 2013 04:35:17 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r1O4ZGp1020811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 24 Feb 2013 04:35:16 GMT Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r1O4ZGEn007842 for ; Sat, 23 Feb 2013 22:35:16 -0600 Received: from sethg-nsvpn-dhcp-141-144-23-108.vpn.oracle.com (/141.144.23.108) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 23 Feb 2013 20:35:16 -0800 From: Seth Goldberg Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: grub_efi_finish_boot_services not spec-compliant Date: Sat, 23 Feb 2013 20:35:17 -0800 Message-Id: To: The development of GNU GRUB Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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 04:35:29 -0000 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. --S=