From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:58157 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751080Ab1DLSww (ORCPT ); Tue, 12 Apr 2011 14:52:52 -0400 Message-ID: <4DA49F7F.8060005@suse.cz> Date: Tue, 12 Apr 2011 20:52:47 +0200 From: Jiri Slaby To: Bryan Schumaker CC: Trond Myklebust , Jiri Slaby , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, mm-commits@vger.kernel.org, ML netdev , linux-nfs@vger.kernel.org Subject: Re: [PATCH] NFS: Fix infinite loop in gss_create_upcall() 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> <4DA36DB6.8060108@suse.cz> <4DA48EB0.40600@netapp.com> <4DA4946D.5020403@suse.cz> <1302633088.4801.48.camel@lade.trondhjem.org> <4DA49B49.1020005@suse.cz> <4DA49D3A.7090800@netapp.com> In-Reply-To: <4DA49D3A.7090800@netapp.com> Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On 04/12/2011 08:43 PM, Bryan Schumaker wrote: > On 04/12/2011 02:34 PM, Jiri Slaby wrote: >> On 04/12/2011 08:31 PM, Trond Myklebust wrote: >>>> Yes, it fixes the problem. But it waits 15s before it times out. This is >>>> inacceptable for automounted NFS dirs. >>> >>> I'm still confused as to why you are hitting it at all. In the normal >>> autonegotiation case, the client should be trying to use AUTH_SYS first >>> and then trying rpcsec_gss if and only if that fails. >>> >>> Are you really exporting a filesystem using AUTH_NULL as the only >>> supported flavour? >> >> I don't know, I connect to a nfs server which is not maintained by me. >> It looks like that. How can I find out? > > If you're not using gss for anything, you could try rmmod-ing rpcsec_gss_krb5 (and other rpcsec_gss_* modules). I don't have NFS in modules. It's all built-in. And this one is unconditionally selected because of CONFIG_NFS_V4. regards, -- js suse labs From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Slaby Subject: Re: [PATCH] NFS: Fix infinite loop in gss_create_upcall() Date: Tue, 12 Apr 2011 20:52:47 +0200 Message-ID: <4DA49F7F.8060005@suse.cz> 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> <4DA36DB6.8060108@suse.cz> <4DA48EB0.40600@netapp.com> <4DA4946D.5020403@suse.cz> <1302633088.4801.48.camel@lade.trondhjem.org> <4DA49B49.1020005@suse.cz> <4DA49D3A.7090800@netapp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Trond Myklebust , Jiri Slaby , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, mm-commits-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, ML netdev , linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Bryan Schumaker Return-path: In-Reply-To: <4DA49D3A.7090800-HgOvQuBEEgTQT0dZR+AlfA@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org On 04/12/2011 08:43 PM, Bryan Schumaker wrote: > On 04/12/2011 02:34 PM, Jiri Slaby wrote: >> On 04/12/2011 08:31 PM, Trond Myklebust wrote: >>>> Yes, it fixes the problem. But it waits 15s before it times out. This is >>>> inacceptable for automounted NFS dirs. >>> >>> I'm still confused as to why you are hitting it at all. In the normal >>> autonegotiation case, the client should be trying to use AUTH_SYS first >>> and then trying rpcsec_gss if and only if that fails. >>> >>> Are you really exporting a filesystem using AUTH_NULL as the only >>> supported flavour? >> >> I don't know, I connect to a nfs server which is not maintained by me. >> It looks like that. How can I find out? > > If you're not using gss for anything, you could try rmmod-ing rpcsec_gss_krb5 (and other rpcsec_gss_* modules). I don't have NFS in modules. It's all built-in. And this one is unconditionally selected because of CONFIG_NFS_V4. regards, -- js suse labs -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html