From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fanny Dwargee Subject: Re: Stub domain crash on Xen v4.6.1 Date: Thu, 7 Apr 2016 18:51:11 +0200 Message-ID: References: <20160406111218.GA10861@citrix.com> <20160407161343.GA18120@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3962447892979326465==" Return-path: In-Reply-To: <20160407161343.GA18120@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: xen-devel@lists.xen.org Cc: Wei Liu List-Id: xen-devel@lists.xenproject.org --===============3962447892979326465== Content-Type: multipart/alternative; boundary=001a11402016bd6b2f052fe7e202 --001a11402016bd6b2f052fe7e202 Content-Type: text/plain; charset=UTF-8 I'm sorry but this is my first attempt to use stubdom. This is a test machine so feel free to propose xen recompilation adding printk's/obscured options or settings modification. With regards, Fanny 2016-04-07 18:13 GMT+02:00 Wei Liu : > On Wed, Apr 06, 2016 at 02:49:19PM +0200, Fanny Dwargee wrote: > > Hi Wei, > > > > first: thanks for your effort. :) > > > > Find attached the 'xl create' output and the > > /var/log/xen/console/hypervisor.log > > files after creating the same domain without the > > 'device_model_stubdomain_override' configuration option. > > > > 'xl list' command output... > > Name ID Mem VCPUs State Time(s) > > Domain-0 0 1023 2 r----- 11608.1 > > win7-sp1-x64-2 28 2048 1 ------ 0.4 > > > > I was hoping that you somehow had a running setup with stubdom enabled. > Have you tried earlier version of Xen or is this your first attempt to > use stubdom? > > Wei. > > > Regards, > > > > Fanny > > > > > > > > > > 2016-04-06 13:12 GMT+02:00 Wei Liu : > > > > > On Tue, Apr 05, 2016 at 05:17:00PM +0200, Fanny Dwargee wrote: > > > > Hi, > > > > > > > > after adding the 'device_model_stubdomain_override = 1' to an > otherwise > > > > fine configuration the domain crashes on start. > > > > > > > > Xen is v4.6.1 compiled from source on Debian Jessie 64bits this way: > > > > > > > > - ./configure --enable-stubdom --enable-githttp > > > > - make dist-xen > > > > - make dist-tools > > > > - make dist-stubdom > > > > - make install-xen > > > > - make install-tools > > > > - make install-stubdom > > > > > > > > As pointed out before the same configuration file without the ' > > > > device_model_stubdomain_override' works flawlessly. > > > > > > > > This is the 'xl list' command output while the domain is starting: > > > > > > > > Name ID Mem VCPUs State Time(s) > > > > Domain-0 0 1022 2 r----- 318.3 > > > > win7-sp1-x64-2 20 2048 1 r----- 5.5 > > > > win7-sp1-x64-2-dm 21 44 1 r----- 6.0 > > > > > > > > > > > > As you can see both domains are started (the stub and the original > > > domain) > > > > > > > > Find attached the domain configuration file, 'xl info' output, 'xl > > > create' > > > > output and the /var/log/xen/console/hypervisor.log file, notice the > grant > > > > table error on console-hypervisor.log > > > > > > > > I'd very grateful for any help finding the cause of this problem. > > > > > > > > > > > > > The hypervsior log show some error, but unfortunately it is not > > > immediately clear what went wrong. > > > > > > Do you have a working base line setup so that I can compare the > > > difference? > > > > > > Wei. > > > > > > > Best regards, > > > > > > > > Fanny > > > > > > > > > > --001a11402016bd6b2f052fe7e202 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm sorry but this is my first attempt to use stubdom.=

This is a test machine so feel free to propose xen reco= mpilation adding printk's/obscured options or settings modification.

With regards,

Fanny

2016-04-07 18= :13 GMT+02:00 Wei Liu <wei.liu2@citrix.com>:
On Wed, Apr 06, 2016 at 02:49:19PM +0= 200, Fanny Dwargee wrote:
> Hi Wei,
>
> first: thanks for your effort. :)
>
> Find attached the 'xl create' output and the
> /var/log/xen/console/hypervisor.log
> files after creating the same domain without the
> 'device_model_stubdomain_override' configuration option.
>
> 'xl list' command output...
> Name=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ID= =C2=A0 =C2=A0Mem VCPUs=C2=A0 =C2=A0 =C2=A0 State=C2=A0 =C2=A0Time(s)
> Domain-0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0=C2=A0 1023= =C2=A0 =C2=A0 =C2=A02=C2=A0 =C2=A0 =C2=A0r-----=C2=A0 =C2=A011608.1
> win7-sp1-x64-2=C2=A0 =C2=A0 =C2=A0 =C2=A028=C2=A0 2048=C2=A0 =C2=A0 = =C2=A01=C2=A0 =C2=A0 =C2=A0------=C2=A0 =C2=A0 =C2=A0 =C2=A00.4
>

I was hoping that you somehow had a running setup with stubdom enabl= ed.
Have you tried earlier version of Xen or is this your first attempt to
use stubdom?

Wei.

> Regards,
>
> Fanny
>
>
>
>
> 2016-04-06 13:12 GMT+02:00 Wei Liu <wei.liu2@citrix.com>:
>
> > On Tue, Apr 05, 2016 at 05:17:00PM +0200, Fanny Dwargee wrote: > > > Hi,
> > >
> > > after adding the 'device_model_stubdomain_override =3D 1= ' to an otherwise
> > > fine configuration the domain crashes on start.
> > >
> > > Xen is v4.6.1 compiled from source on Debian Jessie 64bits t= his way:
> > >
> > >=C2=A0 =C2=A0 - ./configure --enable-stubdom --enable-githttp=
> > >=C2=A0 =C2=A0 - make dist-xen
> > >=C2=A0 =C2=A0 - make dist-tools
> > >=C2=A0 =C2=A0 - make dist-stubdom
> > >=C2=A0 =C2=A0 - make install-xen
> > >=C2=A0 =C2=A0 - make install-tools
> > >=C2=A0 =C2=A0 - make install-stubdom
> > >
> > > As pointed out before the same configuration file without th= e '
> > > device_model_stubdomain_override' works flawlessly.
> > >
> > > This is the 'xl list' command output while the domai= n is starting:
> > >
> > > Name=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 ID=C2=A0 =C2=A0Mem VCPUs=C2=A0 =C2=A0 =C2=A0 State=C2=A0 =C2= =A0Time(s)
> > > Domain-0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A00=C2=A0 1022=C2=A0 =C2=A0 =C2=A02=C2=A0 =C2=A0 =C2=A0r-----=C2=A0= =C2=A0 =C2=A0318.3
> > > win7-sp1-x64-2=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 20=C2=A0 20= 48=C2=A0 =C2=A0 =C2=A01=C2=A0 =C2=A0 =C2=A0r-----=C2=A0 =C2=A0 =C2=A0 =C2= =A05.5
> > > win7-sp1-x64-2-dm=C2=A0 =C2=A0 =C2=A0 =C2=A021=C2=A0 =C2=A0 = 44=C2=A0 =C2=A0 =C2=A01=C2=A0 =C2=A0 =C2=A0r-----=C2=A0 =C2=A0 =C2=A0 =C2= =A06.0
> > >
> > >
> > > As you can see both domains are started (the stub and the or= iginal
> > domain)
> > >
> > > Find attached the domain configuration file, 'xl info= 9; output, 'xl
> > create'
> > > output and the /var/log/xen/console/hypervisor.log file, not= ice the grant
> > > table error on console-hypervisor.log
> > >
> > > I'd very grateful for any help finding the cause of this= problem.
> > >
> >
> >
> > The hypervsior log show some error, but unfortunately it is not > > immediately clear what went wrong.
> >
> > Do you have a working base line setup so that I can compare the > > difference?
> >
> > Wei.
> >
> > > Best regards,
> > >
> > > Fanny
> >
> >




--001a11402016bd6b2f052fe7e202-- --===============3962447892979326465== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============3962447892979326465==--