[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] EFI boot unsuccessful with Ubuntu 18.04 dom0



>> Can anyone shed some light on this? Or some way to get any debug 
>> information from the boot process inside Xen? I am totally clueless here.

I recently ended up with no-longer-bootable Xen on EFI, where it had worked 
well before.

The fix, for me, required applying a patch to upstream version of libefivar1,

        
https://github.com/rhboot/efibootmgr/commit/99b578501643377e0b1994b2a068b790d189d5ad

more detail here,

        https://bugzilla.opensuse.org/show_bug.cgi?id=1122044

Don't know if the following is helpful/relevant to *your* particular situation 
(different versions of, well, everything), but since is IS in the "*used* to 
boot on EFI, until recently" category ... maybe something will help.

My relevant/current setup is,

        lsb_release -rd
                Description:    openSUSE Leap 15.0
                Release:        15.0

        uname -rm
                4.20.12-lp150.2.gb35c1fc-default x86_64

        cat /boot/grub2/xen-4.12.0_03-lp150.628.cfg
                [global]

                [config.1]
                options=dom0_mem=4016M,max:4096M bootscrub=false 
dom0_max_vcpus=4 com1=115200,8n1,pci console=com1,vga console_timestamps 
console_to_ring conring_size=64 sched=credit2 reboot=acpi ucode=scan 
iommu=verbose

                kernel=vmlinuz-4.20.12-lp150.4.gb35c1fc-default 
root=/dev/mapper/VG0 softlevel=xen rd.shell rd.debug=0 
rd.udev.log_priority=debug rd.auto=1 dolvm lvmwait=/dev/mapper/VG0 
root=/dev/mapper/VG0 rootfstype=ext4 rootflags=journal_checksum noresume 
nomodeset xencons=xvc console=tty0 console=hvc0 clocksource=xen 
scsi_mod.use_blk_mq=1 elevator=mq-deadline showopts noquiet 
systemd.log_target=kmsg earlyprintk=xen,keep

                ramdisk=initrd-4.20.12-lp150.4.gb35c1fc-default

        efibootmgr -v
                BootCurrent: 0000
                Timeout: 1 seconds
                BootOrder: 0000,0001
                Boot0000* suse-xen 
HD(2,GPT,9858f77d-e12d-3d71-55c5-1c471746c47b,0x1000,0x96000)/File(\EFI\OPENSUSE\GRUBX64.EFI)
                Boot0001* UEFI: Built-in EFI Shell      
VenMedia(5155b11d-dc11-c587-d118-ce1d644c8053)..BO

        tree /boot/efi/
                /boot/efi/
                ├── [root            4096]  EFI
                │   └── [root            4096]  opensuse
                │       ├── [root          142848]  grubx64.efi
                │       ├── [root             685]  grub.xen-files
                │       ├── [root        18333332]  
initrd-4.20.12-lp150.4.gb35c1fc-default
                │       ├── [root         8228280]  
vmlinuz-4.20.12-lp150.4.gb35c1fc-default
                │       ├── [root            5342]  xen-4.12.0_03-lp150.628.cfg
                │       └── [root         2727072]  xen-4.12.0_03-lp150.628.efi
                └── [root              30]  startup.nsh

        cat  /boot/efi/startup.nsh
                fs0:\EFI\opensuse\grubx64.efi

        mount | grep -i efi
                efivarfs on /sys/firmware/efi/efivars type efivarfs 
(rw,nosuid,nodev,noexec,relatime)

        rpm -qa | egrep -i "xen|qemu|efi|grub|ovmf" | sort
                efibootmgr-999.git.20180613.99b5785-lp150.5.11.x86_64
                efivar-devel-999.git.20190107.8f80379-lp150.4.11.x86_64
                grub2-2.02-lp150.62.1.x86_64
                grub2-i386-pc-2.02-lp150.62.1.noarch
                grub2-systemd-sleep-plugin-2.02-lp150.62.1.noarch
                grub2-x86_64-efi-2.02-lp150.62.1.noarch
                grub2-x86_64-xen-2.02-lp150.62.1.noarch
                libefivar1-999.git.20190107.8f80379-lp150.4.11.x86_64
                ovmf-2019+git1550452308.c417c1b33d06-lp150.95.1.x86_64
                ovmf-tools-2019+git1550452308.c417c1b33d06-lp150.95.1.x86_64
                qemu-3.1.0-lp150.502.5.x86_64
                ...
                qemu-linux-user-3.1.0-lp150.502.1.x86_64
                
qemu-ovmf-x86_64-2019+git1550452308.c417c1b33d06-lp150.95.1.noarch
                qemu-seabios-1.12.0-lp150.502.5.noarch
                ...
                qemu-tools-3.1.0-lp150.502.5.x86_64
                qemu-vgabios-1.12.0-lp150.502.5.noarch
                qemu-x86-3.1.0-lp150.502.5.x86_64
                xen-4.12.0_03-lp150.628.3.x86_64
                xen-libs-4.12.0_03-lp150.628.3.x86_64
                xen-tools-4.12.0_03-lp150.628.3.x86_64


Note in particular those efi *999.git* patched versions ...

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.