RPCPROG_MNT: RPC: Timed out / receiving NFS error when trying
to mount NFS file system after make world
Rick Macklem
rmacklem at uoguelph.ca
Tue Jun 2 15:42:00 UTC 2009
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.
More information about the freebsd-current
mailing list