[linux-cifs-client] bad cifs hang
Tucker Cunningham
tucker at intapp.com
Tue Nov 22 19:25:14 GMT 2005
howdy -
I've been running into a bug lately which I have not yet figured out
how to reproduce, but when it does crop up it's bad. When I get into
this state, the following series of messages can be found in syslog
repeating several times a second in an (apparently) infinite loop. The
only way to kill the offending process is to power-cycle the machine, it
is immune to kill -9. System also showed a high load average (~2.5 to
3) at this point.
The machine being connected to is running Windows XP Professional
Service Pack 1. Prior to observing this behavior, the shared folder was
mounted on a linux box running kernel 2.6.13. The shared folder was
then deleted on this windows box. Not exactly sure what operation got
the process into the hung state. I know this is not a huge amount of
information, but it has been difficult to gather data about this bug
since it is so transient . . . reproducing the above steps does not
elicit the bug this morning. Any thoughts or suggestions as to how to
reproduce would be much appreciated. Log output follows, thanks for help
-tucker
Nov 21 18:46:08 woodpecker kernel: fs/cifs/cifssmb.c: Reading 49152
bytes on fid 16384
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: For smb_command 114
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: Sending smb of
length 47
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: rfc1002
length(big endian)0x73)
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: Security Mode:
0x3 Capabilities: 0xe3fd Time Zone: 480
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: In sesssetup
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: For smb_command 115
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: Sending smb of
length 234
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: rfc1002
length(big endian)0x87)
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: Guest login
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: UID = 2048
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: CIFS Session
Established successfully
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: For smb_command 117
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: Sending smb of
length 80
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: rfc1002
length(big endian)0x42)
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: Tcon flags: 0x1
Nov 21 18:46:08 woodpecker kernel: fs/cifs/cifssmb.c: reconnect tcon rc = 0
Nov 21 18:46:08 woodpecker kernel: fs/cifs/file.c: CIFS VFS: in
cifs_reopen_file as Xid: 1685067 with uid: 505
Nov 21 18:46:08 woodpecker kernel: fs/cifs/file.c: inode = 0xc6e52748
file flags are 0x8000 for \Gryffindor.adp
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: For smb_command 162
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: Sending smb of
length 116
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: rfc1002
length(big endian)0x6b)
Nov 21 18:46:08 woodpecker kernel: fs/cifs/inode.c: Getting info on
\Gryffindor.adp
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: For smb_command 50
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: Sending smb of
length 104
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: rfc1002
length(big endian)0xfe)
Nov 21 18:46:08 woodpecker kernel: fs/cifs/inode.c: Old time 135925588
Nov 21 18:46:08 woodpecker kernel: fs/cifs/inode.c: New time 135925597
Nov 21 18:46:08 woodpecker kernel: fs/cifs/inode.c: File inode
Nov 21 18:46:08 woodpecker kernel: fs/cifs/file.c: Exclusive Oplock
granted on inode c6e52748
Nov 21 18:46:08 woodpecker kernel: fs/cifs/file.c: CIFS VFS: leaving
cifs_reopen_file (xid = 1685067) rc = 0
Nov 21 18:46:08 woodpecker kernel: fs/cifs/cifssmb.c: Reading 49152
bytes on fid 16384
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: For smb_command 46
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: Sending smb of
length 59
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: rfc1002
length(big endian)0xb63f)
Nov 21 18:46:08 woodpecker kernel: CIFS VFS: Invalid size SMB length 4
pdu_length 46655
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: Reconnecting tcp
session
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: State: 0x3 Flags: 0x0
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: Post shutdown
state: 0x3 Flags: 0x0
Nov 21 18:46:08 woodpecker kernel: fs/cifs/connect.c: Socket created
Nov 21 18:46:08 woodpecker kernel: CIFS VFS: No response buffer
Nov 21 18:46:08 woodpecker kernel: fs/cifs/transport.c: marking request
for retry
Nov 21 18:46:08 woodpecker kernel: fs/cifs/misc.c: Null buffer passed
to cifs_small_buf_release
Nov 21 18:46:08 woodpecker kernel: CIFS VFS: Send error in read = -11
--
Tucker Cunningham
Integration Appliance Inc.
email: tucker at intapp.com
cell: 650.387.5980
More information about the linux-cifs-client
mailing list