Re: EFI Boot on MacPro

2009-01-10 Thread Bean
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


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: EFI Boot on MacPro

2009-01-10 Thread peter cros
typo --with-platform=efi

On Sun, Jan 11, 2009 at 1:44 PM, 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.
>
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: EFI Boot on MacPro

2009-01-10 Thread peter cros
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.
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: Problem with gfxmode=1680x1050x32 (vbeinfo not showing all modes)

2009-01-10 Thread Zahir Toufie



    >>   1. For some reason my VESA probe only yields riesolutions upto
  >> 1400x1050x32, I am assuming it's because my BIOS only provides
  >> resolutions upto that depth and not 1680x1050x32. Odd though
  >> because X runs fine in 1680x1050x32 mode with both the radeon and
  >> fglrx drivers.
  >
  > That's interesting.  Can you try running another VBE probe program
  > to list the modes as well and see if it's GRUB's fault or the
  > BIOS's fault? Perhaps under Linux or FreeDOS or something?

Hi there,

  I got hold of a dos vesainfo.exe  
(ftp://ftp.inf.ethz.ch/pub/Oberon/ETHOberon/Contrib/Native/) utility  
which I ran on my notebook and it came up with the following dump; For  
some reason grub's vbeinfo only lists modes upto 146 whereas vesainfo  
goes further;


  VesaInfo 2000-12-13  http://www.oberon.ethz.ch/native/
VESA 3.0 16384KB ATI ATOMBIOS

Mode SwtchProc Segment  Size   LinearFb Resolution
 100 C000:5165 A000 RW 64K 64K F000 640x400x8
 101 C000:5165 A000 RW 64K 64K F000 640x480x8
 103 C000:5165 A000 RW 64K 64K F000 800x600x8
 105 C000:5165 A000 RW 64K 64K F000 1024x768x8
 107 C000:5165 A000 RW 64K 64K F000 1280x1024x8
 111 C000:5165 A000 RW 64K 64K F000 640x480x16
 114 C000:5165 A000 RW 64K 64K F000 800x600x16
 117 C000:5165 A000 RW 64K 64K F000 1024x768x16
 11A C000:5165 A000 RW 64K 64K F000 1280x1024x16
 10E C000:5165 A000 RW 64K 64K F000 320x200x16
 120 C000:5165 A000 RW 64K 64K F000 320x200x32
 193 C000:5165 A000 RW 64K 64K F000 320x240x8
 195 C000:5165 A000 RW 64K 64K F000 320x240x16
 196 C000:5165 A000 RW 64K 64K F000 320x240x32
 1B3 C000:5165 A000 RW 64K 64K F000 512x384x8
 1B5 C000:5165 A000 RW 64K 64K F000 512x384x16
 1B6 C000:5165 A000 RW 64K 64K F000 512x384x32
 1C3 C000:5165 A000 RW 64K 64K F000 640x350x8
 1C5 C000:5165 A000 RW 64K 64K F000 640x350x16
 1C6 C000:5165 A000 RW 64K 64K F000 640x350x32
 183 C000:5165 A000 RW 64K 64K F000 640x400x8
 185 C000:5165 A000 RW 64K 64K F000 640x400x16
 186 C000:5165 A000 RW 64K 64K F000 640x400x32
 133 C000:5165 A000 RW 64K 64K F000 720x400x8
 135 C000:5165 A000 RW 64K 64K F000 720x400x16
 136 C000:5165 A000 RW 64K 64K F000 720x400x32
 153 C000:5165 A000 RW 64K 64K F000 1152x864x8
 155 C000:5165 A000 RW 64K 64K F000 1152x864x16
 156 C000:5165 A000 RW 64K 64K F000 1152x864x32
 163 C000:5165 A000 RW 64K 64K F000 1280x1024x8
 165 C000:5165 A000 RW 64K 64K F000 1280x1024x16
 166 C000:5165 A000 RW 64K 64K F000 1280x1024x32
 121 C000:5165 A000 RW 64K 64K F000 640x480x32
 122 C000:5165 A000 RW 64K 64K F000 800x600x32
 123 C000:5165 A000 RW 64K 64K F000 1024x768x32
 124 C000:5165 A000 RW 64K 64K F000 1280x1024x32
 143 C000:5165 A000 RW 64K 64K F000 1400x1050x8
 145 C000:5165 A000 RW 64K 64K F000 1400x1050x16
 146 C000:5165 A000 RW 64K 64K F000 1400x1050x32
 173 C000:5165 A000 RW 64K 64K F000 1600x1200x8
 175 C000:5165 A000 RW 64K 64K F000 1600x1200x16
 176 C000:5165 A000 RW 64K 64K F000 1600x1200x32
 183 C000:5165 A000 RW 64K 64K F000 640x400x8
 185 C000:5165 A000 RW 64K 64K F000 640x400x16
 186 C000:5165 A000 RW 64K 64K F000 640x400x32
 1D3 C000:5165 A000 RW 64K 64K F000 1856x1392x8
 1D5 C000:5165 A000 RW 64K 64K F000 1856x1392x16
 1D6 C000:5165 A000 RW 64K 64K F000 1856x1392x32
 1E3 C000:5165 A000 RW 64K 64K F000 1920x1440x8
 1E5 C000:5165 A000 RW 64K 64K F000 1920x1440x16
 1E6 C000:5165 A000 RW 64K 64K F000 1920x1440x32

___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel