All of lore.kernel.org
 help / color / mirror / Atom feed
From: "bibo,mao" <bibo.mao@intel.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: EFI-dualbooting OSX and Linux on iMac with T7400-CPU
Date: Mon, 18 Dec 2006 11:31:27 +0800	[thread overview]
Message-ID: <45860B8F.4030100@intel.com> (raw)
In-Reply-To: <458267E7.9040805@inf.tu-dresden.de>

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 
> <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
> 



  reply	other threads:[~2006-12-18  3:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-03 17:05 EFI-dualbooting OSX and Linux on iMac with T7400-CPU Eeri Kask
2006-12-03 18:25 ` Yoshinori K. Okuji
2006-12-06 15:36   ` Eeri Kask
2006-12-07  1:50     ` bibo,mao
2006-12-14 13:10       ` Eeri Kask
2006-12-15  1:37         ` bibo,mao
2006-12-15  9:16           ` Eeri Kask
2006-12-18  3:31             ` bibo,mao [this message]
2006-12-13 12:49   ` Marco Gerards
2006-12-13 13:29     ` Thomas Schwinge
2006-12-13 13:52       ` Marco Gerards
2006-12-13 21:43       ` Yoshinori K. Okuji

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45860B8F.4030100@intel.com \
    --to=bibo.mao@intel.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.