From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266385AbUBLMJH (ORCPT ); Thu, 12 Feb 2004 07:09:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266396AbUBLMJH (ORCPT ); Thu, 12 Feb 2004 07:09:07 -0500 Received: from fw.osdl.org ([65.172.181.6]:10141 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S266385AbUBLMJF (ORCPT ); Thu, 12 Feb 2004 07:09:05 -0500 Date: Thu, 12 Feb 2004 04:09:10 -0800 From: Andrew Morton To: Anton Blanchard Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: 2.6.3-rc2-mm1 Message-Id: <20040212040910.3de346d4.akpm@osdl.org> In-Reply-To: <20040212115718.GF25922@krispykreme> References: <20040212015710.3b0dee67.akpm@osdl.org> <20040212031322.742b29e7.akpm@osdl.org> <20040212115718.GF25922@krispykreme> X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Anton Blanchard wrote: > > > > This kernel and also 2.6.3-rc1-mm1 have a nasty bug which causes > > current->preempt_count to be decremented by one on each hard IRQ. It > > manifests as a BUG() in the slab code early in boot. > > > > Disabling CONFIG_DEBUG_SPINLOCK_SLEEP will fix this up. Do not use this > > feature on ia32, for it is bust. > > A few questions spring to mind. Like who wrote that dodgy patch? The dog wrote my homework? > And any ideas how said person (who will remain nameless) broke ia32? Not really. I spent a couple of hours debugging the darn thing, then gave up and used binary search to find the offending patch. include/asm-i386/hardirq.h:IRQ_EXIT_OFFSET needs treatment, I bet.