Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2009 11:43:10 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
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
Message-ID:  <Pine.GSO.4.63.0906021139140.17701@muncher.cs.uoguelph.ca>
In-Reply-To: <4A2504AA.1020406@zedat.fu-berlin.de>
References:  <4A2504AA.1020406@zedat.fu-berlin.de>

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


On Tue, 2 Jun 2009, O. Hartmann wrote:

> Hello,
> since today I get this error when trying to mount a NFS filesystem from NFS 
> server:
>
> [udp] foo:/home: RPCPROG_MNT: RPC: Timed out
>
> Both boxes, cleint and server, are most recent FreeBSD 8.0-CURRENT/amd64 from 
> today's buildworld/make kernel.
>
What's the expression you guys use? "The pointy hat points at me."

It looks like I broke parsing of /etc/exports for the case where there
are continuation lines (I didn't have any of those in my test examples,
but do now;-).

Sorry about that. I'll be looking it over more carefully, but I'll bet
that the following patch fixes the problem (and I'm guessing you do have
contnuation lines in your /etc/exports?).

Please try this patch and see if it helps, rick
--- test patch for mountd.c ---
--- mountd.c.sav	2009-06-02 11:28:19.000000000 -0400
+++ mountd.c	2009-06-02 11:36:53.000000000 -0400
@@ -1191,12 +1191,12 @@
  		got_nondir = 0;
  		opt_flags = 0;
  		ep = (struct exportlist *)NULL;
-		dirp = NULL;

  		/*
  		 * Handle the V4 root dir.
  		 */
  		if (*cp == 'V' && *(cp + 1) == '4' && *(cp + 2) == ':') {
+			dirp = NULL;
  			/*
  			 * V4: just indicates that it is the v4 root point,
  			 * so skip over that and set v4root_phase.




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