From owner-freebsd-current@FreeBSD.ORG Fri Jun 5 15:15:54 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 01238106566C for ; Fri, 5 Jun 2009 15:15:54 +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 A70278FC19 for ; Fri, 5 Jun 2009 15:15:53 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEABHUKEqDaFvH/2dsb2JhbADRZoQKBQ X-IronPort-AV: E=Sophos;i="4.41,312,1241409600"; d="scan'208";a="35542796" Received: from danube.cs.uoguelph.ca ([131.104.91.199]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 05 Jun 2009 11:15:52 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id 78BC31084170; Fri, 5 Jun 2009 11:15:52 -0400 (EDT) X-Virus-Scanned: amavisd-new at danube.cs.uoguelph.ca Received: from danube.cs.uoguelph.ca ([127.0.0.1]) by localhost (danube.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QZwAMCmKgZcp; Fri, 5 Jun 2009 11:15:51 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id A3FB61084141; Fri, 5 Jun 2009 11:15:51 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id n55FHAu25550; Fri, 5 Jun 2009 11:17:10 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Fri, 5 Jun 2009 11:17:10 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Dmitry Marakasov In-Reply-To: <20090603235227.GB15659@hades.panopticon> Message-ID: References: <4A2504AA.1020406@zedat.fu-berlin.de> <20090603235227.GB15659@hades.panopticon> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@FreeBSD.org, "O. Hartmann" , Arnar Mar Sig 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: Fri, 05 Jun 2009 15:15:54 -0000 On Thu, 4 Jun 2009, Dmitry Marakasov wrote: > * O. Hartmann (ohartman@zedat.fu-berlin.de) wrote: > > Just my 2 cents: the same behaviour, and while mount -o tcp succeeds, > umounting behaves strangely: if I umount nfs filesystem, umount > process hangs for some time, then exits with `umount: hive: > RPCMNT_UMOUNT: RPC: Timed out', while the filesystem is actually > umounted immediately after umount is called. This all also breaks > amd severely (however it already haven't been working on current > for a long time for me). > That would be consistent with the problem being udp specific. An NFS server for v2,3 (NFSv4 is a different story) is "stateless" and doesn't know what mounted on it. All the "umount" does is tell the server's mountd daemon it has unmounted, so the server's mountd can maintain a table of mounts that can be queried via "showmount". The -current umount.c always does this via "udp", so it would fail. The only effect is that "showmount" might reply bogus info. It seems that the problem is specific to "udp" and some arches. (I can't reproduce it on i386 and at least one person sees it on amd64.) Maybe people who see the problem can post to the -current list, noting what arch they are using and network config (running virtualized, what net hardware, multiple net interfaces, etc). Hopefully there is some commonality among them? Thanks in advance for any help tracking this down, rick