AnsweredAssumed Answered

How to get kernel crash log in /var/log/messages

Question asked by Bandaru Lavanya on Feb 10, 2016
Latest reply on Feb 10, 2016 by Bandaru Lavanya

Hi Friends,

 

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

sleep 1

klogd &

syslogd &

 

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,

Lavanya.B

Outcomes