Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IuBsP-0002zK-D3 for mharc-grub-devel@gnu.org; Mon, 19 Nov 2007 14:01:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuBsO-0002yo-LA for grub-devel@gnu.org; Mon, 19 Nov 2007 14:01:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuBsN-0002xx-0j for grub-devel@gnu.org; Mon, 19 Nov 2007 14:01:44 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuBsM-0002xp-Ly for grub-devel@gnu.org; Mon, 19 Nov 2007 14:01:42 -0500 Received: from bigbox.boeglin.org ([88.191.20.48]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IuBsM-0003Jx-41 for grub-devel@gnu.org; Mon, 19 Nov 2007 14:01:42 -0500 Received: by bigbox.boeglin.org (Postfix, from userid 65534) id 243029408A; Mon, 19 Nov 2007 20:01:40 +0100 (CET) Received: from boeglin.org (localhost [127.0.0.1]) by bigbox.boeglin.org (Postfix) with ESMTP id D0A1094078 for ; Mon, 19 Nov 2007 20:01:39 +0100 (CET) MIME-Version: 1.0 Date: Mon, 19 Nov 2007 20:01:39 +0100 From: Alexandre Boeglin To: grub-devel@gnu.org Message-ID: <27843095acb166434b61dc148eada3b4@boeglin.org> X-Sender: alex@boeglin.org User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: [bug] include/grub/efi/efi.h (grub_efi_guid): aligned(8) ? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 19:01:45 -0000 Hello, It seems that currently, the grub_efi_guid structure is aligned on a 8 by= te boundary (since the first revision of that file). From tests I did, it seems that building a device path with a node containing a guid, and feeding this device path to the efi boot_services->load_image function will not work if the structure contain= s "padding" bytes due to alignment (in other words, I think that Apple's EF= I does not expect the guid to be 8 byte aligned, and will fail to parse the device path). For me, just removing the aligned attribute did the trick, but I guess it= 's here for a reason (which I'm affraid I don't know). Alex