[linux-cifs-client] Cannot mount Windows 7 share with CIFS Error 112 Host is down

Yanko Sheiretov iancshay at comcast.net
Mon May 3 20:27:10 MDT 2010


Jimi Schwar wrote:
> On 5/3/10 5:15 PM, Yanko Sheiretov wrote:
>> I apologize for the double post to those of you who are also
>> on the main list. I just realized that this is the better
>> list to post this.
>>
>> I just got a new Windows 7 Home Edition computer and am
>> unable to mount its shares on my Linux system.
>> I'm running Fedora 11, samba 3.4.7
>> I have no trouble mounting shares from XP systems on the
>> network using the mount command below.
>> I can access the Windows 7 share with no problems using
>> smbclient on Linux.
>> The Windows 7 share is accessible from the XP systems.
>>
>> Here is the mount command:
>> mount.cifs //pirin/c /mnt -o
>> user=yanko,uid=500,gid=100,file_mode=0666,dir_mode=0777,noperm,iocharset=utf8,directio,ip=192.168.1.12
>>
>>
>> Password:
>> mount error(112): Host is down
>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
>>
>> The dmesg log has:
>>
>> CIFS VFS: No response for cmd 114 mid 1
>> CIFS VFS: cifs_mount failed w/return code = -112
>>
>> I've been told that this means that the client sent an
>> SMB_COM_NEGOTIATE request and the server never responded.
>>
>> I have not found any errors logged in Windows 7 but perhaps
>> I don't know where to look.
>> I can access the Windows 7 share with no problems using
>> smbclient on Linux.
>>
>> The client is a Fedora 11 system
>> Kernel version 2.6.30.10 release 105.2.23.fc11
>> mount.cifs and smbclient are in the samba-client package
>> version 3.4.7 release 0.50.fc11
>> smbclient works; mount.cifs does not.
>> The share is on a Windows 7 Home Edition 64-bit system
>>
>> Any ideas will be very much appreciated.
>>
>> Yanko
>>
>>
>> _______________________________________________
>> linux-cifs-client mailing list
>> linux-cifs-client at lists.samba.org
>> https://lists.samba.org/mailman/listinfo/linux-cifs-client
> 
> First, make sure your firewall ports are open on the system for your
> particular network profile, as Windows 7 has various profiles defined by
> location.

The firewall is turned off. This should be sufficient, right? I can get to the 
Windows 7 share from other Windows systems on the network.

> Second, add to the registy the key specified in the the following
> article:  http://support.microsoft.com/kb/957441

Done and rebooted.

> Third, add sec=ntlmv2 onto your mount command as Windows 7 requires this
> as default.

Done.

I still have the same issue, although I have to say that out of 4 tries three 
failed with "no such file or directory" and one fails with "host down".
Here is the new mount command:

mount.cifs //pirin/c /mnt -v -o 
user=yanko,uid=500,gid=100,file_mode=0666,dir_mode=0777,noperm,iocharset=utf8,directio,ip=192.168.1.12,sec=ntlmv2

The response is:

ip address 192.168.1.12 override specified
ip address specified explicitly
Password:

mount.cifs kernel mount options: 
unc=//pirin\c,ver=1,user=yanko,file_mode=0666,dir_mode=0777,noperm,iocharset=utf8,directio,ip=192.168.1.12,sec=ntlmv2,uid=500,gid=100,pass=********
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

dmesg is

  CIFS VFS: cifs_mount failed w/return code = -2
  CIFS VFS: cifs_mount failed w/return code = -2
  CIFS VFS: No response for cmd 114 mid 1
  CIFS VFS: cifs_mount failed w/return code = -112
  CIFS VFS: cifs_mount failed w/return code = -2
  CIFS VFS: No response for cmd 114 mid 1
  CIFS VFS: cifs_mount failed w/return code = -112

Any other ideas to try?

> 
> I had a similar problem with 2008 servers a while back and changing the
> registry key really helped.  I just tested it out on Windows 7
> Enterprise and the connection worked after adding it and rebooting.
> 
> Jimi
> _______________________________________________
> linux-cifs-client mailing list
> linux-cifs-client at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux-cifs-client
> 


More information about the linux-cifs-client mailing list