Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753614AbbGALZ4 (ORCPT ); Wed, 1 Jul 2015 07:25:56 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:33585 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751382AbbGALZr (ORCPT ); Wed, 1 Jul 2015 07:25:47 -0400 X-AuditID: cbfec7f5-f794b6d000001495-2b-5593ce381136 Message-id: <5593CE37.4070307@samsung.com> Date: Wed, 01 Jul 2015 14:25:43 +0300 From: Andrey Ryabinin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-version: 1.0 To: Al Viro Cc: Linus Torvalds , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [git pull] vfs part 2 References: <20150415181406.GL889@ZenIV.linux.org.uk> <5538C66F.4050404@samsung.com> <20150621211213.GA18732@ZenIV.linux.org.uk> <5587F943.3040006@samsung.com> <20150701062752.GC17109@ZenIV.linux.org.uk> <55939BE3.6040902@samsung.com> <20150701082753.GD17109@ZenIV.linux.org.uk> <5593A7A0.6050400@samsung.com> <20150701085507.GE17109@ZenIV.linux.org.uk> In-reply-to: <20150701085507.GE17109@ZenIV.linux.org.uk> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrELMWRmVeSWpSXmKPExsVy+t/xq7oW5yaHGuxerWyxZ+9JFovLu+aw WTzqe8tucf7vcVYHFo8TM36zeHzeJOex6clbpgDmKC6blNSczLLUIn27BK6MnwfXMhWs5K1Y dGM2YwPjZq4uRk4OCQETif4/t1ggbDGJC/fWs3UxcnEICSxllDjR+ZEdwvnOKPFr8hUmkCpe AS2Jc7shbBYBVYn/n/Ywg9hsAnoS/2ZtZwOxRQUiJN5ePglVLyjxY/I9sA0iQPV3Tp0BizML FEp8XN0GZgsLKEk8XTAPavNLJomXV1+BDeUUsJB40P4OKMEB1KAncf+iFkSvvMTmNW+ZJzAK zEKyYhZC1SwkVQsYmVcxiqaWJhcUJ6XnGukVJ+YWl+al6yXn525ihITs1x2MS49ZHWIU4GBU 4uHNkJgcKsSaWFZcmXuIUYKDWUmE98tUoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHembvehwgJ pCeWpGanphakFsFkmTg4pRoYy6fPcIiySphhcNVR++rv33vNvj49X+SVs2PibDNpi0/b0q86 TC1duX9pyL7I+nmL017z56d9/xS5JHLjvc37Wbv/nE4s47V9MNFyQ/uyuX6/ekUm11vq/jnv baFo814pWijI+U5Wzw3R7E/zfOICutb+5+GZdfpu2qUeM4XCSykT7vp9Ut/0W4mlOCPRUIu5 qDgRAAgtKOdVAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1904 Lines: 51 On 07/01/2015 11:55 AM, Al Viro wrote: > On Wed, Jul 01, 2015 at 11:41:04AM +0300, Andrey Ryabinin wrote: >> On 07/01/2015 11:27 AM, Al Viro wrote: >>> >>> Could you check if 3.19 was getting anything similar? I.e. in >>> p9_client_write() there add >>> if (count > rsize) >>> printk(KERN_ERR "bogus RWRITE: %d -> %d\n", rsize, count); >>> just before >>> p9_debug(P9_DEBUG_9P, "<<< RWRITE count %d\n", count); >>> and see if that triggers... >>> >> >> Yeah, the same thing: >> [ 125.962374] bogus RWRITE: 27 -> 4096 >> [ 207.587632] bogus RWRITE: 27 -> 4096 >> [ 215.055627] bogus RWRITE: 27 -> 4096 >> [ 235.583138] bogus RWRITE: 27 -> 4096 >> [ 245.749174] bogus RWRITE: 27 -> 4096 >> [ 246.759270] bogus RWRITE: 27 -> 4096 >> [ 248.020787] bogus RWRITE: 27 -> 4096 > > Hrm... Could you add (int)req->rc->id, (int)req->rc->tag and (int)req->tc->tag > to that printk (on either kernel, the problem's apparently not new)? > I've attached gdb instead. So, after message "bogus RWRITE: 93 -> 4096" I've got this: (gdb) p *req->rc $11 = {size = 11, id = 119 'w', tag = 3, offset = 11, capacity = 8192, sdata = 0xffff8802347b8020 "\v"} (gdb) p *req->tc $12 = {size = 116, id = 118 'v', tag = 3, offset = 0, capacity = 8192, sdata = 0xffff88023479c020 "t"} > The question is whether we are mismatching replies, sending bogus requests or > if it's really the server sending bogus replies. Which qemu version are > you using, BTW? > As I said before qemu's version is 2.2.1. So, I've decided to try kvmtool. It took a bit longer to trigger, but still: [ 466.552432] bogus RWRITE: 57 -> 8168 [ 969.317058] bogus RWRITE: 27 -> 8168 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/