Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NH9sR-0001Ih-ML for qemu-devel@nongnu.org; Sun, 06 Dec 2009 00:41:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NH9sM-0001GJ-NH for qemu-devel@nongnu.org; Sun, 06 Dec 2009 00:41:46 -0500 Received: from [199.232.76.173] (port=34292 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NH9sM-0001Fx-8y for qemu-devel@nongnu.org; Sun, 06 Dec 2009 00:41:42 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:60686) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NH9sL-0000N3-SR for qemu-devel@nongnu.org; Sun, 06 Dec 2009 00:41:42 -0500 Message-Id: <88D93D16-959A-4395-AF72-223514828B30@web.de> From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [Qemu-devel] Adding support for Mac OS X ppc64 host Date: Sun, 6 Dec 2009 06:41:19 +0100 References: <1260075477-76209-1-git-send-email-andreas.faerber@web.de> Sender: andreas.faerber@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: qemu-devel@nongnu.org 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