It is here - (return checked in refit efi shell and gui) Can't go any further until that is fixed.
kern/x86_64/efi/startup.S ----------------------- This hangs - codestart: movq %rcx, EXT_C(grub_efi_image_handle) movq %rdx, EXT_C(grub_efi_system_table) +ret call EXT_C(grub_main) ret ------------------------- This returns - codestart: +ret movq %rcx, EXT_C(grub_efi_image_handle) movq %rdx, EXT_C(grub_efi_system_table) call EXT_C(grub_main) ret -------------------------- Would really like to see the solution for the imac8,1. peter cros On Sun, Jan 11, 2009 at 6:35 PM, Bean <bean12...@gmail.com> wrote: > On Sun, Jan 11, 2009 at 10:44 AM, peter cros <pxwp...@gmail.com> 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 > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel