From: Jeff Layton <jlayton@redhat.com>
To: Christoph Lameter <cl@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, samba@lists.samba.org,
linux-cifs-client@lists.samba.org
Subject: Re: 2.6.31-rc8: CIFS with 5 seconds hiccups
Date: Fri, 18 Sep 2009 10:24:18 -0400 [thread overview]
Message-ID: <20090918102418.5d84931e@tlielax.poochiereds.net> (raw)
In-Reply-To: <alpine.DEB.1.10.0909161224420.21599@V090114053VZO-1>
On Wed, 16 Sep 2009 12:26:04 -0400 (EDT)
Christoph Lameter <cl@linux-foundation.org> wrote:
> On Tue, 15 Sep 2009, Jeff Layton wrote:
>
> > Yow, that version of mount.cifs is really old. I wonder if it may be
> > passing bad mount options to the kernel? Might be interesting to strace
> > that. Something like:
> >
> > # strace -f -s 256 -e mount mount -t cifs //chiprodfs2/company /mnt -ouser=clameter,domain=xxx
> >
> > ...it'll probably have a cleartext password in it so you might want to
> > doctor the options a bit before sending along if you do.
> >
> > Alternately, you might just want to try a newer version of mount.cifs
> > and see whether that fixes this.
>
> Tried a newer version of mount.cifs without any change.
>
Ok, good to rule that out then.
> > > I cannot mount the clameter dir on the 32 bit box. Hangs. So I will mount
> > > /company.
> > >
> >
> > Actually, the trace of a hanging mount would probably be interesting.
> >
> > Does the 32-bit capture that you sent represent a mount attempt that
> > hung? Or was it successful?
>
> No it was successful.
>
Hmm, ok. That isn't going to tell me as much as a mount that fails. For
now, I suggest that we focus on determining why these mounts hang/fail.
After that we can see whether the solution there has any bearing on why
the server is so slow to respond to this particular client.
> > What's the "devname" that you're giving to the mount command for the
> > "clameter" dir? If there's more than 1 path component after the
> > hostname, then the problem may be in the old version of mount.cifs.
> > Some of them had broken handling for path prefixes.
>
> its //machinename/company/clameter
>
> So two components.
>
Also good to know.
What we should probably do at this point is track down why the 32-bit
client has such a hard time mounting the clameter dir. Here's what
would be most helpful:
1) some debug log info of the mount attempt:
# modprobe cifs
# echo 7 > /proc/fs/cifs/cifsFYI
...then attempt the mount. After it hangs for a few seconds, ^c the
mount to kill it. Collect the output from dmesg and send it to me. That
should give me some idea of what the client is doing during this phase.
If you can simultaneously capture wire traffic during the same mount
attempt that would also be helpful.
Cheers,
--
Jeff Layton <jlayton@redhat.com>
next prev parent reply other threads:[~2009-09-18 14:25 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-04 16:27 Christoph Lameter
2009-09-05 11:10 ` Jeff Layton
2009-09-09 16:33 ` Christoph Lameter
2009-09-09 16:53 ` Jeff Layton
2009-09-09 17:07 ` Christoph Lameter
2009-09-09 17:20 ` Jeff Layton
2009-09-09 17:28 ` Christoph Lameter
2009-09-09 18:02 ` Jeff Layton
2009-09-09 21:27 ` Christoph Lameter
2009-09-10 0:55 ` Jeff Layton
2009-09-10 18:53 ` Christoph Lameter
2009-09-10 19:33 ` Jeff Layton
2009-09-10 19:42 ` Christoph Lameter
2009-09-10 20:57 ` Jeff Layton
2009-09-10 21:27 ` Christoph Lameter
2009-09-11 0:19 ` Jeff Layton
2009-09-14 20:10 ` Christoph Lameter
2009-09-15 22:34 ` Jeff Layton
2009-09-16 16:26 ` Christoph Lameter
2009-09-18 14:24 ` Jeff Layton [this message]
2009-09-14 20:16 ` (64 bit dump) " Christoph Lameter
2009-09-10 21:42 ` Christoph Lameter
2009-09-09 17:33 ` Christoph Lameter
2009-09-09 17:57 ` 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=20090918102418.5d84931e@tlielax.poochiereds.net \
--to=jlayton@redhat.com \
--cc=cl@linux-foundation.org \
--cc=linux-cifs-client@lists.samba.org \
--cc=linux-kernel@vger.kernel.org \
--cc=samba@lists.samba.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
all inboxes | Powered by JetHome®