Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751143AbVLLRSb (ORCPT ); Mon, 12 Dec 2005 12:18:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751256AbVLLRSb (ORCPT ); Mon, 12 Dec 2005 12:18:31 -0500 Received: from smtp.osdl.org ([65.172.181.4]:53193 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1751143AbVLLRSa (ORCPT ); Mon, 12 Dec 2005 12:18:30 -0500 Date: Mon, 12 Dec 2005 09:17:32 -0800 (PST) From: Linus Torvalds To: Benjamin Herrenschmidt cc: Andrew Morton , Linux Kernel list , Paul Mackerras , Jens Axboe , Brian King Subject: Re: Memory corruption & SCSI in 2.6.15 In-Reply-To: <1134371606.6989.95.camel@gaston> Message-ID: References: <1134371606.6989.95.camel@gaston> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1281 Lines: 31 On Mon, 12 Dec 2005, Benjamin Herrenschmidt wrote: > > Current -git as of today (that is 2.6.15-rc5 + the batch of fixes Linus > pulled after his return) was dying in weird ways for me on POWER5. I had > the good idea to activate slab debugging, and I now see it detecting > slab corruption as soon as the IPR driver initializes. > > Since I remember seeing a discussion somewhere on a list between Brian > King and Jens Axboe about use-after-free problems in SCSI and possible > other niceties of that sort, I though it might be related... > > Anything I can do to help track this down ? If it's easily repeatable, doing a "git bisect" to see when it starts happening is the obvious big sledge-hammer thing to try. Even if you don't bisect all the way, just narrowing it down a bit more might help. Also, enabling DEBUG_PAGEALLOC might help, but that's not available on powerpc. There's a raid1 use-after-free bugfix that I just merged and pushed out, but I doubt that one is relevant. But you might try to update. Linus - 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/