* Cannot connect to console?
@ 2004-12-22 2:50 aq
2004-12-22 13:17 ` Jan Kundrát
0 siblings, 1 reply; 6+ messages in thread
From: aq @ 2004-12-22 2:50 UTC (permalink / raw)
To: xen-devel
Hello,
I make a domain on ttylinux as in the Xen 2.0 manual. Then I try to
connect to its console, but without sucess. Anybody please tell me how
to fix the problem?
Here is how I connect to console (my Xen installation is from Xen
2.0.1 binary tarball):
---
$ xm list
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 245 0 r---- 271.4
tty 13 64 0 -b--- 0.5 9613
$ xm console tty
************ REMOTE CONSOLE: CTRL-] TO QUIT ********
Cannot connect to console 13 on domain 13
************ REMOTE CONSOLE EXITED *****************
$ xm console 13
************ REMOTE CONSOLE: CTRL-] TO QUIT ********
Cannot connect to console 13 on domain 13
************ REMOTE CONSOLE EXITED *****************
$
---
Thank you,
AQ
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cannot connect to console?
2004-12-22 2:50 Cannot connect to console? aq
@ 2004-12-22 13:17 ` Jan Kundrát
2004-12-22 14:59 ` aq
0 siblings, 1 reply; 6+ messages in thread
From: Jan Kundrát @ 2004-12-22 13:17 UTC (permalink / raw)
To: aq; +Cc: xen-devel
aq wrote:
> Hello,
>
> I make a domain on ttylinux as in the Xen 2.0 manual. Then I try to
> connect to its console, but without sucess. Anybody please tell me how
> to fix the problem?
>
> Here is how I connect to console (my Xen installation is from Xen
> 2.0.1 binary tarball):
> ---
> $ xm list
> Name Id Mem(MB) CPU State Time(s) Console
> Domain-0 0 245 0 r---- 271.4
> tty 13 64 0 -b--- 0.5 9613
> $ xm console tty
> ************ REMOTE CONSOLE: CTRL-] TO QUIT ********
> Cannot connect to console 13 on domain 13
>
> ************ REMOTE CONSOLE EXITED *****************
> $ xm console 13
> ************ REMOTE CONSOLE: CTRL-] TO QUIT ********
> Cannot connect to console 13 on domain 13
>
> ************ REMOTE CONSOLE EXITED *****************
> $
what does `nc localhost 9613`? in other words, are you able to connect
to the TCP port that console is bound to? does option "-c" for `xend
create` work?
jkt
--
cd /local/pub && more beer > /dev/mouth
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cannot connect to console?
2004-12-22 13:17 ` Jan Kundrát
@ 2004-12-22 14:59 ` aq
2004-12-22 20:22 ` Jan Kundrát
0 siblings, 1 reply; 6+ messages in thread
From: aq @ 2004-12-22 14:59 UTC (permalink / raw)
To: Jan Kundrát, Mark Williamson; +Cc: xen-devel
> > Here is how I connect to console (my Xen installation is from Xen
> > 2.0.1 binary tarball):
> > ---
> > $ xm list
> > Name Id Mem(MB) CPU State Time(s) Console
> > Domain-0 0 245 0 r---- 271.4
> > tty 13 64 0 -b--- 0.5 9613
> > $ xm console tty
> > ************ REMOTE CONSOLE: CTRL-] TO QUIT ********
> > Cannot connect to console 13 on domain 13
> >
> > ************ REMOTE CONSOLE EXITED *****************
> > $ xm console 13
> > ************ REMOTE CONSOLE: CTRL-] TO QUIT ********
> > Cannot connect to console 13 on domain 13
> >
> > ************ REMOTE CONSOLE EXITED *****************
> > $
>
> what does `nc localhost 9613`? in other words, are you able to connect
> to the TCP port that console is bound to? does option "-c" for `xend
> create` work?
ah, I forgot to tell you that the problem I got was with -c option (xm
create tty.xen -c)
here is the output of my attempt to connect to tcp socket, as suggested by Jan:
---
$ nc localhost 9602
Cannot connect to console 13 on domain 2
---
as you see, the problem still occurs.
then I tried again, this time without -c option. and I was surprised
to see that "xm console tty" works (!!).
so I conclude that this is the expected behaviour of Xen: if I want to
connect to console with "xm console", then I must not use "-c" option?
Thank you,
AQ
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cannot connect to console?
2004-12-22 14:59 ` aq
@ 2004-12-22 20:22 ` Jan Kundrát
2004-12-23 4:31 ` aq
0 siblings, 1 reply; 6+ messages in thread
From: Jan Kundrát @ 2004-12-22 20:22 UTC (permalink / raw)
To: aq; +Cc: Mark Williamson, xen-devel
aq wrote:
>>what does `nc localhost 9613`? in other words, are you able to connect
>>to the TCP port that console is bound to? does option "-c" for `xend
>>create` work?
>
>
> ah, I forgot to tell you that the problem I got was with -c option (xm
> create tty.xen -c)
>
> here is the output of my attempt to connect to tcp socket, as suggested by Jan:
> ---
> $ nc localhost 9602
> Cannot connect to console 13 on domain 2
> ---
> as you see, the problem still occurs.
>
> then I tried again, this time without -c option. and I was surprised
> to see that "xm console tty" works (!!).
>
> so I conclude that this is the expected behaviour of Xen: if I want to
> connect to console with "xm console", then I must not use "-c" option?
no. something is wrong :-). I'm not a xen developer, but I'll suggest
you to try to run xend with some debugging options...
Aren't you trying to access domain's console twice at once? I mean
console opened from "-c" option and then issuing `xend console ...`. It
shouldn't work, AFAIK.
jkt
--
cd /local/pub && more beer > /dev/mouth
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cannot connect to console?
2004-12-22 20:22 ` Jan Kundrát
@ 2004-12-23 4:31 ` aq
2004-12-23 4:56 ` Derrik Pates
0 siblings, 1 reply; 6+ messages in thread
From: aq @ 2004-12-23 4:31 UTC (permalink / raw)
To: xen-devel
On Wed, 22 Dec 2004 21:22:13 +0100, Jan Kundrát <jan.kundrat@fzu.cz> wrote:
> aq wrote:
> >>what does `nc localhost 9613`? in other words, are you able to connect
> >>to the TCP port that console is bound to? does option "-c" for `xend
> >>create` work?
> >
> >
> > ah, I forgot to tell you that the problem I got was with -c option (xm
> > create tty.xen -c)
> >
> > here is the output of my attempt to connect to tcp socket, as suggested by Jan:
> > ---
> > $ nc localhost 9602
> > Cannot connect to console 13 on domain 2
> > ---
> > as you see, the problem still occurs.
> >
> > then I tried again, this time without -c option. and I was surprised
> > to see that "xm console tty" works (!!).
> >
> > so I conclude that this is the expected behaviour of Xen: if I want to
> > connect to console with "xm console", then I must not use "-c" option?
>
> no. something is wrong :-). I'm not a xen developer, but I'll suggest
> you to try to run xend with some debugging options...
>
> Aren't you trying to access domain's console twice at once? I mean
> console opened from "-c" option and then issuing `xend console ...`. It
> shouldn't work, AFAIK.
Yes, I run "xm create tty.xen -c", and then in another console (of
domain0) I run "xm console tty" --> this time without success.
So the problem is that: at the same time there is only 1 console? any
Xen developer can confirm this?
Thank you,
AQ
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cannot connect to console?
2004-12-23 4:31 ` aq
@ 2004-12-23 4:56 ` Derrik Pates
0 siblings, 0 replies; 6+ messages in thread
From: Derrik Pates @ 2004-12-23 4:56 UTC (permalink / raw)
To: aq; +Cc: xen-devel
aq wrote:
> So the problem is that: at the same time there is only 1 console? any
> Xen developer can confirm this?
I'm not a developer, but I can confirm that this is, in fact, the case.
The consoles provided as part of Xen are like serial consoles to
independent systems. They are unmultiplexed. Simply, once you have
connected to it once, that's it. If you need to connect to the instance
multiple times, perhaps you should be using SSH instead?
--
Derrik Pates
dpates@dsdk12.net
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-12-23 4:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-22 2:50 Cannot connect to console? aq
2004-12-22 13:17 ` Jan Kundrát
2004-12-22 14:59 ` aq
2004-12-22 20:22 ` Jan Kundrát
2004-12-23 4:31 ` aq
2004-12-23 4:56 ` Derrik Pates
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.