This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to dump kernel crash into one file



Dear,

Working on Platform Omap4460,I would like to know that how to dump kernel crash information and save that into one file while causing the kernel disruption by the following events:

1.Kernel panic
2.Non Maskable Interrupts (NMI)
3.Machine Check Exceptions (MCE)
4.Hardware failure
5.Manual intervention

I'm confused about whether kernel supports the function or not.If not,what would I be supposed to do?

+++++++++++++++++++++++How to manually trigger a kernel crash++++++++++++++++++++
#cat /proc/sys/kernel/sysrq
#sudo sysctl -w kernel.sysrq=1
#echo c > /proc/sysrq-trigger

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

  • Dear,

    I'm not sure whether the kernel utilities <kdump && kexec> will function correctly or not if I cofigure <CONFIG_CRASH_DUMP> && <CONFIG_PROC_VMCORE> && <CONFIG_KEXEC> with the reference of the file <Documentation/kdump/kdump.txt> .

    What a shame! I'm facing more problems while trying to make it.Would you give me some advice on it ,please?

    Thanks.