Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-67325

Cannot install PPC64 system with RHEL9.2 or 9.4 DVD, getting "error: ../../grub-core/kern/mm.c:552:out of memory."

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.4
    • anaconda
    • None
    • Yes
    • Important
    • rhel-sst-installer
    • ssg_front_door
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • ppc64le
    • None

      What were you trying to do that didn't work?

      The issue is seen on the following hardware model:

      System: IBM Power System E1050
      Processor : IBM Power 10 Processor
      Machine Type: 9043-MRX
      

      The customer is not able to install the system using the RHEL9.2 nor RHEL9.4 DVD, he gets the following error when Grub claims memory:

      error: ../../grub-core/kern/mm.c:552:out of memory.
      

      IBM has a document for this: https://www.ibm.com/support/pages/system-boot-ends-grub-out-memory-oom

      The root cause seems reaching the limit on the initramfs size:

      -r--r--r--. 1 root root 97694336 Apr 12  2024 initrd.img
      -r-xr-xr-x. 1 root root 46037943 Apr 10  2024 vmlinuz
      

      The document states about a 95MB limit and we are near this limit (especially if alignment is an issue).

      Unfortunately none of the workarounds apply here since it's not possible to rebuild the initramfs to be smaller (since it's the one on the DVD).

      It's a regression compared to RHEL8 (at least 8.6 has been tested). With RHEL8.6, the initramfs was much smaller:

      -r--r--r--. 1 root root 64621416 Jun 28  2022 initrd.img
      -r--r--r--. 1 root root      441 Jun 28  2022 TRANS.TBL
      -r-xr-xr-x. 1 root root 35634133 Apr 16  2022 vmlinuz
      

      What is the impact of this issue to you?

      Can't install a system

      Please provide the package NVR for which the bug is seen:

      RHEL9.2 and RHEL9.4 Grub2 on the DVD

      How reproducible is this bug?:

      Always by the customer

              anaconda-maint-list anaconda-maint-list
              rhn-support-rmetrich Renaud Métrich
              anaconda-maint-list anaconda-maint-list
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: