RE: About the format of the dumped memory

"Jeff Haran" <[email protected]> Wed, 7 Jan 2004 17:47:24 -0800
Newsgroups gmane.linux.lkcd.general
Message-ID <B6AB380934B5F0488974238446762E4A095EB348@hq-ex-5.corp.brocade.com>
> -----Original Message-----
> From: Kasumi Matsumoto [mailto:[email protected]]
> Sent: Wednesday, January 07, 2004 5:09 PM
> To: [email protected]
> Subject: [lkcd-general] About the format of the dumped memory
> 
> 
> Hello.
> 
> The structure of LKCD is under study. 
> Please let me know about the format of the memory 
> dumped by LKCD.
> 

There is a reasonably good description of the history and format of the
dump file in the comment block at the beginning of dump_base.c in the
LKCD kernel patch (at least it's there in the
lkcd-4.1-1-2.4.18.patch.txt version that I am using). Details of the
various headers that constitute that format can be read in dump.h.

> Is the memory which crashes, and is copied to a file 
> system after rebooting analyzable by gdb?

There are to my knowledge two analysis programs that can be used to
analyze these dump files:

	lcrash; and
	crash

I use crash since there is a PowerPC port of crash that sort of works
whereas lcrash does not to my knowledge have a PowerPC port. If you are
intending to run LKCD on an x86 target, my guess is you can use either
lcrash or crash.

crash uses gdb as part of the analysis it does, but gdb by itself is not
sufficient.

Jeffrey Haran
Brocade Communications

> Or is it a format original with LKCD?
> 
> Or if there is a document about these, please let me know.
> 
> Please give advice.
> 
> 
> 
> -----------------------------------
>   Name     Kasumi Matsumoto
>   Mail     [email protected]
> ------------------------------------
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> Lkcd-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lkcd-general
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html