List Info

Thread: How to enable serial console input in Xen0




How to enable serial console input in Xen0
user name
2006-07-31 15:19:40
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. :(

Best Regards,
Yongkang (Kangkang) ÓÀ¿µ

>-----Original Message-----
>From: Alex Williamson [mailto:alex.williamsonhp.com]
>Sent: 2006Äê7ÔÂ31ÈÕ 23:04
>To: You, Yongkang
>Cc: xen-ia64-devellists.xensource.com
>Subject: Re: [Xen-ia64-devel] How to enable serial
console input in Xen0
>
>On Mon, 2006-07-31 at 12:53 +0800, You, Yongkang wrote:
>> Hi all,
>>
>> I just recognized I couldn¡¯t operate Xen0 from its
serial console in
>> recent Changeset. But it is okay before.
>>
>> I am not sure if it needs some new configurations
in Xen0. Or it is a
>> bug?
>
>   What do you have in your elilo entry for serial
console?  We made a
>change over to use the xencons driver by default for
serial, which might
>require some changes to your previous config.  I
currently have no
>console= or xencons= options in my elilo entry and
serial console works
>fine.  You may require at least console=ttyS0 if your
platform does not
>support the PCDP table for describing the console port. 
Thanks,
>
>	Alex
>
>--
>Alex Williamson                             HP Open
Source & Linux
>Org.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devellists.xensource.com
http://list
s.xensource.com/xen-ia64-devel
How to enable serial console input in Xen0
user name
2006-07-31 15:32:58
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-devellists.xensource.com
http://list
s.xensource.com/xen-ia64-devel
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )