Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754901Ab1CYSmA (ORCPT ); Fri, 25 Mar 2011 14:42:00 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.123]:58594 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754815Ab1CYSl7 (ORCPT ); Fri, 25 Mar 2011 14:41:59 -0400 X-Authority-Analysis: v=1.1 cv=aqMe+0lCtaYvy4h0jyaoPGyq+DPF+P6rPG2xbekoY9Q= c=1 sm=0 a=XYJHFtupD_QA:10 a=kj9zAlcOel0A:10 a=OPBmh+XkhLl+Enan7BmTLg==:17 a=P1zUWezRBjFxN6YTcGMA:9 a=ZY97AGKeJ9hrVKs1U5IA:7 a=gqsUaCeMo2gg6xv1g55CqRZ2SFYA:4 a=CjuIK1q_8ugA:10 a=OPBmh+XkhLl+Enan7BmTLg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.242.120.143 Date: Fri, 25 Mar 2011 14:41:58 -0400 From: Steven Rostedt To: Peter Zijlstra Cc: Ming Lei , torvalds@osdl.org, Ingo Molnar , Linux Kernel Mailing List Subject: Re: deadlock caused by printk Message-ID: <20110325184158.GE9313@home.goodmis.org> References: <1301055698.2250.198.camel@laptop> <1301055960.2250.202.camel@laptop> <1301064627.2250.215.camel@laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1301064627.2250.215.camel@laptop> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 857 Lines: 28 On Fri, Mar 25, 2011 at 03:50:27PM +0100, Peter Zijlstra wrote: > On Fri, 2011-03-25 at 22:30 +0800, Ming Lei wrote: > > > > But seems ftrace can't dump out the messages if system hangs, > > True. Well, matters how the system hangs. Add in a nmi watchdog or other watchdogs which can also trigger the ftrace_dump_on_oops. > > > so could > > we introduce a smart and simple "printk" which can be used in any > > contexts? > > I think you could use early_printk() for that, it doesn't bother with > all the syslog muck. > Heh, I should have read the thread before replying to the first post ;) -- Steve -- 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/