From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932361AbWDUTez (ORCPT ); Fri, 21 Apr 2006 15:34:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932363AbWDUTez (ORCPT ); Fri, 21 Apr 2006 15:34:55 -0400 Received: from pat.uio.no ([129.240.10.6]:51683 "EHLO pat.uio.no") by vger.kernel.org with ESMTP id S932361AbWDUTey (ORCPT ); Fri, 21 Apr 2006 15:34:54 -0400 Subject: Re: NFS bug? From: Trond Myklebust To: Andrew Morton Cc: grievre@gmail.com, linux-kernel@vger.kernel.org In-Reply-To: <20060421113156.35c626dc.akpm@osdl.org> References: <1145551304.8136.5.camel@lade.trondhjem.org> <1145555789.8136.13.camel@lade.trondhjem.org> <1145556613.8136.14.camel@lade.trondhjem.org> <1145560845.8136.26.camel@lade.trondhjem.org> <20060421005524.15f1c414.akpm@osdl.org> <1145628470.8150.10.camel@lade.trondhjem.org> <20060421113156.35c626dc.akpm@osdl.org> Content-Type: text/plain Date: Fri, 21 Apr 2006 15:34:47 -0400 Message-Id: <1145648087.8165.23.camel@lade.trondhjem.org> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit X-UiO-Spam-info: not spam, SpamAssassin (score=-3.813, required 12, autolearn=disabled, AWL 1.19, UIO_MAIL_IS_INTERNAL -5.00) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2006-04-21 at 11:31 -0700, Andrew Morton wrote: > Trond Myklebust wrote: > > > > > I'd be guessing that filldir64() was passed a negative namlen. > > > > Why would that trigger a bug in __copy_from_user_ll()? I could see it > > triggering errors in copy_to_user(), but not copy_from_*... > > Ah. No, I cannot see why getdents wold run copy_from_user(). > > I wonder why that stack trace didn't come out. Perhaps running `dmesg -n > 7' prior to triggerng the crash will help. (It shouldn't, but we might > have broken it). > Also, please check that the kernel was compiled with CONFIG_FRAME_POINTER and CONFIG_KALLSYMS. Cheers, Trond