Get the latest tech news
Linux 6.14 Working To Make It Less Painful Debugging Early Boot Issues
Linux kernel developers are working to make it easier to debug early boot issues such as Kexec failures as currently dealing with such situations can be a frustrating and time consuming headache for figuring out the problems prior to the kernel being fully brought online.
David Woodhouse of Amazon/AWS further elaborated in that initial patch series working on exception handling for relocate_kernel:"Debugging kexec failures is painful, as anything going wrong in execution of the critical relocate_kernel() function tends to just lead to a triple fault. Having hacked something up for my own use, I figured I should share it... Add a CONFIG_KEXEC_DEBUG option which sets up a trivial exception handler in that environment, and outputs to the early_printk serial console if configured. Thus for those having to deal with debugging early boot kernel issues, moving forward there are enhancements being worked on for making it a little less painful.
Or read this on Phoronix