From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MndZQ-0002rQ-I3 for qemu-devel@nongnu.org; Tue, 15 Sep 2009 15:20:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MndZM-0002pu-QS for qemu-devel@nongnu.org; Tue, 15 Sep 2009 15:20:08 -0400 Received: from [199.232.76.173] (port=35405 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MndZM-0002pq-KE for qemu-devel@nongnu.org; Tue, 15 Sep 2009 15:20:04 -0400 Received: from mail-ew0-f221.google.com ([209.85.219.221]:43962) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MndZL-0001Zl-1q for qemu-devel@nongnu.org; Tue, 15 Sep 2009 15:20:04 -0400 Received: by ewy21 with SMTP id 21so369128ewy.8 for ; Tue, 15 Sep 2009 12:20:01 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <869055.18010.qm@web51404.mail.re2.yahoo.com> From: Blue Swirl Date: Tue, 15 Sep 2009 22:19:41 +0300 Message-ID: Subject: Re: [Qemu-devel] Solaris SPARC guest on QEMU Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Artyom Tarasenko Cc: qemu-devel@nongnu.org, Luis Freitas On Tue, Sep 15, 2009 at 11:55 AM, Artyom Tarasenko wrote: > 2009/9/14 Luis Freitas : >> Hi, >> >> =C2=A0 I would like to use QEMU to run a guest Solaris 8/Sparc machine. > > You are not alone. This topic pops every 1-2 years. > >> =C2=A0 Seems that openbios is missing something that Solaris needs to co= mplete the boot process. I posted a entry on the qemu users forum but got n= o replies. The boot seems to be failing after the initial boot program is l= oaded from the disk, it seems unable to find the second stage boot program,= so it is probably something related to how the second stage should identif= y the boot device. Maybe the raw disk access (without partition translation) does not work. There was something on OpenBIOS list recently for PPC: http://www.openfirmware.info/pipermail/openbios/2009-September/003977.html > The real Sun's OBP under qemu has the same problem. I guess it's not > the problem of OpenBIOS, but some bugs in SCSI/DMA/(IO)MMU layer. > It's not the identification of the boot device though. The first stage > reads something from a disk. It just fails to find some magic patterns > in what it gets. IIRC the CD-ROM drives used by Sun were slightly different from standard SCSI models, something like the block size could be 512 bytes instead of 2048 or vice versa.