From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Joshua Scoggins <theoretically.x64@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Issue with Race Condition on NFS4 with KRB
Date: Wed, 22 Jun 2011 14:30:49 -0400 [thread overview]
Message-ID: <1308767449.14997.10.camel@lade.trondhjem.org> (raw)
In-Reply-To: <BANLkTik9J3qcdPcp+DdfRq9kj+DMKnjKZw@mail.gmail.com>
On Wed, 2011-06-22 at 11:21 -0700, Joshua Scoggins wrote:
> Hello,
>
> We are trying to update our linux images in our CS lab and have it a
> bit of an issue. We are
> using nfs to load user home folder. While testing the new image we
> found that the nfs4 module will
> crash when using firefox 3.6.17 for an extended period of time. Some
> research via google yielded that
> it's a potential race condition specific to nfs with krb auth with
> newer kernels. Our old image doesn't have
> this issue and it seems that its due to it running a far older kernel version.
>
> We have two images and both are having this problem. One is running
> 2.6.39 and the other is 2.6.38.
> Here is what dmesg spit out from the machine running 2.6.39 on one occasion:
>
> [ 678.632061] ------------[ cut here ]------------
> [ 678.632068] WARNING: at net/sunrpc/clnt.c:1567 call_decode+0xb2/0x69c()
> [ 678.632070] Hardware name: OptiPlex 755
> [ 678.632072] Modules linked in: nvidia(P) scsi_wait_scan
> [ 678.632078] Pid: 3882, comm: kworker/0:2 Tainted: P
> 2.6.39-gentoo-r1 #1
> [ 678.632080] Call Trace:
> [ 678.632086] [<ffffffff81035b20>] warn_slowpath_common+0x80/0x98
> [ 678.632091] [<ffffffff8117231e>] ? nfs4_xdr_dec_readdir+0xba/0xba
> [ 678.632094] [<ffffffff81035b4d>] warn_slowpath_null+0x15/0x17
> [ 678.632097] [<ffffffff81426f48>] call_decode+0xb2/0x69c
> [ 678.632101] [<ffffffff8142d2b5>] __rpc_execute+0x78/0x24b
> [ 678.632104] [<ffffffff8142d4c9>] ? rpc_execute+0x41/0x41
> [ 678.632107] [<ffffffff8142d4d9>] rpc_async_schedule+0x10/0x12
> [ 678.632111] [<ffffffff8104a49d>] process_one_work+0x1d9/0x2e7
> [ 678.632114] [<ffffffff8104c402>] worker_thread+0x133/0x24f
> [ 678.632118] [<ffffffff8104c2cf>] ? manage_workers+0x18d/0x18d
> [ 678.632121] [<ffffffff8104f6a0>] kthread+0x7d/0x85
> [ 678.632125] [<ffffffff8145e314>] kernel_thread_helper+0x4/0x10
> [ 678.632128] [<ffffffff8104f623>] ? kthread_worker_fn+0x13a/0x13a
> [ 678.632131] [<ffffffff8145e310>] ? gs_change+0xb/0xb
> [ 678.632133] ---[ end trace 6bfae002a63e020e ]---
>
> Is there some sort of work around?
Cced the linux-nfs mailing list.
The above warning is not specific to krb5, but indicates a likely race
between replies after a resend of the RPC call.
Can you please tell us what your mount options are, and also tell us a
bit more about what kind of server you are running against?
Trond
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
next parent reply other threads:[~2011-06-22 18:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <BANLkTik9J3qcdPcp+DdfRq9kj+DMKnjKZw@mail.gmail.com>
2011-06-22 18:30 ` Trond Myklebust [this message]
2011-06-22 18:37 ` Issue with Race Condition on NFS4 with KRB Joshua Scoggins
2011-06-22 18:57 ` Trond Myklebust
2011-06-22 19:18 ` Joshua Scoggins
2011-06-22 21:51 ` Trond Myklebust
2011-06-22 22:40 ` Joshua Scoggins
2011-06-22 22:53 ` Trond Myklebust
2011-06-22 23:01 ` Joshua Scoggins
2011-06-22 23:09 ` Trond Myklebust
2011-06-22 23:23 ` Joshua Scoggins
2011-06-22 23:34 ` Trond Myklebust
2011-06-22 23:37 ` Joshua Scoggins
2011-07-03 2:07 ` Joshua Scoggins
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=1308767449.14997.10.camel@lade.trondhjem.org \
--to=trond.myklebust@netapp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=theoretically.x64@gmail.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).