From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Can anyone successfully use serial console to debug XEN-4.0.1-rc6? Date: Tue, 21 Sep 2010 11:37:39 -0400 Message-ID: <20100921153739.GA21137@dumpdata.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Yuehai Xu Cc: xen-devel@lists.xensource.com, yhxu@wayne.edu List-Id: xen-devel@lists.xenproject.org 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.