Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 18:20:10 +0800
From:      Wei Xu <wei.xu.prc@gmail.com>
To:        freebsd-xen@freebsd.org
Subject:   DomU console driver not works for Fedora17 in HVM mode with Xen 4.1.2
Message-ID:  <CAH=9XOZC46yEKjoQKRgD3aEUaqvNcNF4Jcs=0HDdxJbAOpWEXw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi All,
I'm try to set up and verify Xen console driver base on Fedora 17 and Xen
4.1.2 with hvm guest mode,
i searched around and got a link, it give steps both for PV and HVM mode, I
followed the HVM guide
and upgraded my kernel to 3.5.0.

           http://www.dedoimedo.com/computers/xen-console.html

After that, I can got console output with "xm console <dom_id>", but the
console driver is not used when I tracing the driver
with "crash" utility, by examing the "console_drivers", the console driver
is still "serial8250 console", so i wonder if I didn't
set up it properly or something else, is there someone ever experienced it,
thanks.

crash> p *console_drivers
$10 = {
  name = "ttyS\000\000\000\000\000\000\000\000\000\000\000",
  write = 0xffffffff8138d5a0 <serial8250_console_write>,
  read = 0,
  device = 0xffffffff8138c350 <uart_console_device>,
  unblank = 0,
  setup = 0xffffffff81d29926 <serial8250_console_setup>,
  early_setup = 0xffffffff8138ca10 <serial8250_console_early_setup>,
  flags = 22,
  index = 0,
  cflag = 0,
  data = 0xffffffff81c82640,
  next = 0x0
}


Thanks,
Wei



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH=9XOZC46yEKjoQKRgD3aEUaqvNcNF4Jcs=0HDdxJbAOpWEXw>