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] Can anyone successfully use serial console to debug XEN-

To: Yuehai Xu <yuehaixu@xxxxxxxxx>
Subject: Re: [Xen-devel] Can anyone successfully use serial console to debug XEN-4.0.1-rc6?
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Tue, 21 Sep 2010 11:37:39 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, yhxu@xxxxxxxxx
Delivery-date: Tue, 21 Sep 2010 08:39:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikhNO65cEZryD2aWNwaxzz+9oO0st4n0AZ7TZQn@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>
References: <AANLkTikhNO65cEZryD2aWNwaxzz+9oO0st4n0AZ7TZQn@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Tue, Sep 21, 2010 at 11:23:01AM -0400, Yuehai Xu wrote:
> Hi,
> 
> I set my grub to use serial console:
> 
> ...
> kernel /boot/xen.gz dom0_mem=1024m console=com1 com1=115200,8n1

That should work. It works for me.
> ...
> 
> But I failed to get anything output from XEN. On the other hand, I can

What is your serial device? Is it a PCI card or is it built in?

> get the output from kernel of Dom0 by this way:
> 
> ...
> module /boot/vmlinuz-2.6.31.13 ro root=LABEL=/1 maxcpus=1 
> console=ttyS0,115200n8
> ...
> 
> So, should anything special parameters be configured in order to get
> the output of XEN?

Not if it is a normal built-in serial device. If it is a PCI(or PCI-e or Mini 
PCI-e)
then you have to fiddle a bit to find its ioport. It is discussed in detail on 
the Wiki -
search PVOPS Wiki and then for the Serial Xen troubleshooting one - Mr. Pasi 
made sure
to include a wealth of details on how to work this out.

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