id = 1991 title = "error \"hw/pci-host/astro.c:671:astro_chip_write_with_attrs: code should not be reached\" in qemu-system-hppa" state = "closed" created_at = "2023-11-21T07:08:27.245Z" closed_at = "2023-12-29T21:33:33.261Z" labels = ["target: hppa"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1991" host-os = "Ubuntu 22.04" host-arch = "x86_64" qemu-version = "8.2.0-rc0" guest-os = "T2-SDE Linux" guest-arch = "hppa64" description = """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) ```""" 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: or console # install Partition: fdisk n p 1 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: Then: ```""" additional = """"""