Received: from eggs.gnu.org ([2001:4830:134:3::10]:33495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKnDF-0007Es-CI for qemu-devel@nongnu.org; Fri, 22 Aug 2014 07:41:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKnD9-0001j7-8l for qemu-devel@nongnu.org; Fri, 22 Aug 2014 07:40:57 -0400 Received: from indium.canonical.com ([91.189.90.7]:35351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKnD9-0001j2-2t for qemu-devel@nongnu.org; Fri, 22 Aug 2014 07:40:51 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1XKnD8-00048H-FT for ; Fri, 22 Aug 2014 11:40:50 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 72A3B2E80C0 for ; Fri, 22 Aug 2014 11:40:50 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 22 Aug 2014 11:32:19 -0000 From: Jakub Jermar <1359930@bugs.launchpad.net> Sender: bounces@canonical.com References: <20140821193444.13152.52372.malonedeb@wampee.canonical.com> Message-Id: <20140822113220.13152.61820.launchpad@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1359930] Re: [ARMv5] Integrator/CP regression when reading FPSID register Reply-To: Bug 1359930 <1359930@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Summary changed: - [ARMv5] Integrator/CP regression when reading FPSID instruction + [ARMv5] Integrator/CP regression when reading FPSID register -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1359930 Title: [ARMv5] Integrator/CP regression when reading FPSID register Status in Home for various HelenOS development branches: New Status in QEMU: New Bug description: There seems to be a regression in QEMU 2.1.0 which demonstrates itself when running the attached HelenOS Integrator/CP (i.e. ARMv5) image. The offending instruction seems to be: vmrs r0, fpsid Upon its execution, HelenOS kernel receives an Undefined instruction exception (which it does not anticipate at that point) and crashes. QEMU 2.0.0 was not affected by this issue. Command line to reproduce with QEMU 2.1.0: $ qemu-system-arm -M integratorcp -kernel image.boot -s -S & $ /usr/local/cross/arm32/bin/arm-linux-gnueabi-gdb = ... (gdb) target remote localhost:1234 Remote debugging using localhost:1234 warning: Can not parse XML target description; XML support was disabled a= t compile time 0x00000000 in ?? () (gdb) symbol-file kernel/kernel.raw Reading symbols from /home/jermar/software/HelenOS.mainline/kernel/kernel= .raw...done. (gdb) break ras_check Breakpoint 1 at 0x80a021bc: file arch/arm32/src/ras.c, line 67. (gdb) c Continuing. Breakpoint 1, ras_check (n=3D1, istate=3D0x813e7f70) at arch/arm32/src/ra= s.c:67 67 { (gdb) set radix 16 Input and output radices now set to decimal 16, hex 10, octal 20. (gdb) print istate->pc $1 =3D 0x80a02458 (gdb) disassemble 0x80a02458 Dump of assembler code for function fpsid_read: 0x80a02454 <+0>: vmrs r0, fpsid <=3D=3D=3D= =3D=3D=3D=3D UNDEFINED EXCEPTION INSTRUCTION 0x80a02458 <+4>: mov pc, lr End of assembler dump. = The Undefined instruction exception is not expected at this point when ex= ecuting the VMRS r0,fpsid instruction. To manage notifications about this bug go to: https://bugs.launchpad.net/helenos/+bug/1359930/+subscriptions