From: Mark Pryor Subject: Re: xen-4.8-rc7 in Stretch with linux-image 4.8 fails to boot domU with pv-grub Date: Fri, 2 Dec 2016 01:42:01 +0000 (UTC) Message-ID: <153227348.4294986.1480642921177@mail.yahoo.com> References: <2134982232.2735524.1480465741425.ref@mail.yahoo.com> <2134982232.2735524.1480465741425@mail.yahoo.com> <583EACC30200007800123966@suse.com> <8c4564be-902e-433d-5a25-ab39f8a6af3f@suse.com> Reply-To: Mark Pryor Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2555284675723904091==" Return-path: Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCcrV-00059I-MK for xen-devel@lists.xenproject.org; Fri, 02 Dec 2016 01:42:05 +0000 In-Reply-To: <8c4564be-902e-433d-5a25-ab39f8a6af3f@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Juergen Gross , Jan Beulich Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org --===============2555284675723904091== Content-Type: multipart/alternative; boundary="----=_Part_4294985_1647168370.1480642921175" Content-Length: 5753 ------=_Part_4294985_1647168370.1480642921175 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sorry for the noise. I had the debian build flags like:=3D=3D=3D=3D=3D=3D f= lags =3D=3D=3D=3D=3D=3D=3D DPKG_EXPORT_BUILDFLAGS =3D 1 include /usr/share/dpkg/default.mk export DEB_BUILD_MAINT_OPTIONS=3Dhardening=3D-pie=3D=3D=3D=3D=3D=3D=3D snip= =3D=3D=3D=3D=3D=3D this caused pv-grub to fail to boot domUOnce I usedexport DEB_BUILD_MAINT_O= PTIONS=3Dhardening=3D-all and rebuilt, things were good again. PryMar56 =20 On Wednesday, November 30, 2016 3:59 AM, Juergen Gross wrote: =20 On 30/11/16 10:41, Jan Beulich wrote: >>>> On 30.11.16 at 01:29, wrote: >> Built & packaged xen 4.8-rc7 in Stretch (deb9) today. >> xen-4.8-rc7 in Stretch with linux-image 4.8, fails to boot domU kernel w= ith=20 >> pv-grub:=C2=A0 =C2=A0 https://paste.debian.net/plain/899726=20 >> from config/Tools.mk: ZLIB=C2=A0 :=3D=C2=A0 -DHAVE_BZLIB -lbz2 -DHAVE_LZ= MA -llzma=20 >> -DHAVE_LZO1X -llzo2 >> this worked with 4.8-rc6, as of Nov. 23. >> I also tried to downgrade the pv-grub to 4.6 and it still failed, so I= =20 >> suspect some interaction with xl. >> >> I found the exact same behavior in Ubuntu Xenial, that is none of my pv-= grub=20 >> domU start. >> However regular pygrub, and pv-grub2 are working fine to boot the same d= omU. I can't reproduce this issue. pvgrub is working just fine booting either a 3.0 or a 4.9 pv-kernel (used a fresh xen git tree from staging). Can you please start the domain with xl create -c and have a look whether you see some error output from pvgrub? You might want to redirect output to a file or issue the command in a terminal window with logging enabled as the pvgrub menu will blank out some of the output. Juergen =20 ------=_Part_4294985_1647168370.1480642921175 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry for the noise. I had the debian build flags like:
=3D=3D=3D=3D=3D=3D flags =3D=3D=3D=3D= =3D=3D=3D
DPKG_EXPORT_BUILDFLA= GS =3D 1
include /usr/share/= dpkg/default.mk
export DEB_B= UILD_MAINT_OPTIONS=3Dhardening=3D-pie
=3D=3D=3D=3D=3D=3D=3D snip =3D=3D=3D=3D= =3D=3D
this caused pv-grub to fail to boot domU
Once I used
export DEB_BUILD_MAINT_OPTIONS=3Dhardening=3D-all

=
and rebuilt, t= hings were good again.

PryMar56


= On Wednesday, November 30, 2016 3:59 AM, J= uergen Gross <jgross@suse.com> wrote:


On 30/11/16 10:41, Jan Beulich wrote:
>>= ;>> On 30.11.16 at 01:29, <tlviewer@yahoo.com> wrote:
&= gt;> Built & packaged xen 4.8-rc7 in Stretch (deb9) today.
>&g= t; xen-4.8-rc7 in Stretch with linux-image 4.8, fails to boot domU kernel w= ith
>> pv-grub:    https://paste.debian.net/plain/899726 =
>> from config/Tools.mk: ZLIB  :=3D  -DHAVE_BZLIB -lbz= 2 -DHAVE_LZMA -llzma
>> -DHAVE_LZO1X -llzo2
>> this work= ed with 4.8-rc6, as of Nov. 23.
>> I also tried to downgrade the p= v-grub to 4.6 and it still failed, so I
>> suspect some interacti= on with xl.
>>
>> I found the exact same behavior in Ubun= tu Xenial, that is none of my pv-grub
>> domU start.
>> = However regular pygrub, and pv-grub2 are working fine to boot the same domU= .

I can't reproduce this issue. pvgrub is working just fine booting = either
a 3.0 or a 4.9 pv-kernel (used a fresh xen git tree from staging)= .

Can you please start the domain with

xl create -c <your-= config>

and have a look whether you see some error output from pv= grub? You
might want to redirect output to a file or issue the command i= n a
terminal window with logging enabled as the pvgrub menu will blankout some of the output.


Juergen


------=_Part_4294985_1647168370.1480642921175-- --===============2555284675723904091== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============2555284675723904091==--