powernv machine complains of missing skiboot files

Bug #1822012 reported by mcandre
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi, I want to use the powernv machine from the qemu-system-ppcle application. However, when I specify this machine, qemu complains that it can't find the skiboot files.

I noticed that skiboot is available for Ubuntu, but only for the PPC[64] hosts. Well, I just need skiboot files for qemu on amd64 hosts.

Hmm, looks like Debian has a package for these missing qemu files:

https://packages.debian.org/sid/qemu-skiboot

Could we promote these to Ubuntu repositories, and fix the qemu packages so that they automatically depend on the necessary BIOS packages? For example, openbios-ppc should also be installed when qemu-system-ppc[64[le]] are installed.

Revision history for this message
Thomas Huth (th-huth) wrote :

This sounds like a bug in the packaging of Ubuntu, so I've moved it to the Ubuntu tracker

affects: qemu → qemu (Ubuntu)
Revision history for this message
Frédéric Bonnard (frediz) wrote :

skiboot.lid is available on all architectures as part of qemu-system-data package which is "all", not ppc specific.
The latter is pulled by the binary package qemu-system-ppc, so no particular action is needed.

---
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
ubuntu@ubuntu:~$ dpkg -S /usr/share/qemu/skiboot.lid
qemu-system-data: /usr/share/qemu/skiboot.lid
ubuntu@ubuntu:~$ dpkg -l|grep qemu
ii ipxe-qemu 1.0.0+git-20190109.133f4c4-0ubuntu3.2 all PXE boot firmware - ROM images for qemu
ii ipxe-qemu-256k-compat-efi-roms 1.0.0+git-20150424.a25a16d-0ubuntu4 all PXE boot firmware - Compat EFI ROM images for qemu
ii qemu-block-extra:amd64 1:4.2-3ubuntu6.15 amd64 extra block backend modules for qemu-system and qemu-utils
ii qemu-slof 20191209+dfsg-1 all Slimline Open Firmware -- QEMU PowerPC version
ii qemu-system-common 1:4.2-3ubuntu6.15 amd64 QEMU full system emulation binaries (common files)
ii qemu-system-data 1:4.2-3ubuntu6.15 all QEMU full system emulation (data files)
ii qemu-system-gui:amd64 1:4.2-3ubuntu6.15 amd64 QEMU full system emulation binaries (user interface and audio support)
ii qemu-system-ppc 1:4.2-3ubuntu6.15 amd64 QEMU full system emulation binaries (ppc)
ii qemu-utils 1:4.2-3ubuntu6.15 amd64 QEMU utilities
---

Debian qemu-skiboot package was initially used to distribute skiboot.lid but it was soon after
replaced by qemu-system-data. At the moment qemu-skiboot is virtual in debian and it is provided
by qemu-system-data.

I tested powernv emulation on focal with that default setup and following this documentation:
https://qemu.readthedocs.io/en/latest/system/ppc/powernv.html
and I didn't encounter missing skiboot.lid issues.

Next time please provide logs, details about your ubuntu version and packages versions.

F.

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thank you for your bug report, and thanks Frédéric for the initial triage.

I agree with Frédéric's findings here: the skiboot file is properly installed in a Focal system by qemu-system-data. Also, as he mentioned, qemu-skiboot is a virtual package; it doesn't really provide anything.

I am marking this bug as Incomplete because we were unable to reproduce the issue. Moreover, I would like to reinforce Frédéric's request here and ask that you please provide more details, like what exactly you're trying to do, the commands you're using, the output you're seeing, etc.

Thanks.

Changed in qemu (Ubuntu):
status: New → Incomplete
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

As Frederick said (he did the change - thanks!) this is fixed for a while now.
In particular:

1401 qemu (1:4.2-2) unstable; urgency=medium
...
1406 [ Frédéric Bonnard ]
1407 * Enable powernv emulation with skiboot firmware

Which in terms of Ubuntu releases translates to >=Focal

Changed in qemu (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.