mount CIFS return ERR -12 and report Cannot allocate memory

When I mount CIFS on board, it encountered error as below:

# mount -t cifs //192.168.1.28/98share /tmp -o user=name,pass=code
CIFS VFS: Send error in SessSetup = -12
mount: mounting //192.168.1.28/98share on /tmp failed: Cannot allocate memory

 

The OS of remote PC is WIN7.

Get the solution from internet,  it says:

Modify the register:

Set “HKLM_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache” to “1″.
Set “HKLM_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size” to “3″.

And then restart the PC.

 

You'll find it works.

posted @ 2016-04-20 15:41  yxwkaifa  阅读(300)  评论(0编辑  收藏  举报