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/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel