From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPJju-000552-R7 for qemu-devel@nongnu.org; Wed, 03 Sep 2014 19:13:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPJjo-0006VU-Bg for qemu-devel@nongnu.org; Wed, 03 Sep 2014 19:13:22 -0400 Received: from e28smtp08.in.ibm.com ([122.248.162.8]:46844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPJjn-0006VJ-Pa for qemu-devel@nongnu.org; Wed, 03 Sep 2014 19:13:16 -0400 Received: from /spool/local by e28smtp08.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 4 Sep 2014 04:43:13 +0530 Received: from d28relay03.in.ibm.com (d28relay03.in.ibm.com [9.184.220.60]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id 626DA3940043 for ; Thu, 4 Sep 2014 04:43:11 +0530 (IST) Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay03.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s83NFWLq3473750 for ; Thu, 4 Sep 2014 04:45:32 +0530 Received: from d28av02.in.ibm.com (localhost [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s83NDAGk015746 for ; Thu, 4 Sep 2014 04:43:10 +0530 From: "Aneesh Kumar K.V" In-Reply-To: <54079427.5010603@suse.de> References: <5405C24D.4000304@ilande.co.uk> <20140903104121.GF28095@stefanha-thinkpad.redhat.com> <871trsfvtq.fsf@linux.vnet.ibm.com> <87vbp4e6x4.fsf@linux.vnet.ibm.com> <54079427.5010603@suse.de> Date: Wed, 03 Sep 2014 18:13:04 -0500 Message-ID: <87egvse1rz.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: Alexander Graf , Stefan Hajnoczi , Mark Cave-Ayland , Alexey Kardashevskiy Cc: Waldemar Brodkorb , qemu-devel Alexander Graf writes: > On 03.09.14 23:21, Aneesh Kumar K.V wrote: >> "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 > > Does "spapr_pci: map the MSI window in each PHB" from Greg fix this for > you on ppc64? > Yes that patch fixed the issue for me. Thanks, -aneesh