From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Console is not working with 2.6.38.4 Dom0 and Xen unstable Date: Mon, 2 May 2011 10:10:04 -0400 Message-ID: <20110502141004.GC13192@dumpdata.com> References: <20110430095932.GR32595@reaktio.net> <20110430104151.GS32595@reaktio.net> <20110430114006.GT32595@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Wei Liu Cc: xen-devel@lists.xensource.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Mon, May 02, 2011 at 07:31:21PM +0800, Wei Liu wrote: > I test with various command line options, along with Konrad's [1] and > Jeremy's [2] kernel. It's still blank. For the Intel graphic cards to work, you need CONFIG_DMAR to be set. Do you have that? > > Konrad's kernel is 2.6.39-rc4, runs well on bare metal, blank screen > on Xen unstable. I am 99% sure you have forgotten to set CONFIG_DMAR? > > Jeremy's kernel is 2.6.32.39, assertion fails with > boot_cpu_has(X86_FEATURE_TSC_RELIABLE) when booting on Xen unstable. > > I also skim hvc_xen.c, the Dom0 console operations are straight > forward -- they are just wrapper of console IO hypercall. For that, try 'debug loglevel=8 console=hvc' on your Linux line to make sure that the output is being piped through to the Xen hypervisor. And on the Xen hypervisor do have 'console_to_ring' > > Is that a hardware-related problem? No.