WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Console is not working with 2.6.38.4 Dom0 and Xen unstab

To: Wei Liu <liuw@xxxxxxxxx>
Subject: Re: [Xen-devel] Console is not working with 2.6.38.4 Dom0 and Xen unstable
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Tue, 3 May 2011 14:21:58 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>, Stefano
Delivery-date: Tue, 03 May 2011 06:22:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTimpo4aPHZKyKwRFb31NoxcPmNdvqA@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <BANLkTimpo4aPHZKyKwRFb31NoxcPmNdvqA@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, 2011-04-30 at 10:13 +0100, Wei Liu wrote:
> Hi,
> 
> I'm building my development with Debian Squeeze, Xen unstable and the
> latest 2.6.38.4 kernel.
> 
> According to Xen wiki page, graphic subsystem is not working with
> 2.6.38 [1], so I disable GDM. I also set up various Xen and Linux
> debug options, now that my grub entry looks like:
> 
> --- start of grub config ---
> multiboot  /boot/xen-4.gz com1=115200,8n1 console=com1,vga
> sync_console console_to_ring loglvl=all guest_loglvl=all noreboot
> lapic=debug apic_verbosity=debug apic=debug iommu=off
> 
> module  /boot/vmlinuz-2.6.38.4-liuw+ console=hvc0,vga earlyprintk=xen
> nomodeset initcall_debug debug loglevel=10
> root=UUID=fd49322b-830f-44d2-8bdf-de5c355bb159 ro  quiet

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.

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

Documentation/kernel-parameters.txt in the kernel source has a bit more
info on the syntax, so do things like Documentation/serial-console.txt.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel