This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: [Patch] Enable "sysrq c" handler for domU coredump

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [Patch] Enable "sysrq c" handler for domU coredump
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 1 Aug 2006 15:48:06 +0900
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Delivery-date: Tue, 01 Aug 2006 01:53:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4FC6B524762864takebe_akio@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060801034824.GD13414@xxxxxxxxxxxx> <4FC6B524762864takebe_akio@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
On Tue, Aug 01, 2006 at 01:39:23PM +0900, Akio Takebe wrote:
> Hi, Horms
> >
> >That seems fine to me. Though there was some resistance to a
> >patch I sent which adds a panic option to xen-console, which
> >is the hypervisor equivalent of sysrq.
> >
> This patch focus only manually dumping domU's core.
> How can I use the panic option of xen-console?
> I thought your patch to panic xen.
> Can I dump domU's core with the option?

Sorry, I was not clear.

Yes, my patch is to panic (or more recently cause a crash dump) 
in the hypervisor. It does not give any special behaviour to
the domains.

What I meant was, that the idea of adding a panic to domU's sysrq
is similar to my idea of adding panic to the xen console. And I was
asked to change this patch to make it trigger a kdump directly,
rather than a panic.

I think that your sysrq patch and my xen-console panic patches
are related, and I wanted to bring that into the discussion.

> >Also, is this option really Xen specific. It seems it
> >might be just as useful in regular Linux.
> This is a patch to dump domU's core,
> so Linux is not useful becaus Linux can dump by calling crash_kexec().

Right, but it does this using panic() which does have some effect
in regular Linux. I am just wondering if your solution answers
a more generic question than how to dump domU.

  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/

Xen-devel mailing list