Open jonte opened 7 years ago
Poky has recipes for the kexec utility: https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-kernel/kexec
@jonte would it be reasonable to have a recipes-kernel/linux/linux-yocto/debug-extras.cfg
file that enables kernel debugging and the developer should be responsible to configure it manually if needed?
On another note, there are quite a few kernel debug utilities that would make sense to include in this image I think they are found under Kernel Hacking
menuconfig.
EDIT: typo
@GordanM Yes, that config file makes sense. I think it would also make sense to be able to enable the whole kdump feature using some config flag (or per defailt in dbg images)or so though, for ease of use.
There are a few steps you need to go through to get it all working, and it would be nice if PELUX helped out with enabling it.
Will be tracked by Jira issue OAI1209-340.
Debugging kernel crashes would be much easier if we had kdump support in the kernel & in systemd.
Basically, we would need to:
Issues to consider
Always enabbling kdump may cause performance issues, so maybe we want to enable it only on debug images.