[linux-cifs-client] Help with error codes and configuration

Christopher R. Hertel crh at ubiqx.mn.org
Thu Mar 19 19:20:12 GMT 2009


It would help if the command numbers were presented in hex rather than
decimal, since all of the documentation provides hex.

More below...

aragonx at dcsnow.com wrote:
> Hello all,
> 
> I am seeing a lot of error messages in my /var/log/messages file from CIFS
> when trying to talk to a network resource.  My first question, is there a
> place where I can see what each error code means?
:
:
:
> I see a lot of these
> 
> Mar 19 12:52:45 east kernel:  CIFS VFS: No response for cmd 50 mid 25199

See:
http://www.ubiqx.org/cifs/rfc-draft/draft-leach-cifs-v1-spec-02.html#s6.1

That's a pretty good list of the actual command codes.  In the list below:
  4 = 0x04 = SMB_COM_CLOSE
 47 = 0x2F = SMB_COM_WRITE_ANDX
 50 = 0x32 = SMB_COM_TRANSACTION2
162 = 0xA2 = SMB_COM_NT_CREATE_ANDX

I've seen something like this before, a long time ago.  In that case, an
earlier command was causing an error which was closing the connection.

The mid value is just a number assigned to a thread to ensure that the
response is delivered to the correct thread.

I'm not sure what -5 and -11 mean here.

Chris -)-----

> And a few of the following:
> 
> Mar 19 12:52:45 east kernel:  CIFS VFS: No response for cmd 162 mid 25193
> Mar 19 12:53:51 east kernel:  CIFS VFS: No response to cmd 47 mid 25630
> 
> Mar 19 11:30:37 east kernel:  CIFS VFS: Send error in SETFSUnixInfo = -5
> Mar 19 11:31:00 east kernel:  CIFS VFS: server not responding
> Mar 19 11:31:00 east last message repeated 4 times
> 
> Mar 19 11:31:00 east kernel:  CIFS VFS: Send error in Close = -11
> Mar 19 11:31:00 east last message repeated 3 times
> 
> Mar 19 11:31:00 east kernel:  CIFS VFS: No response to cmd 4 mid 31788
> Mar 19 11:31:00 east kernel:  CIFS VFS: Send error in Close = -11
> Mar 19 11:31:00 east kernel:  CIFS VFS: No response to cmd 4 mid 31790
> Mar 19 11:31:00 east kernel:  CIFS VFS: Send error in Close = -11
> Mar 19 11:31:00 east kernel:  CIFS VFS: No response for cmd 50 mid 31792
> Mar 19 11:31:00 east kernel:  CIFS VFS: No response to cmd 47 mid 31782
> Mar 19 11:31:00 east kernel:  CIFS VFS: Write2 ret -11, wrote 0
> Mar 19 11:31:05 east kernel:  CIFS VFS: No response for cmd 50 mid 31798
> Mar 19 11:31:05 east kernel:  CIFS VFS: No response to cmd 4 mid 31802
> 
> 
> 

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org


More information about the linux-cifs-client mailing list