From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261885AbULCCXv (ORCPT ); Thu, 2 Dec 2004 21:23:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261895AbULCCXv (ORCPT ); Thu, 2 Dec 2004 21:23:51 -0500 Received: from smtp2.Stanford.EDU ([171.67.16.125]:44743 "EHLO smtp2.Stanford.EDU") by vger.kernel.org with ESMTP id S261885AbULCCXs (ORCPT ); Thu, 2 Dec 2004 21:23:48 -0500 Subject: Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-19 From: Fernando Lopez-Lezcano To: Ingo Molnar Cc: Rui Nuno Capela , linux-kernel@vger.kernel.org, Lee Revell , mark_h_johnson@raytheon.com, "K.R. Foley" , Bill Huey , Adam Heath , Florian Schmidt , Thomas Gleixner , Michal Schmidt , Karsten Wiese , Gunther Persoons , emann@mrv.com, Shane Shrybman , Amit Shah , Esben Nielsen , Andrew Morton In-Reply-To: <1102038118.7234.1544.camel@cmn37.stanford.edu> References: <41358.195.245.190.93.1101734020.squirrel@195.245.190.93> <20041129143316.GA3746@elte.hu> <20041129152344.GA9938@elte.hu> <48590.195.245.190.94.1101810584.squirrel@195.245.190.94> <20041130131956.GA23451@elte.hu> <17532.195.245.190.94.1101829198.squirrel@195.245.190.94> <20041201103251.GA18838@elte.hu> <32831.192.168.1.5.1101905229.squirrel@192.168.1.5> <20041201154046.GA15244@elte.hu> <20041201160632.GA3018@elte.hu> <20041201162034.GA8098@elte.hu> <1102038118.7234.1544.camel@cmn37.stanford.edu> Content-Type: text/plain Organization: Message-Id: <1102040580.7229.1551.camel@cmn37.stanford.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 02 Dec 2004 18:23:00 -0800 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2004-12-02 at 17:41, Fernando Lopez-Lezcano wrote: > On Wed, 2004-12-01 at 08:20, Ingo Molnar wrote: > > * Ingo Molnar wrote: > > > > > ok, this could be ACPI CPU-sleep related. Could you disable all ACPI > > > options in your .config (as a workaround), and re-check whether the > > > xruns still occur? > > > > i think i found the bug - it's an upstream ACPI bug. Does the patch > > below (or the -31-19 kernel, which i've just uploaded) fix the xruns? > > I'm trying unsuccessfully to boot my dual processor athlon into an smp > V0.7.31-20 patched kernel, with PREEMPT_DESKTOP (has not booted > correctly with realtime preemption compiled in for a long time): > > (copied from the screen) > > BUG: scheduling while atomic: swapper/0x10000000/1 > caller is preempt_schedule_irq+0x34/0x50 > [] dump_stack+-x23/0x30 (20) > [] __schedule+0xd5c/0xdb0 (124) > [] preempt_schedule_irq+0x34/0x50 (12) > [] need_resched+0x20/0x29 (-7256) > ------- > |preempt_count: 10000001 > 1-level deep critical section nesting > .. [] .... preint_tracs+0x1d/0x60 > .....[] .. ( <= dump_stack+0x23/0x30) > BUG at kernel/latency.c: 918! > -------- > invalid operand: 0000 [#1] > PREEMPT SMP > > Tried booting with softirq-preempt=1 hardirq-preempt=0 with no change. > > The matching uniprocessor kernel boots fine. But on shutdown (up kernel): BUG at mm/truncate.c:48! ---- ... kernel BUG at mm/truncate.c:48! invalid operand: 0000 [#1] PREEMPT -- Fernando