From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYh27-0005TN-Us for qemu-devel@nongnu.org; Thu, 28 Aug 2008 08:55:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYh27-0005TA-78 for qemu-devel@nongnu.org; Thu, 28 Aug 2008 08:55:27 -0400 Received: from [199.232.76.173] (port=45352 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYh27-0005T7-2a for qemu-devel@nongnu.org; Thu, 28 Aug 2008 08:55:27 -0400 Received: from amistad.itbs.cz ([81.0.238.226]:55031) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYh26-0000Z2-F0 for qemu-devel@nongnu.org; Thu, 28 Aug 2008 08:55:26 -0400 Received: from localhost (localhost [127.0.0.1]) by amistad.itbs.cz (Postfix) with ESMTP id E7BB42F9330 for ; Thu, 28 Aug 2008 14:55:22 +0200 (CEST) Received: from amistad.itbs.cz ([127.0.0.1]) by localhost (amistad.itbs.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16269-10 for ; Thu, 28 Aug 2008 14:55:22 +0200 (CEST) Received: from [10.0.0.3] (182.70.broadband6.iol.cz [88.101.70.182]) by amistad.itbs.cz (Postfix) with ESMTP id D39B62F9330 for ; Thu, 28 Aug 2008 14:55:20 +0200 (CEST) Message-ID: <48B6A035.2090105@jermar.eu> Date: Thu, 28 Aug 2008 14:55:17 +0200 From: Jakub Jermar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [sparc64] qemu crashes after the "OpenBIOS for Sparc64" banner is printed 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 Hi, when I build qemu-system-sparc64 from trunk and attempt to boot the HelenOS iso image, I immediately get segmentation fault. Below is the output from a gdb session, show the place of crash: OpenBIOS for Sparc64 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7b616b0 (LWP 16553)] change_pstate (new_pstate=21) at /home/jermar/install/qemu/target-sparc/op_helper.c:2676 2676 pstate_regs = env->pstate & 0xc01; (gdb) bt #0 change_pstate (new_pstate=21) at /home/jermar/install/qemu/target-sparc/op_helper.c:2676 #1 0x0814d3b4 in do_interrupt (env=0x83d9bc8) at /home/jermar/install/qemu/target-sparc/helper.c:758 #2 0x080d6510 in cpu_sparc_exec (env1=0x0) at /home/jermar/install/qemu/cpu-exec.c:320 #3 0x08055cca in main_loop () at /home/jermar/install/qemu/vl.c:7545 Backtrace stopped: previous frame inner to this frame (corrupt stack?) 2676 pstate_regs = env->pstate & 0xc01; (gdb) print env $1 = (struct CPUSPARCState *) 0xbfdb97c8 (gdb) print env->pstate Cannot access memory at address 0xbfdc717c Since I get this error so early, I think this is a generic issue. Anyone else has seen something similar? I built qemu using gcc-3.3. The arguments I used to run qemu: -cdrom image.iso -m 512 -boot d -nographic Please, respond to me directly as I am not subscribed to the list. Cheers, Jakub