From owner-freebsd-current@FreeBSD.ORG Tue Jun 2 18:40:38 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 0185E106568B for ; Tue, 2 Jun 2009 18:40:38 +0000 (UTC) (envelope-from antab@valka.is) Received: from smtp-vbr19.xs4all.nl (smtp-vbr19.xs4all.nl [194.109.24.39]) by mx1.freebsd.org (Postfix) with ESMTP id 8DE548FC14 for ; Tue, 2 Jun 2009 18:40:37 +0000 (UTC) (envelope-from antab@valka.is) Received: from [192.168.1.127] (farm.antab.is [80.101.60.195]) by smtp-vbr19.xs4all.nl (8.13.8/8.13.8) with ESMTP id n52IOhQw042573; Tue, 2 Jun 2009 20:24:43 +0200 (CEST) (envelope-from antab@valka.is) Message-Id: From: Arnar Mar Sig To: Rick Macklem In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Tue, 2 Jun 2009 20:24:43 +0200 References: <4A2504AA.1020406@zedat.fu-berlin.de> <4A254194.7080807@zedat.fu-berlin.de> X-Mailer: Apple Mail (2.935.3) X-Virus-Scanned: by XS4ALL Virus Scanner 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 18:40:38 -0000 On Jun 2, 2009, at 5:53 PM, Rick Macklem wrote: > 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"?:-) 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. Arnar Mar Sig