Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617422 - app-emulation/qemu: doesn't use version of seabios from gentoo package (sys-firmware/seabios)
Summary: app-emulation/qemu: doesn't use version of seabios from gentoo package (sys-f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-03 20:31 UTC by nnnn20430
Modified: 2017-05-04 14:46 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nnnn20430 2017-05-03 20:31:16 UTC
It seems qemu now uses "bios-256k.bin" not "bios.bin" as evidenced by deleting it resulting in "qemu: could not load PC BIOS 'bios-256k.bin'" error.
It also of course completely ignores "bios.bin" built by installing "sys-firmware/seabios" package with "USE=-binary".

I noticed this while having "2.8.0-r10" installed and trying to build seabios with "-binary" use flag and noticing it doesn't use my newly built version, i upgraded to latest stable "2.8.1-r2", and it sill didn't work.
So i decided to look through ebuild and found where it deletes shipped bios.bin and makes a symlink to gentoo package one, i then found that in the qemu install dir /usr/share/qemu has a "bios-256k.bin" and that turning that into symlink that points to "bios.bin" solves the problem.
Comment 1 Matthias Maier gentoo-dev 2017-05-03 23:12:14 UTC
Thanks for the report - was already working on firmware updates. :-)

This is fixed in qemu-2.9.0-r52 (which will be keyworded soon after some final firmware udpates) and seabios-1.10.2.



commit d41ea0c87bdb4eaf82a23ae97a0cc6de95ff50b9
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Wed May 3 17:55:56 2017 -0500

    app-emulation/qemu: update to seabios 1.10.2
    
     - pin seabios-1.10.2
     - remove bundled bios-256k.bin, bug #617422
    
    Package-Manager: Portage-2.3.5, Repoman-2.3.2

commit 4e90970dc09d444ff3277a68ea676e0536fc1aa0
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Wed May 3 17:52:28 2017 -0500

    sys-firmware/seabios: version bump to 1.10.2
    
     - port to EAPI 6
     - also build/install bios-256k.bin, bug #617422
    
    Package-Manager: Portage-2.3.5, Repoman-2.3.2
Comment 2 Matthias Maier gentoo-dev 2017-05-03 23:13:10 UTC
Please give qemu-2.9.0-r52 a try (make sure to shut down guests prior to upgrading).
Comment 3 nnnn20430 2017-05-04 14:46:58 UTC
(In reply to Matthias Maier from comment #2)
> Please give qemu-2.9.0-r52 a try (make sure to shut down guests prior to
> upgrading).

Wow that was fast, i was already sleeping :p.
Anyway it works great now, also i see pin-upstream-blobs now requires seabios with binary use flag, which i guess makes sense, no idea why i had it set anyway.

Thanks!