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

Re: [Xen-devel] [XenARM] Testing xen-arm on Arndale



On 07/18/2013 02:43 PM, Giridhar Maruthy wrote:
> I am trying to use linaro quantal file system for dom0, but facing a
> problem with serial console.
> 
> I see the following lines getting repeated
> 
> "init: auto-serial-console main process ended, respawning"
> 
> When I modify dom0 kernel bootargs to include init=/bin/sh, I get the prompt.
> 
> The script /bin/auto-serial-console has cases to handle only tty* as
> the console. Do we have to modify it to handle hvc as serial console?

I have created a file /etc/init/hvc0.conf with the following data:
==================================================================
# hvc0 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on stopped rc RUNLEVEL=[2345] and (
            not-container or
            container CONTAINER=lxc or
            container CONTAINER=lxc-libvirt)

stop on runlevel [!2345]

respawn
exec /sbin/getty -8 38400 hvc0
==================================================================

This file will start a service and allow you to access to the console.

In future, I think Linaro quantal must be able to handle hvc0 without
any modifications.

Cheers,

-- 
Julien

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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