From mboxrd@z Thu Jan 1 00:00:00 1970 From: coolsandyforyou@gmail.com (sandeep kumar) Date: Fri, 2 Sep 2011 11:33:33 +0530 Subject: analysis of kernel panic logs. Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi, im working on android, kernel version 2.6.35.11 I got these logs showing kernel panic and the target is rebooting. >>From the logs i understood in init process something is causing kernel panic. <3>[ 85.235589] init: [boot time] processing action 0x4c5e8 (property:init.svc.samsungani=stopped) <3>[ 85.236565] init: [boot time] processing action 0x4ef20 (property:init.svc.samsungani=stopped) <0>[ 85.236840] Kernel panic - not syncing: Attempted to kill init! <4>[ 85.236932] [] (unwind_backtrace+0x0/0x164) from [] (panic+0x6c/0xec) <4>[ 85.237023] [] (panic+0x6c/0xec) from [] (do_exit+0x70/0x6a0) <4>[ 85.237115] [] (do_exit+0x70/0x6a0) from [] (do_group_exit+0x90/0xc0) <4>[ 85.237176] [] (do_group_exit+0x90/0xc0) from [] (get_signal_to_deliver+0x3e0/0x424) <4>[ 85.237267] [] (get_signal_to_deliver+0x3e0/0x424) from [] (do_signal+0x68/0x640) <4>[ 85.237359] [] (do_signal+0x68/0x640) from [] (do_notify_resume+0x18/0x38) <4>[ 85.237450] [] (do_notify_resume+0x18/0x38) from [] (work_pending+0x1c/0x20) <0>[ 85.237542] Rebooting in 5 seconds.. <2>[ 85.237572] CPU0: stopping <4>[ 85.237603] [] (unwind_backtrace+0x0/0x164) from [] (do_IPI+0xd8/0x154) <4>[ 85.237695] [] (do_IPI+0xd8/0x154) from [] (__irq_usr+0x48/0xe0) <4>[ 85.237756] Exception stack(0xdc18dfb0 to 0xdc18dff8) <4>[ 85.237817] dfa0: 00000000 0000007c 00000000 4097b240 <4>[ 85.237878] dfc0: 45957cfe 4ba95bd8 4fc24a48 000000f4 80118200 ffffe9f4 00000000 801a6374 <4>[ 85.237939] dfe0: 000000f4 4fc249f8 8011d0a8 8011bf18 20000010 ffffffff But how to interpret the Exception stack, dfa0 etc., to narrow down what exactly caused the panic. And in similer cases when oops happens also we will get the register dump, i know how to interpret PC, but what about the rest of the registers. how they are useful in analysing the situation. -- With regards, Sandeep Kumar Anantapalli, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110902/fba32c07/attachment.html