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

Re: [Xen-users] status of guest/DomU UEFI + Grub support in Xen 4.6.1?



I installed xen*, qemu* and libvirt*, etc packages in my Dom0, cloned from 
Olaf's repo

        https://build.opensuse.org/project/show/home:olh:xen-4.6


I re-installed the Arch guest, edited

        cat /boot/efi/loader/loader.conf
         default  arch
         timeout  4
         editor   0

        cat /boot/efi/loader/entries/arch.conf
         title    Arch
         linux    /vmlinuz-linux
         initrd   /initramfs-linux.img
         options  root=LABEL=ROOT resume=LABEL=SWAP rw

and ran

        mkinitcpio -p linux

and systemd's

        bootctl --path=/boot/efi install

so that in the Guest,

        tree /boot/efi
                /boot/efi
                |-- EFI
                |   |-- Boot
                |   |   `-- BOOTX64.EFI
                |   |-- arch
                |   |   |-- initramfs-linux-fallback.img
                |   |   |-- initramfs-linux.img
                |   |   `-- vmlinuz-linux
                |   `-- systemd
                |       `-- systemd-bootx64.efi
                `-- loader
                    |-- entries
                    |   `-- arch.conf
                    `-- loader.conf


and shutdown the installed Guest

At the Dom0 hose, I set the Guest config 

-       bios='seabios'
+       bios='ovmf'

and launched the Guest.

The Dom0's serial console now shows OVMF loading

        ...
        (d5) [2016-02-24 22:18:47] HVM Loader
        (d5) [2016-02-24 22:18:47] Detected Xen v4.620160218T142520
        (d5) [2016-02-24 22:18:47] Xenbus rings @0xfeffc000, event channel 1
        (d5) [2016-02-24 22:18:47] System requested OVMF
        (d5) [2016-02-24 22:18:47] CPU speed is 3093 MHz
        (d5) [2016-02-24 22:18:47] Relocating guest memory for lowmem MMIO 
space disabled
        (d5) [2016-02-24 22:18:47] PCI-ISA link 0 routed to IRQ5
        (d5) [2016-02-24 22:18:47] PCI-ISA link 1 routed to IRQ10
        (d5) [2016-02-24 22:18:47] PCI-ISA link 2 routed to IRQ11
        (d5) [2016-02-24 22:18:47] PCI-ISA link 3 routed to IRQ5
        (d5) [2016-02-24 22:18:47] pci dev 01:3 INTA->IRQ10
        (d5) [2016-02-24 22:18:47] pci dev 02:0 INTA->IRQ11
        (d5) [2016-02-24 22:18:47] pci dev 04:0 INTA->IRQ5
        (d5) [2016-02-24 22:18:47] pci dev 05:0 INTA->IRQ10
        (d5) [2016-02-24 22:18:47] No RAM in high memory; setting high_mem 
resource base to 100000000
        (d5) [2016-02-24 22:18:47] pci dev 02:0 bar 14 size 001000000: 0f0000008
        (d5) [2016-02-24 22:18:47] pci dev 03:0 bar 10 size 001000000: 0f1000008
        (d5) [2016-02-24 22:18:47] pci dev 04:0 bar 30 size 000040000: 0f2000000
        (d5) [2016-02-24 22:18:47] pci dev 04:0 bar 10 size 000020000: 0f2040000
        (d5) [2016-02-24 22:18:47] pci dev 03:0 bar 30 size 000010000: 0f2060000
        (d5) [2016-02-24 22:18:47] pci dev 03:0 bar 18 size 000001000: 0f2070000
        (d5) [2016-02-24 22:18:47] pci dev 05:0 bar 24 size 000001000: 0f2071000
        (d5) [2016-02-24 22:18:47] pci dev 02:0 bar 10 size 000000100: 00000c001
        (d5) [2016-02-24 22:18:47] pci dev 04:0 bar 14 size 000000040: 00000c101
        (d5) [2016-02-24 22:18:47] pci dev 05:0 bar 20 size 000000020: 00000c141
        (d5) [2016-02-24 22:18:47] pci dev 01:1 bar 20 size 000000010: 00000c161
        (d5) [2016-02-24 22:18:47] Multiprocessor initialisation:
        (d5) [2016-02-24 22:18:47]  - CPU0 ... 39-bit phys ... fixed MTRRs ... 
var MTRRs [1/8] ... d.
        (d5) [2016-02-24 22:18:47] Writing SMBIOS tables ...
        (d5) [2016-02-24 22:18:47] Loading OVMF ...
        (XEN) [2016-02-24 22:18:47] d5v0 Over-allocation for domain 5: 524545 > 
524544
        (d5) [2016-02-24 22:18:47] Loading ACPI ...
        (d5) [2016-02-24 22:18:47] vm86 TSS at fc00f900
        (d5) [2016-02-24 22:18:47] BIOS map:
        (d5) [2016-02-24 22:18:47]  fff00000-ffffffff: Main BIOS
        (d5) [2016-02-24 22:18:47] E820 table:
        (d5) [2016-02-24 22:18:47]  [00]: 00000000:00000000 - 
00000000:000a0000: RAM
        (d5) [2016-02-24 22:18:47]  HOLE: 00000000:000a0000 - 00000000:000f0000
        (d5) [2016-02-24 22:18:47]  [01]: 00000000:000f0000 - 
00000000:00100000: RESERVED
        (d5) [2016-02-24 22:18:47]  [02]: 00000000:00100000 - 
00000000:7efb0000: RAM
        (d5) [2016-02-24 22:18:47]  HOLE: 00000000:7efb0000 - 00000000:fc000000
        (d5) [2016-02-24 22:18:47]  [03]: 00000000:fc000000 - 
00000001:00000000: RESERVED
        (d5) [2016-02-24 22:18:47] Invoking OVMF ...
        ...


and the "-vvv" output at the shell launch

        Arch                                        
    Reboot Into Firmware Interface                         


        Error loading \vmlinuz-linux: Not Found
        Failed to execute Arch (\vmlinuz-linux): Not Found
        Boot Failed. EFI Misc Device
        Boot Failed. EFI Misc Device 1
        Boot Failed. EFI Misc Device 2
        Boot Failed. EFI Misc Device 3

        UEFI Interactive Shell v2.1
        EDK II
        UEFI v2.50 (EDK II, 0x00010000)
        Mapping table
              FS1: Alias(s):HD18a0a1:;BLK11:
                  
PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0x0,0x0)/HD(1,GPT,D03096FA-112E-48C8-A424-C6895F80FB86,0x800,0x3F7DF)
              FS0: Alias(s):HD11b:;BLK3:
                  
PciRoot(0x0)/Pci(0x2,0x0)/VenHw(3D3CA290-B9A5-11E3-B75D-B8AC6F7D65E6,010000CA)/HD(1,GPT,D03096FA-112E-48C8-A424-C6895F80FB86,0x800,0x3F7DF)
            BLK10: Alias(s):
                  PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0x0,0x0)
            BLK12: Alias(s):
                  PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x4,0x0,0x0)
            BLK14: Alias(s):
                  PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x5,0x0,0x0)
            BLK13: Alias(s):
                  
PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x4,0x0,0x0)/HD(1,GPT,DD13A4B6-110F-454A-9F4B-4D6BF75A6068,0x800,0x7F000)
            BLK15: Alias(s):
                  
PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x5,0x0,0x0)/HD(1,GPT,4E0DDABD-1D31-443E-BAA5-2B890AE6D814,0x800,0xFF000)
             BLK0: Alias(s):
                  PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x0)
             BLK1: Alias(s):
                  PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x1)
             BLK2: Alias(s):
                  
PciRoot(0x0)/Pci(0x2,0x0)/VenHw(3D3CA290-B9A5-11E3-B75D-B8AC6F7D65E6,010000CA)
             BLK4: Alias(s):
                  
PciRoot(0x0)/Pci(0x2,0x0)/VenHw(3D3CA290-B9A5-11E3-B75D-B8AC6F7D65E6,010040CA)
             BLK5: Alias(s):
                  
PciRoot(0x0)/Pci(0x2,0x0)/VenHw(3D3CA290-B9A5-11E3-B75D-B8AC6F7D65E6,010040CA)/HD(1,GPT,DD13A4B6-110F-454A-9F4B-4D6BF75A6068,0x800,0x7F000)
             BLK6: Alias(s):
                  
PciRoot(0x0)/Pci(0x2,0x0)/VenHw(3D3CA290-B9A5-11E3-B75D-B8AC6F7D65E6,010050CA)
             BLK7: Alias(s):
                  
PciRoot(0x0)/Pci(0x2,0x0)/VenHw(3D3CA290-B9A5-11E3-B75D-B8AC6F7D65E6,010050CA)/HD(1,GPT,4E0DDABD-1D31-443E-BAA5-2B890AE6D814,0x800,0xFF000)
             BLK8: Alias(s):
                  
PciRoot(0x0)/Pci(0x2,0x0)/VenHw(3D3CA290-B9A5-11E3-B75D-B8AC6F7D65E6,010060CA)
             BLK9: Alias(s):
                  
PciRoot(0x0)/Pci(0x2,0x0)/VenHw(3D3CA290-B9A5-11E3-B75D-B8AC6F7D65E6,010060CA)/HD(1,GPT,A00D9AD0-E3A2-4E7A-938A-1FA577A039AF,0x800,0x9FF000)
        Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
        Shell> 

So it looks like

  (1) Xen's loading OVMH-bios
  (2) "vmlinuz-linux" is in the wrong location on the Guest

If both are correct, what's the RIGHT location for "vmlinux-linux" on the 
Guest?  

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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