5 messages in com.xensource.lists.xen-ia64-develRE: [Xen-ia64-devel] How to enable se...
FromSent OnAttachments
You, Yongkang30 Jul 2006 21:52 
Alex Williamson31 Jul 2006 08:03 
You, Yongkang31 Jul 2006 08:19 
Alex Williamson31 Jul 2006 08:32 
You, Yongkang31 Jul 2006 18:16 
Subject:RE: [Xen-ia64-devel] How to enable serial console input in Xen0
From:Alex Williamson (alex@hp.com)
Date:07/31/2006 08:32:35 AM
List:com.xensource.lists.xen-ia64-devel

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