On Thu, Mar 13, 2025 at 07:45:50PM +0530, Avnish Chouhan wrote: > Change RMA size from 512 MB to 768 MB which will result > in more memory at boot time for PowerPC. When vTPM, Secure Boot or > FADump are enabled on PowerPC, the 512 MB RMA memory is not sufficient for > booting. With this 512 MB RMA, GRUB2 runs out of memory and fails to > boot the machine. Sometimes even usage of CDROM requires more memory > for installation and along with the options mentioned above exhausts > the boot memory which results in boot failures. Increasing the RMA size > will resolves multiple out of memory issues observed in PowerPC. > > Failure details (GRUB2 debugs): > > kern/ieee1275/init.c:550: mm requested region of size 8513000, flags 1 > kern/ieee1275/init.c:563: Cannot satisfy allocation and retain minimum > runtime space > kern/ieee1275/init.c:550: mm requested region of size 8513000, flags 0 > kern/ieee1275/init.c:563: Cannot satisfy allocation and retain minimum > runtime space > kern/file.c:215: Closing `/ppc/ppc64/initrd.img' ... > kern/disk.c:297: Closing > `ieee1275//vdevice/v-scsi@30000067/disk@8300000000000000'... > kern/disk.c:311: Closing > `ieee1275//vdevice/v-scsi@30000067/disk@8300000000000000' succeeded. > kern/file.c:225: Closing `/ppc/ppc64/initrd.img' failed with 3. > kern/file.c:148: Opening `/ppc/ppc64/initrd.img' succeeded. > error: ../../grub-core/kern/mm.c:552:out of memory. > > Signed-off-by: Avnish Chouhan <avn...@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com> Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel