Mailinglist Archive: opensuse-bugs (4250 mails)

< Previous Next >
[Bug 1018741] after Xen 4.7 -> 4.8 upgrade, Xen PVHVM/UEFI guests fail to boot; hang @~ OVMF
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 12 Jan 2017 15:05:35 +0000
  • Message-id: <bug-1018741-21960-3W7CrI9JgE@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1018741
http://bugzilla.opensuse.org/show_bug.cgi?id=1018741#c38

--- Comment #38 from lists dev <lists@xxxxxxxxxxxx> ---
2) The system failed at initrd.
Per comment#16, the system dropped into the dracut emergency shell. Does
Leap 42.2 DVD work? Just wonder whether there is anything missing in
initrd.

Starting with

cat guest.cfg
...
bios = 'ovmf'
bios_path_override = '/usr/share/qemu/ovmf-x86_64.bin'
...

in order to DISABLE secureboot

I enetered Guest chroot
exec'd

mkinitrd -v

noted

...
I: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force
/boot/initrd-4.1.12-1-default 4.1.12-1-default
...

version 4.1.12? That exists neither on Dom0 or in DomU.

Is that hardcoded?

In any case, it completes ... and the Guest is unbootable, as before
exec'ing instead

K="4.9.2-2.g2d3c294"
R="/dev/mapper/VG0_T_ROOT1"
mkinitrd -v -A \
-k /boot/vmlinuz-${K}-default \
-i /boot/initrd-${K}-default \
-M /boot/System.map-${K}-default \
-d ${R}

ls -al /boot/
...
lrwxrwxrwx 1 root root 31 Jan 10 08:34 initrd ->
initrd-4.9.2-2.g2d3c294-default
-rw------- 1 root root 33M Jan 12 06:34 initrd-4.9.2-2.g2d3c294-default
...

exited the chroot
launched the Guest

Guest boot is now successful. Guest is up and running.

Repeating, but without the 'monster' init

- mkinitrd -v -A \
+ mkinitrd -v \

after chroot exit, guest launch FAILs, never completing.

Sanity check repeat with

- mkinitrd -v \
+ mkinitrd -v -A \

, Guest is up and running again.

Your suspicion that the initrd's "missing something" sounds about right ...

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References