-   Programming (
-   -   Mission Critical Linux - In Memory Core Dump (

Rostfrei 09-10-2008 03:29 AM

Mission Critical Linux - In Memory Core Dump

I'm working on the embedded device with limited FLASH and RAM size. Because of that I cannot write process core dump to the FLASH, but maybe I could write it to the RAM. I found something I was looking for on In Memory Core Dump. I was hoping I could have it as a reference guide. The problem is that when I go to download page I get:


Mcore downloads

Fatal error: Call to undefined function xslt_create() in /var/www.oss/projects/mcore/download.php on line 121

I also wrote an email to the contact provided, but I got mail back as it does not exist anymore.

The page does not work fully anymore. Does anybody have this code downloaded? Is there some other replacement for the trick I'm trying to do?

Best regards,

matthewg42 09-10-2008 04:20 AM

Maybe you could create a RAM disk and dump there?

Rostfrei 09-10-2008 04:33 AM

I thought about that, but in my case I have to reboot the device when I get for example segmentation fault (signal 11). This is because the device should "heal" itself without user intervention. But I would still need core dump for post crash error examination.

I have to be able to write core dump to the memory (not enough space on the flash), reboot the device and convince boot loader (uBoot in my case) not to erase contents of memory and get that same core dump when the device is alive again. I am not sure if this is possible with ram disk. I am sure that there is no guarantee that the device /dev/ram0 for example will get the same physical memory region on another system reboot.


brianmcgee 09-10-2008 10:35 AM

How about netdump or serialdump? Or is there a possibility to use JTAG to see what is going on on the embedded device?

All times are GMT -5. The time now is 12:13 AM.