Received: from eggs.gnu.org ([2001:4830:134:3::10]:32938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF1wT-0004MD-Ld for qemu-devel@nongnu.org; Mon, 20 Jun 2016 12:20:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF1wO-0003S9-HC for qemu-devel@nongnu.org; Mon, 20 Jun 2016 12:20:53 -0400 Received: from indium.canonical.com ([91.189.90.7]:52728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF1wO-0003Ru-B2 for qemu-devel@nongnu.org; Mon, 20 Jun 2016 12:20:48 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bF1wN-0006Qe-Iq for ; Mon, 20 Jun 2016 16:20:47 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 8C7A22E80C7 for ; Mon, 20 Jun 2016 16:20:47 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 20 Jun 2016 16:14:49 -0000 From: Peter Maydell Reply-To: Bug 1324727 <1324727@bugs.launchpad.net> Sender: bounces@canonical.com References: <20140529235306.16178.36006.malonedeb@wampee.canonical.com> Message-Id: <20160620161449.24868.60481.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1324727] Re: qemu-system-arm segfaults without KVM on ARM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a two year old bug which doesn't have an attached repro case and I haven't seen QEMU segfault like this, so I'm going to assume we've fixed this bug. Please reopen if you still have a problem with a newer QEMU, and provide a link to the guest binary that demonstrates the crash. ** Changed in: qemu Status: New =3D> Fix Released -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1324727 Title: qemu-system-arm segfaults without KVM on ARM Status in QEMU: Fix Released Bug description: I'm running on Odroid-XU, Debian Jessie armhf qemu built from today's head d7d3d6092cb7edc75dc49fb90c86dd5425ab4805 sudo qemu-system-arm -M vexpress-a15 -drive if=3Dnone,file=3Darm.img,cac= he=3Dwriteback,id=3Dfoo -device virtio-blk-device,drive=3Dfoo -netdev user,= id=3Duser.0 -device virtio-net-device,netdev=3Duser.0 -nographic -append 'r= oot=3D/dev/vda rw console=3DttyAMA0 rootwait' -kernel /usr/src/build/arm/li= nux-guest/arch/arm/boot/zImage -dtb a15x2.dtb audio: Could not init `oss' audio driver Uncompressing Linux... done, booting the kernel. Segmentation fault If I run under GDB, the linux guest instance panics or hangs -- the behaviour is variable run to run. If I do: sudo qemu-system-arm --enable-kvm -M vexpress-a15 -drive if=3Dnone,file= =3Darm.img,cache=3Dwriteback,id=3Dfoo -device virtio-blk-device,drive=3Dfoo= -netdev user,id=3Duser.0 -device virtio-net-device,netdev=3Duser.0 -nograp= hic -append 'root=3D/dev/vda rw console=3DttyAMA0 rootwait' -kernel /usr/sr= c/build/arm/linux-guest/arch/arm/boot/zImage -dtb a15x2.dtb then the guest boots as expected. I tried to get a backtrace by allowinghte SEGV to dump core, and using gd= b to inspect it: Core was generated by `qemu-system-arm -M vexpress-a15 -drive if=3Dnone,f= ile=3Darm.img,cache=3Dwriteback,id=3D'. Program terminated with signal 11, Segmentation fault. #0 0xb53399c0 in ?? () (gdb) bt #0 0xb53399c0 in ?? () Cannot access memory at address 0x28 #1 0x0016d87e in cpu_tb_exec ( tb_ptr=3D0xc786fe90
, cpu=3D0x24450= d8) at /mnt/qemu/cpu-exec.c:67 #2 cpu_arm_exec (env=3D) at /mnt/qemu/cpu-exec.c:642 #3 0x00000000 in ?? () To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1324727/+subscriptions