From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755500AbXKTJZW (ORCPT ); Tue, 20 Nov 2007 04:25:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755982AbXKTJZE (ORCPT ); Tue, 20 Nov 2007 04:25:04 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:41236 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755277AbXKTJZB (ORCPT ); Tue, 20 Nov 2007 04:25:01 -0500 Date: Tue, 20 Nov 2007 01:24:46 -0800 From: Andrew Morton To: Kamalesh Babulal Cc: LKML , linux-cifs-client@lists.samba.org, samba-technical@lists.samba.org, Andy Whitcroft , Balbir Singh Subject: Re: [BUG] 2.6.24-rc2-mm1 - smbd write fails Message-Id: <20071120012446.f97c5467.akpm@linux-foundation.org> In-Reply-To: <4742A05B.40902@linux.vnet.ibm.com> References: <47429A7B.6040802@linux.vnet.ibm.com> <20071120003817.94cce1d9.akpm@linux-foundation.org> <4742A05B.40902@linux.vnet.ibm.com> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Nov 2007 14:22:43 +0530 Kamalesh Babulal wrote: > Andrew Morton wrote: > > On Tue, 20 Nov 2007 13:57:39 +0530 Kamalesh Babulal wrote: > > > >> Hi Andrew, > >> > >> Following calltrace is seen server, while running filesystem stress on smb mounted partition on the client machine. > >> > >> Nov 19 18:45:52 p55lp6 smbd[3304]: [2007/11/19 18:45:52, 0] lib/util_sock.c:write_data(562) > >> Nov 19 18:45:52 p55lp6 smbd[3304]: write_data: write failure in writing to client 9.124.111.212. Error Broken pipe > >> Nov 19 18:45:52 p55lp6 smbd[3304]: [2007/11/19 18:45:52, 0] lib/util_sock.c:send_smb(769) > >> Nov 19 18:45:52 p55lp6 smbd[3304]: Error writing 39 bytes to client. -1. (Broken pipe) > >> Nov 19 18:47:42 p55lp6 smbd[3650]: [2007/11/19 18:47:42, 0] smbd/oplock.c:oplock_timeout_handler(351) > >> Nov 19 18:47:42 p55lp6 smbd[3650]: Oplock break failed for file p0/d3XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > >> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/deX/d3cX/d6eXXX/f8d -- replying anyway > >> Nov 19 18:47:42 p55lp6 kernel: [ 6960.261068] warning: process `smbd' gets w/ old libcap > >> Nov 19 18:47:42 p55lp6 smbd[3650]: [2007/11/19 18:47:42, 0] smbd/oplock_linux.c:linux_release_kernel_oplock(193) > >> Nov 19 18:47:43 p55lp6 smbd[3650]: linux_release_kernel_oplock: Error when removing kernel oplock on file p0/d3XXXXXXXXXXXXXXXXXXXXXXX > >> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/deX/d3cX/d6eXXX/f8d, dev = 807, inode = 30983, file > >> _id = 501. Error w > >> Nov 19 18:48:04 p55lp6 smbd[3650]: [2007/11/19 18:48:04, 0] lib/util_sock.c:write_data(562) > >> Nov 19 18:48:04 p55lp6 smbd[3650]: write_data: write failure in writing to client 9.124.111.212. Error Connection reset by peer > >> > > > > So you have samba running on a 2.6.24-rc2-mm1 machine and samba is failing > > with the above messages? > > > Hi Andrew, > > Yes, the above messages are seen with the 2.6.24-rc2-mm1 kernel. Oh. Well I don't know where to start looking for that one. Maybe someone fixed it amongst all the things which have been happening recently. I'll upload an mm snapshot as soon as I can get some of it to compile. Can you please retest with that? If it still fails and if this is reasonably reproducible I'm afraid I'd ask if you have time to run a bisection search on it.