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

Frederik freggy at gmail.com
Fri Oct 10 12:09:19 UTC 2008


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.

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?

-- 
Frederik



More information about the Pkg-xen-devel mailing list