On Sun, 23 Sep 2012 18:02:58 +0200 David Balažic <xerces9@xxxxxxxxx> wrote: > On 22 September 2012 02:02, Steve French <smfrench@xxxxxxxxx> wrote: > > > > > > On Fri, Sep 21, 2012 at 6:05 PM, David Balažic <xerces9@xxxxxxxxx> 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@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html