From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Gw9Dz-0008LV-L7 for mharc-grub-devel@gnu.org; Sun, 17 Dec 2006 22:31:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gw9Dx-0008LC-Bb for grub-devel@gnu.org; Sun, 17 Dec 2006 22:31:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gw9Dv-0008Ks-Ud for grub-devel@gnu.org; Sun, 17 Dec 2006 22:31:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gw9Dv-0008Ko-Qp for grub-devel@gnu.org; Sun, 17 Dec 2006 22:31:31 -0500 Received: from [143.182.124.21] (helo=mga03.intel.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gw9Dv-0003Hk-NP for grub-devel@gnu.org; Sun, 17 Dec 2006 22:31:31 -0500 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by mga03.intel.com with ESMTP; 17 Dec 2006 19:31:29 -0800 Received: from bmao-mobl.ccr.corp.intel.com (HELO [10.239.36.94]) ([10.239.36.94]) by azsmga001.ch.intel.com with ESMTP; 17 Dec 2006 19:31:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: i="4.12,181,1165219200"; d="scan'208"; a="159471644:sNHT28148589" Message-ID: <45860B8F.4030100@intel.com> Date: Mon, 18 Dec 2006 11:31:27 +0800 From: "bibo,mao" User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: The development of GRUB 2 References: <457303C0.6090701@inf.tu-dresden.de><200612031925.30257.okuji@enbug.org> <4576E389.7010702@inf.tu-dresden.de><45777359.3040905@intel.com> <45814D28.6020403@inf.tu-dresden.de><4581FC4C.70403@intel.com> <458267E7.9040805@inf.tu-dresden.de> In-Reply-To: <458267E7.9040805@inf.tu-dresden.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: EFI-dualbooting OSX and Linux on iMac with T7400-CPU 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, 18 Dec 2006 03:31:33 -0000 Eeri Kask wrote: > bibo,mao wrote: > >> 2.6.18.5. > > There exists one bug in Linux kernel only EFI bios relative at > > http://marc.theaimsgroup.com/?l=linux-kernel&m=116157536316034&w=2 > > > I do not know whether 2.6.18.5 incorporates this bug. > > Oh, I see. This bug is not corrected in 2.6.18.5. > As a side note, in contrast, in "arch/x86_64/kernel/" there are > seemingly no files having anything to do with efi. Maybe this is of no > importance though. x86_64 currently does not support EFI bios, there is no x86_64 efi booloader and x86_64 kernel does not support EFI bios now. Soon x86_64 kernel patch and grub bootloader patch will be published out. >From your dmesg information, system boots from legacy bios. When machine is powered on, EFI bios is loaded first and then lagacy bios is loaded if there is no response. > > >> Maybe MacOS if booting from CD sets up some faked BIOS environment so > >> Linux and X11 are in believing it is usual IBM-PC-hardware, but if > >> booting with grub2 this is not the case and then linux fails? > > I am not familiar with Mac machine, In general there exists two types of > > bios. One is EFI bios, the other is legacy pc bios. I doubt that > > syslinux-CD boots from legacy pc bios but not EFI bios. You can enter > > "dmesg" command to find memory map information to judge which bios kernel > > boots from. > > :-) > > I sincerely apologise for the long attachment in advance; here I send > you the dmesg output in full, most of it I do not understand. > > Greetings, > > Eeri Kask > > --------8<--------8<-------- > > Bootdata ok (command line is root=/dev/sda5 BOOT_IMAGE=bzImage ) > Linux version 2.6.18.5 (eeri@sierra) (gcc version 4.1.1 (Gentoo 4.1.1)) > #1 SMP PREEMPT Wed Dec 6 16:09:02 CET 2006 > BIOS-provided physical RAM map: > BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) > BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) > BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) > BIOS-e820: 0000000000100000 - 000000007f103000 (usable) > BIOS-e820: 000000007f103000 - 000000007f304000 (ACPI NVS) > BIOS-e820: 000000007f304000 - 000000007febe000 (ACPI data) > BIOS-e820: 000000007febe000 - 000000007feef000 (ACPI NVS) > BIOS-e820: 000000007feef000 - 000000007ff00000 (ACPI data) > BIOS-e820: 000000007ff00000 - 0000000080000000 (reserved) > BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved) > BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) > BIOS-e820: 00000000fed14000 - 00000000fed1a000 (reserved) > BIOS-e820: 00000000fed1c000 - 00000000fed20000 (reserved) > BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) > BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved) the memory map information shows that it is e820 map information, it is legacy bios memory map information. Currently Linux only supports EFI bios on IA32 platform. thanks bibo,mao > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >