From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IBb12-0000oY-6C for qemu-devel@nongnu.org; Thu, 19 Jul 2007 14:46:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IBb10-0000oI-Mp for qemu-devel@nongnu.org; Thu, 19 Jul 2007 14:46:19 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBb10-0000oF-Fj for qemu-devel@nongnu.org; Thu, 19 Jul 2007 14:46:18 -0400 Received: from ug-out-1314.google.com ([66.249.92.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IBb10-0003rZ-1O for qemu-devel@nongnu.org; Thu, 19 Jul 2007 14:46:18 -0400 Received: by ug-out-1314.google.com with SMTP id m2so483700uge for ; Thu, 19 Jul 2007 11:46:16 -0700 (PDT) Message-ID: Date: Thu, 19 Jul 2007 21:46:16 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] Re: What is the current support state for Sparc emulation In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Reply-To: 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, openbios@openbios.org On 7/19/07, spectral@op.pl wrote: > Unhandled Exception 0x00000007 > PC = 0xffd0a55c NPC = 0xffd09374 > Stopping execution > > So this is my report, I hope it can be of some use. I'll try to boot sparc version of OpenSolaris soon and I'l let you know how it went. Thanks for the report. Exception 7 is unaligned access, support for detection of unaligned accesses in QEMU was improved recently. The exception happens inside OpenBIOS: 0xffd0a55c is in lstore (kernel/forth.c:649). 644 645 static void lstore(void) 646 { 647 const u32 *aaddr = (u32 *)cell2pointer(POP()); 648 const u32 longval = POP(); 649 write_long(aaddr, longval); 650 } Maybe write_long should handle unaligned addresses?