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
On Fri, 2008-10-10 at 10:44 +0200, Frederik wrote:> 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 tty1Needs to be hvc0 not 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 ttyDunno about that one. -- Ian Campbell Current Noise: Devin Townsend - Judgement Try to be the best of whatever you are, even if what you are is no good.
Reasonably Related Threads
- Xen 4.0 - No console prompt after booting domU but functional SSH
- Problems with booting Debian DomU
- what''s wrong with my pv domU console? INIT: Id "1" respawning too fast: disabled for 5 minutes
- XEN DomU Boot hangs at: Starting periodic command scheduler: crond.
- Unable to xm console in a running domU