[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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@xxxxxxxxxxxxxx>
> Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

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/


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.