linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Justin Piszcz" <jpiszcz@lucidpixels.com>
To: "'Suresh Jayaraman'" <sjayaraman@suse.com>
Cc: <linux-kernel@vger.kernel.org>, <ap@solarrain.com>,
	"'linux-cifs'" <linux-cifs@vger.kernel.org>
Subject: RE: kernel 3.1.1 - cifs issue - ls: cannot access /cifs_mnt: Cannot allocate memory
Date: Tue, 15 Nov 2011 14:27:11 -0500	[thread overview]
Message-ID: <004b01cca3cc$932e4240$b98ac6c0$@lucidpixels.com> (raw)
In-Reply-To: <4EC269FC.1060104@suse.com>



-----Original Message-----
From: Suresh Jayaraman [mailto:sjayaraman@suse.com] 
Sent: Tuesday, November 15, 2011 8:33 AM
To: Justin Piszcz
Cc: linux-kernel@vger.kernel.org; ap@solarrain.com; linux-cifs
Subject: Re: kernel 3.1.1 - cifs issue - ls: cannot access /cifs_mnt: Cannot
allocate memory

[Cc linux-cifs@vger.kernel.org]

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?

Hi,

Yes, you are correct--

The server was unable to allocate from the system nonpaged pool because the
server reached the configured limit for nonpaged pool allocations.

Justin.


  reply	other threads:[~2011-11-15 19:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-14 19:04 kernel 3.1.1 - cifs issue - ls: cannot access /cifs_mnt: Cannot allocate memory Justin Piszcz
2011-11-14 19:43 ` Justin Piszcz
2011-11-15 13:32 ` Suresh Jayaraman
2011-11-15 19:27   ` Justin Piszcz [this message]
2011-11-16  3:58     ` Suresh Jayaraman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='004b01cca3cc$932e4240$b98ac6c0$@lucidpixels.com' \
    --to=jpiszcz@lucidpixels.com \
    --cc=ap@solarrain.com \
    --cc=linux-cifs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sjayaraman@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).