Am 06.12.2009 um 06:14 schrieb malc:
On Sun, 6 Dec 2009, Andreas Faerber wrote:
qemu-system-sparc64 works on ppc64 while it didn't on ppc!
Does it work on linux ppc64? If so
Haven't had a chance to test on other ppc[64] platforms yet.
how exactly did you test that
(so that i can try to debug it here)
$ /Users/andreas/QEMU/latest64/bin/qemu-system-sparc64 -boot d -cdrom /
Users/andreas/QEMU/sol-10-u3-ga-sparc-dvd.iso
$ /Users/andreas/QEMU/latest64/bin/qemu-system-sparc64 -boot d -cdrom /
Users/andreas/QEMU/debian-40r3-sparc-CD-1.iso
All these (also MilaX, in case you don't have Solaris 10 around) are
expected to enter OpenBIOS and result in OpenBIOS errors but not in
QEMU crashes or hangs.
On Linux add -nographic.
qemu-system-ppc appears to hang on ppc64 but doesn't on ppc.
Ditto.
$ /Users/andreas/QEMU/latest64/bin/qemu-system-ppc -boot d -cdrom /
Users/andreas/QEMU/debian-40r4a-powerpc-netinst.iso
On OSX/ppc64 this never got past the OpenBIOS banner and eventually
crashed:
Starting program: /Users/andreas/QEMU/latest64/bin/qemu-system-ppc -
boot d -cdrom /Users/andreas/QEMU/debian-40r4a-powerpc-netinst.iso -
nographic
Reading symbols for shared libraries +++++++++++++++
+............................................................. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
>> =============================================================
>> OpenBIOS 1.0 [Sep 11 2009 06:53]
>> Configuration device id QEMU version 1 machine id 2
>> CPUs: 1
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,750
Welcome to OpenBIOS v1.0 built on Sep 11 2009 06:53
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000012c3cab0
0x0000000000157db4 in
ldl_be_p [inlined] () at cpu-all.h:544
544 return *(uint32_t *)ptr;
The upper bt showed something like helper_lsw only, iirc.
This is at QEMU 749717a0ea2f60d33d01c1e37fa24dfa7250dfc0, using the
binary blobs on OSX/ppc64 and with or without latest OpenBIOS versions
on OSX/ppc.
Andreas