I installed the 5.15.0-71 kernel on Ubuntu 22.04 LTS and rebooted my bare metal home server (Ryzen 7600). After reboot I received these two errors:
error: cannot allocate kernel buffer
error: you need to load the kernel first.
Press any key to continue..._
I am then sent to the grub selection screen. Trying to boot into Ubuntu repeats error message above.
The Details
- I can boot into the 5.15.0-70 kernel from grub with no problem
- I have updated Kernels before with no problem
- I am able to load 5.15.0-71 after selecting it on grub many (10+) times in a row.
What I've Tried
- I've disabled secure boot
- I've reinstalled the new kernel
I've looked through the internet and found nothing describing my exact error (plenty of "you need to load kernel first." problems but none with "cannot allocate kernel buffer" also). I tried to find info on and understand the kernel buffer but my Ubuntu newbie brain couldn't understand what I found. I would appreciate any explanations or suggestions.
apport-collect -p linux BUG#2017929
in a terminal, which should allow you to add information about your system to the report. BTW were you using the 7600 internal graphics or a separate GPU? – Matthew Apr 27 '23 at 18:55apport-collect -p linux 2017929
– Matthew Apr 27 '23 at 23:05--- MB: Gigabyte B650 AORUS ELITE AX (Firmware F5b) - CPU: AMD Ryzen 9 7900 12-Core Processor ---
After a few tries / reboot it manages to boot with kernel 5.15.0-71-generic #78-Ubuntu.
– Gotenks Apr 28 '23 at 10:41