LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Upgrade to 2.6.24 breaks NFS service
@ 2008-02-13  8:58 Nix
  2008-02-13 10:19 ` Andrew Morton
  2008-02-13 14:15 ` Trond Myklebust
  0 siblings, 2 replies; 5+ messages in thread
From: Nix @ 2008-02-13  8:58 UTC (permalink / raw)
  To: linux-kernel

I upgraded from 2.6.23.10 to 2.6.24.2 yesterday, and found NFS service
failing.

To be specific, all locks were blocking forever, with an endless flood
of

Feb 12 22:53:10 loki notice: kernel: statd: server localhost not responding, timed out
Feb 12 22:53:10 loki notice: kernel: lockd: cannot monitor esperi
Feb 12 22:53:45 loki notice: kernel: statd: server localhost not responding, timed out
Feb 12 22:53:45 loki notice: kernel: lockd: cannot monitor esperi
Feb 12 22:54:20 loki notice: kernel: statd: server localhost not responding, timed out
Feb 12 22:54:20 loki notice: kernel: lockd: cannot monitor esperi
Feb 12 22:54:55 loki notice: kernel: statd: server localhost not responding, timed out
Feb 12 22:54:55 loki notice: kernel: lockd: cannot monitor esperi
Feb 12 22:55:20 esperi notice: kernel: lockd: server loki.wkstn.nix not responding, still trying

(esperi is a UML instance on the same machine, connected via a bridged
TUN/TAP interface: the bridge, and network service to esperi and to the
rest of the local net across that bridge, was fine.)

I'm currently using NFSv3 atop nfs-utils 1.1.0.33-gdd08789, with daemons
being started in the suggested order (portmap, mountd, statd
--no-notify, nfsd). This evening I'm going to try to upgrade to
nfs-utils HEAD and see if this continues.

-- 
`The rest is a tale of post and counter-post.' --- Ian Rawlings
                                                   describes USENET

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Upgrade to 2.6.24 breaks NFS service
  2008-02-13  8:58 Upgrade to 2.6.24 breaks NFS service Nix
@ 2008-02-13 10:19 ` Andrew Morton
  2008-02-13 12:57   ` Jeff Layton
  2008-02-13 14:15 ` Trond Myklebust
  1 sibling, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2008-02-13 10:19 UTC (permalink / raw)
  To: Nix; +Cc: linux-kernel, linux-nfs

(cc linux-nfs)

On Wed, 13 Feb 2008 08:58:03 +0000 Nix <nix@esperi.org.uk> wrote:

> I upgraded from 2.6.23.10 to 2.6.24.2 yesterday, and found NFS service
> failing.
> 
> To be specific, all locks were blocking forever, with an endless flood
> of
> 
> Feb 12 22:53:10 loki notice: kernel: statd: server localhost not responding, timed out
> Feb 12 22:53:10 loki notice: kernel: lockd: cannot monitor esperi
> Feb 12 22:53:45 loki notice: kernel: statd: server localhost not responding, timed out
> Feb 12 22:53:45 loki notice: kernel: lockd: cannot monitor esperi
> Feb 12 22:54:20 loki notice: kernel: statd: server localhost not responding, timed out
> Feb 12 22:54:20 loki notice: kernel: lockd: cannot monitor esperi
> Feb 12 22:54:55 loki notice: kernel: statd: server localhost not responding, timed out
> Feb 12 22:54:55 loki notice: kernel: lockd: cannot monitor esperi
> Feb 12 22:55:20 esperi notice: kernel: lockd: server loki.wkstn.nix not responding, still trying
> 
> (esperi is a UML instance on the same machine, connected via a bridged
> TUN/TAP interface: the bridge, and network service to esperi and to the
> rest of the local net across that bridge, was fine.)
> 
> I'm currently using NFSv3 atop nfs-utils 1.1.0.33-gdd08789, with daemons
> being started in the suggested order (portmap, mountd, statd
> --no-notify, nfsd). This evening I'm going to try to upgrade to
> nfs-utils HEAD and see if this continues.
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Upgrade to 2.6.24 breaks NFS service
  2008-02-13 10:19 ` Andrew Morton
@ 2008-02-13 12:57   ` Jeff Layton
  2008-02-14  0:14     ` Nix
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Layton @ 2008-02-13 12:57 UTC (permalink / raw)
  To: Nix; +Cc: Andrew Morton, linux-kernel, linux-nfs

On Wed, 13 Feb 2008 02:19:12 -0800
Andrew Morton <akpm@linux-foundation.org> wrote:

> (cc linux-nfs)
> 
> On Wed, 13 Feb 2008 08:58:03 +0000 Nix <nix@esperi.org.uk> wrote:
> 
> > I upgraded from 2.6.23.10 to 2.6.24.2 yesterday, and found NFS
> > service failing.
> > 
> > To be specific, all locks were blocking forever, with an endless
> > flood of
> > 
> > Feb 12 22:53:10 loki notice: kernel: statd: server localhost not
> > responding, timed out Feb 12 22:53:10 loki notice: kernel: lockd:
> > cannot monitor esperi Feb 12 22:53:45 loki notice: kernel: statd:
> > server localhost not responding, timed out Feb 12 22:53:45 loki
> > notice: kernel: lockd: cannot monitor esperi Feb 12 22:54:20 loki
> > notice: kernel: statd: server localhost not responding, timed out
> > Feb 12 22:54:20 loki notice: kernel: lockd: cannot monitor esperi
> > Feb 12 22:54:55 loki notice: kernel: statd: server localhost not
> > responding, timed out Feb 12 22:54:55 loki notice: kernel: lockd:
> > cannot monitor esperi Feb 12 22:55:20 esperi notice: kernel: lockd:
> > server loki.wkstn.nix not responding, still trying
> > 
> > (esperi is a UML instance on the same machine, connected via a
> > bridged TUN/TAP interface: the bridge, and network service to
> > esperi and to the rest of the local net across that bridge, was
> > fine.)
> > 
> > I'm currently using NFSv3 atop nfs-utils 1.1.0.33-gdd08789, with
> > daemons being started in the suggested order (portmap, mountd, statd
> > --no-notify, nfsd). This evening I'm going to try to upgrade to
> > nfs-utils HEAD and see if this continues.
> > 
> 

If upgrading nfs-utils doesn't help, on this box, could you run:

# rpcinfo -p localhost

send the output? statd expects that lockd will always be listening on a
UDP socket and some changes recently made it so that when there are
only TCP mounts that it doesn't necessarily do so. That may be the
problem here.

-- 
Jeff Layton <jlayton@redhat.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Upgrade to 2.6.24 breaks NFS service
  2008-02-13  8:58 Upgrade to 2.6.24 breaks NFS service Nix
  2008-02-13 10:19 ` Andrew Morton
@ 2008-02-13 14:15 ` Trond Myklebust
  1 sibling, 0 replies; 5+ messages in thread
From: Trond Myklebust @ 2008-02-13 14:15 UTC (permalink / raw)
  To: Nix; +Cc: linux-kernel


On Wed, 2008-02-13 at 08:58 +0000, Nix wrote:
> I upgraded from 2.6.23.10 to 2.6.24.2 yesterday, and found NFS service
> failing.
> 
> To be specific, all locks were blocking forever, with an endless flood
> of
> 
> Feb 12 22:53:10 loki notice: kernel: statd: server localhost not responding, timed out
> Feb 12 22:53:10 loki notice: kernel: lockd: cannot monitor esperi
> Feb 12 22:53:45 loki notice: kernel: statd: server localhost not responding, timed out
> Feb 12 22:53:45 loki notice: kernel: lockd: cannot monitor esperi
> Feb 12 22:54:20 loki notice: kernel: statd: server localhost not responding, timed out
> Feb 12 22:54:20 loki notice: kernel: lockd: cannot monitor esperi
> Feb 12 22:54:55 loki notice: kernel: statd: server localhost not responding, timed out
> Feb 12 22:54:55 loki notice: kernel: lockd: cannot monitor esperi
> Feb 12 22:55:20 esperi notice: kernel: lockd: server loki.wkstn.nix not responding, still trying
> 
> (esperi is a UML instance on the same machine, connected via a bridged
> TUN/TAP interface: the bridge, and network service to esperi and to the
> rest of the local net across that bridge, was fine.)
> 
> I'm currently using NFSv3 atop nfs-utils 1.1.0.33-gdd08789, with daemons
> being started in the suggested order (portmap, mountd, statd
> --no-notify, nfsd). This evening I'm going to try to upgrade to
> nfs-utils HEAD and see if this continues.

Nothing has changed w.r.t. the statd interface. My 2.6.24 nfsv3 machines
are working without a hitch.
Do 'rpcinfo' and 'netstat -p' show that rpc.statd is listening on a
privileged port?

Cheers
  Trond


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Upgrade to 2.6.24 breaks NFS service
  2008-02-13 12:57   ` Jeff Layton
@ 2008-02-14  0:14     ` Nix
  0 siblings, 0 replies; 5+ messages in thread
From: Nix @ 2008-02-14  0:14 UTC (permalink / raw)
  To: Jeff Layton; +Cc: Andrew Morton, linux-kernel, linux-nfs

On 13 Feb 2008, Jeff Layton told this:

> If upgrading nfs-utils doesn't help, on this box, could you run:
>
> # rpcinfo -p localhost
>
> send the output? statd expects that lockd will always be listening on a
> UDP socket and some changes recently made it so that when there are
> only TCP mounts that it doesn't necessarily do so. That may be the
> problem here.

I rebooted back into 2.6.24.2 again, and everything works now, without
even upgrading nfs-utils (although I did that anyway, to nfs-utils git
head, and it's still happy).

Linux: debugs itself, no human intervention required! :)



(The inconsistency of this screams `port allocation' to me. If it
happens again I'll get some rpcinfo output and packet dumps. I'd
have done it this time if it hadn't been for the plug-the-security-
hole rush and it being 2am.)

-- 
`The rest is a tale of post and counter-post.' --- Ian Rawlings
                                                   describes USENET

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-02-14  0:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-13  8:58 Upgrade to 2.6.24 breaks NFS service Nix
2008-02-13 10:19 ` Andrew Morton
2008-02-13 12:57   ` Jeff Layton
2008-02-14  0:14     ` Nix
2008-02-13 14:15 ` Trond Myklebust

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).