[Crash-utility] how to use crash utility to parse the binary memory dump

vinayak menon vinayakm.list at gmail.com
Wed Jul 23 13:23:46 UTC 2014


On Wed, Jul 23, 2014 at 6:37 PM, Dave Anderson <anderson at redhat.com> wrote:
>
>
> ----- Original Message -----
>>
>> Here is my counter-proposal, where the invocation would be something
>> like this:
>>
>>   $ crash vmlinux ramdump at address [-o output_file]
>>
>> and if there are multiple images, make them a comma-separated list:
>>
>>   $ crash vmlinux ramdump1 at address,ramdump2 at address [-o output_file]
>>
>
> FYI, if you view the above in the web archives, it seems that it
> strips out ampersands, so it looks like "ramdump address" instead
> of "ramdump at address".
>
> So just in case you're confused by that, it's a single argument
> with an ampersand separating the filename and address.
>

Modified patch attached. It is rebased to latest crash version.
The arguments are in the form of ordered pair as you had mentioned. I
have tested it with arm and armv8 ramdumps.

Do we really need  dump_ramdump_def ? As the dump is converted to
kdump and we use the kdump flag in pc->flags, help -D and help -n
works fine using kdump dump functions. Did I miss something ?

I will send you the link to arm64 ramdump in another email.

Thanks,
Vinayak
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-raw-RAM-image-support.patch
Type: application/octet-stream
Size: 14200 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20140723/5c11284d/attachment.obj>


More information about the Crash-utility mailing list