From: Horms <horms@verge.net.au>
To: Akio Takebe <takebe_akio@jp.fujitsu.com>
Cc: xen-devel <xen-devel@lists.xensource.com>,
Kouya Shimura <kouya@jp.fujitsu.com>
Subject: Re: [Patch] Enable "sysrq c" handler for domU coredump
Date: Tue, 1 Aug 2006 12:48:24 +0900 [thread overview]
Message-ID: <20060801034824.GD13414@verge.net.au> (raw)
In-Reply-To: <4DC6B5182D2981takebe_akio@jp.fujitsu.com>
On Tue, Aug 01, 2006 at 12:11:26PM +0900, Akio Takebe wrote:
Content-Description: Mail message body
> Hi,
>
> In the case of linux, crash_kexec() is occured by "sysrq c".
> In the case of DomainU on xen, Help is occured by "sysrq c" now.
> So The way of dumping DomainU's memory manualy is nothing.
>
> I fix this issue by the following way.
> 1. Panic is occured by "sysrq c" on both Domain0 and DomainU.
> 2. On DomainU, coredump is generated in /var/xen/dump (on Domain0).
> On Domain0, crash_kexec() is called by panic() if implemented.
>
> I tested the below.
> 1. vi /etc/xen/xend-config.sxp
> (enabel-dump yes)
> 2. xm create -c domU
> echo 1 >/proc/sys/kernel/sysrq (on domU)
> 3. xm sysrq domU c (on dom0)
> 4. ls -lh /var/xen/dump
>
> Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
> Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
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.
Also, is this option really Xen specific. It seems it
might be just as useful in regular Linux.
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
next prev parent reply other threads:[~2006-08-01 3:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-01 3:11 [Patch] Enable "sysrq c" handler for domU coredump Akio Takebe
2006-08-01 3:48 ` Horms [this message]
2006-08-01 4:39 ` Akio Takebe
2006-08-01 6:48 ` Horms
2006-08-01 9:06 ` Akio Takebe
2006-08-01 9:26 ` Horms
2006-08-01 10:33 ` Akio Takebe
2006-08-03 0:18 ` [Patch][RFC] Support "xm dump" (is Re: Re: [Patch] Enable "sysrq c" handler for domU coredump) Akio Takebe
2006-08-03 0:26 ` John Levon
2006-08-03 6:09 ` Tristan Gingold
2006-08-03 11:10 ` Akio Takebe
2006-08-03 11:58 ` Tristan Gingold
2006-08-03 12:57 ` Akio Takebe
2006-08-07 18:04 ` John Levon
2006-08-03 1:50 ` Horms
2006-08-03 11:10 ` Akio Takebe
2006-08-01 8:03 ` [Patch] Enable "sysrq c" handler for domU coredump Keir Fraser
2006-08-01 8:15 ` Muli Ben-Yehuda
2006-08-01 8:12 ` Keir Fraser
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=20060801034824.GD13414@verge.net.au \
--to=horms@verge.net.au \
--cc=kouya@jp.fujitsu.com \
--cc=takebe_akio@jp.fujitsu.com \
--cc=xen-devel@lists.xensource.com \
/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.