Skip to contentSkip to conversation

Latest CVS build of qemu-system-ppc not boot debian_lenny_powerpc_small.qcow

Qemu-devel tielian 3 participants 4 messages Mar 7, 2010 – Mar 9, 2010

lore
Share & tools
lore

tielian

author
#0 lore raw

qemu-system-ppc -hda debian_lenny_powerpc_small.qcow
qemu: fatal: Trying to execute code outside RAM or ROM at 0x00000000

NIP 00000000 LR 00000000 CTR 00000000 XER 00000000
MSR 00000000 HID0 00000300 HF 00000000 idx 0
Segmentation fault

uname -a
Linux debian 2.6.32-2-amd64 #1 SMP Fri Feb 12 00:01:47 UTC 2010 x86_64 GNU/Linux

#1 lore raw
Quoted 7 lines · tielian

qemu-system-ppc -hda debian_lenny_powerpc_small.qcow
qemu: fatal: Trying to execute code outside RAM or ROM at 0x00000000

NIP 00000000 LR 00000000 CTR 00000000 XER 00000000
MSR 00000000 HID0 00000300 HF 00000000 idx 0
Segmentation fault

It has been broken by the following patch:

commit 977b6b91cee1132f8c7b12d22f4b273091598e44

Author: Amit Shah <[email protected]>
Date:   Thu Feb 25 19:26:11 2010 +0530

ppc440_bamboo: Add 0.12 and 0.13 machine types for backward compat

Add a 0.12 machine type for compatibility with older versions. Mark the default one as 0.13.

This patch change the default PPC machine to bamboo, while it was previously g3beige. I haven't noticed the problem, as my test script sets the machine with the -M argument.

I have just pushed a patch to HEAD to fix the problem.

Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net
#2 lore raw
Quoted 20 lines · Aurelien Jarno
Quoted 7 lines · tielian

qemu-system-ppc -hda debian_lenny_powerpc_small.qcow
qemu: fatal: Trying to execute code outside RAM or ROM at 0x00000000

NIP 00000000 LR 00000000 CTR 00000000 XER 00000000
MSR 00000000 HID0 00000300 HF 00000000 idx 0
Segmentation fault

It has been broken by the following patch:

commit 977b6b91cee1132f8c7b12d22f4b273091598e44

Author: Amit Shah <[email protected]>
Date:   Thu Feb 25 19:26:11 2010 +0530

ppc440_bamboo: Add 0.12 and 0.13 machine types for backward compat

Add a 0.12 machine type for compatibility with older versions. Mark the default one as 0.13.

Quoted 6 lines

This patch change the default PPC machine to bamboo, while it was previously g3beige. I haven't noticed the problem, as my test script sets the machine with the -M argument.

BTW, as in the s390 case, does this patch make sense for powerpc? If no one uses such a thing, those two patches should be reverted..

Amit

#3 lore raw
Quoted 24 lines · Amit Shah
Quoted 23 lines · Aurelien Jarno
Quoted 7 lines · tielian

qemu-system-ppc -hda debian_lenny_powerpc_small.qcow
qemu: fatal: Trying to execute code outside RAM or ROM at 0x00000000

NIP 00000000 LR 00000000 CTR 00000000 XER 00000000
MSR 00000000 HID0 00000300 HF 00000000 idx 0
Segmentation fault

It has been broken by the following patch:

commit 977b6b91cee1132f8c7b12d22f4b273091598e44

Author: Amit Shah <[email protected]>
Date:   Thu Feb 25 19:26:11 2010 +0530

ppc440_bamboo: Add 0.12 and 0.13 machine types for backward compat

Add a 0.12 machine type for compatibility with older versions. Mark the default one as 0.13.

Quoted 7 lines
Quoted 3 lines

This patch change the default PPC machine to bamboo, while it was previously g3beige. I haven't noticed the problem, as my test script sets the machine with the -M argument.

BTW, as in the s390 case, does this patch make sense for powerpc? If no one uses such a thing, those two patches should be reverted..

Given that the bamboo board is present since version 0.10.0, I think it make sense.

Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net