diff options
Diffstat (limited to 'gitlab/issues_text/target_hppa/host_missing/accel_missing')
3 files changed, 88 insertions, 0 deletions
diff --git a/gitlab/issues_text/target_hppa/host_missing/accel_missing/1991 b/gitlab/issues_text/target_hppa/host_missing/accel_missing/1991 new file mode 100644 index 000000000..3dc19d695 --- /dev/null +++ b/gitlab/issues_text/target_hppa/host_missing/accel_missing/1991 @@ -0,0 +1,64 @@ +error "hw/pci-host/astro.c:671:astro_chip_write_with_attrs: code should not be reached" in qemu-system-hppa +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: + diff --git a/gitlab/issues_text/target_hppa/host_missing/accel_missing/2918 b/gitlab/issues_text/target_hppa/host_missing/accel_missing/2918 new file mode 100644 index 000000000..b7c50a5f5 --- /dev/null +++ b/gitlab/issues_text/target_hppa/host_missing/accel_missing/2918 @@ -0,0 +1 @@ +qemu-system-hppa hangs on 64bit installations (machine -C3700) diff --git a/gitlab/issues_text/target_hppa/host_missing/accel_missing/625 b/gitlab/issues_text/target_hppa/host_missing/accel_missing/625 new file mode 100644 index 000000000..0cf5f76a1 --- /dev/null +++ b/gitlab/issues_text/target_hppa/host_missing/accel_missing/625 @@ -0,0 +1,23 @@ +qemu-hppa floating point POWER function is incorrect +Description of problem: +The floating point power function produces incorrect values, and possibly stack misshapes as well. +Steps to reproduce: +1. $ hppa1.1-unknown-linux-gnu-gcc pow.c -o pow -lm -static +2. $ qemu-hppa pow +3. the expected result is 10.0 ^ 6.0 = 6000000.0, instead of 403.45 +Additional information: +Example C source to reproduce, pow.c: +``` +#include <stdio.h> +#include <math.h> +int main() +{ + double base, expo, res; + base=10.0; + expo=6.0; + // res sould be 1e+6 + res = pow(base, expo); + printf("%.1lf^%.1lf = %.2lf\n", base, expo, res); + return 0; +} +``` |