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-users

[Xen-users] Re: Core Dump of a 64 bit domU from 32 bit dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Core Dump of a 64 bit domU from 32 bit dom0
From: Puneet Lakhina <puneet.lakhina@xxxxxxxxx>
Date: Thu, 20 May 2010 10:18:43 -0700
Delivery-date: Thu, 20 May 2010 10:20:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=vA6xdV6sNIGfUhLLHDKhF0OW9baufLWuVXndVKihkYI=; b=KQhmw6Sxw68LXEHLSHvF76gT+VWgh48o+YcowcOK2A6DoWyYn/7Pr8WqiGrw/2/ZNG lC4TPKx+5ermAI9SmyWqHBIj4rbFEcd5zq2reKKpEhgCaAGn9CVOlRO7tivJ25oJUXT/ 1K5SkzGuf3gvfxct8THXoBusDuXM8HmwE3Zdo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BWpkzxoP/PcYU1Z5BOWZlIk8FegXwGaoowzfiJBuIaxxjMpjiEZRoMMoBpDrh9hfqm 2N/SkBaPGwv0TgsO/Sj47qFq3bq5TbfCkdpAYZXQH7H+Ns1emhWYhfi702cubR2UuSeY XYYoyMMPmUGoyMMjOXxRCTgmqhr87sV81cOj0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimzePxsCwyqCc9UPcUqpR4RIIAyED6qpEbByocz@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimzePxsCwyqCc9UPcUqpR4RIIAyED6qpEbByocz@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
For anyone who stumbles on this, there is a patch that fixes the issue.

http://old.nabble.com/-xen-unstable--libxc:-Fix-32-vs-64-bitness-issue-in-saving-vcpu-contexts-in-core-dump-td26528092.html

On Tue, May 18, 2010 at 11:25, Puneet Lakhina <puneet.lakhina@xxxxxxxxx> wrote:
> Hi,
>
> I have a setup in which the hypervisor and my domU are 64 bit but the
> dom0 is 32 bit. Now when I try to core dump my domU from the dom0, the
> ".xen_prstatus" section of the elf file contains data based on 32 bit
> struct sizes instead of 64 bit struct sizes (vcpu_guest_context *
> noOfVcpus). That is the size of that section is 2800 * no of vcpus
> (http://lxr.xensource.com/lxr/source/tools/include/xen-foreign/reference.size)
> instead of 5168 * no of cpus.
>
> Is there any way to get the right data in the core dump file?
>
> --
> Regards,
> Puneet
> http://www.cs.ucsb.edu/~puneet
>



-- 
Regards,
Puneet
http://www.cs.ucsb.edu/~puneet

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

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