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

Ian Campbell ijc at hellion.org.uk
Fri Oct 10 12:38:46 UTC 2008


On Fri, 2008-10-10 at 14:09 +0200, Frederik wrote:
> On Fri, Oct 10, 2008 at 12:53 PM, Ian Campbell <ijc at hellion.org.uk> wrote:
> > On Fri, 2008-10-10 at 12:34 +0200, Frederik wrote:
> >> On Fri, Oct 10, 2008 at 12:20 PM, Ian Campbell <ijc at hellion.org.uk> wrote:
> >> > On Fri, 2008-10-10 at 11:49 +0200, Frederik wrote:
> >> >> On Fri, Oct 10, 2008 at 11:48 AM, Frederik <freggy at gmail.com> wrote:
> >> >>
> >> >> > The only workaround that somehow works is
> >> >> > extra = "console=hvc0 xencons=hvc0" and tty1 ini inittab. Then I get a console,
> >> >> > but it's limited to 80 chars wide. And the SSH problem still happens.
> >> >
> >> > Oh, I forgot this tree has the SuSE patch which changes some of this
> >> > stuff back to match the old -xen trees rather than the modern paravirt
> >> > way of doing things.
> >> >
> >> > You could try using xvc rather than hvc. That was the previous name of
> >> > hvc in the old trees.
> >>
> >> Right, using xvc0 in the extras line in test.cfg and inittab, makes
> >> the console work.
> >> However, SSH still gives
> >> PTY allocation request failed on channel 0
> >> stdin: is not a tty
> >
> > Not sure about this, might you not have /dev/pts mounted?
> 
> No, but, isn't it the kernel itself which should take care of that? I
> don't see it in the
> output of the mount command on any of (non-virtual) Linux systems.

I've got it on my system, 
$ mount | grep devpts
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)

it's mounted by /etc/init.d/mountdevsubfs.sh and added to mtab
by /etc/init.d/mtab.sh on this slightly out of date unstable system.

> 
> Creating /dev/pts and mounting it by hand seem to fix the problem.
> So if has to be done manually in a DomU, I would expect xen-tools
> to take care of it.
> 
> Reading http://www.sapphirepaw.org/blog/index.php?/archives/120-Getting-Xen-up-and-running-part-I.html
> it seems like udev should be installed. Maybe that should be done by
> xen-tools by
> default?

Maybe, I don't know about xen-tools.

Ian.
-- 
Ian Campbell
Current Noise: Place of Skulls - Feeling Of Dread

You know how to win a victory, Hannibal, but not how to use it.
		-- Maharbal




More information about the Pkg-xen-devel mailing list