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

Re: [Xen-users] xm console does not return a console

To: "Kumar, Venkat" <Venkat.Kumar@xxxxxxx>
Subject: Re: [Xen-users] xm console does not return a console
From: "piyush masrani" <masrani.piyush@xxxxxxxxx>
Date: Tue, 24 Jun 2008 14:43:31 +0530
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 24 Jun 2008 02:14:10 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=F5TK0r143D05NB0mVZmIf65iHGafxZ9BszSS3/fALvs=; b=Wsm+ckl8Hr/WI7pSX9kwfW6Mc4RgM9B0FpSSz7XbjtKsXde2yoVRDx1la9Vy9zE64n dLRm4nx6/mXgPSsJyugJVCUZFMYSEJ9lslw6kJ2C4psn4EgDDVtP6D3SrnewoPsxuUnF LaWh3zA1y/fXnCQ7yJvVvxeSiQ+n68igS9Alg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=SZBDlQdpbz3SwDOIRsAKRFyLMTrQ0m55/o813z3Gi7N9550JxFDf8+y1yffy4pKeac 0Sje5ga2Qp5uGU1dKuZOPKrJmlJJiMPQBFo1Dw73jo5Dg19vdkwV+WPT9NwTTgk1GSie XTD/BvmWWxrAc4QBWYE685m+iK0Iq4MHf2lFY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <532F993CC2E6654CADFE057ADC6C2FA31B7E651076@xxxxxxxxxxxxxxxxx>
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: <aefb6ea00806240135p5ff8303qdc008811a949ea27@xxxxxxxxxxxxxx> <532F993CC2E6654CADFE057ADC6C2FA31B7E651076@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
vncviewer is giving an error,
main:      unable to connect to host: Connection refused (111)


Yes, the domain is created, xm list displays the domain in the running state. I am also able to ping it.

xm console or xm create -c shows the following output and then the shell just hangs.



[    0.000000] Linux version 2.6.22-14-xen (buildd@terranova) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Tue Feb 12 09:27:26 UTC 2008 (Unofficial)
[    0.000000] Reserving virtual address space above 0xf5800000
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 0000000004800000 (usable)
[    0.000000] 0MB HIGHMEM available.
[    0.000000] 72MB LOWMEM available.
[    0.000000] NX (Execute Disable) protection: active
[ 3470.881812] Zone PFN ranges:
[ 3470.881814]   DMA             0 ->    18432
[ 3470.881815]   Normal      18432 ->    18432
[ 3470.881817]   HighMem     18432 ->    18432
[ 3470.881818] early_node_map[1] active PFN ranges
[ 3470.881820]     0:        0 ->    18432
[ 3470.882484] ACPI in unprivileged domain disabled
[ 3470.883347] Allocating PCI resources starting at 10000000 (gap: 04800000:fb800000)
[ 3470.883374] Built 1 zonelists.  Total pages: 18288
[ 3470.883376] Kernel command line: root=/dev/hda1 ro
[ 3470.883531] Enabling fast FPU save and restore... done.
[ 3470.883534] Enabling unmasked SIMD FPU exception support... done.
[ 3470.883536] Initializing CPU#0
[ 3470.883646] PID hash table entries: 512 (order: 9, 2048 bytes)
[ 3470.883669] Xen reported: 2197.798 MHz processor.
[ 3470.883689] Console: colour dummy device 80x25
[ 3470.883771] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 3470.883799] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 3470.883813] Software IO TLB disabled
[ 3470.883817] vmalloc area: c5000000-f53fe000, maxmem 2d800000
[ 3470.884174] Memory: 41628k/73728k available (2071k kernel code, 23848k reserved, 925k data, 200k init, 0k highmem)
[ 3470.884184] virtual kernel memory layout:
[ 3470.884185]     fixmap  : 0xf568f000 - 0xf57ff000   (1472 kB)
[ 3470.884186]     pkmap   : 0xf5400000 - 0xf5600000   (2048 kB)
[ 3470.884187]     vmalloc : 0xc5000000 - 0xf53fe000   ( 771 MB)
[ 3470.884188]     lowmem  : 0xc0000000 - 0xc4800000   (  72 MB)
[ 3470.884189]       .init : 0xc03f3000 - 0xc0425000   ( 200 kB)
[ 3470.884189]       .data : 0xc0305dfe - 0xc03ed544   ( 925 kB)
[ 3470.884190]       .text : 0xc0100000 - 0xc0305dfe   (2071 kB)
[ 3470.884207] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[ 3470.884240] SLUB: Genslabs=22, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
[ 3470.951171] Calibrating delay using timer specific routine.. 4397.23 BogoMIPS (lpj=8794464)
[ 3470.951203] Security Framework v1.0.0 initialized
[ 3470.951209] SELinux:  Disabled at boot.
[ 3470.951221] Mount-cache hash table entries: 512
[ 3470.951326] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 3470.951332] CPU: L2 cache: 2048K
[ 3470.951344] Compat vDSO mapped to f57fe000.
[ 3470.951351] Checking 'hlt' instruction... OK.
[ 3470.951482] SMP alternatives: switching to UP code
[ 3470.951648] Freeing SMP alternatives: 11k freed
[ 3470.951713] Early unpacking initramfs... done
[ 3470.966728] Brought up 1 CPUs
[ 3470.967202] NET: Registered protocol family 16
[ 3470.969125] Brought up 1 CPUs
[ 3470.969138] PCI: Fatal: No config space access function found
[ 3470.969142] PCI: setting up Xen PCI frontend stub
[ 3470.969504] ACPI: Interpreter disabled.
[ 3470.969510] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 3470.969519] pnp: PnP ACPI: disabled
[ 3470.969745] xen_mem: Initialising balloon driver.
[ 3470.971302] PCI: System does not support PCI
[ 3470.971311] PCI: System does not support PCI
[ 3470.971338] NET: Registered protocol family 8
[ 3470.971341] NET: Registered protocol family 20
[ 3470.971623] NET: Registered protocol family 2
[ 3470.971735] Setting mem allocation to 65536 kiB
[ 3470.972054] Time: xen clocksource has been installed.
[ 3470.984164] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 3470.984230] TCP established hash table entries: 4096 (order: 3, 49152 bytes)
[ 3470.984281] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 3470.984316] TCP: Hash tables configured (established 4096 bind 4096)
[ 3470.984321] TCP reno registered
[ 3470.996250] checking if image is initramfs... it is
[ 3471.020839] Freeing initrd memory: 19028k freed
[ 3471.021115] audit: initializing netlink socket (disabled)
[ 3471.021129] audit(1214298394.020:1): initialized
[ 3471.022471] VFS: Disk quotas dquot_6.5.1
[ 3471.022511] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 3471.022616] io scheduler noop registered
[ 3471.022620] io scheduler anticipatory registered
[ 3471.022623] io scheduler deadline registered
[ 3471.022634] io scheduler cfq registered (default)
[ 3471.037209] Real Time Clock Driver v1.12ac
[ 3471.037628] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 3471.037806] input: Macintosh mouse button emulation as /class/input/input0
[ 3471.037851] xencons_init: Initializing xen vfb; pass xencons=tty to prevent this
[ 3471.037930] Xen virtual console successfully installed as xvc0
[ 3471.037957] Event-channel device installed.
[ 3471.053833] netfront: Initialising virtual ethernet driver.
[ 3471.054290] PNP: No PS/2 controller found. Probing ports directly.
[ 3471.055109] i8042.c: No controller found.
[ 3471.055214] mice: PS/2 mouse device common for all mice
[ 3471.055324] TCP cubic registered
[ 3471.055342] NET: Registered protocol family 1
[ 3471.055365] Using IPI No-Shortcut mode
[ 3471.055466] xen-vbd: registered block device major 3
[ 3471.055477] blkfront: hda1: barriers enabled
[ 3471.055959] blkfront: hda2: barriers enabled
[ 3471.058875] netfront: device eth0 has copying receive path.
[ 3471.152078] XENBUS: Device with no driver: device/console/0
[ 3471.152184] Freeing unused kernel memory: 200k freed
[ 3471.340616] AppArmor: AppArmor initialized<5>audit(1214298394
.340:2):  type=1505 info="AppArmor initialized" pid=1090
[ 3471.346703] fuse init (API version 7.8)
[ 3471.351733] Failure registering capabilities with primary security module.
[ 3471.380563] thermal: Unknown symbol acpi_processor_set_thermal_limit
[ 3471.646522] kjournald starting.  Commit interval 5 seconds
[ 3471.646544] EXT3-fs: mounted filesystem with ordered data mode.
[ 3477.717893] NET: Registered protocol family 10
[ 3477.717972] lo: Disabled Privacy Extensions


On Tue, Jun 24, 2008 at 2:21 PM, Kumar, Venkat <Venkat.Kumar@xxxxxxx> wrote:

First of all, Are you sure that your domain is created and booted properly.

If yes, is it a HVM or a PV guest?

Check in xm list whether your domain is created and running.

What does xm create –c show?

If xm list shows your domain and still you are not able to connect to the console.

 

Use a vncviewer to attach to a console.

For example : vncviewer 12.0.0.1:5900

Use 5901 if 5900 is not working.

As you keep creating additional VM's increment the screen number 590x. I guess this helps.

 

Venkat

 

 

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of piyush masrani
Sent: Tuesday, June 24, 2008 2:05 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xm console does not return a console

 

Hi

I have installed xen 3.10 on ubuntu 7.10 (Gutsy Gibbon) through repositories...
I followed the following link:
http://www.howtoforge.com/ubuntu-7.10-server-install-xen-from-ubuntu-repositories

 I am able to create Guest VMs on it by using xen-create-image and able to run them by using xm create. But i am not getting the console of the created VMs( xm console is not working. Not even by using the option -c in xm create)...The shell in which i run these commands don't return any prompt...what should i do?

Thanking in advance

-Piyush


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