Comment 0 for bug 1851810

Revision history for this message
Andy Whitcroft (apw) wrote :

When booting via newer versions of maas we use grub extensions to load additional files. This leads the kernel to panic in efi_main():

     exit_boot() failed!
     efi_main() failed!

This occurs because the EFI memory map is more fragmented. When we exit boot services that returns an updated memory map in a buffer we supply. This has to be large enough to contain the updated map. If the exit fails because of lack of map space we are dead in the water because the call to allocate memory is lost to us. We therefore add some headroom in the allocation to allow for any expansion during close. This headroom is insufficient.