<table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"><p dir="ltr">Typo</p>
<p dir="ltr">Like kdump and merino lets call this one more format raw_ramdump_elf32</p>
<p dir="ltr">Like kdump and netdump lets call this one more format raw_ramdump_elf32</p>
<p dir="ltr"><a href="https://in.overview.mail.yahoo.com/mobile/?.src=Android">Sent from Yahoo Mail on Android</a></p>
</td></tr></table> <div id="_origMsg_">
<div>
<br />
<div>
<div style="font-size:0.9em">
<hr size="1">
<b>
<span style="font-weight:bold">From:</span>
</b>
paawan oza <paawan1982@yahoo.com>; <br>
<b>
<span style="font-weight:bold">To:</span>
</b>
Dave Anderson <anderson@redhat.com>; Discussion list for crash utility usage, maintenance and development <crash-utility@redhat.com>; <br>
<b>
<span style="font-weight:bold">Subject:</span>
</b>
Re: [Crash-utility] how to use crash utility to parse the binary memory dump <br>
<b>
<span style="font-weight:bold">Sent:</span>
</b>
Wed, May 28, 2014 3:54:52 PM <br>
</div>
<br>
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top"><table cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" valign="top"><p dir="ltr">Hi Dave, </p>
<p dir="ltr">I am typing this reply from phone, so keeping it short, will give elaborate reply tomorrow if need.<br clear="none"></p>
<p dir="ltr">I am doing it in one step only,<br clear="none">
If you give something like below</p>
<p dir="ltr">Crash vmlinux bin_file kernel_base</p>
<p dir="ltr">Crashutility creates virtual elf32<br clear="none">
once you exit crash, crash will delete temporary arm elf file which we created in one step process.</p>
<p dir="ltr">It will look like vmcore, but actually it is just conversion to elf, in fact vmcore is in elf format,</p>
<p dir="ltr">Like kdump and merino lets call this one more format raw_ramdump_elf32</p>
<p dir="ltr">Regards,<br clear="none">
Oza</p>
<p dir="ltr"><a rel="nofollow" shape="rect" target="_blank" href="https://in.overview.mail.yahoo.com/mobile/?.src=Android">Sent from Yahoo Mail on Android</a></p>
</td></tr></table> <div class="yqt4877592491" id="yqt87049"><div id="_origMsg_">
<div>
<br clear="none">
<div>
<div style="font-size:0.9em;">
<hr size="1">
<b>
<span style="font-weight:bold;">From:</span>
</b>
Dave Anderson <anderson@redhat.com>; <br clear="none">
<b>
<span style="font-weight:bold;">To:</span>
</b>
paawan oza <paawan1982@yahoo.com>; Discussion list for crash utility usage, maintenance and development <crash-utility@redhat.com>; <br clear="none">
<b>
<span style="font-weight:bold;">Subject:</span>
</b>
Re: [Crash-utility] how to use crash utility to parse the binary memory dump <br clear="none">
<b>
<span style="font-weight:bold;">Sent:</span>
</b>
Wed, May 28, 2014 1:28:24 PM <br clear="none">
</div>
<br clear="none">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1" valign="top"><br clear="none"><br clear="none">----- Original Message -----<br clear="none">> Hi,<br clear="none">> <br clear="none">> I have modified crash utility to convert ramdump to ELF32 format.<br clear="none">> <br clear="none">> @Dave: this is very helpful feature where if someone wants to debug raw ramdump.<br clear="none">> no matter where you kenerel starts, I make one program header with relevant<br clear="none">> offset and generate object files.<br clear="none">> the code for the same is embedded in the crash utlity.<br clear="none">> <br clear="none">> Dave, please share your views on this.<br clear="none">> <br clear="none">> Regards,<br clear="none">> Oza.<br clear="none"><br clear="none">Since these raw DDR dumps seem to be an existing feature, it certainly<br clear="none">seems
worth implementing support for them. <br clear="none"><br clear="none">I'm curious as to how these RAM dumps are currently used -- are there other<br clear="none">tools that use them somehow? <br clear="none"><br clear="none">Are these DDR RAM dumps specific to embedded 32-bit ARM machines?<br clear="none"> <br clear="none">Your feature sounds like a two-stage process:<br clear="none"><br clear="none"> (1) invoke crash utility -- passing it the base physical address of the<br clear="none"> contiguous RAM dump, and the RAM dump file name(s) -- and then crash<br clear="none"> creates a single ELF vmcore by pre-pending an ELF header and concatenating<br clear="none"> the dump file names.<br clear="none"> (2) invoke crash utility with vmlinux and newly-created vmcore. <br clear="none"><br clear="none">But you mention "generate object files" above. Do you generate more than one file?<br clear="none"><br clear="none">Is
the newly-created vmcore subsequently recognized as a
netdump or kdump<br clear="none">ELF vmcore? (i.e, handled by existing code in netdump.c) <br clear="none"><br clear="none">Or does it create a new ELF-like dumpfile type that is handled in your new<br clear="none">ramdump.c file?<br clear="none"><br clear="none">Could it be done in one step? In other words, something like:<br clear="none"> <br clear="none"> $ crash vmlinux --ddr 80000000 ddr1.bin [ddr2.bin ...]<br clear="none"><br clear="none">where there would be a "virtual" ELF header created that could be used<br clear="none">during the crash session? (perhaps with an optional "-o outputfile"<br clear="none">command line option to create/save it as an ELF vmcore) <br clear="none"><br clear="none">Dave<br clear="none"><br clear="none"> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> On Tuesday, 27 May 2014 5:34 PM, buyitian <<a rel="nofollow"
shape="rect">buyit@live.cn</a>> wrote:<br clear="none">> <br clear="none">> <br clear="none">> Hi:<br clear="none">> <br clear="none">> my HW is like this:<br clear="none">> <br clear="none">> DDR starts from physical address 0x80000000, size is 1GB.<br clear="none">> after crash, there are two dump files: ddr1.bin and ddr2.bin.<br clear="none">> each binary file is 512MB.<br clear="none">> <br clear="none">> the vmlinux is on my hand.<br clear="none">> <br clear="none">> how can i use crash utility to parse these two binary?<br clear="none">> thanks.<br clear="none">> <br clear="none">> Best Regards<br clear="none">> <br clear="none">> --<br clear="none">> Crash-utility mailing list<br clear="none">> <a rel="nofollow" shape="rect">Crash-utility@redhat.com</a><br clear="none">> <a rel="nofollow" shape="rect" target="_blank"
href="https://www.redhat.com/mailman/listinfo/crash-utility">https://www.redhat.com/mailman/listinfo/crash-utility</a><div class="yqt0427217973" id="yqtfd44849"><br clear="none">> <br clear="none">> <br clear="none">> --<br clear="none">> Crash-utility mailing list<br clear="none">> <a rel="nofollow" shape="rect">Crash-utility@redhat.com</a><br clear="none">> <a rel="nofollow" shape="rect" target="_blank" href="https://www.redhat.com/mailman/listinfo/crash-utility">https://www.redhat.com/mailman/listinfo/crash-utility</a></div></td></tr></tbody></table>
</div>
</div>
</div></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>