Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2009 11:14:06 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Jeremie Le Hen <jeremie@le-hen.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Cannot list a particular directory through NFS with UDP
Message-ID:  <Pine.GSO.4.63.0912141102580.21603@muncher.cs.uoguelph.ca>
In-Reply-To: <20091213230650.GA45540@felucia.tataz.chchile.org>
References:  <20091213230650.GA45540@felucia.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 14 Dec 2009, Jeremie Le Hen wrote:

> Hi,
>
> __ Please Cc: me when replying as I'm not subscribed.  Thanks. __
>
> My NFS server is running FreeBSD 8.0 from December 6th.  The client is a
> NetBSD 5.0.  The directory exported is /data/repos on the server
> (192.168.1.222) and is mounted on /mnt/repos on the client (192.168.1.1).
>
> The problem exists in /data/repos/netbsd-cvsroot/pkgsrc when using NFS
> over UDP: ls(1) stalls.  OTOH, for instance, listing another directory
> or using NFS over TCP work flawlessly.
>

I'll take a look and let you know if I can think of anything.
A couple of things:
- What arch/net interface is the server running?
   - I haven't seen any issues w.r.t. i386, so I'm thinking it might be
     some sort of 64bit/alignment problem. (dfr@ replaced the RPC transport
     code with a new krpc subsystem for FreeBSD8.0 and known issues w.r.t.
     alignment were fixed, but there may be more)

If you wanted to, you could try using the experimental server instead
(-e option for mountd and nfsd), just to see if that makes the problem
go away. (It handles mbuf lists/alignment somewhat differently.)

Good luck with it and I'll let you know if I spot anything, rick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.63.0912141102580.21603>