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

Ian Campbell ijc at hellion.org.uk
Fri Oct 10 09:00:41 UTC 2008


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 tty1

Needs 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 tty

Dunno 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.




More information about the Pkg-xen-devel mailing list