Received: from eggs.gnu.org ([2001:4830:134:3::10]:53286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XElXg-0007NT-5f for qemu-devel@nongnu.org; Tue, 05 Aug 2014 16:41:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XElXa-0008U7-HP for qemu-devel@nongnu.org; Tue, 05 Aug 2014 16:41:08 -0400 Received: from indium.canonical.com ([91.189.90.7]:52810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XElXa-0008U0-AV for qemu-devel@nongnu.org; Tue, 05 Aug 2014 16:41:02 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1XElXZ-00076A-A2 for ; Tue, 05 Aug 2014 20:41:01 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 451462E80C2 for ; Tue, 5 Aug 2014 20:41:01 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 05 Aug 2014 20:34:19 -0000 From: Joel Schopp <1348719@bugs.launchpad.net> Sender: bounces@canonical.com References: <20140725164118.19190.210.malonedeb@wampee.canonical.com> Message-Id: <20140805203419.26062.60419.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1348719] Re: arm64: -smp 2 hangs qemu Reply-To: Bug 1348719 <1348719@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The combination of a newer kernel and newer qemu make qemu work with -smp 2 . Rather than go figure out what got fixed let's just be happy it did. ** 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/1348719 Title: arm64: -smp 2 hangs qemu Status in QEMU: Fix Released Bug description: It appears that smp is broken on qemu for arm64. I'm looking into the root cause but am curious if others can reproduce in their environments. Tested with commit f368c33d5ab09dd5656924185cd975b11838cd25 (July 22) from https://github.com/qemu/qemu.git [root@joelaarch64 ~]# /usr/local/bin/qemu-system-aarch64 --version QEMU emulator version 2.0.93, Copyright (c) 2003-2008 Fabrice Bellard works fine: qemu --enable-kvm -nographic -netdev tap,id=3Dt0,ifname=3Dtap0,script=3Dn= o,downscript=3Dno,vhost=3Don -device virtio-net-device,netdev=3Dt0,id=3Dnic= 0 -kernel /extra/rootfs/boot/Image -drive file=3D/extra/Styx-Acadia-42-2014= -07-07_10-09-27.img,id=3Dfs -device virtio-blk-device,drive=3Dfs -m 1024 -M= virt -cpu host -smp 1 -append "console=3DttyAMA0 console=3DttyS0 root=3D/d= ev/vda2" hangs: qemu --enable-kvm -nographic -netdev tap,id=3Dt0,ifname=3Dtap0,script=3Dn= o,downscript=3Dno,vhost=3Don -device virtio-net-device,netdev=3Dt0,id=3Dnic= 0 -kernel /extra/rootfs/boot/Image -drive file=3D/extra/Styx-Acadia-42-2014= -07-07_10-09-27.img,id=3Dfs -device virtio-blk-device,drive=3Dfs -m 1024 -M= virt -cpu host -smp 2 -append "console=3DttyAMA0 console=3DttyS0 root=3D/d= ev/vda2" (gdb) t [Current thread is 1 (Thread 0x3ffb6787cc0 (LWP 7619))] (gdb) bt #0 0x000003ffb6e50330 in ppoll () from /lib64/libc.so.6 #1 0x00000000006631a0 in ppoll (__ss=3D0x0, __timeout=3D0x0, __nfds=3D, __fds=3D) at /usr/include/bits/poll2.h:77 #2 qemu_poll_ns (fds=3D, nfds=3D, timeout= =3D) at qemu-timer.c:314 #3 0x0000000000662878 in os_host_main_loop_wait (timeout=3D) at main-loop.c:229 #4 main_loop_wait (nonblocking=3D) at main-loop.c:484 #5 0x000000000040fdf4 in main_loop () at vl.c:2010 #6 main (argc=3D, argv=3D, envp=3D) at vl.c:4541 (gdb) t [Current thread is 1 (Thread 0x3ffb6787cc0 (LWP 7619))] (gdb) t 2 [Switching to thread 2 (Thread 0x3ffb64beef0 (LWP 7622))] #0 0x000003ffb6f10a44 in sigwait () from /lib64/libpthread.so.0 (gdb) bt #0 0x000003ffb6f10a44 in sigwait () from /lib64/libpthread.so.0 #1 0x000000000069d78c in sigwait_compat (opaque=3D0xd752c0) at util/comp= atfd.c:36 #2 0x000003ffb6f07c20 in start_thread () from /lib64/libpthread.so.0 #3 0x000003ffb6e5a80c in clone () from /lib64/libc.so.6 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1348719/+subscriptions