View previous topic :: View next topic |
Author |
Message |
jharvell n00b

Joined: 16 May 2006 Posts: 38
|
Posted: Fri Mar 21, 2025 6:55 pm Post subject: [SOLVED] Gentoo install media boot hangs in EFI stub |
|
|
I am unable to boot the amd64 Gentoo install media from USB on a new system.
After the first GRUB menu option Boot LiveCD (kernel: gentoo) boots, I see the following on the screen, then nothing else:
Quote: |
Booting `Boot LiveCD (kernel: gentoo) '
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Measured initrd data into PCR 9
|
The above output is from admincd-amd64-20250302T170343Z.iso, but I get the same output from livegui-amd64-20250315T023326Z.iso.
I get the same behavior when I boot the second menu option Boot LiveCD (kernel: gentoo) (cached). However, I am able to boot the third menu option Memtest86+ 64bit UEFI. When booting that, memtest86 runs and finds no errors after three passes through the RAM.
With the same USB drive, I am able to succesfully boot another existing system, both using legacy and EFI booting. Also, I see similar behavior when trying to boot the new system with systemrescue-12.00-amd64.iso from system-rescue.org. All boot options there that I have tried fail except for Memtest86+ and Start EFI Shell.
New System:
- ASRock X870E Taichi BIOS Version 3.20
- Seasonic Prime TX-1300-1300W - 80+ Titanium PSU
- AMD Ryzen9 9950X3D
- 2 2x48GB GSkill DDR5 6400 Kits: (4 DIMMs total, 192 GB total). (I marked each DIMM so I know which DIMM pairs are from the same kit. I installed each kit pair in the same channel)
- new and empty 1 Crucial T705 PCIe Gen5 4TB NVME drive in slot M2.1
- no video card
- monitor connected to HDMI output of motherboard I/O panel
- USB wired keyboard
- USB thumb drive containing admincd image
The BIOS main menu shows the following for the RAM:
- DDR5_A1: DDR5-5600-48GB @3600Mhz
- DDR5_A2: DDR5-5600-48GB @3600Mhz
- DDR5_B1: DDR5-5600-48GB @3600Mhz
- DDR5_B1: DDR5-5600-48GB @3600Mhz
One last note. Sometimes instead of hanging forever after generating the above output, it hangs there for a few seconds then resets. In this case it keeps doing this over and over. I have only seen this on warm reboot (after pressing the reset button). I'm not sure whether I have ever seen this behavior (as opposed to just hanging forever) on cold boot.
Last edited by jharvell on Mon Mar 24, 2025 2:50 am; edited 1 time in total |
|
Back to top |
|
 |
jharvell n00b

Joined: 16 May 2006 Posts: 38
|
Posted: Sat Mar 22, 2025 12:55 pm Post subject: |
|
|
Update: I was able to successfully boot with the Ubuntu Desktop 24.04.2 LTS ISO image on USB. Once booted, I installed an ran the mprime torture test (from mersenne.org) for 12 hours with no errors.
From this result, I suspect the kernels in both the admincd and systemrescue images are not configured with the necessary support for the integrated GPU in the processor. I'll see if I can scrounge up a video card. But in the mean time, is there a way to boot the kernel so it will bring up the network and start an SSH server?
Edit: I was only able to boot from the Ubuntu image twice. I think the first time I tried booting, it reset a few seconds after choosing the grub menu option. Now when I try to boot, it either resets a few seconds after choosing the grub menu item or hangs. In the most recent attempt, I did not touch the keyboard and let grub boot the first menu item. After a few seconds, the video changed from black to kernel output showing a general protection fault.
So it looks like I some combination of bad RAM, CPU and/or motherboard. Not sure what to do other than try to RMA all three. I don't have another known good system compatible with any of these components where I can swap things to see where the problem is. Also, I'm surprised I was able to run 12 hours on the mersenne mprime torture test with no errors and have 4 successful passes through mtest86 on this system while booting Linux is so unstable. I did monitor CPU temps during the torture test, and they were mostly around 53 degC, spiking up to high 60s only briefly on occasion. |
|
Back to top |
|
 |
jharvell n00b

Joined: 16 May 2006 Posts: 38
|
Posted: Mon Mar 24, 2025 2:49 am Post subject: |
|
|
After testing several combinations different DIMMs in different slots, it seems the problem is the two different DIMM kits are different enough from each other that the memory controller has problems handling the different performance between the two kits.
If I have only one kit installed (only tested one stick per channel) without trying to use the DDR-6400 XMP profile, the system always boots fine and is stable at DDR-5600. This is true regardless of which DIMM kit I am using.
I had no luck adjusting SOC/Uncore and DRAM voltages and DRAM impedances with all four DIMMs installed, no matter which DIMMs were in which slots.
When I tested kit A only with the DDR-6400 XMP profile, with DRAM performance set to either Competitive or Aggressive, the system would reset a few seconds into memtest86, and it would not boot the Gentoo admincd. When I tested kit B similarly, it was stable on Competitive but not on Aggressive.
My plan is to return kit A and continue with only the one memory kit. Once I get everything installed, I might try my luck with another kit to see if it is a better match for the kit I'm keeping.
From my research (an now experience), getting 4 DIMMs working well on AM5 is a challenge. Even if you get high performing CPU, DRAM and motherboard, you still have to get lucky to get good silicon for all three and get well matched DIMM kits. |
|
Back to top |
|
 |
elover Apprentice

Joined: 20 Nov 2019 Posts: 175 Location: Spain
|
Posted: Fri Mar 28, 2025 8:23 am Post subject: Re: [SOLVED] Gentoo install media boot hangs in EFI stub |
|
|
jharvell wrote: | I am unable to boot the amd64 Gentoo install media from USB on a new system.
After the first GRUB menu option Boot LiveCD (kernel: gentoo) boots, I see the following on the screen, then nothing else:
Quote: |
Booting `Boot LiveCD (kernel: gentoo) '
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Measured initrd data into PCR 9
|
The above output is from admincd-amd64-20250302T170343Z.iso, but I get the same output from livegui-amd64-20250315T023326Z.iso.
I get the same behavior when I boot the second menu option Boot LiveCD (kernel: gentoo) (cached). However, I am able to boot the third menu option Memtest86+ 64bit UEFI. When booting that, memtest86 runs and finds no errors after three passes through the RAM.
With the same USB drive, I am able to succesfully boot another existing system, both using legacy and EFI booting. Also, I see similar behavior when trying to boot the new system with systemrescue-12.00-amd64.iso from system-rescue.org. All boot options there that I have tried fail except for Memtest86+ and Start EFI Shell.
New System:
- ASRock X870E Taichi BIOS Version 3.20
- Seasonic Prime TX-1300-1300W - 80+ Titanium PSU
- AMD Ryzen9 9950X3D
- 2 2x48GB GSkill DDR5 6400 Kits: (4 DIMMs total, 192 GB total). (I marked each DIMM so I know which DIMM pairs are from the same kit. I installed each kit pair in the same channel)
- new and empty 1 Crucial T705 PCIe Gen5 4TB NVME drive in slot M2.1
- no video card
- monitor connected to HDMI output of motherboard I/O panel
- USB wired keyboard
- USB thumb drive containing admincd image
The BIOS main menu shows the following for the RAM:
- DDR5_A1: DDR5-5600-48GB @3600Mhz
- DDR5_A2: DDR5-5600-48GB @3600Mhz
- DDR5_B1: DDR5-5600-48GB @3600Mhz
- DDR5_B1: DDR5-5600-48GB @3600Mhz
One last note. Sometimes instead of hanging forever after generating the above output, it hangs there for a few seconds then resets. In this case it keeps doing this over and over. I have only seen this on warm reboot (after pressing the reset button). I'm not sure whether I have ever seen this behavior (as opposed to just hanging forever) on cold boot. |
Hi, I have a machine almost the same as yours, just change the motherboard model to asrock x870e nova wifi, same processor, but mine with faster RAM and 96Gb of RAM, the heaviest live cd works perfectly, from there install Gentoo to my pcie5 MSI 580
Another thing, do you have 1:1 RAM? Because I find it strange that four modules at 6400 is almost impossible, you must have won the lottery on the silicon, or you are 2:1 losing performance to your processor. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|