From: "Suzuki K. Poulose" <suzuki@in.ibm.com>
To: "kexec@lists.infradead.org" <kexec@lists.infradead.org>,
crash-utiliy@redhat.com
Cc: kumagai-atsushi@mxc.nes.nec.co.jp, anderson@redhat.com
Subject: Cross architecture analysis for Crash
Date: Fri, 14 Jun 2013 15:40:02 +0530 [thread overview]
Message-ID: <51BAEBFA.3080204@in.ibm.com> (raw)
Hi,
We have been working on enabling 'cross' analysis support for
Crash, where the target and the host differ in endian-ness.
For e.g, analysing a powerpc dump on an Intel box.
This would be useful for debugging the dumps captured on an
embedded board (say ppc44x), on a normal desktop PC(Intel based).
While the patches are being tested for 'Crash' utility we came
across a problem with the analysis of the compressed dump formats(aka
diskdump). There is no information about the endian-ness of the dump
unlike the ELF format. Hence, we need to embed this information during
the makedumpfile processing of vmcores.
Here are some of the options we thought about :
1) Interpret the new_utsname.machine and decode the endian-ness/word
size.
2) Extend the signature string to contain information about the
endian-ness / word size.
e.g, KDUMPB64 - for KDUMP, BigEndian 64bit
Since we don't know the endian-ness yet, we may not be able to use any
of the other fields which are 'int' or 'long' (e.g, status)
I am looking for suggestions or directions on the approach to add this
information.
Thanks
Suzuki
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next reply other threads:[~2013-06-14 10:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-14 10:10 Suzuki K. Poulose [this message]
2013-06-19 13:33 ` Cross architecture analysis for Crash Petr Tesarik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51BAEBFA.3080204@in.ibm.com \
--to=suzuki@in.ibm.com \
--cc=anderson@redhat.com \
--cc=crash-utiliy@redhat.com \
--cc=kexec@lists.infradead.org \
--cc=kumagai-atsushi@mxc.nes.nec.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.