Re: kernel 3.1.1 - cifs issue - ls: cannot access /cifs_mnt: Cannotallocate memory

From: Suresh Jayaraman
Date: Tue Nov 15 2011 - 08:34:25 EST


[Cc linux-cifs@xxxxxxxxxxxxxxx]

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?


-Suresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/