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

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



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


 


Rackspace

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