From: Boris Derzhavets Subject: Re: Re: Problem with Xen 4.1 on Ubuntu 11.10 ( Oneiric Ocelot) (HVM DomUs crash) Date: Tue, 19 Jul 2011 12:44:08 -0700 (PDT) Message-ID: <1311104648.63711.YahooMailClassic@web65914.mail.ac4.yahoo.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2018675351==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini , Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , Keir Fraser , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org --===============2018675351== Content-Type: multipart/alternative; boundary="0-854268594-1311104648=:63711" --0-854268594-1311104648=:63711 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Yes, hvmloader been built under xen-unstable.hg on the same alpha 2, works = fine been copied=A0 to=A0=A0 /usr/lib/xen-4.1/boot/ root@boris-P5Q-E:/usr/lib/xen-4.1/boot# ls -l total 992 -rw-r--r-- 1 root root 544700 2011-07-19 23:27 hvmloader -rw-r--r-- 1 root root 470985 2011-06-04 23:42 hvmloader.orig Boris --- On Tue, 7/19/11, Stefano Stabellini = wrote: From: Stefano Stabellini Subject: [Xen-devel] Re: Problem with Xen 4.1 on Ubuntu 11.10 ( Oneiric Oce= lot) (HVM DomUs crash) To: "Stefano Stabellini" Cc: "Boris Derzhavets" , "xen-devel@lists.xensource.= com" , "Keir Fraser" , "Konrad= Rzeszutek Wilk" Date: Tuesday, July 19, 2011, 2:01 PM On Tue, 19 Jul 2011, Stefano Stabellini wrote: > On Tue, 19 Jul 2011, Boris Derzhavets wrote: > > Alpha 2 already has Xen 4.1 packaged and ready for testing. > > It appears to be known bug that HVM=A0 DomUs crash at Xen 4.1 Dom0 with= different "pvops'' > > kernels ( in particular 3.0.0-5-generic Ubuntu) , but not only on Ubunt= u . > > Here is report for Fedora 15 : > >=20 > > http://www.gossamer-threads.com/lists/xen/users/213049?nohighlight=3D1#= 213049 > >=20 > > Ubuntu developers are pretty sure that Xen Host will be built with no p= roblems. > > Would it=A0 be possible to issue a patch for Xen=A0 4.1 to fix the=A0 p= roblem ? > > Actually two distros are affected Fedora 16 and Ubuntu 11.10 ( maybe De= bian=A0 - here > > i am not sure ) >=20 > First we need to understand what the problem is. I wasn't aware of this > issue before you started a thread yesterday and nothing meaningful > appears in any of the logs posted. >=20 > Now I am trying to reproduce the problem but so far I didn't have any > luck: I am testing with the same kernel config and VM config you use > with plain Linux 3.0.0 rc7, I tried both xen 4.1.0 and xen 4.1.1 but I > still can start hvm guests with no troubles. >=20 > However all my tests are on Debian 6.0.1, I am downloading alpha 2 to > see if I can reproduce the bug there. I managed to repro the issue on alpha 2. These are the error logs that I get on the xen serial when starting an HVM guest: (XEN) HVM1: HVM Loader (XEN) io.c:194:d1 MMIO emulation failed @ 0018:9ffff: 00 e0 de be 00 83 (XEN) hvm.c:1099:d1 Triple fault on VCPU0 - invoking HVM system reset. The problem appears to be hvmloader, in fact I replaced the hvmloader that comes with ubuntu alpha 2 with the one I compiled myself out of xen 4.1.1 and everything worked as expected. Do you have any patches to xen that might have broken hvmloader? -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --0-854268594-1311104648=:63711 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Yes, hvmloader been built under xen-unstable.= hg on the same alpha 2, works fine been copied  to   /usr/li= b/xen-4.1/boot/

root@boris-P5Q-E:/usr/lib/xen-4.1/boot# ls -l
tot= al 992
-rw-r--r-- 1 root root 544700 2011-07-19 23:27 hvmloader
-rw-r= --r-- 1 root root 470985 2011-06-04 23:42 hvmloader.orig

Boris
--- On Tue, 7/19/11, Stefano Stabellini <stefano.stabellini@eu.c= itrix.com> wrote:

From: Stefano = Stabellini <stefano.stabellini@eu.citrix.com>
Subject: [Xen-devel]= Re: Problem with Xen 4.1 on Ubuntu 11.10 ( Oneiric Ocelot) (HVM DomUs cras= h)
To: "Stefano Stabellini" <Stefano.Stabellini@eu.citrix.com>
= Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>, "Ke= ir Fraser" <keir@xen.org>, "Konrad Rzeszutek Wilk" <konrad.wilk@or= acle.com>
Date: Tuesday, July 19, 2011, 2:01 PM

On Tue, 19 Jul 2011, Stefano Stabellini wrote:
> On Tue, 1= 9 Jul 2011, Boris Derzhavets wrote:
> > Alpha 2 already has Xen 4.= 1 packaged and ready for testing.
> > It appears to be known bug t= hat HVM  DomUs crash at Xen 4.1 Dom0 with different "pvops''
> &= gt; kernels ( in particular 3.0.0-5-generic Ubuntu) , but not only on Ubunt= u .
> > Here is report for Fedora 15 :
> >
> > = http://www.gossamer-threads.com/lists/xen/= users/213049?nohighlight=3D1#213049
> >
> > Ubuntu d= evelopers are pretty sure that Xen Host will be built with no problems.
> > Would it  be possible to issue a patch for Xen=   4.1 to fix the  problem ?
> > Actually two distros are= affected Fedora 16 and Ubuntu 11.10 ( maybe Debian  - here
> &g= t; i am not sure )
>
> First we need to understand what the pr= oblem is. I wasn't aware of this
> issue before you started a thread = yesterday and nothing meaningful
> appears in any of the logs posted.=
>
> Now I am trying to reproduce the problem but so far I did= n't have any
> luck: I am testing with the same kernel config and VM = config you use
> with plain Linux 3.0.0 rc7, I tried both xen 4.1.0 a= nd xen 4.1.1 but I
> still can start hvm guests with no troubles.
= >
> However all my tests are on Debian 6.0.1, I am downloading al= pha 2 to
> see if I can reproduce the bug there.


I managed= to repro the issue on alpha 2.
These are the error logs that I get on the xen serial when starting an
HVM guest:

(XEN) HVM1: HV= M Loader
(XEN) io.c:194:d1 MMIO emulation failed @ 0018:9ffff: 00 e0 de = be 00 83
(XEN) hvm.c:1099:d1 Triple fault on VCPU0 - invoking HVM system= reset.

The problem appears to be hvmloader, in fact I replaced the = hvmloader
that comes with ubuntu alpha 2 with the one I compiled myself = out of xen
4.1.1 and everything worked as expected.
Do you have any p= atches to xen that might have broken hvmloader?

-----Inline Attach= ment Follows-----

_________________________= ______________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel=
--0-854268594-1311104648=:63711-- --===============2018675351== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2018675351==--