All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kip Macy <kmacy@fsmware.com>
To: Mark Williamson <maw48@cl.cam.ac.uk>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: xm pause <domain>
Date: Tue, 25 Jan 2005 18:56:09 -0800 (PST)	[thread overview]
Message-ID: <20050125184258.H89060@demos.bsdclusters.com> (raw)
In-Reply-To: <200501240046.22144.maw48@cl.cam.ac.uk>

>
> You went over to another dump format for the DFly checkpointing, then?  What
> format does DFly / FreeBSD use for crash memory dumps?
>
Sorry for not responding sooner. I had to refresh my memory a bit. We
store the info for the vnode of the executable, the signal handling
dispositions, and the info for the open file handles right after the
normal coreheader. The offsets for all the standard mappings is updated
to reflect the new information being added in. Thus, GDB still just
works.

I believe that I wrote the following:
/*
	 * put extra cruft for dumping process state here
	 *  - we really want it be before all the program
	 *    mappings
	 *  - we just need to update the offset accordingly
	 *    and GDB will be none the wiser.
	 */
	if (error == 0)
		error = elf_puttextvp(p, target);
	if (error == 0)
		error = elf_putsigs(p, target);
	if (error == 0)
		error = elf_putfiles(p, target);




>
> This would be cool stuff to have both for developing and for debugging crashes
> in the field.  Xend could fairly easy be modified to auto-dump crashed
> domains, and to dump domains on request.  I like :-)

I've written the code for a generic xen guest coredump, I'll write a
separate tool to post-process the header into something either LKCD or
FreeBSD's gdb will recognize.

Now the question is, can you give me some guidance on adding it into
xend - it doesn't look as straightforward as I had hoped.



			-Kip


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

  reply	other threads:[~2005-01-26  2:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-21 15:14 xm pause <domain> Chotu Ram
2005-01-23 14:41 ` Mark Williamson
2005-01-23 23:09   ` Kip Macy
2005-01-23 23:14     ` Mark Williamson
2005-01-23 23:34       ` Kip Macy
2005-01-24  0:46         ` Mark Williamson
2005-01-26  2:56           ` Kip Macy [this message]
2005-01-26 16:23             ` Mark A. Williamson
2005-01-26 16:47               ` Rolf Neugebauer
2005-01-26 17:02                 ` Kip Macy
2005-01-26 19:57                 ` Mark Williamson
2005-01-24 22:51         ` Daniel Stekloff
2005-01-25 13:46           ` Mark Williamson

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=20050125184258.H89060@demos.bsdclusters.com \
    --to=kmacy@fsmware.com \
    --cc=maw48@cl.cam.ac.uk \
    --cc=xen-devel@lists.sourceforge.net \
    /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.