From owner-freebsd-current@FreeBSD.ORG Tue Jun 2 15:42:00 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 2CC111065672 for ; Tue, 2 Jun 2009 15:42:00 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id D0F578FC19 for ; Tue, 2 Jun 2009 15:41:59 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAGPlJEqDaFvL/2dsb2JhbADQSIQLBQ X-IronPort-AV: E=Sophos;i="4.41,291,1241409600"; d="scan'208";a="35138822" Received: from nile.cs.uoguelph.ca ([131.104.91.203]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 02 Jun 2009 11:41:58 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by nile.cs.uoguelph.ca (Postfix) with ESMTP id D8FF88D4084; Tue, 2 Jun 2009 11:41:58 -0400 (EDT) X-Virus-Scanned: amavisd-new at nile.cs.uoguelph.ca Received: from nile.cs.uoguelph.ca ([127.0.0.1]) by localhost (nile.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bGr0Mtd1bxPm; Tue, 2 Jun 2009 11:41:58 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by nile.cs.uoguelph.ca (Postfix) with ESMTP id 0BB348D4072; Tue, 2 Jun 2009 11:41:58 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id n52FhAR18473; Tue, 2 Jun 2009 11:43:10 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Tue, 2 Jun 2009 11:43:10 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: "O. Hartmann" In-Reply-To: <4A2504AA.1020406@zedat.fu-berlin.de> Message-ID: References: <4A2504AA.1020406@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:42:00 -0000 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.