From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: Console is not working with 2.6.38.4 Dom0 and Xen unstable Date: Tue, 3 May 2011 21:49:09 +0800 Message-ID: References: <1304428918.18845.110.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <1304428918.18845.110.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Tue, May 3, 2011 at 9:21 PM, Ian Campbell 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" 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