From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
To: Mike Dillinger <miked-yxPvCyoe84a+XT7JhA+gdA@public.gmane.org>
Cc: Shirish Pargaonkar
<shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: CIFS Not Responding Error On Working System
Date: Mon, 2 May 2011 07:01:56 -0400 [thread overview]
Message-ID: <20110502070156.371ef97a@corrin.poochiereds.net> (raw)
In-Reply-To: <4DBAD409.9000300-yxPvCyoe84a+XT7JhA+gdA@public.gmane.org>
On Fri, 29 Apr 2011 08:06:49 -0700
Mike Dillinger <miked-yxPvCyoe84a+XT7JhA+gdA@public.gmane.org> wrote:
> > What sort of host is "peart" here? WinXP?
>
> peart is WinXP 64 SP2, and the Linux machine is running Debian wheezy.
> The XP firewall is off and the internet security firewall (Kaspersky
> Internet Security) is off.
>
> The firewall thing doesn't make sense, or else it seems to me that I
> wouldn't be able to view the remote data. The remote side *always*
> works when I view the file share. I have even tried during viewing the
> data multiple times during the 5 minute interval where syslog states the
> host is not responding. I will capture Wireshark traces though if there
> aren't any other suggestions.
>
I might see the problem here. I think there's a bug in 2.6.38ish
kernels that's fixed by commit fd88ce93:
@@ -421,7 +420,7 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server)
pdu_length = 4; /* enough to get RFC1001 header */
incomplete_rcv:
- if (echo_retries > 0 &&
+ if (echo_retries > 0 && server->tcpStatus == CifsGood &&
time_after(jiffies, server->lstrp +
(echo_retries * SMB_ECHO_INTERVAL))) {
cERROR(1, "Server %s has not responded in %d seconds. "
...if the server decides to disconnect the client for some reason, then
the above delta will prevent that error message from popping
unnecessarily. Steve, I think that patch should probably go to -stable
as well.
--
Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
next prev parent reply other threads:[~2011-05-02 11:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-28 19:27 CIFS Not Responding Error On Working System Mike
[not found] ` <4DB9BFBA.3020403-yxPvCyoe84a+XT7JhA+gdA@public.gmane.org>
2011-04-29 12:13 ` Shirish Pargaonkar
[not found] ` <BANLkTinoC1d=NBLyzXa61cB+tR-+4F50zg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-04-29 13:32 ` Jeff Layton
[not found] ` <20110429093256.3c33cd01-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2011-04-29 15:06 ` Mike Dillinger
[not found] ` <4DBAD409.9000300-yxPvCyoe84a+XT7JhA+gdA@public.gmane.org>
2011-04-29 21:04 ` Jeff Layton
[not found] ` <20110429170436.22cb8c4c-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2011-05-13 23:39 ` Mike
2011-05-02 11:01 ` Jeff Layton [this message]
2011-06-06 7:57 ` kofolamaster
[not found] ` <loom.20110606T095706-912-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2011-06-06 10:32 ` Jeff Layton
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=20110502070156.371ef97a@corrin.poochiereds.net \
--to=jlayton-eunubhrolfbytjvyw6ydsg@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=miked-yxPvCyoe84a+XT7JhA+gdA@public.gmane.org \
--cc=shirishpargaonkar-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