WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] xm console domU

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] xm console domU
From: "Ferreira, N.L." <N.L.Ferreira@xxxxx>
Date: Fri, 16 Jan 2009 23:56:12 +0100
Delivery-date: Fri, 16 Jan 2009 14:51:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acl4LaDFdwea6FdHRs6PkpHfF81CGA==
Thread-topic: xm console domU

Dear *

Just starting to play a bit with this new world of virtualization.
Installed a guest domain (Scientific Linux), either using xen-strap or virt-install.
Till now, they seem to work just fine. Nevertheless, I have one question.

After starting a guest domain with "xm create domainID" (see xen config file below), I connect to the console of domU with "xm console domainID".
When working on linux, I usually open several console windows to perform different tasks. But if I try to connect to a 2nd console on the same domU,
both consoles freeze. I noticed that the commands issued in one console do appear in the other console. A "who" command inside of the domU shows that only one device (port? I do know the syntax) is open (xvc0).

How can I connect to  a console domU more than once,without problems? Probably is some variable on the xen config file, but after reading the manual I still could not figure it out.

Cheers,
Nuno

P.S.(I) dom0 running SL 5.1, kernel 2.6.18-92.1.18.el5xen, xen hypervisor 3.0.3
P.S.(II) The xen config file for a domU created with xen-strap :

[root@tintin xinetd.d]# more /etc/xen/golden-client
#
# Configuration file for the Xen instance golden-client, created
# by xen-strap  on Tue Dec 16 01:57:34 CET 2008 by using sample
# Linux distribution for TARGET is sl47
# xen-strap ver 0.10_28Aug2008
# /opt/bin/xen-strap --swap=1024M --ntp -c --name=golden-client --dhcp --ssh
#                    -g -b -i openssh-clients mc vi-minimal
#                    --from=ftp://ftp.scientificlinux.org/linux/scientific/47/i386/SL/RPMS
#                    --dist=sl47 lvm:enmr/golden-client:10G:ext3
# short program name xen-strap
#  Kernel + memory size
#  Xen 3.0 config file
#
# Edited 14Jan09 by nunolf

# Kernel image file and ramdisk
kernel  = "/var/lib/xen-strap/golden-client/vmlinuz-2.6.9-78.0.1.ELxenU"
ramdisk = "/var/lib/xen-strap/golden-client/initrd-2.6.9-78.0.1.ELxenU.img"

# Memory size in megabytes.
memory = 1024
maxmem = 2048

# Number of virtual CPUs.
vcpus= 2

# Disk device(s) the domain has access to
root = "/dev/sda1 ro console=/dev/xvc0"
disk = [ "phy:enmr/golden-client,sda1,w" , "phy:enmr/golden-client-SWAP,sda2,w" ]

# Domain name. All domains must have different names.
name = "golden-client"

#  Define network interfaces.
vif = [ 'bridge=xenbr0' ]





==============================================
Nuno Ricardo Santos Loureiro da Silva Ferreira

NMR Spectroscopy Research Group
Bijvoet Center for Biomolecular Research
Utrecht University
Bloembergen gebouw
Padualaan 8, 3584 CH Utrecht
The Netherlands

P: +31.(0)30.253 9932
F: +31.(0)30.253 2652
E: n.l.ferreira@xxxxx
W: http://nmr.chem.uu.nl
==============================================

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>