Directory listing truncated on CIFS mount with kernel error CIFS VFS: Send error in FindClose = -9

Bug #780251 reported by Seth76

This bug report was converted into a question: question #156923: Directory listing truncated on CIFS mount with kernel error CIFS VFS: Send error in FindClose = -9.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cifs-utils (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: smbclient

Mounting a network share using CIFS and receiving kernel error "CIFS VFS: Send error in FindClose = -9" after listing directories with a listing greater than 690 characters for the file and/or folder names. The directory listing is truncated at around 690 characters.

SMB share is hosted on Windows 7.

I have tested this issue on the following:
Ubuntu 10.04 with kernel 2.6.32-31 (generic)
Ubuntu 10.10 with kernel 2.6.35-28 (generic)
Ubuntu 11.04 with kernel 2.6.38-8 (generic)

Current smbclient information
smbclient:
  Installed: 2:3.5.8~dfsg-1ubuntu2.1
  Candidate: 2:3.5.8~dfsg-1ubuntu2.1
  Version table:
 *** 2:3.5.8~dfsg-1ubuntu2.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2:3.5.8~dfsg-1ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

Revision history for this message
Seth76 (seth-gallmeyer) wrote :

No longer smbclient.

affects: samba (Ubuntu) → cifs-utils (Ubuntu)
Revision history for this message
Seth76 (seth-gallmeyer) wrote :

Current cifs-utils information
cifs-utils:
  Installed: 2:4.5-2
  Candidate: 2:4.5-2
  Version table:
 *** 2:4.5-2 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

Seth76 (seth-gallmeyer)
summary: - Directory listing truncated on CIFS mount
+ Directory listing truncated on CIFS mount with kernel error CIFS VFS:
+ Send error in FindClose = -9
Revision history for this message
Seth76 (seth-gallmeyer) wrote :

Adding tcpdump output which should be where the issue is occurring.

22:20:10.957676 IP (tos 0x0, ttl 64, id 58368, offset 0, flags [DF], proto TCP (6), length 136)
    media-desktop.local.35586 > 10.100.100.100.microsoft-ds: Flags [P.], cksum 0xf604 (correct), seq 3996:4080, ack 10755, win 63712, options [nop,nop,TS val 5816292 ecr 103364922], length 84
SMB PACKET: SMBtrans2 (REQUEST)
SMB Command = 0x32
Error class = 0x0
Error code = 0 (0x0)
Flags1 = 0x0
Flags2 = 0x1
Tree ID = 2051 (0x803)
Proc ID = 3681 (0xe61)
UID = 2048 (0x800)
MID = 60910 (0xedee)
Word Count = 15 (0xf)
TRANSACT2_FINDNEXT param_length=14 data_length=0
TotParam=14 (0xe)
TotData=0 (0x0)
MaxParam=8 (0x8)
MaxData=4096 (0x1000)
MaxSetup=0 (0x0)
Flags=0x0
TimeOut=0 (0x0)
Res1=0x0
ParamCnt=14 (0xe)
ParamOff=66 (0x42)
DataCnt=0 (0x0)
DataOff=0 (0x0)
SetupCnt=1 (0x1)
smb_bcc=15
Parameters=
Data: (14 bytes)
[000] 06 18 96 00 05 01 96 00 05 01 06 00 00 00 \0x06\0x18\0x96\0x00\0x05\0x01\0x96\0x00 \0x05\0x01\0x06\0x00\0x00\0x00
Data=

22:20:10.957865 IP (tos 0x0, ttl 128, id 17336, offset 0, flags [DF], proto TCP (6), length 91)
    10.100.100.100.microsoft-ds > media-desktop.local.35586: Flags [P.], cksum 0x96ef (correct), seq 10755:10794, ack 4080, win 63750, options [nop,nop,TS val 103364922 ecr 5816292], length 39
SMB PACKET: SMBtrans2 (REPLY)
SMB Command = 0x32
Error class = 0x8
Error code = 49152 (0xc000)
Flags1 = 0x80
Flags2 = 0x1
Tree ID = 2051 (0x803)
Proc ID = 3681 (0xe61)
UID = 2048 (0x800)
MID = 60910 (0xedee)
Word Count = 0 (0x0)
NTError = STATUS_INVALID_HANDLE
TRANSACT2_FINDNEXT
Trans2Interim

Revision history for this message
Seth76 (seth-gallmeyer) wrote :

Directory listing being rejected due to Avast anti-virus.

Look here:
[url]http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/09bd78bf-06c3-4c85-91f7-41bc12c647bb[/url]

Changed in cifs-utils (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.