[Pkg-xen-devel] xen 2.6.26 on amd64 console troubles

Frederik freggy at gmail.com
Fri Oct 10 08:44:40 UTC 2008


I just installed xen-linux-system-2.6.26-1-xen-amd64 2.6.26-7 on a
freshly installed Debian Lenny AMD64  system, and when I create a
Debian Lenny DomU with xen-tools I cannot attach to a console nor log
in with SSH. When running
# xm create -c test.cfg
the system starts booting, but it seems to "freeze" after the kernel has booted.

Googling a bit, shows that I seem to have the problem that the kernel
is not finding or using the correct console:
https://bugs.launchpad.net/ubuntu/+source/xen-3.1/+bug/144631
http://lists.xensource.com/archives/html/xen-users/2008-09/msg00002.html

Currently, I'm trying this in /etc/xen/test.cfg:
extra = "console=hvc0 xencons=hvc0"

and in the DomU I have in /etc/inittab:
1:2345:respawn:/sbin/getty 38400 tty1

When I run xm create -c test.cfg, nothing happens anymore once all
init scripts have finished (no login prompt appears). And when I try
to log in via SSH, I get:
PTY allocation request failed on channel 0
stdin: is not a tty

It seems like xen-tools does not configure this correctly by default.

# dpkg -l "*xen*" | grep -e "^ii"
ii  libxenstore3.0                      3.2.1-2              Xenstore
communications library for Xen
ii  linux-image-2.6.26-1-xen-amd64      2.6.26-7             Linux
2.6.26 image on AMD64
ii  linux-modules-2.6.26-1-xen-amd64    2.6.26-7             Linux
2.6.26 modules on AMD64
ii  xen-hypervisor-3.2-1-amd64          3.2.1-2              The Xen
Hypervisor on AMD64
ii  xen-linux-system-2.6.26-1-xen-amd64 2.6.26-7             XEN
system with Linux 2.6.26 image on AMD64
ii  xen-shell                           1.8-3                Console
based Xen administration utility
ii  xen-tools                           3.9-4                Tools to
manage Debian XEN virtual servers
ii  xen-utils-3.2-1                     3.2.1-2              XEN
administrative tools
ii  xen-utils-common                    3.2.0-2              XEN
administrative tools - common files
ii  xenstore-utils                      3.2.1-2              Xenstore
utilities for Xen


-- 
Frederik



More information about the Pkg-xen-devel mailing list