Hi Mark, On Tue, Jul 07, 2026 at 10:32:05PM +0100, Mark Cave-Ayland wrote: > The following changes since commit 916ab315cc2b3a3825ebb399d83339660144d5bd: > > Merge tag 'pull-nvme-20260707' of https://gitlab.com/birkelund/qemu into > staging (2026-07-07 07:09:38 +0200) > > are available in the Git repository at: > > https://github.com/mcayland/qemu.git tags/qemu-openbios-20260707 > > for you to fetch changes up to 9e3508dce0045de26ec8cab064443c92fdd15288: > > Update OpenBIOS images to e5ac46dd built from submodule. (2026-07-07 > 22:07:16 +0100) > > ---------------------------------------------------------------- > qemu-openbios queue > > ---------------------------------------------------------------- > Mark Cave-Ayland (1): > Update OpenBIOS images to e5ac46dd built from submodule. > > pc-bios/openbios-ppc | Bin 677200 -> 673104 bytes > pc-bios/openbios-sparc32 | Bin 382080 -> 382048 bytes > pc-bios/openbios-sparc64 | Bin 1593408 -> 1593408 bytes > roms/openbios | 2 +- > 4 files changed, 1 insertion(+), 1 deletion(-)
I bisected a hang that I see when trying to boot a Linux kernel built from pmac32_defconfig to this change. $ git show 9e3508dce0045de26ec8cab064443c92fdd15288:pc-bios/openbios-ppc >openbios-ppc-bad $ git show 9e3508dce0045de26ec8cab064443c92fdd15288^:pc-bios/openbios-ppc >openbios-ppc-good $ curl -LSs https://github.com/nathanchance/bug-files/raw/main/qemu-9e3508dce0045de26ec8cab064443c92fdd15288/rootfs.cpio.zst | zstd -d >rootfs.cpio $ curl -LSs https://github.com/nathanchance/bug-files/raw/main/qemu-9e3508dce0045de26ec8cab064443c92fdd15288/vmlinux.zst | zstd -d >vmlinux $ qemu-system-ppc \ -display none \ -nodefaults \ -no-reboot \ -machine mac99 \ -append console=ttyS0 \ -kernel ./vmlinux \ -initrd ./rootfs.cpio \ -m 128m \ -serial mon:stdio \ -bios ./openbios-ppc-good >> ============================================================= >> OpenBIOS 1.1 [Sep 24 2024 19:56] >> Configuration device id QEMU version 1 machine id 1 >> CPUs: 1 >> Memory: 128M >> UUID: 00000000-0000-0000-0000-000000000000 >> CPU type PowerPC,G4 milliseconds isn't unique. Output device screen not found. Output device screen not found. >> [ppc] Kernel already loaded (0x01000000 + 0x00ed2410) (initrd 0x01fd3000 + 0x004fb000) >> [ppc] Kernel command line: console=ttyS0 >> switching to new context: NULL ihandle Unexpected client interface exception: -2 printk: legacy console [ttyS0] enabled printk: legacy bootconsole [udbg0] disabled pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) VFS: Finished mounting rootfs on nullfs Memory: 108176K/131072K available (10508K kernel code, 1004K rwdata, 2180K rodata, 1232K init, 178K bss, 21680K reserved, 0K cma-reserved, 0K highmem) Found UniNorth PCI host bridge at 0x00000000f2000000. Firmware bus number: 0->0 ... Starting network: OK Linux version 7.2.0-rc4+ (nathan@ax162) (powerpc-linux-gcc (GCC) 16.1.0, GNU ld (GNU Binutils) 2.46) #1 PREEMPT Tue Jul 21 16:59:50 MST 2026 Stopping network:OK Stopping klogd: OK Stopping syslogd: OK Seeding 256 bits without crediting seedrng: can't open '/dev/urandom': No such file or directory The system is going down NOW! Sent SIGTERM to all processes Sent SIGKILL to all processes Requesting system reboot reboot: Restarting system $ qemu-system-ppc \ -display none \ -nodefaults \ -no-reboot \ -machine mac99 \ -append console=ttyS0 \ -kernel ./vmlinux \ -initrd ./rootfs.cpio \ -m 128m \ -serial mon:stdio \ -bios ./openbios-ppc-bad >> ============================================================= >> OpenBIOS 1.1 [Jun 29 2026 21:11] >> Configuration device id QEMU version 1 machine id 1 >> CPUs: 1 >> Memory: 128M >> UUID: 00000000-0000-0000-0000-000000000000 >> CPU type PowerPC,G4 milliseconds isn't unique. Output device screen not found. Output device screen not found. >> [ppc] Kernel already loaded (0x01000000 + 0x00ed2410) (initrd 0x01fd3000 + 0x004fb000) >> [ppc] Kernel command line: console=ttyS0 >> switching to new context: <hangs with no additional output> Presumably this is due to OpenBIOS commit b0267d5 ("ppc: bump SAVE_SPACE to include enough space to store all registers"), as this appears to be the only actual source change to OpenBIOS? I have not had time to try running under gdb to get more information about where it is hanging but I wanted to get this report out sooner rather than later. -- Cheers, Nathan
