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

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

On Mon, Dec 14, 2009 at 11:14:06AM -0500, Rick Macklem wrote:
> > 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)

Both are i386.

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

I think I have to recompile my kernel, don't I?  I tried to set
nfsv4_server_enable=YES in my rc.conf, but it refused to start.

Regards,
-- 
Jeremie Le Hen

Humans are born free and equal.  But some are more equal than the others.
					    Coluche



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