Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] Why 'xm console' not works sometimes?

To: Tiago Cruz <tiagocruz@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Why 'xm console' not works sometimes?
From: Igor Chubin <igor@xxxxxxx>
Date: Fri, 30 Nov 2007 15:18:01 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 30 Nov 2007 05:15:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1196427215.15834.34.camel@tuxkiller>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1196427215.15834.34.camel@tuxkiller>
Reply-to: Igor Chubin <igor@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.16 (2007-06-11)
On Fr, Nov 30, 2007 at 10:53:35 -0200, Tiago Cruz wrote:
> Hello,
> 
> I'm using Red Hat AS 5 with Xen 3.0, and sometimes 'xm console' does not
> work, the most of times when I'm trying to connect one full-virt machine
> with different arch from server, for example:
> 
> [root@xen-5 ~]# xm list
> Name                                      ID Mem(MiB) VCPUs State   Time(s)
> Domain-0                                   0     1933     8 r-----  24551.4
> xen05_vm01                                35     1031     1 -b----   7126.9
> xen05_vm02                                34     1031     1 -b----   8461.8
> [root@xen-5 ~]# xm console xen05_vm01
> 
> The 'xen05_vm01' it's one Red Hat 7.2 32 Bits... if I connect on X of
> the server and the the "Open" of virt-manager works as well, but I'm
> usually using ssh...


Because domain 0 know nothing about console of HVM-domains.
You can attach to the consoles of paravirtual domains, 
but not to HVM.

> 
> What can I do for resolve this?


I think, you can try this solution:

1. Redirect console inside HVM domain to serial console
2. In the config file of your domain specify

serial='pty'

and after that try to connect using minicom or xm console.


> 
> Thanks!
> 
> 
> -- 
> Tiago Cruz
> http://everlinux.com
> Linux User #282636
> 
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
WBR, i.m.chubin


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users