blob: 9d59f49fa3f89cdf439d0ff17b6e08bcfa27b68f (
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
73
74
75
76
77
78
79
|
debug: 0.628
device: 0.597
register: 0.573
ppc: 0.387
graphic: 0.382
semantic: 0.370
user-level: 0.352
files: 0.343
risc-v: 0.342
architecture: 0.325
vnc: 0.321
permissions: 0.304
mistranslation: 0.292
kernel: 0.272
PID: 0.257
performance: 0.249
socket: 0.215
network: 0.215
VMM: 0.211
hypervisor: 0.188
boot: 0.184
x86: 0.176
arm: 0.171
TCG: 0.143
i386: 0.137
virtual: 0.100
KVM: 0.093
peripherals: 0.093
assembly: 0.062
qemu-system-ppc -cpu G2leGP3 crashes
qemu crashes when running qemu-system-ppc -cpu G2leGP3 :
qemu-system-ppc -cpu G2leGP3
Error: Trying to register SPR 1013 (3f5) twice !
qemu-system-ppc -version
QEMU emulator version 2.0.50, Copyright (c) 2003-2008 Fabrice Bellard
On 5/19/2014 1:16 PM, Brandon Williams wrote:
> Public bug reported:
>
> qemu crashes when running qemu-system-ppc -cpu G2leGP3 :
>
> qemu-system-ppc -cpu G2leGP3
> Error: Trying to register SPR 1013 (3f5) twice !
>
> qemu-system-ppc -version
> QEMU emulator version 2.0.50, Copyright (c) 2003-2008 Fabrice Bellard
>
> ** Affects: qemu
> Importance: Undecided
> Status: New
>
This was introduced in this commit:
2bc173224adc0fc318f2bd6fcf65dfdbc7d51123 is the first bad commit
commit 2bc173224adc0fc318f2bd6fcf65dfdbc7d51123
Author: Fabien Chouteau <email address hidden>
Date: Wed Apr 3 04:03:38 2013 +0000
PPC: Add breakpoint registers for 603 and e300
Signed-off-by: Fabien Chouteau <email address hidden>
I removed the redundant registrations from the gen_spr_G2 function and it is not longer throwing that error. However, now I just get a black QEMU screen. Any suggestions on the best way to debug this?
"qemu-system-ppc -cpu G2leGP3 -d int" gives me:
Raise exception at fff085a0 => 0000004e (40000)
I think the G2leGP3 CPU has been fixed with this commit here:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=3ade1a055c9ac6c351
and it also seems to work fine when you use the "-M prep" machine type.
|