I want to get kernel crash log in /var/log/messages to take back up.
I am doing in run script like below
cat /var/log/messages > /home/Crash.log
so now after board is booted i will get previous messages in /home/Crash.log and present messages in /var/log/messages. I am creating kernel panic using "echo c > /proc/sysrq-trigger"
after reboot i am getting the kernel log up to last message before panic, so how can i get crash details also, for this am i need to enable any configurations in kernel menuconfig. If any one knows kindly give information.
Thanks & Regards,