summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/kernel/2523
blob: 672a4980720872e63debfe97adaacd39dcb5c791 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[9.0.2] PPC: snapshot replay freeze on PowerPC
Description of problem:
Qemu 9.0.2 cannot replay snapshots on PowerPC e500mc (Book-E) architecture. When I try to do this, the program freezes.
Steps to reproduce:
1. Run bare metal example from the attachment with the first command-line to create snapshot. Then end it using ctrl+c.
2. Run bare metal example from the attachment with the second command-line to replay snapshot. Running will freeze, use ctrl+c.
Additional information:
e500mc example that prints Hello World: [ppc-e500.zip](/uploads/ef9ce53abc3f17490d4894c041956038/ppc-e500.zip)

Log output:
```
% qemu-system-ppc -cpu e500  -M ppce500 -kernel hello.elf -display none -serial stdio -icount 1,rr=record,rrfile=main.bin,rrsnapshot=init -drive file=empty.qcow2,if=none,id=rr
Hello world
qemu-system-ppc: terminating on signal 2
% qemu-system-ppc -cpu e500  -M ppce500 -kernel hello.elf -display none -serial stdio -icount 1,rr=replay,rrfile=main.bin,rrsnapshot=init -drive file=empty.qcow2,if=none,id=rr
qemu-system-ppc: terminating on signal 2
qemu-system-ppc: Playback shouldn't have to iowait (insn total 0/68 left, event 4 is EVENT_INSTRUCTION)
zsh: IOT instruction (core dumped)  qemu-system-ppc -cpu e500 -M ppce500 -kernel hello.elf -display none -serial
```
`Playback shouldn't have to iowait` error caused by 1f881ea4a444ef36a8b6907b0b82be4b3af253a2 commit, see https://gitlab.com/qemu-project/qemu/-/issues/2524