The /usr/share/seabios directory only contains a bios-256k.bin file. The bios.bin file has been removed during update from seabios-1.12.0-r1 to seabios-1.14.0 # grep bios.bin /var/log/portage/build/sys-firmware/seabios-1.12.0-r1\:20210405-104504.log <<< obj /usr/share/seabios/bios.bin Yet the ebuild still links to the file: if [[ -n ${softmmu_targets} ]]; then # Remove SeaBIOS since we're using the SeaBIOS packaged one rm "${ED}/usr/share/qemu/bios.bin" rm "${ED}/usr/share/qemu/bios-256k.bin" if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then dosym ../seabios/bios.bin /usr/share/qemu/bios.bin dosym ../seabios/bios-256k.bin /usr/share/qemu/bios-256k.bin fi Reproducible: Always emerge --info attached as file due to length restriction.
Created attachment 697767 [details] emerge-info-qemu-5.2.0-r50.txt output of emerge --info =qemu-5.2.0-r50
Created attachment 697770 [details] qemu-5.2.0-r50:20210405-154207.log.xz build log
Given that x86 machines booth just fine does it mean this symlink is not used for anything? Or we need to pass something special to qemu?
Ah, it's because default machine uses bios-256k.bin, but we can try to force something older and it does not work: $ qemu-system-i386 -machine isapc qemu: could not load PC BIOS 'bios.bin'
Matthias notes we used to ship fedora's bios.bin for previous releases as ebuild is not able to fet the result into 128kb. fedora has no(?) 1.14 binaries. And it would be nice to get gentoo's USE=-binary to fit into 128kb. Once we restore it the symlink should not be orphan anymore. Worst case we can remove a bunch of functionality like AHCI and some SCSI targets. We need about 10kb.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2dac934e9aa05af7d567f88028a14939c2ae7b0 commit d2dac934e9aa05af7d567f88028a14939c2ae7b0 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-05-01 22:32:13 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-05-01 22:32:33 +0000 sys-firmware/seabios: restore bios.bin Gentoo was not able to build bios.bin (of 128k size) for a while. This change disables modern ACPI_PARSE (mmio), AHCI and NVME drivers to fit into 128K. Newer bios is unchanged and is still 256K with all the features. Reported-by: Bernd Closes: https://bugs.gentoo.org/780399 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-firmware/seabios/Manifest | 1 + .../seabios/files/seabios/config.seabios-128k | 6 +- sys-firmware/seabios/seabios-1.14.0-r2.ebuild | 183 +++++++++++++++++++++ 3 files changed, 189 insertions(+), 1 deletion(-)