Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756223Ab1DVQkG (ORCPT ); Fri, 22 Apr 2011 12:40:06 -0400 Received: from isilmar-3.linta.de ([188.40.101.200]:35825 "EHLO linta.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756188Ab1DVQkD (ORCPT ); Fri, 22 Apr 2011 12:40:03 -0400 Date: Fri, 22 Apr 2011 18:29:32 +0200 From: Dominik Brodowski To: Marcin Slusarz Cc: Linus Torvalds , Kyle Spaans , linux-kernel@vger.kernel.org, Ben Skeggs , airlied@redhat.com, dri-devel@lists.freedesktop.org, mjg@redhat.com, maciej.rutecki@gmail.com, nouveau@lists.freedesktop.org, Nigel Cunningham , Nick Piggin Subject: Re: 2.6.39-rc1 nouveau(?) regression (bisected) Message-ID: <20110422162932.GB7600@comet.dominikbrodowski.net> Mail-Followup-To: Dominik Brodowski , Marcin Slusarz , Linus Torvalds , Kyle Spaans , linux-kernel@vger.kernel.org, Ben Skeggs , airlied@redhat.com, dri-devel@lists.freedesktop.org, mjg@redhat.com, maciej.rutecki@gmail.com, nouveau@lists.freedesktop.org, Nigel Cunningham , Nick Piggin References: <20110415061136.GA21979@isilmar-3.linta.de> <4DAA1453.5000604@nigelcunningham.com.au> <20110416235028.GA6096@taurine.csclub.uwaterloo.ca> <20110417151204.GA24519@taurine.csclub.uwaterloo.ca> <20110417154557.GA2871@joi.lan> <20110417162427.GB25242@taurine.csclub.uwaterloo.ca> <20110417164920.GA2626@joi.lan> <20110418200204.GA2522@joi.lan> <20110419214747.GA2965@joi.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110419214747.GA2965@joi.lan> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2549 Lines: 52 On Tue, Apr 19, 2011 at 11:47:47PM +0200, Marcin Slusarz wrote: > On Mon, Apr 18, 2011 at 01:27:10PM -0700, Linus Torvalds wrote: > > On Mon, Apr 18, 2011 at 1:02 PM, Marcin Slusarz > > wrote: > > > > > > It's some nasty corruption: > > > > Looks like something wrote 0xffffffff to free'd memory. > > > > Enabling DEBUG_PAGEALLOC *might* show where it happens. > > > > > > > > [ ? ?6.523867] ============================================================================= > > > [ ? ?6.523916] BUG sysfs_dir_cache: Poison overwritten > > > [ ? ?6.523949] ----------------------------------------------------------------------------- > > > [ ? ?6.523950] > > > [ ? ?6.524016] INFO: 0xffff8801bb47df4c-0xffff8801bb47df4f. First byte 0xff instead of 0x6b > > > [ ? ?6.524061] INFO: Slab 0xffffea00060f7b58 objects=22 used=21 fp=0xffff8801bb47df18 flags=0x80000000000000c1 > > > [ ? ?6.524110] INFO: Object 0xffff8801bb47df18 @offset=3864 fp=0x ? ? ? ? ?(null) > > > [ ? ?6.524111] > > > [ ? ?6.524170] Bytes b4 0xffff8801bb47df08: ?00 00 00 00 00 00 00 00 5a 5a 5a 5a 5a 5a 5a 5a ........ZZZZZZZZ > > > [ ? ?6.524516] ? Object 0xffff8801bb47df18: ?6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk > > > [ ? ?6.524862] ? Object 0xffff8801bb47df28: ?6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk > > > [ ? ?6.525208] ? Object 0xffff8801bb47df38: ?6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk > > > [ ? ?6.525556] ? Object 0xffff8801bb47df48: ?6b 6b 6b 6b ff ff ff ff 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkk > > > > So here the 0xffffffff is pretty obvious. > > > > > and in another boot: > > > > > > [ ? ?6.704786] BUG: unable to handle kernel paging request at ffffffffbc70b058 > > > > Here it is less obvious, but it was _probably_ a regular kernel > > pointer of the type 0xffff8801bc70b058 before the high bits were > > overwritten by a 0xffffffff. > > > > So then sysfs_refresh_inode() follows that pointer, and crashes. > > > > Just a guess, obviously, but it looks rather likely. > > Thanks. It helped a bit. > I'll send two patches in response to this message, one of which fixes this bug. Thanks Marcin, now my system boots finely again. Consider this bug CLOSED and FIXED. Thanks again, Dominik -- 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/