Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756126Ab1DKVIP (ORCPT ); Mon, 11 Apr 2011 17:08:15 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:47831 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755964Ab1DKVIK (ORCPT ); Mon, 11 Apr 2011 17:08:10 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=beMDy92f3H/qd/yZ7MtNMcelWd7ZUGjTrwZWp6e8W4M/cV9PxlBC2yojRsJfMHQcB+ AmYp6WEecPdznBQCAcvYOYVtDTbHYqxiuIV1qGgt7AOr/02E/HwWMYLgr7bv6x5TXz3J hNDgVBaNfPVHRj0679E8vBKSu3loX3Kgzk7L0= Message-ID: <4DA36DB6.8060108@suse.cz> Date: Mon, 11 Apr 2011 23:08:06 +0200 From: Jiri Slaby User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8 MIME-Version: 1.0 To: bjschuma@netapp.com CC: "Myklebust, Trond" , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, mm-commits@vger.kernel.org, ML netdev , linux-nfs@vger.kernel.org, Jiri Slaby Subject: Re: nfs client doesn't work [was: mmotm 2011-03-31-14-48 uploaded] References: <201103312224.p2VMOA5g000983@imap1.linux-foundation.org> <4D96E4C5.2080302@suse.cz> <1302122693.16786.0.camel@lade.trondhjem.org> <4D9D5CC9.2040002@suse.cz> <4DA36722.2020402@suse.cz> <4DA36758.4070203@suse.cz> In-Reply-To: <4DA36758.4070203@suse.cz> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3526 Lines: 89 On 04/11/2011 10:40 PM, Jiri Slaby wrote: > Ccing Bryan > > On 04/11/2011 10:40 PM, Jiri Slaby wrote: >> On 04/07/2011 08:42 AM, Jiri Slaby wrote: >>> On 04/06/2011 10:44 PM, Myklebust, Trond wrote: >>>> On Sat, 2011-04-02 at 10:56 +0200, Jiri Slaby wrote: >>>>> On 03/31/2011 11:48 PM, akpm@linux-foundation.org wrote: >>>>>> The mm-of-the-moment snapshot 2011-03-31-14-48 has been uploaded to >>>>> >>>>> Hi, nfs client is defunct in this kernel. Tcpdump says: >>>>> 10:51:55.489717 IP 10.20.11.33.759945860 > 10.20.3.2.2049: 132 getattr >>>>> fh 0,0/24 >>>>> 10:51:55.515927 IP 10.20.3.2.2049 > 10.20.11.33.759945860: reply ok 44 >>>>> getattr ERROR: Operation not permitted >>>>> 10:51:55.515949 IP 10.20.11.33.921 > 10.20.3.2.2049: Flags [.], ack >>>>> 3569361440, win 115, options [nop,nop,TS val 599750 ecr 255058541], >>>> length 0 >>>>> 10:52:04.130310 IP 10.20.11.33.793500292 > 10.20.3.2.2049: 76 getattr fh >>>>> 0,0/24 >>>>> 10:52:04.152178 IP 10.20.3.2.2049 > 10.20.11.33.793500292: reply ok 44 >>>>> getattr ERROR: Operation not permitted >>>>> >>>>> If I run the same mount command (mount -oro,intr host:dir mountpoint) >>>>> from within a virtual machine with 2.6.38.2 there, everything mounts OK. >>>> >>>> Does the attached patch help? >>> >>> No, still the operation not permitted in the tcpdump output and no mount. >> >> The next tree from 20110411 still doesn't work. The topmost commit in >> fs/nfs/namespace.c is: >> commit 418875900e3de4831c84f86ae4756690dac5be77 >> Author: Bryan Schumaker >> Date: Wed Apr 6 14:33:28 2011 -0400 >> >> NFS: Fix a signed vs. unsigned secinfo bug >> >> >> I bisected it to (in vanilla already): >> >> 8f70e95f9f4159184f557a1db60c909d7c1bd2e3 is the first bad commit >> commit 8f70e95f9f4159184f557a1db60c909d7c1bd2e3 >> Author: Bryan Schumaker >> Date: Thu Mar 24 17:12:31 2011 +0000 >> >> NFS: Determine initial mount security >> >> When sec= is not presented as a mount option, >> we should attempt to determine what security flavor the >> server is using. >> >> Signed-off-by: Bryan Schumaker >> Signed-off-by: Trond Myklebust >> >> :040000 040000 8e5a640b37e00f0df21e1d9cd9aff160df2d5938 >> 0152daa67bc8d12e32cda5f4a036807d2e380392 M fs >> :040000 040000 f74aa33f8597cb82cd0fd7d90d84e0660b7f5804 >> 527bc0ca6975cedc7e684b45dc9961f8aaf1207a M include >> :040000 040000 87559d2f211ea905343a86c8551b6610dd239891 >> 7e4ee0e5eddf12474b6de9e7fdb6218b6165bdb2 M net Sorry for an extra message. I've just found out that there appears messages in dmesg: [ 58.656048] RPC: AUTH_GSS upcall timed out. [ 58.656050] Please check user daemon is running. [ 88.656065] RPC: AUTH_GSS upcall timed out. [ 88.656068] Please check user daemon is running. [ 118.656077] RPC: AUTH_GSS upcall timed out. [ 118.656080] Please check user daemon is running. [ 148.656049] RPC: AUTH_GSS upcall timed out. [ 148.656052] Please check user daemon is running. [ 178.656046] RPC: AUTH_GSS upcall timed out. [ 178.656049] Please check user daemon is running. I instrumented the code and it's stuck with trying RPC_AUTH_GSS_KRB5. I don't use GSS at all. regards, -- js suse labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/