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: xenpaging fixes for kernel and hypervisor

To: Patrick Colp <pjcolp@xxxxxxxxx>
Subject: [Xen-devel] Re: xenpaging fixes for kernel and hypervisor
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Wed, 22 Sep 2010 17:48:44 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 22 Sep 2010 08:49:26 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1285170526; l=1871; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=NRdz2cVfWHAqH1M1P05Nalk+oXw=; b=Ek+t0gjID1ZNo8kOO1FT67EBhHFgs8fXBy7KdFbEc1oe3QyDCS+T4UHhuCjyzFw974Z rwppJE9ikV5rJR1k3wZpU+wCXOfEBGfqAQIlXjZWQ8ggN/0mb0ZWG3mQ8lnKyHcCa8k7Q WxrV/H4l8RLjZP0G1fsklL41Ku6eID7dePQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100915160521.GA16644@xxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100915160521.GA16644@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
Patrick,

there are three more changes to make xenpaging more robust.
Do you need to ack each one to get them merged in xen-unstable?
Should any of these changes go also into the xen-4.0-testing tree for
the 4.0.2 release? If so, I will prepare the patches for this branch.


One more thing: In an earlier mail you mentioned that realmode support
is not there yet. However, in my testing I can run grub and the bios and
even boot into Linux a bit. So it appears there is realmode support,
perhaps still incomplete because the guest crashes in (appearently)
early Linux init functions:

(XEN) realmode.c:115:d1 Failed to emulate insn.
(XEN) realmode.c:165:d1 Real-mode emulation failed @ 9000:0000f81a: 0f 00 00 00 
00 00
(XEN) domain_crash called from realmode.c:166
(XEN) Domain 1 (vcpu#0) crashed on cpu#0:
(XEN) ----[ Xen-4.0.1_21326_01-20100922.141534  x86_64  debug=y  Tainted:    C 
]----
(XEN) CPU:    0
(XEN) RIP:    9000:[<000000000000f81a>]
(XEN) RFLAGS: 0000000000000246   CONTEXT: hvm guest
(XEN) rax: 0000000000000000   rbx: 0000000000008fb8   rcx: 0000000000000000
(XEN) rdx: 0000000000009000   rsi: 0000000000000008   rdi: 0000000000099fff
(XEN) rbp: 000000000000ffff   rsp: 0000000000001ff2   r8:  0000000000000000
(XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
(XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
(XEN) r15: 0000000000000000   cr0: 0000000000000010   cr4: 0000000000000000
(XEN) cr3: 0000000000000000   cr2: 0000000000000000
(XEN) ds: 0000   es: 9000   fs: 9000   gs: 9000   ss: 9000   cs: 9000
(XEN) cpupool_rm_domain(dom=1,pool=0) n_dom 1
[  127.709423] br0: port 2(vif1.0) entering disabled state
[  127.732999] br0: port 2(vif1.0) entering disabled state

I'm poking around and adding debug to the gfn_to_mfn* functions, but none 
triggers.
Where should I start looking for this kind of bug?

Olaf


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