All of lore.kernel.org
 help / color / mirror / Atom feed
* policies on coredump
@ 2005-04-27 23:22 Kip Macy
  2005-04-27 23:47 ` Mark Williamson
  0 siblings, 1 reply; 5+ messages in thread
From: Kip Macy @ 2005-04-27 23:22 UTC (permalink / raw)
  To: xen-devel

I'm soliciting opinions on where domU coredumps should be put, if they
should be enabled by default, and what the default naming convention
should be. This will probably all have to change when capabilities are
added, but in the meantime I'd like to know before I submit a patch.


 -Kip

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

* Re: policies on coredump
  2005-04-27 23:22 policies on coredump Kip Macy
@ 2005-04-27 23:47 ` Mark Williamson
  2005-04-28  0:34   ` Kip Macy
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Williamson @ 2005-04-27 23:47 UTC (permalink / raw)
  To: xen-devel, Kip Macy

> I'm soliciting opinions on where domU coredumps should be put,

/var/xen/dump/ perhaps?

> if they 
> should be enabled by default

Hrrrmmmmm.  I guess I'd err towards not enabling them by default - as long as 
we document it (fancy including a patch to the user manual? ;-)).  This is on 
the grounds that people who will use this feature will know who they are and 
go switch it on.

> and what the default naming convention 
> should be.

Howsabout domainname.{0,1,2,3...} ?  The textual domain name will be available 
in Xend and is a bit more useful than the domid, particularly if you're 
running many domains.

> This will probably all have to change when capabilities are 
> added, but in the meantime I'd like to know before I submit a patch.

I don't think capabilities are coming up for a while, though I've not heard 
anything about it recently.  I bet you can get your patch in first anyhow ;-)

Are you planning to hook into Xend's reaper function to do this automatically 
and / or provide an xm command for manual dumps?

Cheers,
Mark

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

* Re: policies on coredump
  2005-04-27 23:47 ` Mark Williamson
@ 2005-04-28  0:34   ` Kip Macy
  2005-04-28  0:43     ` Mark Williamson
  0 siblings, 1 reply; 5+ messages in thread
From: Kip Macy @ 2005-04-28  0:34 UTC (permalink / raw)
  To: Mark Williamson; +Cc: xen-devel

> Are you planning to hook into Xend's reaper function to do this automatically
> and / or provide an xm command for manual dumps?

If it is in the reap path is there any reason to add it to xm as well
other than testing?

    -Kip

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

* Re: policies on coredump
  2005-04-28  0:34   ` Kip Macy
@ 2005-04-28  0:43     ` Mark Williamson
  2005-04-28  0:57       ` Kip Macy
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Williamson @ 2005-04-28  0:43 UTC (permalink / raw)
  To: Kip Macy; +Cc: xen-devel

> If it is in the reap path is there any reason to add it to xm as well
> other than testing?

I guess that now, for most things, you could use the gdbserver to poke at the 
state of domains that hadn't crashed (and auto-dumped) yet...  Under some 
circumstances it might be useful to manually dump domain state for later 
analysis.

Unless anybody pipes up and asks then I guess it might not be worth adding.  
It's probably worth getting the reap-path patch into the tree in the first 
instance - then other people can contribute patches to enable any use cases 
they want ;-)

Cheers,
Mark

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

* Re: policies on coredump
  2005-04-28  0:43     ` Mark Williamson
@ 2005-04-28  0:57       ` Kip Macy
  0 siblings, 0 replies; 5+ messages in thread
From: Kip Macy @ 2005-04-28  0:57 UTC (permalink / raw)
  To: Mark Williamson; +Cc: xen-devel

My plan is for coredump to write out the domain state in a generic
format and then post-process that into the format expected by the
kernel GDB for a given OS. I can envision using the suspend support
for offline state inspection by simply post-processing the output of
suspend to disk into coredump format. I don't see anyone else
clamoring to use xen as a development environment so I'll worry about
that later.

      -Kip
 
On 4/27/05, Mark Williamson <mark.williamson@cl.cam.ac.uk> wrote:
> > If it is in the reap path is there any reason to add it to xm as well
> > other than testing?
> 
> I guess that now, for most things, you could use the gdbserver to poke at the
> state of domains that hadn't crashed (and auto-dumped) yet...  Under some
> circumstances it might be useful to manually dump domain state for later
> analysis.
> 
> Unless anybody pipes up and asks then I guess it might not be worth adding.
> It's probably worth getting the reap-path patch into the tree in the first
> instance - then other people can contribute patches to enable any use cases
> they want ;-)
> 
> Cheers,
> Mark
>

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

end of thread, other threads:[~2005-04-28  0:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-27 23:22 policies on coredump Kip Macy
2005-04-27 23:47 ` Mark Williamson
2005-04-28  0:34   ` Kip Macy
2005-04-28  0:43     ` Mark Williamson
2005-04-28  0:57       ` Kip Macy

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.