xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <liuw@liuw.name>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: Console is not working with 2.6.38.4 Dom0 and Xen unstable
Date: Tue, 3 May 2011 21:49:09 +0800	[thread overview]
Message-ID: <BANLkTimjduto6GLrWb227mzZ5dHQLw6q1Q@mail.gmail.com> (raw)
In-Reply-To: <1304428918.18845.110.camel@zakaz.uk.xensource.com>

On Tue, May 3, 2011 at 9:21 PM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
>
> Seems like you've mostly got this sorted but FWIW "console=hvc0,vga" is
> not, AFAIK, a valid Linux kernel console= specification.
>
> Firstly you don't give multiple consoles separated with "," you need to
> give multiple "console=FOO" (with only the last one
> becoming /dev/console, I think). In Linux console= syntax a ","
> separates a console name from its options.
>

I noticed this and changed it to correct form in my later configuration.

> Secondly the VGA console is called "tty<n>" in Linux console= speak and
> not "vga" (this differs from Xen and Linux's earlyprintk=).
>

Yes, I've added console=tty0 in my kernel command line.

Now my grub.conf looks like:

multiboot  /boot/xen-4.gz com1=38400,8n1 console=vga,com1 sync_console
console_to_ring loglvl=all guest_loglvl=all
module  /boot/vmlinuz-2.6.39-rc4+ console=tty0 console=hvc0
earlyprintk=xen debug loglevel=10
root=UUID=fd49322b-830f-44d2-8bdf-de5c355bb159 ro  quiet

A few more tests show strange result.

I use Debian package 2.6.32-5-xen-amd64 with Xen-unstable, it panics
with boot_cpu_has(X86_FEATURE_TSC_RELIABLE), but the VGA console is
working, I can see information printing out.

Then I copy the config-2.6.32-5-xen-amd64 to my 2.6.39 kernel
directory and `make oldconfig`, which I expect it will produces a
kernel that will work. However, it did not turn out as expected. It's
still blank.

I diff'ed these two configs, the differences seem irrelavent.

Any suggestions?

-- 
Best regards
Wei Liu
Twitter: @iliuw
Site: http://liuw.name

      reply	other threads:[~2011-05-03 13:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-30  9:13 Console is not working with 2.6.38.4 Dom0 and Xen unstable Wei Liu
2011-04-30  9:59 ` Pasi Kärkkäinen
2011-04-30 10:27   ` Wei Liu
2011-04-30 10:41     ` Pasi Kärkkäinen
2011-04-30 11:17       ` Wei Liu
2011-04-30 11:40         ` Pasi Kärkkäinen
2011-05-02 11:31           ` Wei Liu
2011-05-02 13:54             ` Wei Liu
2011-05-02 14:10             ` Konrad Rzeszutek Wilk
2011-05-03  3:28               ` Wei Liu
2011-05-03 15:05                 ` Konrad Rzeszutek Wilk
2011-05-04  2:31                   ` Wei Liu
2011-05-03 13:21 ` Ian Campbell
2011-05-03 13:49   ` Wei Liu [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=BANLkTimjduto6GLrWb227mzZ5dHQLw6q1Q@mail.gmail.com \
    --to=liuw@liuw.name \
    --cc=Ian.Campbell@citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xensource.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).