From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
To: "David Balažic" <xerces9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: kernel 3.1.1 - cifs issue - ls: cannot access /cifs_mnt: Cannot allocate memory
Date: Sun, 23 Sep 2012 20:02:32 -0400 [thread overview]
Message-ID: <20120923200232.39a227ad@corrin.poochiereds.net> (raw)
In-Reply-To: <CAPJ9Yc-FKLzH_BK++iL4uV59gy-dVCDGYs=ZFfsJVimWfGKdbw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Sun, 23 Sep 2012 18:02:58 +0200
David Balažic <xerces9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On 22 September 2012 02:02, Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >
> >
> > On Fri, Sep 21, 2012 at 6:05 PM, David Balažic <xerces9@gmail.com> wrote:
> >>
> >> Suresh Jayaraman <sjayaraman@...> writes:
> >>
> >> > Ah, ok. In case if you have not figured out how to overcome this
> >> > problem, take a look at
> >> >
> >> >
> >> > http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017
> >>
> >> (I'm not subscribed, so please CC me)
> >>
> >> Hi!
> >>
> >> I also encountered this error 12 accessing a shared folder on a Windows 7
> >> Pro
> >> SP1 64-bit "server", client being SystemRescueCd 3.0.0 with kernel version
> >> 3.2.28 32 bit. It also happens with other kernels (RipLinux 13.7, kernel
> >> 3.2.1).
> >>
> >>
> >> I got the error when copying a single large file to the shared folder.
> >> The registry tweaks at that URL mitigates the problem.
> >> But I changed it back to do some research.
> >> When accessing the same shared folder from a Windows 7 Home Premium SP1
> >> x64
> >> client, there is no problem.
> >>
> >> When I tried with Linux just before posting this, I got error 12 right
> >> when
> >> mounting, before doing any file operations.
> >>
> >> Is this because linux-cifs does not respect the MaxReq parm that the
> >> server
> >> sends, as suggested in this post:
> >> http://article.gmane.org/gmane.linux.kernel.cifs/4294 ?
> >>
> >
> > We were able to reproduce this problem to Windows, even when
> > the (Windows Vista/Windows 7) server was configured for 50 requests,
> > but current cifs.ko (3.4 kernels and later) does respect the servers
> > MaxReq parameter (maximum simultaneous requests limit).
> >
> > To servers, like Samba, which can handle much more than 50
> > simultaneous requests, note that the server's limit can be configured
> > (increased) in the server's smb.conf file beyond the typical default
> > (50 for most server's and clients - thus the reason cifs client
> > simply defaulted to 50 prior to 3.4).
>
> I tried setting the cifs_max_pending module parameter, also kernel 3.4.9
>
> It is better, but there are still some errors 12.
>
> Any recommendations? (besides trying a newer kernel)
These errors are typically indicative of problems on the *server*.
There's really little the linux side can do other than obey the limits
that the server advertises (which it already does). Upgrading the
kernel is unlikely to make any difference.
--
Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
next prev parent reply other threads:[~2012-09-24 0:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <00c001cca300$4b512b80$e1f38280$@lucidpixels.com>
2011-11-15 13:32 ` kernel 3.1.1 - cifs issue - ls: cannot access /cifs_mnt: Cannot allocate memory Suresh Jayaraman
[not found] ` <4EC269FC.1060104-IBi9RG/b67k@public.gmane.org>
2011-11-15 19:27 ` Justin Piszcz
2011-11-16 3:58 ` Suresh Jayaraman
2012-09-21 23:05 ` David Balažic
[not found] ` <CAH2r5msw6r9N2WQAVX+iHGMy++=wp4qUU1k_F+N93xLsZ9i1zg@mail.gmail.com>
[not found] ` <CAH2r5msw6r9N2WQAVX+iHGMy++=wp4qUU1k_F+N93xLsZ9i1zg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-22 0:03 ` Steve French
2012-09-23 16:02 ` David Balažic
[not found] ` <CAPJ9Yc-FKLzH_BK++iL4uV59gy-dVCDGYs=ZFfsJVimWfGKdbw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-24 0:02 ` Jeff Layton [this message]
2012-09-24 0:03 ` Steve French
[not found] ` <CAH2r5msLRvtFOzEVR3g8Tq+j+k9D4SurBPOeez=DOL7d3_uTDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-24 10:39 ` David Balažic
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=20120923200232.39a227ad@corrin.poochiereds.net \
--to=jlayton-eunubhrolfbytjvyw6ydsg@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=xerces9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/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