All of lore.kernel.org
 help / color / mirror / Atom feed
* Cross architecture analysis for Crash
@ 2013-06-14 10:10 Suzuki K. Poulose
  2013-06-19 13:33 ` Petr Tesarik
  0 siblings, 1 reply; 2+ messages in thread
From: Suzuki K. Poulose @ 2013-06-14 10:10 UTC (permalink / raw)
  To: kexec@lists.infradead.org, crash-utiliy; +Cc: kumagai-atsushi, anderson

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-19 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-14 10:10 Cross architecture analysis for Crash Suzuki K. Poulose
2013-06-19 13:33 ` Petr Tesarik

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.