Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270595AbUJUIeL (ORCPT ); Thu, 21 Oct 2004 04:34:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270710AbUJUIae (ORCPT ); Thu, 21 Oct 2004 04:30:34 -0400 Received: from mx1.elte.hu ([157.181.1.137]:62128 "EHLO mx1.elte.hu") by vger.kernel.org with ESMTP id S270642AbUJUITR (ORCPT ); Thu, 21 Oct 2004 04:19:17 -0400 Date: Thu, 21 Oct 2004 10:20:33 +0200 From: Ingo Molnar To: Michal Schmidt Cc: linux-kernel@vger.kernel.org, Lee Revell , Rui Nuno Capela , Mark_H_Johnson@Raytheon.com, "K.R. Foley" , Bill Huey , Adam Heath , Florian Schmidt , Thomas Gleixner , Fernando Pablo Lopez-Lezcano Subject: Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8 Message-ID: <20041021082033.GA21619@elte.hu> References: <20041019124605.GA28896@elte.hu> <20041019180059.GA23113@elte.hu> <20041020094508.GA29080@elte.hu> <4176403B.5@stud.feec.vutbr.cz> <20041020105630.GB2614@elte.hu> <417645A4.7000802@stud.feec.vutbr.cz> <20041020120434.GA6297@elte.hu> <4176D9CC.5010107@stud.feec.vutbr.cz> <20041021081215.GA21073@elte.hu> <20041021081805.GA21537@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041021081805.GA21537@elte.hu> User-Agent: Mutt/1.4.1i X-ELTE-SpamVersion: MailScanner 4.31.6-itk1 (ELTE 1.2) SpamAssassin 2.63 ClamAV 0.73 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=-4.9, required 5.9, autolearn=not spam, BAYES_00 -4.90 X-ELTE-SpamLevel: X-ELTE-SpamScore: -4 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1153 Lines: 30 * Ingo Molnar wrote: > > * Ingo Molnar wrote: > > > ah, indeed. Note that this is still not enough - please try to add a > > local_irq_enable() to netconsole.c's console-write function - does > > that fix it equally well for you? > > > > the reason is that if we crash within an irqs-off section then > > netconsole will still be called with interrupts disabled and will > > trigger the assert. > > i've added your patch to my tree, plus the extra local_irq_enable(), > this should also fix fbcon - so no changes needed to netconsole.c. All > of these problems will go away if/when the console code goes away from > raw spinlocks. actually ... i think i'll add the local_irq_enable() to netconsole.c and fbcon, that way the VGA and serial consoles can still keep interrupts disabled. That could make the difference between a debuggable and undebuggable crash ... Ingo - 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/