> > Well, this works, too (on top of HEAD from 7 june). > > > --- ../../grub/grub-core/loader/i386/linux.c 2012-05-31 > 12:59:19.000000000 -0400 > +++ grub-core/loader/i386/linux.c 2012-06-12 20:47:51.455718055 -0400 > @@ -139,7 +139,7 @@ find_efi_mmap_size (void) > > /* Increase the size a bit for safety, because GRUB allocates more > on > later, and EFI itself may allocate more. */ > - mmap_size += (1 << 12); > + mmap_size += (3 << 12); > > mmap_size = page_align (mmap_size); > return mmap_size;
Vladimir, The 2.00rc1 version of grub2 still doesn't fix the efi memory map buffer size I've been working on (though I can see you are now allocating the efi memory map buffer very shortly before you are calling grub_efi_finish_boot_services()). Increasing the mmap_size in find_efi_mmap_size()--as in the patch immediately above this text--does fix the problem. Even adding (2 << 12) (instead of (1 << 12)) to the mmap_size will work on the system I'm testing with. As is, though, 2.00rc1 fails to boot, with the error message "memory map buffer is too small". Thanks, Stuart _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel