From: Ian Campbell <ian.campbell@citrix.com>
To: Meng Xu <xumengpanda@gmail.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Question: Redirect guest kernel's message via serial port to a file on dom0
Date: Tue, 1 Sep 2015 17:01:30 +0100 [thread overview]
Message-ID: <1441123290.26292.76.camel@citrix.com> (raw)
In-Reply-To: <CAENZ-+=-2-zyMHe2t8GzW1FU+whaYpNzVxH8kSYrQ=D2v9gfrw@mail.gmail.com>
On Tue, 2015-09-01 at 11:47 -0400, Meng Xu wrote:
>
> Yes. I'm using PV VM.
>
> If I run inside VM: # echo 1 > /dev/hvc0, it does not report error.
>
> If I use "xl console vm1" to attach to the hvc0, I can see the output 1.
>
> However, I still cannot find the console file under /var/log/xen.
> Actually, there is no such file under /var after I run "find /var
> -name console".
You need to "mkdir /var/log/xen/console", xenconsoled doesn't do it
automatically.
Once you do that and restart the guest then for a guest named "foo" you
should get /var/log/xen/console/guest-foo.log
>
> I'm wondering if there is any way for me to debug which configuration
> is incorrect?
> After I make it work, I can write a wiki to document the working
> approach. :-)
http://wiki.xenproject.org/wiki/Reporting_Bugs_against_Xen_Project#Guest_co
nsole_logs isn't the most helpful place for the existing document, that's
for sure.
I suppose there also ought to be a link from
http://wiki.xenproject.org/wiki/Xen_FAQ_Console (quite why there is a
separate FAQ when
http://wiki.xenproject.org/wiki/Xen_Common_Problems#Console actually has
more entries I'm not entirely sure)
>
> Thank you again for your time and help!
>
> Best,
>
> meng
>
>
>
> -----------
> Meng Xu
> PhD Student in Computer and Information Science
> University of Pennsylvania
> http://www.cis.upenn.edu/~mengxu/
prev parent reply other threads:[~2015-09-01 16:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-24 3:01 Question: Redirect guest kernel's message via serial port to a file on dom0 Meng Xu
2015-08-24 8:10 ` Andrew Cooper
2015-08-25 2:48 ` Meng Xu
2015-08-25 7:42 ` Andrew Cooper
2015-08-25 13:04 ` Meng Xu
2015-09-01 10:52 ` Ian Campbell
2015-09-01 15:15 ` Meng Xu
2015-09-01 15:26 ` Ian Campbell
2015-09-01 15:47 ` Meng Xu
2015-09-01 16:01 ` Ian Campbell [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=1441123290.26292.76.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=xen-devel@lists.xen.org \
--cc=xumengpanda@gmail.com \
/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).