From mboxrd@z Thu Jan 1 00:00:00 1970 From: manish jaggi Subject: How to display dom0 kernel printk on hvc0 Date: Thu, 7 Aug 2014 13:53:37 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0868540556142798145==" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XFIz6-00087Q-Ok for xen-devel@lists.xenproject.org; Thu, 07 Aug 2014 08:23:40 +0000 Received: by mail-vc0-f180.google.com with SMTP id ij19so5741017vcb.11 for ; Thu, 07 Aug 2014 01:23:38 -0700 (PDT) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: stefano.stabellini@citrix.com, xen-devel@lists.xenproject.org, Vijay Kilari , manish.jaggi@caviumnetworks.com List-Id: xen-devel@lists.xenproject.org --===============0868540556142798145== Content-Type: multipart/alternative; boundary=20cf307f31c83558e0050005ce85 --20cf307f31c83558e0050005ce85 Content-Type: text/plain; charset=UTF-8 Hi Stefano, 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 OR is there a way to dump __logbuf of linux from xen shell. -Regards Manish --20cf307f31c83558e0050005ce85 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Stefano,

I am debuggi= ng a kernel crash when I start xencommons. If I add prints in kernel the pr= ints are only visible in dmesg and not on dom0 console. This makes it diffi= cult to view kernel printks at the time of crash.

I tried xen_raw_printks but the print only comes when y= ou press a key, so while a crash is happening you cannot press a key.
=

Is there a way to enable printks on hvc0=C2=A0
OR
is there a way to dump __logbuf of linux from xen shell.
=

-Regards
Manish
--20cf307f31c83558e0050005ce85-- --===============0868540556142798145== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============0868540556142798145==--