[linux-cifs-client] Problem mounting Windows 7 64 bit share: Negative RFC1002 Session Response Error 0x83000001)

Yanko Sheiretov iancshay at comcast.net
Wed May 5 15:54:27 MDT 2010



Shirish Pargaonkar wrote:
> On Wed, May 5, 2010 at 11:19 AM, Yanko Sheiretov <iancshay at comcast.net> wrote:
>> Still unable to mount a share from a Windows 7 64 bit server on a linux
>> client.
>> The share is accessible via smbclient on Linux and from Win XP systems on
>> the
>> network. I also added the AllowLegacySrvCall key in the registry accoring to
>> KB957441 but that had no effect.
>>
>> The mount command is:
>> mount -t cifs //PIRIN/C /mnt -v -o user=yanko,ip=192.168.1.12
>>
>> The error is:
>> mount error(112): Host is down
>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
>>
>> I turned on debugging in /proc/fs/cifs and got the following in the log:
>>
>>  fs/cifs/cifsfs.c: Devname: //PIRIN/C flags: 64
>>  fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 3 with uid: 0
>>  fs/cifs/connect.c: Username: yanko
>>  fs/cifs/connect.c: UNC: \\PIRIN\C ip: 192.168.1.12
>>  fs/cifs/netmisc.c: address conversion returned 1 for 192.168.1.12
>>  fs/cifs/connect.c: Socket created
>>  fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x1b58
>>  fs/cifs/transport.c: Sending smb:  total_len 72
>> | 0x81 0x00 0x00 0x44 0x20 0x43 0x4b 0x46  |  _ _ _ D   C K F
>> | 0x44 0x45 0x4e 0x45 0x43 0x46 0x44 0x45  |  D E N E C F D E
>> | 0x46 0x46 0x43 0x46 0x47 0x45 0x46 0x46  |  F F C F G E F F
>> | 0x43 0x43 0x41 0x43 0x41 0x43 0x41 0x43  |  C C A C A C A C
>> | 0x41 0x43 0x41 0x43 0x41 0x00 0x20 0x46  |  A C A C A _   F
>> | 0x43 0x45 0x50 0x46 0x41 0x45 0x50 0x46  |  C E P F A E P F
>> | 0x45 0x45 0x42 0x45 0x4e 0x45 0x50 0x43  |  E E B E N E P C
>> | 0x4f 0x45 0x49 0x45 0x50 0x46 0x41 0x46  |  O E I E P F A F
>> | 0x45 0x45 0x50 0x43 0x4f 0x41 0x41 0x00  |  E E P C O A A _
>>  |  E E P C O A A _
>>  fs/cifs/connect.c: Existing smb sess not found
>>  fs/cifs/cifssmb.c: secFlags 0x37
>>  fs/cifs/transport.c: For smb_command 114
>>  fs/cifs/transport.c: Sending smb:  total_len 82
>> | 0x00 0x00 0x00 0x4e 0xff 0x53 0x4d 0x42  |  _ _ _ N ÿ S M B
>> | 0x72 0x00 0x00 0x00 0x00 0x00 0x01 0xc0  |  r _ _ _ _ _ _ À
>> | 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
>> | 0x00 0x00 0x00 0x00 0x00 0x00 0x3b 0x14  |  _ _ _ _ _ _ ; _
>> | 0x00 0x00 0x01 0x00 0x00 0x2b 0x00 0x02  |  _ _ _ _ _ + _ _
>> | 0x4c 0x4d 0x31 0x2e 0x32 0x58 0x30 0x30  |  L M 1 . 2 X 0 0
>> | 0x32 0x00 0x02 0x4c 0x41 0x4e 0x4d 0x41  |  2 _ _ L A N M A
>> | 0x4e 0x32 0x2e 0x31 0x00 0x02 0x4e 0x54  |  N 2 . 1 _ _ N T
>> | 0x20 0x4c 0x4d 0x20 0x30 0x2e 0x31 0x32  |    L M   0 . 1 2
>> | 0x00 0x02 0x50 0x4f 0x53 0x49 0x58 0x20  |  _ _ P O S I X
>> | 0x32 0x00                                |  2 _
>>  fs/cifs/connect.c: Demultiplex PID: 5192
>>  fs/cifs/connect.c: rfc1002 length 0x83000005
>>  fs/cifs/connect.c: Negative RFC1002 Session Response Error 0x83000001)
>>  fs/cifs/connect.c: Clearing Mid 0x1 - waking up
>>  fs/cifs/connect.c: Wait for exit from demultiplex thread
>>  CIFS VFS: No response for cmd 114 mid 1
>>  fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release
>>  CIFS slow rsp: cmd 114 mid 1 A: 0x3a98 S: 0x3a98 R: 0xb7bc51
>>  fs/cifs/cifssmb.c: negprot rc -112
>>  fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 3) rc = -112
>>  CIFS VFS: cifs_mount failed w/return code = -112
>>
>> Is this a kernel bug?
>> Using latest kernel 2.6.33.3 (latest)
>> CIFS_VERSION   "1.62"
>>
>>
>>
>> _______________________________________________
>> linux-cifs-client mailing list
>> linux-cifs-client at lists.samba.org
>> https://lists.samba.org/mailman/listinfo/linux-cifs-client
>>
> 
> Can you try something like
>  mount -t cifs //192.168.1.12/C /mnt -v -o user=yanko

Same problem: mount error(112): Host is down
The log entries look identical in this case.

> And what is the smbclient command that works?

smbclient //PIRIN/C

Then I give it the password (blank) and I'm in.
Thanks for taking the time to advise me on this.
Yanko


More information about the linux-cifs-client mailing list