From: Dominik Brodowski Subject: Re: 2.6.39-rc1 nouveau(?) regression (bisected) Date: Fri, 22 Apr 2011 18:29:32 +0200 Message-ID: <20110422162932.GB7600@comet.dominikbrodowski.net> 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-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <20110419214747.GA2965@joi.lan> Sender: linux-kernel-owner@vger.kernel.org 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 List-Id: dri-devel@lists.freedesktop.org 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: > >=20 > > Looks like something wrote 0xffffffff to free'd memory. > >=20 > > Enabling DEBUG_PAGEALLOC *might* show where it happens. > >=20 > > > > > > [ =A0 =A06.523867] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > [ =A0 =A06.523916] BUG sysfs_dir_cache: Poison overwritten > > > [ =A0 =A06.523949] ----------------------------------------------= ------------------------------- > > > [ =A0 =A06.523950] > > > [ =A0 =A06.524016] INFO: 0xffff8801bb47df4c-0xffff8801bb47df4f. F= irst byte 0xff instead of 0x6b > > > [ =A0 =A06.524061] INFO: Slab 0xffffea00060f7b58 objects=3D22 use= d=3D21 fp=3D0xffff8801bb47df18 flags=3D0x80000000000000c1 > > > [ =A0 =A06.524110] INFO: Object 0xffff8801bb47df18 @offset=3D3864= fp=3D0x =A0 =A0 =A0 =A0 =A0(null) > > > [ =A0 =A06.524111] > > > [ =A0 =A06.524170] Bytes b4 0xffff8801bb47df08: =A000 00 00 00 00= 00 00 00 5a 5a 5a 5a 5a 5a 5a 5a ........ZZZZZZZZ > > > [ =A0 =A06.524516] =A0 Object 0xffff8801bb47df18: =A06b 6b 6b 6b = 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk > > > [ =A0 =A06.524862] =A0 Object 0xffff8801bb47df28: =A06b 6b 6b 6b = 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk > > > [ =A0 =A06.525208] =A0 Object 0xffff8801bb47df38: =A06b 6b 6b 6b = 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk > > > [ =A0 =A06.525556] =A0 Object 0xffff8801bb47df48: =A06b 6b 6b 6b = ff ff ff ff 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkk > >=20 > > So here the 0xffffffff is pretty obvious. > >=20 > > > and in another boot: > > > > > > [ =A0 =A06.704786] BUG: unable to handle kernel paging request at= ffffffffbc70b058 > >=20 > > 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. > >=20 > > So then sysfs_refresh_inode() follows that pointer, and crashes. > >=20 > > Just a guess, obviously, but it looks rather likely. >=20 > 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 CLOS= ED and FIXED. Thanks again, Dominik