From owner-freebsd-stable@FreeBSD.ORG Mon Dec 14 18:57:29 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 419991065697 for ; Mon, 14 Dec 2009 18:57:29 +0000 (UTC) (envelope-from jeremie@le-hen.org) Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) by mx1.freebsd.org (Postfix) with ESMTP id 01D878FC49 for ; Mon, 14 Dec 2009 18:57:25 +0000 (UTC) Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id CB002940135; Mon, 14 Dec 2009 19:57:20 +0100 (CET) Received: from endor.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp1-g21.free.fr (Postfix) with ESMTP id E79309400E6; Mon, 14 Dec 2009 19:57:17 +0100 (CET) Received: from felucia.tataz.chchile.org (felucia.tataz.chchile.org [192.168.1.9]) by endor.tataz.chchile.org (Postfix) with ESMTP id D9AA333E94; Mon, 14 Dec 2009 18:57:17 +0000 (UTC) Received: by felucia.tataz.chchile.org (Postfix, from userid 1000) id B223EA1280; Mon, 14 Dec 2009 18:57:17 +0000 (UTC) Date: Mon, 14 Dec 2009 19:57:17 +0100 From: Jeremie Le Hen To: Rick Macklem Message-ID: <20091214185717.GD45540@felucia.tataz.chchile.org> References: <20091213230650.GA45540@felucia.tataz.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org, Jeremie Le Hen Subject: Re: Cannot list a particular directory through NFS with UDP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 18:57:29 -0000 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