Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LLuqt-00038O-Ic for mharc-grub-devel@gnu.org; Sun, 11 Jan 2009 02:35:19 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLuqr-00036j-Ub for grub-devel@gnu.org; Sun, 11 Jan 2009 02:35:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLuqp-00034q-Vd for grub-devel@gnu.org; Sun, 11 Jan 2009 02:35:17 -0500 Received: from [199.232.76.173] (port=56496 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLuqp-00034a-Ot for grub-devel@gnu.org; Sun, 11 Jan 2009 02:35:15 -0500 Received: from mx20.gnu.org ([199.232.41.8]:17689) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LLuqo-0004Lw-RO for grub-devel@gnu.org; Sun, 11 Jan 2009 02:35:15 -0500 Received: from wa-out-1112.google.com ([209.85.146.177]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LLuqm-0000jG-1i for grub-devel@gnu.org; Sun, 11 Jan 2009 02:35:12 -0500 Received: by wa-out-1112.google.com with SMTP id j32so5861301waf.26 for ; Sat, 10 Jan 2009 23:35:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=inkPfxv1fNP8QnT34OSMysjKRnwITm7zMFxAzZ9BaNA=; b=lXC5/gDVrQUXlFfehu7mK/da28RuqC1497ndPTPasZPZJaml8XzReOTzxzxHV81Oh1 Ekci2Fafvc0zl5dcNOq9+giXiGbxbs8yBujD95w4vfsnHFoDIddZiq/WSJpsqGvrw0ga IXAydE32H9aC1lYDVsj/K3CHTb67uKUeCOS7g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UMmsZSpBET298KIbJGuoHvi5P0TbqDA6sBLsDBE45esYlOCMcFQpwOiBhD9Le+RaTo +pmIunQQZUy4BVkE7IVM8OJ7Sm03AbVCkk2L2QxRymE6s+Qx4aDPRUPJ38HvPnveFEC2 ExKDtwJrv8LqEpRi84IUOwcd0CWkN4cfJxe0g= Received: by 10.115.108.1 with SMTP id k1mr18161685wam.0.1231659309635; Sat, 10 Jan 2009 23:35:09 -0800 (PST) Received: by 10.114.13.4 with HTTP; Sat, 10 Jan 2009 23:35:09 -0800 (PST) Message-ID: Date: Sun, 11 Jan 2009 15:35:09 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <48f46e890901101844j5563ad85w9d9d60ab782590c4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <90cb5db20901061342x6c517037u26f50ef7e6bfb36c@mail.gmail.com> <48f46e890901080402g678703a9xcd3261d16ec45427@mail.gmail.com> <48f46e890901101844j5563ad85w9d9d60ab782590c4@mail.gmail.com> X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: EFI Boot on MacPro 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: Sun, 11 Jan 2009 07:35:18 -0000 On Sun, Jan 11, 2009 at 10:44 AM, peter cros wrote: > iMac8,1 - grub.efi x86_64 hangs. > > built and run on the imac81 --with-platfrom=efi --target=x86_64 > version 1913 and 1940 (current). > > Host ubuntu 810 amd64 kernel Linux im64 2.6.27-9-server #1 SMP Thu Nov 20 > 22:56:07 UTC 2008 x86_64 GNU/Linux > > grub.efi appears to be accepted by the firmware (started), but hangs > immediately without any message. > Tried with macosx bless, and with rEFIt, on HD and external usb. > > This differs from the 64/32 mismatch behaviour with the refit message > 'unsupported while loading grub.efi') or the apple boot default to MacOSX. > > The x86_64 reult is different - bug in the start up? > > I will try to get some debug info. Hi, I only test the x86_64 version in macbook, which works nicely. Perhaps you can add some debug code in kern/main.c void grub_main (void) { /* First of all, initialize the machine. */ grub_machine_init (); + grub_env_set ("debug", "all"); + grub_printf ("init\n"); /* Hello. */ grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT); grub_printf ("Welcome to GRUB!\n\n"); grub_setcolorstate (GRUB_TERM_COLOR_STANDARD); Also, the tsc code may has some effect, remove grub_tsc_init in kern/i366/efi/init.c: void grub_machine_init (void) { grub_efi_init (); -grub_tsc_init (); } -- Bean