From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753388AbcHBJNZ (ORCPT ); Tue, 2 Aug 2016 05:13:25 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:45794 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752585AbcHBJNW (ORCPT ); Tue, 2 Aug 2016 05:13:22 -0400 Subject: Re: Hang in 9p/virtio To: Cornelia Huck References: <579D1F3A.7020806@oracle.com> <20160802110321.1fc7369f.cornelia.huck@de.ibm.com> Cc: Eric Van Hensbergen , "Michael S. Tsirkin" , "Aneesh Kumar K.V" , v9fs-developer@lists.sourceforge.net, LKML From: Vegard Nossum Message-ID: <57A06420.3070508@oracle.com> Date: Tue, 2 Aug 2016 11:13:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <20160802110321.1fc7369f.cornelia.huck@de.ibm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/02/2016 11:03 AM, Cornelia Huck wrote: > On Sat, 30 Jul 2016 23:42:18 +0200 > Vegard Nossum wrote: > >> Hi, >> >> With fault injection triggering an allocation failure for the >> alloc_indirect() call in virtqueue_add() I'm seeing a hang in >> p9_virtio_zc_request() -- it seems to be waiting here indefinitely >> (i.e. at least 120 seconds): >> [...] > What happens is that the code falls back to direct virtio addressing > (after indirect addressing failed) - and this should work. > > I'm more inclined to suspect a qemu instead of a kernel bug, as your > qemu version is quite old and there have been fixes in the virtio > buffer handling and virtio-9p in the meantime. (I'm suspecting > "virtio-9p: fix any_layout".) > > Could you retry with a more recent qemu (at least version 2.4)? I think maybe the version number in the stack trace is a bit misleading, this is the full/actual version: $ kvm --version QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.1), Copyright (c) 2003-2008 Fabrice Bellard I'll still try to get qemu from git and see if it makes a difference. Thanks, Vegard