[Bug 1873809] Re: disk-kvm.img aren't UEFI bootable

2020-04-20 Thread Stéphane Graber via ubuntu-bugs
Marking cloud-images side of this as Invalid since the images themselves are built correctly. Re-packing with an updated kernel boots just fine, so we only need to track this against linux-kvm. ** Changed in: cloud-images Status: New => Invalid ** Summary changed: - disk-kvm.img aren't

[Bug 1873809] Re: disk-kvm.img aren't UEFI bootable

2020-04-20 Thread Stéphane Graber via ubuntu-bugs
I've tested a kernel with CONFIG_EFI_STUB added (thanks cking!). This does boot with secureboot enabled, though the LXD agent fails to start due to lack of vsock. So in addition to CONFIG_EFI_STUB, it looks like we also need: - CONFIG_VSOCKETS - CONFIG_VIRTIO_VSOCKETS -

[Bug 1873809] Re: disk-kvm.img aren't UEFI bootable

2020-04-20 Thread Stéphane Graber via ubuntu-bugs
Ok, so the fact that we thought this worked is clearly the result from bad testing on our part, probably because of our simplestreams parsing code we fixed yesterday... We obviously still need to move LXD onto this images as booting the non- kvm images takes twice as long as it should (due to

[Bug 1873809] Re: disk-kvm.img aren't UEFI bootable

2020-04-20 Thread Colin Ian King
So I just tested the same focal kernel with: git diff diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu index b69d54e43965..1d4ac88b9db2 100644 --- a/debian.kvm/config/config.common.ubuntu +++ b/debian.kvm/config/config.common.ubuntu @@ -695,7 +695,7 @@

[Bug 1873809] Re: disk-kvm.img aren't UEFI bootable

2020-04-20 Thread Colin Ian King
Attached is the kvm 5.4 kernel config with the missing EFI stub config ** Attachment added: "config-5.4.0-1008-kvm.xz" https://bugs.launchpad.net/cloud-images/+bug/1873809/+attachment/5357161/+files/config-5.4.0-1008-kvm.xz -- You received this bug notification because you are a member of

[Bug 1873809] Re: disk-kvm.img aren't UEFI bootable

2020-04-20 Thread Robert C Jennings
@colin-king, Can we get that config option added for this kernel? ** Also affects: linux-kvm (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1873809