[linux-cifs-client] FC3 cifs hang circumvented

geoff ot0006 at 0x29a.org.uk
Thu May 26 14:20:21 GMT 2005


Hi there,

see:

[linux-cifs-client] Re: Process hangs copying large file to cifs
Nuno Ferreira nuno.ferreira at graycell.biz
Thu Aug 12 16:31:41 GMT 2004
<1087997817.2406.14.camel at taz.graycell.biz>

I get highly similar symptoms, with

[svn at wdsnfs ~]$ uname -a
Linux wdsnfs 2.6.11-1.14_FC3 #1 Thu Apr 7 19:23:49 EDT 2005 i686 i686 i386 GNU/Linux
[svn at wdsnfs ~]$ /sbin/mount.cifs --version
mount.cifs version: 1.5

to various Windows boxes including an XP SP1, an XP SP2 and some kind of SBS box
that's the real target.

Symptoms: slooow transfer, 'send on sock [...] stuck' messages, FC3 hung,
magic-sysrq available but ineffective (unmount never completes) so it's a reset
button. The system was reinstalled on this hw platform from another x86 to
exclude hardware damage.

Trace shows Windows box sending an ack and nothing further from cifs-client end.

This is circumvented by one or all of:

[svn at wdsnfs ~]$ cat /etc/rc.d/rc.local
#!/bin/sh
# CIFS setup
# without these values set CIFS will hang up on large file xfers
# GS 050524
modprobe cifs
echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled
echo 0 > /proc/fs/cifs/LookupCacheEnabled
echo 0 > /proc/fs/cifs/OplockEnabled

See kernel source tree for docs on these flags. With these set transfer is fast
and hang free.

I don't have hands on again until tomorrow, I hope to post again which flag
it is.


Best regards,
Geoff


--
best,
geoff

regrettably the email address above will bounce



More information about the linux-cifs-client mailing list