From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EU9NV-0004s9-PX for qemu-devel@nongnu.org; Mon, 24 Oct 2005 16:57:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EU9NU-0004ro-Af for qemu-devel@nongnu.org; Mon, 24 Oct 2005 16:57:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EU9NU-0004rl-7P for qemu-devel@nongnu.org; Mon, 24 Oct 2005 16:57:08 -0400 Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1EU9NU-0006aK-Ak for qemu-devel@nongnu.org; Mon, 24 Oct 2005 16:57:08 -0400 Message-ID: <435D499E.3070409@gmx.com> Date: Mon, 24 Oct 2005 22:52:46 +0200 From: Martin Bochnig MIME-Version: 1.0 Subject: Re: [Qemu-devel] Problem running Sparc on OS X References: <246E910C-4BCD-47F6-A614-0A1A3BB963C4@murphy.dyndns.org> In-Reply-To: <246E910C-4BCD-47F6-A614-0A1A3BB963C4@murphy.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: mb1x@gmx.com, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Bob Nestor wrote: > With his patch I get the console output from PROLL. I was actually > able to boot the first stage bootstrap of the Debian Sarge > distribution. Unfortunately the patch doesn't solve the problem of > booting a Solaris installation CD, but I think this may be due to a > disk block size problem. Very unlikely, it would definitely show further progress (at least is this the case if you experience such an issue on a real sparc box). The unique Solaris(2.)6++ install media (CD/DVD) layout is a ways more suspicious candidate here. Especially that those media contain ufs slices among others (strange enough that they got more than one slice at all). BUT, unfortunately is is either NOT the reasons, OR it is one of at least two reasons. I got exactly the same behaviour when trying to boot Solaris(2.)8_hw2004 from the raw "/" slice of my physical hdd :( > (Sun and MacPPC assume a 2048 byte disk block size on the CD.) I mean the opposite. The world uses 2048 byte disk block size on the CD. You mean 512 byte block size. > > Here's Jose's original message with his patch: --->> It also makes the SPARConSPARC case usable, finally. (though there is still a freeze when the scsi driver tries to load during SPARC_LinUX guest boot / wasted a day, modified *latest* proll sources and rebuilt proll several times, also diff. files in [QEMU-root]/hw and [QEMU-root]/target-sparc, but didn't find a solution that late-summer day in September) Martin Bochnig > > > --- target-sparc/op_helper.c 23 Jul 2005 14:27:54 -0000 1.15 > +++ target-sparc/op_helper.c 27 Sep 2005 23:54:52 -0000 > @@ -225,4 +225,5 @@ > > - if (size == 4) > - tswap32s(&ret); > - else if (size == 2) > - tswap16s((uint16_t *)&ret); > + > + tswap32s(&ret); > + if (size == 2) { > + ret = ret >> 16; > + }else if (size == 1) { > + ret = ret >> 24; > + } > + > break; > default: > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > >