FS#76092 - [qemu-system-s390x] 7.1.0-6 fails to starts due to missing firmware

Attached to Project: Arch Linux
Opened by Nathan Chancellor (nathanchance) - Sunday, 02 October 2022, 13:58 GMT
Last edited by David Runge (dvzrv) - Tuesday, 04 October 2022, 19:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Anatol Pomozov (anatolik)
David Runge (dvzrv)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After the firmware package split in 7.1.0-6 ( https://github.com/archlinux/svntogit-packages/commit/5a1a76efc1f48365b25ccee53fd9e7fb26e00b96 ), qemu-system-s390x cannot start due to the firmware not getting packaged, as there is no package_qemu-system-s390x-firmware

Steps to reproduce:

1. Download a kernel and initrd such as

https://builds.tuxbuild.com/2FZSXWlk1N7hpfqkA2cEf2pvpE6/bzImage

https://github.com/ClangBuiltLinux/boot-utils/raw/bf2fd3500d87f78a914bfc3769b2240f5632e5b9/images/s390/rootfs.cpio.zst

2. Start the machine with

$ qemu-system-s390x -M s390-ccw-virtio -kernel bzImage -display none -initrd rootfs.cpio -m 512m -nodefaults -no-reboot -serial mon:stdio

The expected behavior is that the machine starts and shuts down. Currently, it errors with

qemu-system-s390x: could not find stage1 bootloader
This task depends upon

Closed by  David Runge (dvzrv)
Tuesday, 04 October 2022, 19:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with qemu-system-s390x{,-firmware} 7.1.0-8.
Comment by David Runge (dvzrv) - Monday, 03 October 2022, 19:07 GMT
@nathanchance: Thanks for the report!

It seems I indeed forgot to add the qemu-system-s390x-firmware package /o\

Will add in a pkgrel bump in [testing] (there's currently a rebuild against libbpf going on).
Comment by Nathan Chancellor (nathanchance) - Monday, 03 October 2022, 21:44 GMT
Thanks a lot for the quick fix! I can confirm that everything works fine with 7.1.0-8 and we have temporarily switched over to the testing repos until 7.1.0-8 is in the stable repos.

https://github.com/ClangBuiltLinux/containers/commit/879be368a87b7c1605ebba2b143a2ca4562d0512

Loading...