From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRWdE-0004ec-Bb for qemu-devel@nongnu.org; Tue, 19 Feb 2008 12:51:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRWdC-0004bE-OM for qemu-devel@nongnu.org; Tue, 19 Feb 2008 12:51:52 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRWdC-0004al-BZ for qemu-devel@nongnu.org; Tue, 19 Feb 2008 12:51:50 -0500 Received: from bsdimp.com ([199.45.160.85] helo=harmony.bsdimp.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JRWdA-0007oa-TM for qemu-devel@nongnu.org; Tue, 19 Feb 2008 12:51:50 -0500 Date: Tue, 19 Feb 2008 10:50:49 -0700 (MST) Message-Id: <20080219.105049.-2077495065.imp@bsdimp.com> Subject: Re: [Qemu-devel] qemu-system-sparc and Solaris 1.1.2 / SunOS 4.1.4 From: "M. Warner Losh" In-Reply-To: References: <20080219.102614.480812981.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: blauwirbel@gmail.com Cc: qemu-devel@nongnu.org In message: "Blue Swirl" writes: : On 2/19/08, M. Warner Losh wrote: : > In message: : > "Blue Swirl" writes: : > : On 2/19/08, M. Warner Losh wrote: : > : > In message: <47BA3D87.6020008@datanet.ab.ca> : > : > Andrew Warkentin writes: : > : > : Robert Reif wrote: : > : > : : > : > : > Jan Holzhueter wrote: : > : > : > : > : > : >> Hi everyone, : > : > : >> we are planing to get rid of some old sparc hardware. : > : > : >> The problem is that there are applications on it that requ= ire : > : > : >> sun4m and Solaris 1.1.2 / SunOS 4.1.4. : > : > : >> As known qemu-system-sparc is not able to boot the Solaris= Kernel at : > : > : >> the moment. : > : > : >> : > : > : >> I get as far as: : > : > : >> [sparc] Booting file 'cdrom' with parameters '' : > : > : >> Not a bootable ELF image : > : > : >> Not a Linux kernel image : > : > : >> Not a bootable a.out image : > : > : >> Not a bootable ELF image : > : > : >> Not a Linux kernel image : > : > : >> Loading a.out image... : > : > : >> Loaded 7680 bytes : > : > : >> entry point is 0x4000 : > : > : >> Jumping to entry point... : > : > : >> checksum 60746d10 !=3D 86693bac, trying to boot anyway : > : > : >> Unhandled Exception 0x00000007 : > : > : >> PC =3D 0x002002bc NPC =3D 0x002002c0 : > : > : >> Stopping execution : > : > : >> : > : > : >> My question is how far away are you form getting it to wor= k : > : > : >> and in what time frame could it be done? : > : > : >> : > : > : >> This is a bigger project for us. So it might even be possi= ble : > : > : >> ( nothing confirmed yet I have to check back with some peo= ple ) : > : > : >> to donate some money to get it to work. : > : > : >> It doesn't need to work for all Solaris. We just need Sola= ris 1.1.2. : > : > : >> If someone needs some installation Medium or feedback let = me know. : > : > : >> : > : > : >> Greetings : > : > : >> Jan Holzh=FCter : > : > : >> : > : > : >> : > : > : > This may be an openbios issue. Changing openbios boot.c cd= rom : > : > : > oldpath to sd(0,2,0):d gets past this error but it still do= esn't boot. : > : > : > : > : > : > : > : > : > : > : > : > : > : > : : > : > : SunOS might run in TME (http://people.csail.mit.edu/fredette/= tme/). I : > : > : don't think anything other than Linux runs in QEMU's Sun emul= ation (or : > : > : for that matter, any of the non-PC QEMU emulators). : > : > : > : > OpenFirmware that QEMU implements is somewhat insufficient to b= oot : > : > anything but the hacked up version of Linux. : > : : > : Not hacked up, Qemu and the supplied OpenBIOS image can boot seve= ral : > : unmodified Linux kernels spanning a decade. : > : > I should have been more specific: PowerPC MAC support. : = : I see. PowerPC uses OpenHackWare, not OpenBIOS. OHW does not have a : Forth interpreter, for example. That would make a big difference... : > : Currently both NetBSD and OpenBSD hang outside OpenBIOS, OF activ= ity : > : has stopped. I don't know enough of the insides of the BSDs to de= bug. : > : I'd think any BSD hacker who cared to spend a few hours for this = could : > : pinpoint the culprit very quickly. : > : > In PowerPC I've spent a lot more than a few hours on it... : = : Maybe the problem is related to Forth? The problem isn't related to forth. Warner