error "hw/pci-host/astro.c:671:astro_chip_write_with_attrs: code should not be reached" in qemu-system-hppa
Host environment
- Operating system: Ubuntu 22.04
- OS/kernel version: Linux 5.15.0-79-generic
- Architecture: x86_64
- QEMU flavor: qemu-system-hppa
- QEMU version: 8.2.0-rc0
- QEMU command line:
qemu-system-hppa -M C3700 -m 256 -drive file=t2sde.qcow2,format=qcow2,id=hd0 -nographic -kernel vmlinux-6.3.7-t2 -initrd initrd-6.3.7-t2 -drive file=t2-23.6-hppa-minimal-desktop-gcc-glibc.iso,if=scsi,bus=0,unit=2,media=cdrom
Emulated/Virtualized environment
- Operating system: T2-SDE Linux
- OS/kernel version: Linux 6.3.7
- Architecture: hppa64
Description of problem
The installation phase terminates with a failed assertion in qemu:
...
Rebooting the system
reboot: Restarting system
SeaBIOS wants SYSTEM RESET.
***************************
**
ERROR:../hw/pci-host/astro.c:671:astro_chip_write_with_attrs: code should not be reached
Bail out! ERROR:../hw/pci-host/astro.c:671:astro_chip_write_with_attrs: code should not be reached
Aborted (core dumped)
Steps to reproduce
PATH=$HOME/inst-qemu/8.2.0-rc0/bin:$PATH
Create empty disk:
qemu-img create -f qcow2 t2sde.qcow2 10G
Pull kernel and initrd out of the installation CD:
sudo mount -r -t iso9660 -o loop t2-23.6-hppa-minimal-desktop-gcc-glibc.iso /mnt
mkdir boot-for-install
cp -p /mnt/boot/* boot-for-install/
sudo umount /mnt
Run installer:
machine_args="-M C3700 -m 256"
disk_args="-drive file=t2sde.qcow2,format=qcow2,id=hd0"
net_args=""
#display_args="-monitor stdio -display gtk"
display_args="-nographic"
common_args="$machine_args $disk_args $net_args $display_args"
qemu-system-hppa $common_args \
-kernel boot-for-install/vmlinux-6.3.7-t2 -initrd boot-for-install/initrd-6.3.7-t2 \
-drive file=t2-23.6-hppa-minimal-desktop-gcc-glibc.iso,if=scsi,bus=0,unit=2,media=cdrom
Serial terminal: <Enter> or console
# install
Partition:
fdisk
n p 1 <Enter> <Enter>
w
On /dev/sda1: Create filesystem of type ext3 with mount point /
Install the system
Full install (all packages).
Keyboard: us
Root password: t2
Time zone: Europe/Berlin
Locale: --
Finally: <Back>
Then: <Exit>
Additional information
Edited by Bruno Haible