WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [PATCH]: kexec: framework and i386

To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH]: kexec: framework and i386
From: "Kazuo Moriwaka" <moriwaka@xxxxxxxxxxxxx>
Date: Wed, 10 May 2006 15:49:03 +0900
Cc: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>, Magnus Damm <magnus@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx>, horms-home@xxxxxxxxxxxx
Delivery-date: Tue, 09 May 2006 23:49:29 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=KJXM7W2Hd0TaB4ywXTy2FGzkReBcqCDCZxgy2UI3DlxVOlTJKxqBZC0J1ncisYFKfDqnDvqsASees1tPFfAUAyLKx0hLTmKlArBAeBcORC+/8+ukPoGrOy9QQvOHrBXX4Ibo7bQ7uhqGgim0DsaeYAM0cjo8pqTzJlwr3YovpZ8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <b294a32a0604231816i1be50586k9c788bf134f50b59@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: <A95E2296287EAD4EB592B5DEEFCE0E9D4BA3F4@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <b294a32a0604231816i1be50586k9c788bf134f50b59@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I'll send a patch for dom0 image extract (from kdump) script.

Update is..
- get register values in dom0 context from kdump's ELF Core PT_NOTE header.
- get cr3 register value in context info from vcpu.
- now you can look vmlinux symbols from gdbserver-xen.

Todo:
- It support only single processor now.
- ELF Core output.

On 4/24/06, Kazuo Moriwaka <moriwaka@xxxxxxxxxxxxx> wrote:
Hi,

On 4/24/06, Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx> wrote:
> > When a panic occurs, Linux kexec jumps into the preloaded
> > kdump kernel (if any).  This kernel then reinitiases the
> > hardware, using its own device drivers and uses these to
> > write out the dump to disk.  ISTR that the dump format is
> > currently ELF, although I remember some talk on the Fastboot
> > ML about adding some extra headers to make OS debugging easier.
>
> Is Xen and the dom0 kernel dumped as as separate ELF cores?

I'm working on clipping domain image from whole-machine dump for x86_32 now.
Now my prototype reads ELF core and write dom0 image.

todo:
- Output format is not ELF core yet. Xen domain core image
format(works with gdbserverxen).
- register information is not work well.

--
Kazuo Moriwaka

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

<Prev in Thread] Current Thread [Next in Thread>