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-ia64-devel

RE: [Xen-ia64-devel] How to enable serial console input in Xen0

To: "You, Yongkang" <yongkang.you@xxxxxxxxx>
Subject: RE: [Xen-ia64-devel] How to enable serial console input in Xen0
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Mon, 31 Jul 2006 09:32:58 -0600
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 31 Jul 2006 08:33:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <094BCE01AFBE9646AF220B0B3F367AAB095144@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: OSLO R&D
References: <094BCE01AFBE9646AF220B0B3F367AAB095144@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2006-07-31 at 23:19 +0800, You, Yongkang wrote:
> Hi Alex,
> 
> Thanks for reply. My Xen0 append is like: append="com2=57600,8n1
> console=com2 sched=credit dom0_mem=1024M -- nomca nosmp console=tty0
> console=ttyS1,57600,8n1 root=/dev/sda3"
> 
> If I remove all console= config, there isn't any output to my serial
> port. If I enable console=, I can get Xen0 booting output in my serial
> console. But I can not input anything, just like I didn't set agetty
> in /etc/inittab. :(

   I think either of these might work:

append="com2=57600,8n1 console=com2 sched=credit dom0_mem=1024M -- nomca
nosmp console=tty0 console=ttyS0 root=/dev/sda3"

append="com2=57600,8n1 console=com2 sched=credit dom0_mem=1024M -- nomca
nosmp console=tty0 xencons=ttyS1 console=ttyS1 root=/dev/sda3"

The default xencons device for dom0 is ttyS0 and the dom0 kernel no
longer enumerates the serial ports on it's own.  Note you'll need to run
a getty on ttyS0.  Do these work?  Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


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