[xen-tools] Etch /Ubuntu Feisty Xen 3.1 "console hangs" new hooks required !
Sébastien CRAMATTE
s.cramatte at wanadoo.fr
Fri Jul 27 13:59:56 CEST 2007
Hello,
DomU Console Hangs under Xen 3.1. I mean that domU starts but you can't
access console via "xm console" command
So It would be very nice to add new hooks to xen-tools to fix the
problem ...
To solve this issue you must use xvc0 instead of ttyX...
In etch you must add the line bellow in your /etc/inittab. I believe
that you must install "udev" package too ...
--------
...
x0:2345:respawn:/sbin/getty 38400 xvc0
...
--------
In feisty the inittab file doesn't exists anymore.
So you must create an "/etc/event.d/xvc0" ...
--------
# xvc0 - getty
#
# This service maintains a getty on xvc0 from the point the system is
# started until it is shut down again.
start on runlevel 2
start on runlevel 3
stop on runlevel 0
stop on runlevel 1
stop on runlevel 4
stop on runlevel 5
stop on runlevel 6
respawn
exec /sbin/getty 38400 xvc0
-------
To finish in "/etc/securetty" you should add a line with "xvc0"
--------
# /etc/securetty: list of terminals on which root is allowed to login.
# See securetty(5) and login(1).
console
# for people with serial port consoles
ttyS0
# for devfs
tts/0
# for xen console
xvc0
# Standard console
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
-------
Hope that help
Regards
More information about the xen-tools-discuss
mailing list