Process hangs copying large file to cifs
Quoted 2 lines
Quoted 1 line
This is copying a 197Mb from an my laptop's IDE hardisk to a cifs
mounted share that's on a Win2000 Server
Linus had suggested hashing cifs inodes, which makes sense as related to the problem that you reported. I have coded that and it tested out ok today. If you have a chance could you try the patch at:
http://cifs.bkbits.net:8080/linux-2.5cifs/gnupatch@40e0925dAlasT6JDoPqQE2q3e-zYiw
Quoted 8 lines · Steve French
Quoted 2 lines
Quoted 1 line
This is copying a 197Mb from an my laptop's IDE hardisk to a cifs
mounted share that's on a Win2000 Server
Linus had suggested hashing cifs inodes, which makes sense as related to the problem that you reported. I have coded that and it tested out ok today. If you have a chance could you try the patch at:
http://cifs.bkbits.net:8080/linux-2.5cifs/gnupatch@40e0925dAlasT6JDoPqQE2q3e-zYiw
I applied it by hand to plain 2.6.7 (had some rejects) and it appears to work. Thank you.
I just copied a 600Mb from my laptop to the server with no problems, continued to work on my desktop with no visible effects. Great work.
Signature · 1 line
Nuno Ferreira
Quoted 8 lines · Nuno Ferreira
Quoted 7 lines · Steve French
Quoted 2 lines
Quoted 1 line
This is copying a 197Mb from an my laptop's IDE hardisk to a cifs
mounted share that's on a Win2000 Server
Linus had suggested hashing cifs inodes, which makes sense as related to the problem that you reported. I have coded that and it tested out ok today. If you have a chance could you try the patch at:
Quoted 6 lines
I applied it by hand to plain 2.6.7 (had some rejects) and it appears to work. Thank you.
I just copied a 600Mb from my laptop to the server with no problems, continued to work on my desktop with no visible effects.
Unfortunately it appears the problem still exists, or maybe it's another one with the same visible effects.
I don't use the windows share very often, and with large files it's even less often, so I just found out today.
Trying to copy a ~180Mb file from the same machine (still using the same kernel) to the same share, I had the same problem. Eventually, after 30min and lot's of freezes the file was copied but corrupted. Here
One thing is different, this time I got messages in the system logs, they repeat for the whole time the file was copying.
Also, after copying the file I had this strange (-6) ReqActive count, is it expected? Now (about 10 min later) it shows 0;
nmf@taz:~/Desktop/Downloads$ cat /proc/fs/cifs/DebugData Display Internal CIFS Data Structures for Debugging --------------------------------------------------- Servers:
1) Name: 10.1.1.14 Domain: GRAYCELL Mounts: 1 ServerOS: Windows 5.0
ServerNOS: Windows 2000 LAN Manager Capabilities: 0xf3fd
SMB session status: 1 TCP status: 1
Local Users To Server: 1 SecMode: 0x3 Req Active: -6
2) Name: 10.1.1.1 Domain: GRAYCELL Mounts: 1 ServerOS: Windows 5.0
ServerNOS: Windows 2000 LAN Manager Capabilities: 0xf3fd
SMB session status: 3 TCP status: 1
Local Users To Server: 1 SecMode: 0x3 Req Active: 0Shares:
1) \\pepe\nmf Uses: 1 Type: FAT Characteristics: 0x20 Attributes: 0x6
PathComponentMax: 255 Status: 1 type: DISK
2) \\ODIE\GRAYCELL Uses: 1 Type: NTFS Characteristics: 0x20 Attributes: 0x700ff
PathComponentMax: 255 Status: 3 type: DISK DISCONNECTED
Here are the errors
syslog
------
Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: No task to wake, unknown frame rcvd! Aug 12 16:13:00 taz kernel: Received Data is: : dump of 37 bytes of data at 0xd9e10660 Aug 12 16:13:00 taz kernel: Aug 12 16:13:00 taz kernel: 2f000000 424d53ff 0000002f c0018000 . . . / \xff S M B / . . . . . . \xc0 Aug 12 16:13:00 taz kernel: 00000000 00000000 00000000 0c796002 . . . . . . . . . . . . . ` y . Aug 12 16:13:00 taz kernel: 0b39d000 2f00ff06 . \xd0 9 . . Aug 12 16:13:02 taz kernel: CIFS VFS: No response buffer Aug 12 16:13:07 taz last message repeated 5 times Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: No task to wake, unknown frame rcvd! Aug 12 16:14:00 taz kernel: Aug 12 16:14:00 taz kernel: 2f000000 424d53ff 0000002f c0018000 . . . / \xff S M B / . . . . . . \xc0 Aug 12 16:14:00 taz kernel: 00000000 00000000 00000000 0c796000 . . . . . . . . . . . . . ` y . Aug 12 16:14:00 taz kernel: 0cbeb800 2f00ff06 . \xb8 \xbe . . Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:02 taz kernel: CIFS VFS: No response buffer Aug 12 16:14:07 taz last message repeated 7 times
Signature · 1 line
Nuno Ferreira
Quoted 8 lines · Nuno Ferreira
Quoted 7 lines · Steve French
Quoted 2 lines
Quoted 1 line
This is copying a 197Mb from an my laptop's IDE hardisk to a cifs
mounted share that's on a Win2000 Server
Linus had suggested hashing cifs inodes, which makes sense as related to the problem that you reported. I have coded that and it tested out ok today. If you have a chance could you try the patch at:
Quoted 6 lines
I applied it by hand to plain 2.6.7 (had some rejects) and it appears to work. Thank you.
I just copied a 600Mb from my laptop to the server with no problems, continued to work on my desktop with no visible effects.
Unfortunately it appears the problem still exists, or maybe it's another one with the same visible effects.
I don't use the windows share very often, and with large files it's even less often, so I just found out today.
Trying to copy a ~180Mb file from the same machine (still using the same kernel) to the same share, I had the same problem. Eventually, after 30min and lot's of freezes the file was copied but corrupted. Here
One thing is different, this time I got messages in the system logs, they repeat for the whole time the file was copying.
Also, after copying the file I had this strange (-6) ReqActive count, is it expected? Now (about 10 min later) it shows 0;
nmf@taz:~/Desktop/Downloads$ cat /proc/fs/cifs/DebugData Display Internal CIFS Data Structures for Debugging --------------------------------------------------- Servers:
1) Name: 10.1.1.14 Domain: GRAYCELL Mounts: 1 ServerOS: Windows 5.0
ServerNOS: Windows 2000 LAN Manager Capabilities: 0xf3fd
SMB session status: 1 TCP status: 1
Local Users To Server: 1 SecMode: 0x3 Req Active: -6
2) Name: 10.1.1.1 Domain: GRAYCELL Mounts: 1 ServerOS: Windows 5.0
ServerNOS: Windows 2000 LAN Manager Capabilities: 0xf3fd
SMB session status: 3 TCP status: 1
Local Users To Server: 1 SecMode: 0x3 Req Active: 0Shares:
1) \\pepe\nmf Uses: 1 Type: FAT Characteristics: 0x20 Attributes: 0x6
PathComponentMax: 255 Status: 1 type: DISK
2) \\ODIE\GRAYCELL Uses: 1 Type: NTFS Characteristics: 0x20 Attributes: 0x700ff
PathComponentMax: 255 Status: 3 type: DISK DISCONNECTED
Here are the errors
syslog
------
Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:13:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:13:00 taz kernel: CIFS VFS: No task to wake, unknown frame rcvd! Aug 12 16:13:00 taz kernel: Received Data is: : dump of 37 bytes of data at 0xd9e10660 Aug 12 16:13:00 taz kernel: Aug 12 16:13:00 taz kernel: 2f000000 424d53ff 0000002f c0018000 . . . / \xff S M B / . . . . . . \xc0 Aug 12 16:13:00 taz kernel: 00000000 00000000 00000000 0c796002 . . . . . . . . . . . . . ` y . Aug 12 16:13:00 taz kernel: 0b39d000 2f00ff06 . \xd0 9 . . Aug 12 16:13:02 taz kernel: CIFS VFS: No response buffer Aug 12 16:13:07 taz last message repeated 5 times Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: No task to wake, unknown frame rcvd! Aug 12 16:14:00 taz kernel: Aug 12 16:14:00 taz kernel: 2f000000 424d53ff 0000002f c0018000 . . . / \xff S M B / . . . . . . \xc0 Aug 12 16:14:00 taz kernel: 00000000 00000000 00000000 0c796000 . . . . . . . . . . . . . ` y . Aug 12 16:14:00 taz kernel: 0cbeb800 2f00ff06 . \xb8 \xbe . . Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:00 taz kernel: CIFS VFS: sends on sock dc041620 stuck for 30 seconds Aug 12 16:14:00 taz kernel: CIFS VFS: Error -11 sending data on socket to server. Aug 12 16:14:02 taz kernel: CIFS VFS: No response buffer Aug 12 16:14:07 taz last message repeated 7 times
Signature · 1 line
Nuno Ferreira
Your log entries indicate that the socket was dead, so the patch you hand applied for hashing of inodes
appears unrelated. Many (including myself copy) much larger files regularly via CIFS. I don't know
whether the best approach is to backport the other fixes that could affect this code path to your kernel
so we can see if this is a current problem in some recovery path or has already been fixed. There are
only three to four global changes in the kernel (that hit the fs/cifs directory) since 2.6.6 that would have to be dealt with to compile the current 2.6.8 fs/cifs directory on an older 2.6.6 kernel.
Quoted 6 lines · Nuno Ferreira
Quoted 4 lines · Nuno Ferreira
Quoted 3 lines · Steve French
Quoted 2 lines
Quoted 1 line
This is copying a 197Mb from an my laptop's IDE hardisk to a cifs
mounted share that's on a Win2000 Server
Quoted 2 lines · Steve French (IBM LTC)
Your log entries indicate that the socket was dead, so the patch you hand applied for hashing of inodes appears unrelated.
I just mentioned the previous problem because the behaviour was pretty much the same as before, long times of no TCP traffic, intermittent freezes apparently of all the processes trying to do IO to the disk.
Quoted 1 line
Many (including myself copy) much larger files regularly via CIFS.
It appears (purely speculation, no hard facts to back it up) related to memory pressure, it doesn't happen with smaller files (my laptop has 512Mb) and it happens less often on the second copy if the file fits on cache.
Quoted 5 lines
I don't know
whether the best approach is to backport the other fixes that could affect this code path to your kernel
so we can see if this is a current problem in some recovery path or has already been fixed. There are
only three to four global changes in the kernel (that hit the fs/cifs directory) since 2.6.6 that would have to be dealt with to compile the current 2.6.8 fs/cifs directory on an older 2.6.6 kernel.
I'm running 2.6.7, are the changes contained in 2.6.8-rc(something)? I cant try them or an -mm kernel if you prefer.
Signature · 1 line
Nuno Ferreira
Quoted 8 lines · Nuno Ferreira
Quoted 2 lines · Steve French (IBM LTC)
Your log entries indicate that the socket was dead, so the patch you hand applied for hashing of inodes appears unrelated.
I just mentioned the previous problem because the behaviour was pretty much the same as before, long times of no TCP traffic, intermittent freezes apparently of all the processes trying to do IO to the disk.
Quoted 6 lines
Quoted 1 line
Many (including myself copy) much larger files regularly via CIFS.
It appears (purely speculation, no hard facts to back it up) related to memory pressure, it doesn't happen with smaller files (my laptop has 512Mb) and it happens less often on the second copy if the file fits on cache.
I've now reproduced it with 2.6.8-rc4. Just after boot I could not reproduce it with the previous file, but trying with a larger (350Mb) file it happened again. Another hint to memory pressure? I will try again in a few hours with the smaller file to see if it happens... Just tried, this time it happened with the first (smaller) file. What info can I try to collect to help you find the problem?
Signature · 1 line
Nuno Ferreira