From owner-freebsd-current@FreeBSD.ORG Tue Jun 2 15:52:26 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 76641106566B for ; Tue, 2 Jun 2009 15:52:26 +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 2662E8FC19 for ; Tue, 2 Jun 2009 15:52:26 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAIHnJEqDaFvK/2dsb2JhbADQSoQLBQ X-IronPort-AV: E=Sophos;i="4.41,291,1241409600"; d="scan'208";a="37213868" Received: from fraser.cs.uoguelph.ca ([131.104.91.202]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 02 Jun 2009 11:52:25 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id 6A926109C25E; Tue, 2 Jun 2009 11:52:25 -0400 (EDT) X-Virus-Scanned: amavisd-new at fraser.cs.uoguelph.ca Received: from fraser.cs.uoguelph.ca ([127.0.0.1]) by localhost (fraser.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZTVNsFmzoi19; Tue, 2 Jun 2009 11:52:25 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id E549F109C257; Tue, 2 Jun 2009 11:52:24 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id n52Frbs20046; Tue, 2 Jun 2009 11:53:37 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Tue, 2 Jun 2009 11:53:37 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: "O. Hartmann" In-Reply-To: <4A254194.7080807@zedat.fu-berlin.de> 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 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 15:52:26 -0000 On Tue, 2 Jun 2009, O. Hartmann wrote: > > Mounting via '-o nfsv3,tcp' in addition, everthing works all right again. I > do not know why udp is invoked automatically by now. > > But for short, we always did NFS mounts over tcp AND udp, so for tcp it > worked again! > Hmm, weird. udp mounts work here for me (except NFSv4, where tcp is required, but you'd only get that if you had used "-o nfsv4" in your mount). I'll take another look at mount_nfs.c too (already caught a problem I introduced in mountd.c). Maybe I unintentionally changed one of the defaults. (I think the default is supposed to be nfsv3,tcp but I'll look.) For udp to work, nfsd must have the "-u" argument. That might be why it wouldn't work? (Still doesn't explain why the default was udp and not tcp.) Anyhow, thanks for doing the testing and I'll email again if I find that I've screwed up the defaults for mount_nfs too. (Is that a "big pointy hat"?:-) rick