Skip to contentSkip to conversation

xen-4.8-rc7 in Stretch with linux-image 4.8 fails to boot domU with pv-grub

DISCUSSION Mark Pryor 3 participants 4 messages Nov 30, 2016 – Dec 2, 2016 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mark Pryor

author
#1 lore raw

List,
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 with pv-grub:     https://paste.debian.net/plain/899726
from config/Tools.mk: ZLIB   :=  -DHAVE_BZLIB -lbz2 -DHAVE_LZMA -llzma -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 suspect some interaction with xl.

I found the exact same behavior in Ubuntu Xenial, that is none of my pv-grub domU start. However regular pygrub, and pv-grub2 are working fine to boot the same domU.

Such a small handful of patches in the last 7 days caused this. I can't narrow it down, so this report will do. PryMar56

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 30.11.16 at 01:29, <[email protected]> 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 with
pv-grub: https://paste.debian.net/plain/899726
from config/Tools.mk: ZLIB := -DHAVE_BZLIB -lbz2 -DHAVE_LZMA -llzma
-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 suspect some interaction with xl.

Quoted 6 lines

I found the exact same behavior in Ubuntu Xenial, that is none of my pv-grub domU start.
However regular pygrub, and pv-grub2 are working fine to boot the same domU.

Such a small handful of patches in the last 7 days caused this. I can't narrow it down, so this report will do.

The log you've pointed to does not appear to have any indication of a failure, so I'm not sure what you expect anyone to deduce from it. Also none of the commits since rc6 look in any way suspicious, so I'm afraid we'll need some more data (unless someone can repro and debug).

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 10 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 30.11.16 at 01:29, <[email protected]> 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 with
pv-grub: https://paste.debian.net/plain/899726
from config/Tools.mk: ZLIB := -DHAVE_BZLIB -lbz2 -DHAVE_LZMA -llzma
-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 suspect some interaction with xl.

Quoted 3 lines
Quoted 3 lines

I found the exact same behavior in Ubuntu 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 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

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#5 lore raw

Sorry for the noise. I had the debian build flags like:====== flags ======= DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS=hardening=-pie======= snip ======
this caused pv-grub to fail to boot domUOnce I usedexport DEB_BUILD_MAINT_OPTIONS=hardening=-all and rebuilt, things were good again.
PryMar56

On Wednesday, November 30, 2016 3:59 AM, Juergen Gross <[email protected]> wrote:

Quoted 10 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 30.11.16 at 01:29, <[email protected]> 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 with pv-grub:    https://paste.debian.net/plain/899726
from config/Tools.mk: ZLIB  :=  -DHAVE_BZLIB -lbz2 -DHAVE_LZMA -llzma -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 suspect some interaction with xl.

Quoted 3 lines
Quoted 3 lines

I found the exact same behavior in Ubuntu 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 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

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel