Return-Path: Received: from adelie.canonical.com ([91.189.90.139]:35149 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755528Ab0LIRZg (ORCPT ); Thu, 9 Dec 2010 12:25:36 -0500 Message-ID: <4D011109.7050505@canonical.com> Date: Thu, 09 Dec 2010 18:25:29 +0100 From: Stefan Bader To: Chuck Lever CC: Trond Myklebust , Linux NFS Mailing List , Andrew Morton Subject: Re: [Bug 24302] Kernel crashes when repeatedly trying to mount nfs share that is failing References: <201012081830.oB8IUZ4t027387@demeter2.kernel.org> <1291835010.3067.4.camel@heimdal.trondhjem.org> <3F9D016C-9EDF-4B65-AD77-F225D5F1FA66@oracle.com> <4D00AB9F.3030808@canonical.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On 12/09/2010 04:23 PM, Chuck Lever wrote: > > On Dec 9, 2010, at 5:12 AM, Stefan Bader wrote: > >> On 12/09/2010 01:19 AM, Chuck Lever wrote: >>> Hi Stefan- >>> >>> On Dec 8, 2010, at 3:35 PM, Chuck Lever wrote: >>> >>>> >>>> On Dec 8, 2010, at 2:03 PM, Trond Myklebust wrote: >>>> >>>>> On Wed, 2010-12-08 at 18:30 +0000, bugzilla-daemon@bugzilla.kernel.org >>>>> wrote: >>>>>> https://bugzilla.kernel.org/show_bug.cgi?id=24302 >>>>>> >>>>>> >>>>>> Andrew Morton changed: >>>>>> >>>>>> What |Removed |Added >>>>>> ---------------------------------------------------------------------------- >>>>>> >>>>>> >> Component|Other |NFS >>>>>> AssignedTo|fs_other@kernel-bugs.osdl.o |trond.myklebust@fys.uio.no |rg >>>>>> | >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> --- Comment #8 from Andrew Morton >>>>>> 2010-12-08 18:30:32 --- OK, I reassigned it to NFS. If that was wrong >>>>>> then at least the NFS guys should be able to help point things in the >>>>>> right direction. >>>>> >>>>> >>>> directly, since that will lose the above Cc information> >> >> Missed to read the above, so I have to duplicate things a bit, sorry. Removed >> the bugzilla cc, so the report does not get spammed. >> >>>>> >>>>> >>>>> Chuck, >>>>> >>>>> Stefan appears to be hitting a panic in the nfs_umount() call from >>>>> nfs_walk_authlist(). Can you take a look, please? >>>> >>>> Recv'd. I'll have a look. >>> >>> Apologies in advance for the attachment. There are a few other clean ups >>> that can be done, but this seems to be the minimal fix. Please try this and >>> let us know if it addresses your panic. >>> >>> >>> >>> >>> >>> >>> The faulty commit went in a while back, so this patch is probably appropriate >>> for stable kernels (back to 2.6.31, where this was likely introduced). >>> >> >> I can confirm that this was the root cause of the crash. The sha referenced as >> the causing commit, got in with a 2.6.32-rc so I added the stable info >> accordingly. I also added my tested-by and slightly modified the bug reference >> format (Chuck, I hope this is ok). > > Looks good to me. I assume, since Trond still owns the kernel.org bugzilla, that he will close this loop? Let me know if I need to do anything else. > Actually someone spotted that the second array_size should probably use mnt_procedures3 instead of mnt_procedures. They happen to be the same size, so testing is ok. -Stefan