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

Re: [Xen-devel] Xen 4.12.0 Dom0=pvh mode EFI variables 'not supported' after boot



On 4/18/19 5:52 AM, Roger Pau Monné wrote:
>> Given some of the build 'fun' I've been having today, I'll take a closer 
>> look at the patched kernel build in the morning -- to make doubly sure I 
>> actually built correctly.

finally! got that cleaned up.

> OK, that patch seemed to fix the issue for me, and I managed to get
> efibootmgr to display the firmware data from a PVH dom0.
> 
> Can you provide the full serial output of Xen plus Linux booting with
> dom0=pvh and the patch below applied?
> 
> Note that this is the previously provided patch with added debug
> messages.


with your latest patch applied, packages available from

        
https://build.opensuse.org/package/show/home:pgnd:Kernel:stable/kernel-source?expand=0


it appears to boot OK -- with EFI tools correctly functioning.

serial output includes,

        ...
        (XEN) [00000027b5faa36d] Bootloader: EFI
        (XEN) [00000027b6afda74] Command line: dom0=pvh dom0-iommu=map-reserved 
dom0_mem=4016M,max:4096M bootscrub=false dom0_max_vcp
        ...
        [    0.000000] efi: EFI v2.31 by American Megatrends
        [    0.000000] efi:  ESRT=0x9ef8d998  ACPI 2.0=0x9e819000  
ACPI=0x9e819000  SMBIOS=0xf04c0  MPS=0xfd490 
        ...
        [    3.780634] Registered efivars operations
        ...
        [    6.903746] EFI Variables Facility v0.08 2004-May-17
        ...
        [    6.992034] Couldn't get size: 0x800000000000000e
        [    6.997132] MODSIGN: Couldn't get UEFI db list
        [    7.002052] Couldn't get size: 0x800000000000000e
        [    7.007148] Couldn't get UEFI MokListRT
        [    7.011379] Couldn't get size: 0x800000000000000e
        [    7.016438] Couldn't get UEFI dbx list
        ...

xen's up,

        uname -rm
                5.0.8-21.g4835ec0-default x86_64

        xl list
                Name                                        ID   Mem VCPUs      
State   Time(s)
                Domain-0                                     0  4015     4     
r-----     117.1
                Xenstore                                     1    31     1     
-b----       0.0

as are efi tools

        efibootmgr -V
                version 17

        efibootmgr -v
                BootCurrent: 0000
                Timeout: 1 seconds
                BootOrder: 0000,0002,0003
                Boot0000* openSUSE-XSVR 
HD(2,GPT,981...)/File(\EFI\OPENSUSE\GRUBX64.EFI)
                Boot0002* UEFI OS       
HD(2,GPT,981...)/File(\EFI\BOOT\BOOTX64.EFI)..BO
                Boot0003* UEFI: Built-in EFI Shell      VenMedia(502...)..BO


assuming nothing's changed, other than logging, in your recent patch, the 
problem in my last attempt was due to the kernel build mess on my end; likely 
equal portions of buildsystem challenges and pebkac.




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

 


Rackspace

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