Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891191 - sys-firmware/edk2-ovmf{,-bin}: version bump, add 4M firmwares
Summary: sys-firmware/edk2-ovmf{,-bin}: version bump, add 4M firmwares
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-17 12:45 UTC by Kenton Groombridge
Modified: 2023-10-29 06:13 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/qemu/firmware/30-edk2-ovmf-sb-enrolled.json (30-edk2-ovmf-sb-enrolled.json,751 bytes, application/json)
2023-05-23 10:31 UTC, Mads
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenton Groombridge gentoo-dev 2023-01-17 12:45:26 UTC
Please bump to 202211. This version also adds EFI firmwares with 4M space, which seems to be needed[1] to workaround issues installing certain Windows updates on guests (e.g. KB5017308, KB5012170).

[1] https://github.com/tianocore/edk2/discussions/3221#discussioncomment-3664708
Comment 1 Mads 2023-05-22 18:52:05 UTC
How do you solve this for gentoo? Just ripping the binaries from Fedora?
Comment 2 Mads 2023-05-22 19:30:55 UTC
I'm asking because I can't seem to find a simple way of making it work by just replacing the binaries/files, I'm getting

libvirt.libvirtError: operation failed: Unable to find any firmware to satisfy 'efi'
Comment 3 Mads 2023-05-23 07:36:11 UTC
Just adding this for visibility, since people might be Googling. Currently you cannot have a Windows 11 guest VM on Gentoo without the VM crashing on itself after Windows Update (boot failure following Automatic repair and then a reset user profile).

You have to manually provide the 4M version of these binaries, and then it works.
Comment 4 Mads 2023-05-23 10:31:37 UTC
Created attachment 862260 [details]
/etc/qemu/firmware/30-edk2-ovmf-sb-enrolled.json

Here's the qemu firmware json I need in /etc/qemu/firmware for making the new 4M firmwares work (when just overwriting the files with the 4M binaries from Fedora)
Comment 5 Mads 2023-06-02 08:53:27 UTC
The crashing and reset of user folders I was talking about were related to enabling BitLocker in Windows 11 VMs in qemu (which still doesn't work properly). The real symptom with this firmware issue is that applying the mentioned Windows Updates wont succeed. It also affects Windows 10 VMs.
Comment 6 Dyweni 2023-08-19 03:44:56 UTC
edk2-stable202305 is the latest released.

https://github.com/tianocore/edk2/releases/tag/edk2-stable202305
Comment 7 Another Mortal 2023-08-26 13:57:59 UTC
Does this package have a maintainer?

The latest in-tree version sys-firmware/edk2-ovmf-202202 is not only OLD,
it has also started failing to build...