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

[Xen-devel] Re: [Patch][RFC] makedumpfile: fix for xen-3.1.2

To: "Ken'ichi Ohmichi" <oomichi@xxxxxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, kexec-ml <kexec@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [Patch][RFC] makedumpfile: fix for xen-3.1.2
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Fri, 04 Apr 2008 19:48:47 +0900
Cc: Itsuro ODA <oda@xxxxxxxxxxxxx>, Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Delivery-date: Fri, 04 Apr 2008 03:51:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47F5FD6C.50702@xxxxxxxxxxxxxxxxx>
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: <D4C895FC097B62takebe_akio@xxxxxxxxxxxxxx> <47F5FD6C.50702@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, Ohmichi-san

Thank you very much for you report.

>Akio Takebe wrote:
>> This patch fixes makedumpfile for xen-3.1.
>> xen-3.1.2+ hypervisor doesn't have idle_pg_table_l3,
>> we need to find a symbole of idle_pg_table.
>
>Thank you for the patch !
>I tested your patch with RHEL5.2-beta, and it worked fine on i386 machine.
>But it doesn't work on x86_64 machine. makedumpfile went to the loop in
>kvtop_xen_x86_64(), and it failed with a segmentation fault:
>
>makedumpfile/x86_64.c
> 196         if ((dirp = kvtop_xen_x86_64(SYMBOL(pgd_l4))) == NOT_PADDR) <- 
>*HERE*
> 197                 return NOT_PADDR;
>
>
>If you know, please teach me. Should this patch fix the problem for
>not only the upstream but also RHEL5.2 ?
>Unfortunately I don't know the detail of xen, and I haven't used the
>upstream xen yet. 
Sorry for that. 
Yes, this patch will fix also RHEL5.2 because the base is 3.1.2.
https://www.redhat.com/archives/rhelv5-list/2008-March/msg00111.html

The bug may be occurred by changing __XEN_VIRT_START.
http://xenbits.xensource.com/xen-3.1-testing.hg?rev/a06a28ebad5d

So we may be able to fix it by changing DIRECTMAP_VIRT_START.

I didn't have x86_64 system.
I'll setup x86_64 system, and try to investigate it next week.

Best Regards,

Akio Takebe


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

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