* Can anyone successfully use serial console to debug XEN-4.0.1-rc6?
@ 2010-09-21 15:23 Yuehai Xu
2010-09-21 15:37 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 4+ messages in thread
From: Yuehai Xu @ 2010-09-21 15:23 UTC (permalink / raw)
To: xen-devel; +Cc: yhxu
Hi,
I set my grub to use serial console:
...
kernel /boot/xen.gz dom0_mem=1024m console=com1 com1=115200,8n1
...
But I failed to get anything output from XEN. On the other hand, I can
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?
Thanks,
Yuehai
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can anyone successfully use serial console to debug XEN-4.0.1-rc6?
2010-09-21 15:23 Can anyone successfully use serial console to debug XEN-4.0.1-rc6? Yuehai Xu
@ 2010-09-21 15:37 ` Konrad Rzeszutek Wilk
2010-09-21 15:57 ` Yuehai Xu
2010-09-21 16:09 ` Pasi Kärkkäinen
0 siblings, 2 replies; 4+ messages in thread
From: Konrad Rzeszutek Wilk @ 2010-09-21 15:37 UTC (permalink / raw)
To: Yuehai Xu; +Cc: xen-devel, yhxu
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can anyone successfully use serial console to debug XEN-4.0.1-rc6?
2010-09-21 15:37 ` Konrad Rzeszutek Wilk
@ 2010-09-21 15:57 ` Yuehai Xu
2010-09-21 16:09 ` Pasi Kärkkäinen
1 sibling, 0 replies; 4+ messages in thread
From: Yuehai Xu @ 2010-09-21 15:57 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk; +Cc: xen-devel, yhxu
On Tue, Sep 21, 2010 at 11:37 AM, Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can anyone successfully use serial console to debug XEN-4.0.1-rc6?
2010-09-21 15:37 ` Konrad Rzeszutek Wilk
2010-09-21 15:57 ` Yuehai Xu
@ 2010-09-21 16:09 ` Pasi Kärkkäinen
1 sibling, 0 replies; 4+ messages in thread
From: Pasi Kärkkäinen @ 2010-09-21 16:09 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk; +Cc: xen-devel, yhxu, Yuehai Xu
On Tue, Sep 21, 2010 at 11:37:39AM -0400, Konrad Rzeszutek Wilk 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?
>
> > 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.
>
It's here:
http://wiki.xensource.com/xenwiki/XenSerialConsole
-- Pasi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-21 16:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-21 15:23 Can anyone successfully use serial console to debug XEN-4.0.1-rc6? Yuehai Xu
2010-09-21 15:37 ` Konrad Rzeszutek Wilk
2010-09-21 15:57 ` Yuehai Xu
2010-09-21 16:09 ` Pasi Kärkkäinen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.