Comment 3 for bug 1958623

Revision history for this message
sandeep kumar pabboj (sandeep-kumar-pabboj) wrote : Re: encounter RSOD while pxe booting from MaaS server

As per our internal evaluation, seems issue is in GRUB utility used by MAAS (2.9.2).

In the source code of grub(../grub-core/loader/i386/efi/linux.c) at line #215 "gub_efi_allocate_pages_max" allocates ONE PAGE but while freeing the pages in line #365 FOUR PAGES are got freed in "grub_efi_free_pages",

/*Line 215*/ params = grub_efi_allocate_pages_max (0x3fffffff,
/*Line 216*/ BYTES_TO_PAGES(sizeof(*params)));
/*Line 365*/ grub_efi_free_pages ((grub_efi_physical_address_t)(grub_addr_t)params,
/*Line 366*/ BYTES_TO_PAGES(16384));

And RSOD is not observed after changing the above code as like below in line #366,
/* Line 365*/ grub_efi_free_pages ((grub_efi_physical_address_t)(grub_addr_t)params,
/* Line 366*/ BYTES_TO_PAGES(sizeof(*params));

Kindly help us verifying and confirming above observations.