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: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Can anyone successfully use serial console to debug XEN-4.0.1-rc6?
From: Yuehai Xu <yuehaixu@xxxxxxxxx>
Date: Tue, 21 Sep 2010 11:57:17 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, yhxu@xxxxxxxxx
Delivery-date: Tue, 21 Sep 2010 09:02:17 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=DUQ0snuzQsdCnY4bnjgY4pVFzb/3q6G2G6i3EItQqbU=; b=xnDSety9+kMJOKSP491z6Y4dtgFN7fXjSwOk+VH/UTAKzpnS+gJJVT5e7jFq73eETw joDkEPfZDCtLxs9aI3FQJMovyK4jGx02Tozoa3slUzz3ToxsjAd4PRTZMQKR74pErbPd AjccqeMKXb9htkQbh4ZEf2/8na4Hx9/uy5+Vs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=UTIIS9vXEowKFpwT6cD2ugQtAE9ThAhUNrcl19V09KfhW6ySvqRlTPWlG2q62ZIXkT 0TxzeJCepFfi1zfeswWIsYocYIyS7GdtHWEKTdrFjtbc4Yko1ebhWP6XDRsYOdRqoYct kOkAYvI0ZuknidwRgCNlyfP0WWuvEd764Krvw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100921153739.GA21137@xxxxxxxxxxxx>
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> <20100921153739.GA21137@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Sep 21, 2010 at 11:37 AM, Konrad Rzeszutek Wilk
<konrad.wilk@xxxxxxxxxx> wrote:
> 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?

It is a PCI card, as you said, after adding corresponding IRQ and
IOPORT, it works.

>
>> 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.
>

Yeah, I'm afraid I don't read carefully about this wiki, ignoring the
hints about IRQ and IOPORT, sorry for making noise.

Thanks very much,
Yuehai

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