From: Julien Grall <julien.grall@linaro.org>
To: manish jaggi <manishjaggi.oss@gmail.com>,
stefano.stabellini@citrix.com, xen-devel@lists.xenproject.org,
Vijay Kilari <vijay.kilari@gmail.com>,
manish.jaggi@caviumnetworks.com
Subject: Re: How to display dom0 kernel printk on hvc0
Date: Thu, 07 Aug 2014 15:05:37 +0100 [thread overview]
Message-ID: <53E387B1.3050300@linaro.org> (raw)
In-Reply-To: <CAAiw7Jng4EpmUaJrSu1Go8ffEnkAUU6Mqk63rQFENTwuPEryGw@mail.gmail.com>
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
prev parent reply other threads:[~2014-08-07 14:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-07 8:23 How to display dom0 kernel printk on hvc0 manish jaggi
2014-08-07 12:44 ` Stefano Stabellini
2014-08-07 13:01 ` manish jaggi
2014-08-07 14:36 ` Stefano Stabellini
2014-08-07 14:52 ` Julien Grall
2014-08-07 15:01 ` David Vrabel
2014-08-07 15:43 ` manish jaggi
2014-08-07 14:05 ` Julien Grall [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53E387B1.3050300@linaro.org \
--to=julien.grall@linaro.org \
--cc=manish.jaggi@caviumnetworks.com \
--cc=manishjaggi.oss@gmail.com \
--cc=stefano.stabellini@citrix.com \
--cc=vijay.kilari@gmail.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).