[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Can anyone successfully use serial console to debug XEN-4.0.1-rc6?


  • To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.