From owner-freebsd-current@FreeBSD.ORG Tue Jun 2 21:05:18 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D08810656EA for ; Tue, 2 Jun 2009 21:05:18 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0A8308FC26 for ; Tue, 2 Jun 2009 21:05:17 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAFMxJUqDaFvI/2dsb2JhbADPVIQLBQ X-IronPort-AV: E=Sophos;i="4.41,293,1241409600"; d="scan'208";a="37246802" Received: from darling.cs.uoguelph.ca ([131.104.91.200]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 02 Jun 2009 17:05:17 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by darling.cs.uoguelph.ca (Postfix) with ESMTP id 5DA69940062; Tue, 2 Jun 2009 17:05:17 -0400 (EDT) X-Virus-Scanned: amavisd-new at darling.cs.uoguelph.ca Received: from darling.cs.uoguelph.ca ([127.0.0.1]) by localhost (darling.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VmjyEJ2Ra6wW; Tue, 2 Jun 2009 17:05:16 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by darling.cs.uoguelph.ca (Postfix) with ESMTP id 148039400AA; Tue, 2 Jun 2009 17:05:16 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id n52L6RL08376; Tue, 2 Jun 2009 17:06:27 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Tue, 2 Jun 2009 17:06:27 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Arnar Mar Sig In-Reply-To: Message-ID: References: <4A2504AA.1020406@zedat.fu-berlin.de> <4A254194.7080807@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@FreeBSD.org, "O. Hartmann" Subject: Re: RPCPROG_MNT: RPC: Timed out / receiving NFS error when trying to mount NFS file system after make world X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 21:05:19 -0000 On Tue, 2 Jun 2009, Rick Macklem wrote: >> >> >> I'm having troubles with nfsroot on avr32 after updating my dev box to HEAD >> on May 31. >> >> I can see MNT RPC packet coming from the avr32 board and running mountd -d >> shows "mountd: mount successful" when the packet is received but no answer >> is transmitted, rpc is sent with udp. >> I can mount the same export from my osx workstation when using tcp. >> > Ok, I've poked at it a little more and the case that seems to be broken > is the "-h nfs-server.cis.uoguelph.ca" option on nfsd. Without "-h" or > with "-h 131.104.49.243" it seems to work. (This affects udp but not tcp.) > > I haven't yet figured out why that case is broken, but I'll keep fiddling > with it. (For me the getaddrinfo() fails for this case.) > > If you are not using the "-h" option on nfsd and udp isn't working, I > haven't got an explanation, because it seems to work for me? > I typed the above (and the bit about /etc/exports continuation lines) before I had poked around with it enough. The continuation lines seem to work and the "-h nfs-server.cis.uoguelph.ca" message logged is just because I'm using ipv4 only. I seem to get udp mounts to work fine, but... I've seen what Robert mentioned. I had just assumed it was some weirdness in my local lan. I've found that, if you "ping " before doing the mount, it seems to always work. (I usually see it when mounting a Solaris10 client to the FreeBSD8 server and it eventually times out and retries successfully. I normally use tcp mounts, so I didn't "connect" that with this problem.) So, maybe it's some network interaction issue and not an obvious goof up by me w.r.t. changes in the utilities? (The changes I did shouldn't have had anything to do with the mount protocol code in them.) rick