[linux-cifs-client] Re: [BUG] 2.6.24-rc2-mm1 - smbd write fails

Andrew Morton akpm at linux-foundation.org
Tue Nov 20 09:24:46 GMT 2007


On Tue, 20 Nov 2007 14:22:43 +0530 Kamalesh Babulal <kamalesh at linux.vnet.ibm.com> wrote:

> Andrew Morton wrote:
> > On Tue, 20 Nov 2007 13:57:39 +0530 Kamalesh Babulal <kamalesh at linux.vnet.ibm.com> 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.



More information about the linux-cifs-client mailing list