Re: [android-kernel] Apanic to EMMC?

2012-02-13 Thread yingchun li
On Wed, Feb 8, 2012 at 11:34 PM, Rudolf Tammekivi wrote: > Hello, > > I have a device that has MMC card inside, with the partition table. My > question is, if "panic" happens, can I use apanic module to save the log to > MMC not to the MTD partition? I did try ram_console, but the problem with > t

Re: [android-kernel] Apanic to EMMC?

2012-02-13 Thread Jagadish K
Hi, During kernel panic, as the name suggests kernel is going to die. So its not a good idea to save logs at that time. However, you can Register your function in panic_notifier_list. Your function will be called during panic. In that function, you can modify how the device should reboot or any oth

[android-kernel] Apanic to EMMC?

2012-02-08 Thread Rudolf Tammekivi
Hello, I have a device that has MMC card inside, with the partition table. My question is, if "panic" happens, can I use apanic module to save the log to MMC not to the MTD partition? I did try ram_console, but the problem with that is, my device's RAM is cleared out after restart, so I can't g