blob: 66428aadd88537f8fefa967ad8e405dd05265f81 (
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
|
id = 740
title = "on single core Raspberry Pi, qemu-system-sparc appears to hang in bios"
state = "closed"
created_at = "2021-11-21T00:24:19.098Z"
closed_at = "2022-03-16T03:45:48.340Z"
labels = ["accel: TCG", "target: sparc", "workflow::Needs Info"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/740"
host-os = "Raspbian bookworm"
host-arch = "Raspberry Pi Model 1 B (may happen on Pi Zero too)"
qemu-version = "version 6.1.0 (Debian 1:6.1+dfsg-8+b1)"
guest-os = "Sparc bios ss5.bin (download URL further down)"
guest-arch = "SparcStation 5"
description = """I suspect it to be a race condition related to running on the slow single core Raspberry Pi, as I haven't managed to reproduce on x86 even when using taskset to tie qemu to a single core.
The problem occurs about 4 out of 5 runs on qemu 5.2 (raspbian bullseye) and so far 100% of the time on qemu 6.1.
About five seconds after start the sparc bios gets as far as `ttya initialized` and then appears to hang indefinitely.
Instead, it should continue after about 3 more seconds with:
```
Probing Memory Bank #0 32 Megabytes
Probing Memory Bank #1 Nothing there
Probing Memory Bank #2 Nothing there
Probing Memory Bank #3 Nothing there
```
See below for workaround."""
reproduce = """1. Need a single core Raspberry Pi running raspbian, such as Raspberry Pi 1 or Zero
2. Download ss5.bin from https://github.com/andarazoroflove/sparc/raw/master/ss5.bin
3. Run the command:
```
qemu-system-sparc -m 32 -bios ss5.bin -nographic
```
After about 5 seconds of output it hangs at `ttya initialized`"""
additional = """##"""
|