HP-UX 10.20 doesn't boot on QEMU 8.2.0-rc4

Host environment

  • Operating system: Ubuntu 22.04.3 LTS

  • OS/kernel version: Linux ubuntu 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

  • Architecture: x64

  • QEMU flavor: qemu-system-hppa

  • QEMU version: QEMU emulator version 8.1.94 (v8.2.0-rc4)

  • QEMU command line:

    qemu-system-hppa -boot d -m 512 -machine B160L \
     	-drive file=/opt/vm/disk.img,format=qcow2 \
     	-cdrom  /isos/S700_10.20/HPUX_10.20_S700_CoreOS_CD.iso \
     	-serial telnet:0.0.0.0:4440,server,wait -monitor stdio -nographic

Emulated/Virtualized environment

  • Operating system: HP-UX 10.20
  • OS/kernel version:
  • Architecture: HPPA

Description of problem

After update QEMU for v8.2.0-rc4 existing HP-UX 10.20 installation doesn't work anymore. I also tried to boot the installation media and SeaBIOS stays in loop.

Additional information

Boot log

SeaBIOS PA-RISC Firmware Version 13 (QEMU 8.1.94)
Duplex Console IO Dependent Code (IODC) revision 1
------------------------------------------------------------------------------
  (c) Copyright 2017-2023 Helge Deller <deller@gmx.de> and SeaBIOS developers.
------------------------------------------------------------------------------
  Processor   Speed            State           Coprocessor State  Cache Size
  ---------  --------   ---------------------  -----------------  ----------
      0      250 MHz    Active                 Functional            0 KB
  Emulated machine:     HP B160L (32-bit PA1.1)
  Available memory:     512 MB
  Good memory required: 16 MB
  Primary boot path:    FWSCSI.0.0
  Alternate boot path:  FWSCSI.2.0
  Console path:         SERIAL_1.9600.8.none
  Keyboard path:        SERIAL_1.9600.8.none
  Available boot devices:
  FWSCSI.0.0 : lsi 00:00.0 0:0 Drive QEMU QEMU HARDDISK 2.5+
  FWSCSI.2.0 : DVD/CD [lsi 00:00.0 2:0 Drive QEMU QEMU CD-ROM 2.5+]
Booting from FWSCSI.2.0 ...
Booting...
Boot IO Dependent Code (IODC) revision 153
HARD Booted.
ISL Revision A.00.38  OCT 26, 1994 
ISL booting  hpux (;0):INSTALL
Unknown NIO card type 0x0
Boot
: (8/0/0/0.2.0.0.0.0.0;0):INSTALL
4082084 + 376832 + 328000 start 0x1942e8
Stored message buffer up to panic:
vuseg=2391000
8 bc
8/0 GSCtoPCI
8/0/0/0 c720
8/0/0/0.0 tgt
8/0/0/0.0.0 sdisk
8/0/0/0.2 tgt
8/0/0/0.2.0 sdisk
8/0/0/0.7 tgt
8/0/0/0.7.0 sctl
8/0/1/0 btlan3
8/0/63 asio0
trap type 15, pcsq.pcoq = 0.1c30dc, isr.ior = 0.4
savestate ptr = 0x7ffe6b10, savestate return ptr = 0x1c2d54
System Panic:
   B2352B HP-UX (B.10.20) #1: Sun Jun  9 08:03:38 PDT 1996
panic: (display==0xbc00, flags==0x0) Data page fault
PC-Offset Stack Trace (read across, most recent is 1st):
  0x0022baf4  0x002123c0  0x000d6f7c  0x0021bd78  0x001c30dc  0x001c2d54
  0x00078834  0x00061a58  0x00077198  0x0015b250  0x0015b1fc  0x0015b1fc
  0x0007bf38  0x0006420c  0x0008b63c  0x000d79d4  0x001944e0
End Of Stack
It was not possible for the kernel to find a process
that caused this crash.
Dumpsys() called
WARNING: Early dump not configured; ** contact your HP support representative **
WARNING: Can't initialize dump device
Dumpsys() failed, returned 4294967295
SeaBIOS wants SYSTEM RESET.
***************************
Edited by Flávio Costa