[lkml]   [2011]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: kernel 3.1.1 - cifs issue - ls: cannot access /cifs_mnt: Cannot allocate memory

On 11/15/2011 12:34 AM, Justin Piszcz wrote:
> Hi,
> CIFS "works" when I mount a Windows 7 host from my Linux host (3.1.1-x86_64)
> but if I turn my machine off (Windows) and turn it back on, I get the
> following error, is this normal? With NFS as a hardmount it just recovers,
> with CIFS do I need to setup some sort of canary to unmount/remount?
> $ ls /cifs_mnt
> ls: cannot access /cifs_mnt: Cannot allocate memory

This looks like a problem specific to Windows 7 or above. Quick tests on
my test machines shows that cifs attempts to connect, times out,
attempts to reconnect and gets -EHOSTUNREACH in case of both Windows
Servers and Samba Servers. This is the expected behavior.

OTOH, this sounds like a problem related to an error due to the Windows
server being unable to allocate from the system nonpaged pool (seen in
the past). Do you see anything that is related to the error in Windows
Event viewer?


 \ /
  Last update: 2011-11-15 14:37    [W:0.043 / U:34.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site