From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: How to display dom0 kernel printk on hvc0 Date: Thu, 07 Aug 2014 15:05:37 +0100 Message-ID: <53E387B1.3050300@linaro.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XFOK8-0002im-2x for xen-devel@lists.xenproject.org; Thu, 07 Aug 2014 14:05:44 +0000 Received: by mail-we0-f177.google.com with SMTP id w62so4140083wes.8 for ; Thu, 07 Aug 2014 07:05:42 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: manish jaggi , stefano.stabellini@citrix.com, xen-devel@lists.xenproject.org, Vijay Kilari , manish.jaggi@caviumnetworks.com List-Id: xen-devel@lists.xenproject.org Hello, On 08/07/2014 09:23 AM, manish jaggi wrote: > I am debugging a kernel crash when I start xencommons. If I add prints > in kernel the prints are only visible in dmesg and not on dom0 console. > This makes it difficult to view kernel printks at the time of crash. > > I tried xen_raw_printks but the print only comes when you press a key, > so while a crash is happening you cannot press a key. > > Is there a way to enable printks on hvc0 every printk in the kernel should be printed in hvc if you pass console=hvc0 on the kernel command line. You may also have to add ignore_loglevel Regards, -- Julien Grall