Skip to contentSkip to conversation

Likely regression in efi=no-rs option

Xen-devel Rich Persaud 2 participants 2 messages Nov 19, 2019

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Roman Shaposhnik

Ok, to sum up -- there's definitely a pretty major regression on all this hardware with Xen 4.13 RC2:
https://www.dell.com/en-us/work/shop/gateways-embedded-computing/sc/gateways-embedded-pcs/edge-gateway?~ck=bt

Without efi=no-rs option Xen panics on boot (sorry for attaching the screenshot -- I know it is not super helpful but it gets the point across)

I don't think the screenshot came through..

By "without efi=no-rs" do you mean "efi=rs" or no explicit value for efi on the Xen command line?

Quoted 1 line

With efi=no-rs Xen boots fine, but Dom0 can't come up.

Is that with RC2, or RC2 + the recent patch from Marek for efi=no-rs? Any serial logs from dom0 boot? Can you share the dom0 kernel command line with all options?

Thanks,
Rich

Quoted 33 lines

And, once again, this is clearly a regression from RC1 (just verified).

Thanks,
Roman.

Quoted 28 lines
Quoted 1 line
Quoted 1 line · Rich Persaud

I don't know if there's a change in efi=no-rs behavior, but some EFI fixes were merged on 10/25, which (on some machines) have reduced the need to disable UEFI runtime services to work around non-spec UEFI firmware. This should increase hardware compatibility with Xen. Of course, there could still be other reasons to disable UEFI runtime services. Could you try booting the affected systems with efi=rs?
Rich

Quoted 24 lines
Quoted 1 line · Roman Shaposhnik

Hi!
as I've reported earlier -- part of my testing of Xen 4.13 RC2 failed in a massive way with Dom0 never coming up. I've traced that problem to the option that we're using to boot Xen:
efi=no-rs
We've been using this option for quite sometime and Xen 4.13 RC2 is the first one that seems to make Dom0 boot fail with this option present (note that RC1 was fine).
I was wondering whether there were any changes in the areas related to UEFI in Xen that may have triggered this.
Here's the boot line that works with RC2:
dom0_mem=1024M,max:1024M dom0_max_vcpus=1 dom0_vcpus_pin smt=false adding efi=no-rs make Dom0 boot process fail:
efi=no-rs dom0_mem=1024M,max:1024M dom0_max_vcpus=1 dom0_vcpus_pin smt=false Attaching xl info and dmesg just in case
Thanks,
Roman.
<dmesg.txt>
<info.txt>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

#1 lore raw
Quoted 7 lines · Rich Persaud
Quoted 5 lines · Roman Shaposhnik

Ok, to sum up -- there's definitely a pretty major regression on all this hardware with Xen 4.13 RC2:
https://www.dell.com/en-us/work/shop/gateways-embedded-computing/sc/gateways-embedded-pcs/edge-gateway?~ck=bt

Quoted 5 lines
Quoted 3 lines

Without efi=no-rs option Xen panics on boot (sorry for attaching the screenshot -- I know it is not super helpful but it gets the point across)

I don't think the screenshot came through..

Somehow I managed to attach it to my reply to Marek ;-)

    https://lists.xenproject.org/archives/html/xen-devel/2019-11/jpgQ5AktZzvAH.jpg
Quoted 1 line

By "without efi=no-rs" do you mean "efi=rs" or no explicit value for efi on the Xen command line?

No explicit value. Is there a difference? I assumed default (no explicit value) means efi=rs -- am I mistaken?

Quoted 3 lines
Quoted 1 line

With efi=no-rs Xen boots fine, but Dom0 can't come up.

Is that with RC2, or RC2 + the recent patch from Marek for efi=no-rs?

Just vanilla RC2 -- like I said -- I think I have trouble building his with patch (see my reply to him).

Quoted 1 line

Any serial logs from dom0 boot? Can you share the dom0 kernel command line with all options?

Would be happy to share them once I get to the lab (and hopefully by that time I can figure out how to build with Marek's patch).

Thanks,
Roman.

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