summary refs log tree commit diff stats
path: root/gitlab/issues/target_hppa/host_missing/accel_missing/1991.toml
blob: 1aa6b9a94cc1a1646862150948bb9289516692dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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: <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 = """"""