From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPI0X-0006Gu-Cu for qemu-devel@nongnu.org; Wed, 03 Sep 2014 17:22:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPI0Q-0005CD-3L for qemu-devel@nongnu.org; Wed, 03 Sep 2014 17:22:25 -0400 Received: from e23smtp05.au.ibm.com ([202.81.31.147]:47739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPI0P-0005BT-FE for qemu-devel@nongnu.org; Wed, 03 Sep 2014 17:22:18 -0400 Received: from /spool/local by e23smtp05.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 4 Sep 2014 07:22:12 +1000 Received: from d23relay07.au.ibm.com (d23relay07.au.ibm.com [9.190.26.37]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id 923062BB0040 for ; Thu, 4 Sep 2014 07:22:09 +1000 (EST) Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay07.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s83LNEs630015706 for ; Thu, 4 Sep 2014 07:23:14 +1000 Received: from d23av02.au.ibm.com (localhost [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s83LM8tH000828 for ; Thu, 4 Sep 2014 07:22:08 +1000 From: "Aneesh Kumar K.V" In-Reply-To: <871trsfvtq.fsf@linux.vnet.ibm.com> References: <5405C24D.4000304@ilande.co.uk> <20140903104121.GF28095@stefanha-thinkpad.redhat.com> <871trsfvtq.fsf@linux.vnet.ibm.com> Date: Wed, 03 Sep 2014 16:21:59 -0500 Message-ID: <87vbp4e6x4.fsf@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] qemu-system-sparc64 hang (possibly virtio related?) with 2.1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , Mark Cave-Ayland , Alexey Kardashevskiy , Alexander Graf Cc: Waldemar Brodkorb , qemu-devel "Aneesh Kumar K.V" writes: > Stefan Hajnoczi writes: > >> On Tue, Sep 02, 2014 at 02:12:45PM +0100, Mark Cave-Ayland wrote: >>> Fortunately I can reproduce the issue with a debug-enabled build of >>> qemu-system-sparc64, and I've posted a backtrace obtained during the hung >>> state at http://www.ilande.co.uk/tmp/sparc64-gdb-bt.txt. I can't see >>> anything too obvious, other than that the ppoll() could possibly be waiting >>> for a bad file descriptor? >> >> The backtrace looks like a normal QEMU run. Nothing obvious there. >> >> This suggests the QEMU monitor is still operational and the guest is >> still executing code. >> >> Does the I/O time out inside the guest? Normally messages are printed >> in dmesg if I/O requests are pending for too long. > > I am also finding this on ppc64. The system hang even with virtio-9p, so > it may not be virtio blk related. git bisect is complicated because few > commits in between cause other boot failures with ppc64. The bad commit is: git show cc943c36faa192cd4b32af8fe5edb31894017d35 commit cc943c36faa192cd4b32af8fe5edb31894017d35 Author: Jan Kiszka Date: Sun Jul 27 09:08:29 2014 +0200 pci: Use bus master address space for delivering MSI/MSI-X messages git bisect log git bisect start # good: [5149e557d786ab83748588c9b1b13b43c81af6ab] Open 2.1 development tree git bisect good 5149e557d786ab83748588c9b1b13b43c81af6ab # bad: [246ad8e69be03d2774401adf63d7e1da8df166ac] hw/9pfs: Don't return type from host in readdir on local 9p filesystem git bisect bad 246ad8e69be03d2774401adf63d7e1da8df166ac # good: [d1a721ab816d1b954c0988aafdec4e109b953a9f] target-ppc: Add POWER8's TIR SPR git bisect good d1a721ab816d1b954c0988aafdec4e109b953a9f # good: [85d1277e668106294d134a101729c6f36289da1a] virtio: move common virtio properties to bus class device git bisect good 85d1277e668106294d134a101729c6f36289da1a # good: [86298845e127365e8a5b7419a5ee9039bbd1837f] qtest: Adding qtest_memset and qmemset. git bisect good 86298845e127365e8a5b7419a5ee9039bbd1837f # bad: [33886ebeec0c0ff6253a49253fae0db44c9ed0f3] Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging git bisect bad 33886ebeec0c0ff6253a49253fae0db44c9ed0f3 # bad: [8e6e2c2ae7a81f625cf1cb320891d5270e277548] Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging git bisect bad 8e6e2c2ae7a81f625cf1cb320891d5270e277548 # good: [39ba3bf69c4ef4d8a8b683ee7282efd25b3f01ff] qcow2: fix new_blocks double-free in alloc_refcount_block() git bisect good 39ba3bf69c4ef4d8a8b683ee7282efd25b3f01ff # good: [5edbdbcdf882e4220adc7dbf433351077cd1fbbc] ivshmem: check the value returned by fstat() git bisect good 5edbdbcdf882e4220adc7dbf433351077cd1fbbc # bad: [f2c85a2f36f57f155cda7bc9f7c42b44f1a2439e] Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging git bisect bad f2c85a2f36f57f155cda7bc9f7c42b44f1a2439e # bad: [988eba0f681bd4f82e9e02998da8106f165ed82c] pc-dimm: fix up error message git bisect bad 988eba0f681bd4f82e9e02998da8106f165ed82c # bad: [d209c7440a642ba08bbb0f13e22390460d3661ed] hw/audio/intel-hda: Fix MSI capability address git bisect bad d209c7440a642ba08bbb0f13e22390460d3661ed # bad: [cc943c36faa192cd4b32af8fe5edb31894017d35] pci: Use bus master address space for delivering MSI/MSI-X messages git bisect bad cc943c36faa192cd4b32af8fe5edb31894017d35 # good: [2d591ce2aeebf9620ff527c7946844a3122afeec] Merge remote-tracking branch 'remotes/mdroth/qga-pull-2014-08-08' into staging git bisect good 2d591ce2aeebf9620ff527c7946844a3122afeec # first bad commit: [cc943c36faa192cd4b32af8fe5edb31894017d35] pci: Use bus master address space for delivering MSI/MSI-X messages -bash-4.2#