Author Topic: Ubuntu 20.04 5.4.0-167: kexec load failed  (Read 829 times)

ry60003333

  • Newbie
  • *
  • Posts: 3
  • Karma: +2/-0
  • Software Engineer
    • View Profile
    • AllGoFree
Ubuntu 20.04 5.4.0-167: kexec load failed
« on: November 27, 2023, 04:13:55 am »
Hey everyone! I've been rocking a Talos II system for a couple years now running Ubuntu 20.04. I just recently updated and rebooted it and was surprised when it didn't come back up. Looking at the serial output from the serial over LAN console showed this message when trying to boot the new kernel:

Code: [Select]
kexec load failed: do_file_load: (-1) Function not implemented
Thankfully I was able to boot the previous kernel I was using (5.4.0-162-generic) and get into the system, but of course I don't want to stick with this kernel forever and I was actually hoping to upgrade the system to Ubuntu 22.04. Is this a problem with my petitboot configuration / version or an issue with the kernel itself? I'm running System Package v2.00 from the wiki. Other than this issue I've loved my experience with the Talos II! :)
Software Engineer / Game Designer :)

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 446
  • Karma: +34/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Ubuntu 20.04 5.4.0-167: kexec load failed
« Reply #1 on: November 27, 2023, 11:04:40 am »
What kernel version is it?

ry60003333

  • Newbie
  • *
  • Posts: 3
  • Karma: +2/-0
  • Software Engineer
    • View Profile
    • AllGoFree
Re: Ubuntu 20.04 5.4.0-167: kexec load failed
« Reply #2 on: November 28, 2023, 07:30:05 am »
Oh wow sorry I can't believe I forgot to include that; the new kernel that fails to boot is
Code: [Select]
5.4.0-167-generic.
Software Engineer / Game Designer :)

amock

  • Newbie
  • *
  • Posts: 19
  • Karma: +1/-0
    • View Profile
Re: Ubuntu 20.04 5.4.0-167: kexec load failed
« Reply #3 on: November 28, 2023, 09:00:04 am »
I don't know why that version doesn't boot, but I'm running 22.04 with 5.15.0-89-generic and haven't had any kernel trouble

ry60003333

  • Newbie
  • *
  • Posts: 3
  • Karma: +2/-0
  • Software Engineer
    • View Profile
    • AllGoFree
Re: Ubuntu 20.04 5.4.0-167: kexec load failed
« Reply #4 on: November 28, 2023, 10:15:05 am »
That is great to hear! I was actually updating the system ahead of performing an upgrade to 22.04 LTS, so I'm glad that you've been able to run it. :)

I actually was able to solve this by running
Code: [Select]
sudo update-initramfs -u -k 5.4.0-167-generic
and rebuilding the initial ramdisk, so maybe I had some kind of filesystem corruption, which is a bit concerning since the system has ECC memory and a UPS.  :-\

Anyways thanks for the help everyone! I greatly appreciate it, and it is awesome to see people using these amazing machines. 8)
Software Engineer / Game Designer :)

MauryG5

  • Hero Member
  • *****
  • Posts: 734
  • Karma: +22/-1
    • View Profile
Re: Ubuntu 20.04 5.4.0-167: kexec load failed
« Reply #5 on: November 30, 2023, 01:00:49 am »
However, this discussion should have been opened in the session dedicated to operating systems, strange that the moderators haven't moved it yet... Having said that, I don't know how you use Ubuntu on Power, it has several bugs that have never been resolved, see the Firefox ones, just to name a few one and then others that I encountered when I was using it and which led me to switch to Debian and now sometimes return to Fedora a little...