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@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of piyush masrani Sent: Tuesday, June 24, 2008 2:05 PM To: xen-users@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-users
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@lsi.com> 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@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] *On Behalf Of *piyush masrani > *Sent:* Tuesday, June 24, 2008 2:05 PM > *To:* xen-users@lists.xensource.com > *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@lists.xensource.com http://lists.xensource.com/xen-users
Send the configuration file and the vncviewer command that you used. ===============================Venkata Kumar Duvvuru, LSI Engenio, Adv. Development, Bangalore. Mob: +91-9880318542 Off : +91-80-41978700 ( Extn : 3544 ) ===============================________________________________ From: piyush masrani [mailto:masrani.piyush@gmail.com] Sent: Tuesday, June 24, 2008 2:44 PM To: Kumar, Venkat Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] xm console does not return a console 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@lsi.com<mailto:Venkat.Kumar@lsi.com>> 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<http://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@lists.xensource.com<mailto:xen-users-bounces@lists.xensource.com> [mailto:xen-users-bounces@lists.xensource.com<mailto:xen-users-bounces@lists.xensource.com>] On Behalf Of piyush masrani Sent: Tuesday, June 24, 2008 2:05 PM To: xen-users@lists.xensource.com<mailto:xen-users@lists.xensource.com> 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@lists.xensource.com http://lists.xensource.com/xen-users
I tried out both of these commands vncviewer 10.105.41.104:5900 vncviewer 10.105.41.104:5901 Both are giving the above error... xen config file # # /etc/xen-tools/xen-tools.conf # # Global configuration file for the scripts included with Xen-tools. # # Values may be set here so they don''t need to be specified upon the # command line. # # Steve # -- # # ## # Output directory for storing loopback images. # # If you choose to use loopback images, which are simple to manage but # slower than LVM partitions, then specify a directory here and uncomment # the line. # # New instances will be stored in subdirectories named after their # hostnames. # ## # dir = /home/cse/Desktop/MTP dir = /home/mounted # ## # # If you don''t wish to use loopback images then you may specify an # LVM volume group here instead # ## # lvm = skx-vg # ## # # Installation method. # # There are four distinct methods which you may to install a new copy # of Linux to use in your Xen guest domain: # # - Installation via the debootstrap command. # - Installation via the rpmstrap command. # - Installation by copying a directory containing a previous installation. # - Installation by untarring a previously archived image. # # NOTE That if you use the "untar", or "copy" options you should ensure # that the image you''re left with matches the ''dist'' setting later in # this file. # # ## # # # install-method = [ debootstrap | rpmstrap | copy | tar ] # # install-method = debootstrap # # If you''re using "copy", or "tar" you will need to specify the # source location to copy from, or the source .tar file to unpack. # # You may specify that with a line such as: # # install-source = /path/to/copy # install-source = /some/path/img.tar # # # ## # Command definitions. ## # # The "debootstrap" and "rpmstrap" commands are hardwired into the # script, but if you wish to modify the commands which are executed # when installing new systems by a "copy" or "tar" method you can # do so here: # # install-method=copy: # copy-cmd = /bin/cp -a $src/* $dest # # install-method=tar: # tar-cmd = /bin/tar --numeric-owner -xvf $src # # # ## # Disk and Sizing options. ## # size = 2Gb # Disk image size. memory = 64Mb # Memory size swap = 256Mb # Swap size # noswap = 1 # Don''t use swap at all for the new system. fs = ext3 # use the EXT3 filesystem for the disk image. #dist = edgy # Default distribution to install. dist=feisty image = sparse # Specify sparse vs. full disk images. # # Currently supported and tested distributions include: # # sid - Debian # sarge - Debian # etch - Debian # dapper - Ubuntu # centos4 - CentOS 4 # fedora-core4 - Fedora Core 4 (codname stentz) # ## # Networking setup values. ## # # Uncomment and adjust these network settings if you wish to give your # new instances static IP addresses. # gateway = 10.105.1.250 netmask = 255.255.0.0 # broadcast = 192.168.1.255 # # Uncomment this if you wish the images to use DHCP # # dhcp = 1 ## # Misc options ## # # Uncomment the following line if you wish to disable the caching # of downloaded .deb files when using debootstrap to install images. # # cache = no # # # Uncomment the following line if you wish to interactively setup # a new root password for images. # passwd = 1 # # If you''d like all accounts on your host system which are not present # on the guest system to be copied over then uncomment the following line. # # accounts = 1 # # # Default kernel and ramdisk to use for the virtual servers # kernel = /boot/vmlinuz-`uname -r` initrd = /boot/initrd.img-`uname -r` # # The architecture to use when using debootstrap or rpmstrap. # # This is most useful on 64 bit host machines, for other systems it # doesn''t need to be used. # # arch=i386 # # # The default mirror for debootstrap to install Debian-derived distributions # mirror = http://ftp.us.debian.org/debian/ # # A mirror suitable for use when installing the Dapper release of Ubuntu. # # mirror = http://gb.archive.ubuntu.com/ubuntu/ # # If you like you could use per-distribution mirrors, which will # be more useful if you''re working in an environment where you want # to regularly use multiple distributions: # # mirror_sid=http://ftp.us.debian.org/debian # mirror_sarge=http://ftp.us.debian.org/debian # mirror_etch=http://ftp.us.debian.org/debian # mirror_dapper=http://archive.ubuntu.com/ubuntu # mirror_edgy=http://archive.ubuntu.com/ubuntu # mirror_feisty=http://archive.ubuntu.com/ubuntu # mirror_gutsy=http://archive.ubuntu.com/ubuntu mirror = ftp://ftp.iitb.ac.in/os/ubuntu/archives # # Uncomment if you wish newly created images to boot once they''ve been # created. # # boot = 1 # # If you''re using a newer version of the Xen guest kernel you will # need to make sure that you use ''xvc0'' for the guest serial device, # and ''xvdX'' instead of ''sdX'' for serial devices. # # serial_device = tty1 #default # serial_device = xvc0 # # disk_device = sda #default # disk_device = xvda This is the config file for the Guest VM. # # Configuration file for the Xen instance xen4.example.com, created # by xen-tools 3.5 on Thu Jun 19 14:26:38 2008. # # # Kernel + memory size # kernel = ''/boot/vmlinuz-2.6.22-14-xen'' ramdisk = ''/boot/initrd.img-2.6.22-14-xen'' memory = ''64'' # # Disk device(s). # root = ''/dev/hda1 ro'' disk = [ ''file:/home/mounted/domains/xen4.example.com/disk.img,hda1,w'', ''file:/home/mounted/domains/xen4.example.com/swap.img,hda2,w'' ] # # Hostname # name = ''xen4.example.com'' # # Networking # vif = [ ''ip=10.105.41.104'' ] # # Behaviour # on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' On Tue, Jun 24, 2008 at 2:47 PM, Kumar, Venkat <Venkat.Kumar@lsi.com> wrote:> Send the configuration file and the vncviewer command that you used. > > > > *================================* > > *Venkata Kumar Duvvuru,* > > *LSI Engenio,* > > *Adv. Development,* > > *Bangalore**.* > > *Mob: +91-9880318542* > > *Off : +91-80-41978700 ( Extn : 3544 )* > > *================================* > ------------------------------ > > *From:* piyush masrani [mailto:masrani.piyush@gmail.com] > *Sent:* Tuesday, June 24, 2008 2:44 PM > *To:* Kumar, Venkat > *Cc:* xen-users@lists.xensource.com > *Subject:* Re: [Xen-users] xm console does not return a console > > > > 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@lsi.com> > 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@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] *On Behalf Of *piyush masrani > *Sent:* Tuesday, June 24, 2008 2:05 PM > *To:* xen-users@lists.xensource.com > *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@lists.xensource.com http://lists.xensource.com/xen-users
Use loopback address and not the eth0 IP. Try 127.0.0.1 instead of 10.105.41.104. I couldn''t see your configuration file in the email. ===============================Venkata Kumar Duvvuru, LSI Engenio, Adv. Development, Bangalore. Mob: +91-9880318542 Off : +91-80-41978700 ( Extn : 3544 ) ===============================________________________________ From: piyush masrani [mailto:masrani.piyush@gmail.com] Sent: Tuesday, June 24, 2008 2:54 PM To: Kumar, Venkat Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] xm console does not return a console I tried out both of these commands vncviewer 10.105.41.104:5900<http://10.105.41.104:5900> vncviewer 10.105.41.104:5901<http://10.105.41.104:5901> Both are giving the above error... xen config file # # /etc/xen-tools/xen-tools.conf # # Global configuration file for the scripts included with Xen-tools. # # Values may be set here so they don''t need to be specified upon the # command line. # # Steve # -- # # ## # Output directory for storing loopback images. # # If you choose to use loopback images, which are simple to manage but # slower than LVM partitions, then specify a directory here and uncomment # the line. # # New instances will be stored in subdirectories named after their # hostnames. # ## # dir = /home/cse/Desktop/MTP dir = /home/mounted # ## # # If you don''t wish to use loopback images then you may specify an # LVM volume group here instead # ## # lvm = skx-vg # ## # # Installation method. # # There are four distinct methods which you may to install a new copy # of Linux to use in your Xen guest domain: # # - Installation via the debootstrap command. # - Installation via the rpmstrap command. # - Installation by copying a directory containing a previous installation. # - Installation by untarring a previously archived image. # # NOTE That if you use the "untar", or "copy" options you should ensure # that the image you''re left with matches the ''dist'' setting later in # this file. # # ## # # # install-method = [ debootstrap | rpmstrap | copy | tar ] # # install-method = debootstrap # # If you''re using "copy", or "tar" you will need to specify the # source location to copy from, or the source .tar file to unpack. # # You may specify that with a line such as: # # install-source = /path/to/copy # install-source = /some/path/img.tar # # # ## # Command definitions. ## # # The "debootstrap" and "rpmstrap" commands are hardwired into the # script, but if you wish to modify the commands which are executed # when installing new systems by a "copy" or "tar" method you can # do so here: # # install-method=copy: # copy-cmd = /bin/cp -a $src/* $dest # # install-method=tar: # tar-cmd = /bin/tar --numeric-owner -xvf $src # # # ## # Disk and Sizing options. ## # size = 2Gb # Disk image size. memory = 64Mb # Memory size swap = 256Mb # Swap size # noswap = 1 # Don''t use swap at all for the new system. fs = ext3 # use the EXT3 filesystem for the disk image. #dist = edgy # Default distribution to install. dist=feisty image = sparse # Specify sparse vs. full disk images. # # Currently supported and tested distributions include: # # sid - Debian # sarge - Debian # etch - Debian # dapper - Ubuntu # centos4 - CentOS 4 # fedora-core4 - Fedora Core 4 (codname stentz) # ## # Networking setup values. ## # # Uncomment and adjust these network settings if you wish to give your # new instances static IP addresses. # gateway = 10.105.1.250<http://10.105.1.250> netmask = 255.255.0.0<http://255.255.0.0> # broadcast = 192.168.1.255<http://192.168.1.255> # # Uncomment this if you wish the images to use DHCP # # dhcp = 1 ## # Misc options ## # # Uncomment the following line if you wish to disable the caching # of downloaded .deb files when using debootstrap to install images. # # cache = no # # # Uncomment the following line if you wish to interactively setup # a new root password for images. # passwd = 1 # # If you''d like all accounts on your host system which are not present # on the guest system to be copied over then uncomment the following line. # # accounts = 1 # # # Default kernel and ramdisk to use for the virtual servers # kernel = /boot/vmlinuz-`uname -r` initrd = /boot/initrd.img-`uname -r` # # The architecture to use when using debootstrap or rpmstrap. # # This is most useful on 64 bit host machines, for other systems it # doesn''t need to be used. # # arch=i386 # # # The default mirror for debootstrap to install Debian-derived distributions # mirror = http://ftp.us.debian.org/debian/ # # A mirror suitable for use when installing the Dapper release of Ubuntu. # # mirror = http://gb.archive.ubuntu.com/ubuntu/ # # If you like you could use per-distribution mirrors, which will # be more useful if you''re working in an environment where you want # to regularly use multiple distributions: # # mirror_sid=http://ftp.us.debian.org/debian # mirror_sarge=http://ftp.us.debian.org/debian # mirror_etch=http://ftp.us.debian.org/debian # mirror_dapper=http://archive.ubuntu.com/ubuntu # mirror_edgy=http://archive.ubuntu.com/ubuntu # mirror_feisty=http://archive.ubuntu.com/ubuntu # mirror_gutsy=http://archive.ubuntu.com/ubuntu mirror = ftp://ftp.iitb.ac.in/os/ubuntu/archives # # Uncomment if you wish newly created images to boot once they''ve been # created. # # boot = 1 # # If you''re using a newer version of the Xen guest kernel you will # need to make sure that you use ''xvc0'' for the guest serial device, # and ''xvdX'' instead of ''sdX'' for serial devices. # # serial_device = tty1 #default # serial_device = xvc0 # # disk_device = sda #default # disk_device = xvda This is the config file for the Guest VM. # # Configuration file for the Xen instance xen4.example.com<http://xen4.example.com>, created # by xen-tools 3.5 on Thu Jun 19 14:26:38 2008. # # # Kernel + memory size # kernel = ''/boot/vmlinuz-2.6.22-14-xen'' ramdisk = ''/boot/initrd.img-2.6.22-14-xen'' memory = ''64'' # # Disk device(s). # root = ''/dev/hda1 ro'' disk = [ ''file:/home/mounted/domains/xen4.example.com/disk.img,hda1,w<http://xen4.example.com/disk.img,hda1,w>'', ''file:/home/mounted/domains/xen4.example.com/swap.img,hda2,w<http://xen4.example.com/swap.img,hda2,w>'' ] # # Hostname # name = ''xen4.example.com<http://xen4.example.com>'' # # Networking # vif = [ ''ip=10.105.41.104<http://10.105.41.104>'' ] # # Behaviour # on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' On Tue, Jun 24, 2008 at 2:47 PM, Kumar, Venkat <Venkat.Kumar@lsi.com<mailto:Venkat.Kumar@lsi.com>> wrote: Send the configuration file and the vncviewer command that you used. =============================== Venkata Kumar Duvvuru, LSI Engenio, Adv. Development, Bangalore. Mob: +91-9880318542 Off : +91-80-41978700 ( Extn : 3544 ) =============================== ________________________________ From: piyush masrani [mailto:masrani.piyush@gmail.com<mailto:masrani.piyush@gmail.com>] Sent: Tuesday, June 24, 2008 2:44 PM To: Kumar, Venkat Cc: xen-users@lists.xensource.com<mailto:xen-users@lists.xensource.com> Subject: Re: [Xen-users] xm console does not return a console 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@lsi.com<mailto:Venkat.Kumar@lsi.com>> 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<http://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@lists.xensource.com<mailto:xen-users-bounces@lists.xensource.com> [mailto:xen-users-bounces@lists.xensource.com<mailto:xen-users-bounces@lists.xensource.com>] On Behalf Of piyush masrani Sent: Tuesday, June 24, 2008 2:05 PM To: xen-users@lists.xensource.com<mailto:xen-users@lists.xensource.com> 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@lists.xensource.com http://lists.xensource.com/xen-users
Where should i use this loopback address? in vncviewer? it is not working... My Dom0 has IP 10.105.41.15...(10.105.41.104 is IP of the guest domain...how is it related with eth0 IP? i didnt get that...) i had not attached the files, i had copy-pasted the contents... Attaching the files herewith... On Tue, Jun 24, 2008 at 3:03 PM, Kumar, Venkat <Venkat.Kumar@lsi.com> wrote:> Use loopback address and not the eth0 IP. > > Try 127.0.0.1 instead of 10.105.41.104. > > I couldn''t see your configuration file in the email. > > > > *================================* > > *Venkata Kumar Duvvuru,* > > *LSI Engenio,* > > *Adv. Development,* > > *Bangalore**.* > > *Mob: +91-9880318542* > > *Off : +91-80-41978700 ( Extn : 3544 )* > > *================================* > ------------------------------ > > *From:* piyush masrani [mailto:masrani.piyush@gmail.com] > *Sent:* Tuesday, June 24, 2008 2:54 PM > > *To:* Kumar, Venkat > *Cc:* xen-users@lists.xensource.com > *Subject:* Re: [Xen-users] xm console does not return a console > > > > > I tried out both of these commands > vncviewer 10.105.41.104:5900 > vncviewer 10.105.41.104:5901 > Both are giving the above error... > > xen config file > # > # /etc/xen-tools/xen-tools.conf > # > # Global configuration file for the scripts included with Xen-tools. > # > # Values may be set here so they don''t need to be specified upon the > # command line. > # > # Steve > # -- > # > > > > # > ## > # Output directory for storing loopback images. > # > # If you choose to use loopback images, which are simple to manage but > # slower than LVM partitions, then specify a directory here and uncomment > # the line. > # > # New instances will be stored in subdirectories named after their > # hostnames. > # > ## > # dir = /home/cse/Desktop/MTP > dir = /home/mounted > # > ## > # > # If you don''t wish to use loopback images then you may specify an > # LVM volume group here instead > # > ## > # lvm = skx-vg > > > # > ## > # > # Installation method. > # > # There are four distinct methods which you may to install a new copy > # of Linux to use in your Xen guest domain: > # > # - Installation via the debootstrap command. > # - Installation via the rpmstrap command. > # - Installation by copying a directory containing a previous > installation. > # - Installation by untarring a previously archived image. > # > # NOTE That if you use the "untar", or "copy" options you should ensure > # that the image you''re left with matches the ''dist'' setting later in > # this file. > # > # > ## > # > # > # install-method = [ debootstrap | rpmstrap | copy | tar ] > # > # > install-method = debootstrap > > # > # If you''re using "copy", or "tar" you will need to specify the > # source location to copy from, or the source .tar file to unpack. > # > # You may specify that with a line such as: > # > # install-source = /path/to/copy > # install-source = /some/path/img.tar > # > # > > # > ## > # Command definitions. > ## > # > # The "debootstrap" and "rpmstrap" commands are hardwired into the > # script, but if you wish to modify the commands which are executed > # when installing new systems by a "copy" or "tar" method you can > # do so here: > # > # install-method=copy: > # copy-cmd = /bin/cp -a $src/* $dest > # > # install-method=tar: > # tar-cmd = /bin/tar --numeric-owner -xvf $src > # > # > > > > # > ## > # Disk and Sizing options. > ## > # > size = 2Gb # Disk image size. > memory = 64Mb # Memory size > swap = 256Mb # Swap size > # noswap = 1 # Don''t use swap at all for the new system. > fs = ext3 # use the EXT3 filesystem for the disk image. > #dist = edgy # Default distribution to install. > dist=feisty > image = sparse # Specify sparse vs. full disk images. > > # > # Currently supported and tested distributions include: > # > # sid - Debian > # sarge - Debian > # etch - Debian > # dapper - Ubuntu > # centos4 - CentOS 4 > # fedora-core4 - Fedora Core 4 (codname stentz) > # > > > > ## > # Networking setup values. > ## > > # > # Uncomment and adjust these network settings if you wish to give your > # new instances static IP addresses. > # > gateway = 10.105.1.250 > netmask = 255.255.0.0 > # broadcast = 192.168.1.255 > # > # Uncomment this if you wish the images to use DHCP > # > # dhcp = 1 > > > ## > # Misc options > ## > > # > # Uncomment the following line if you wish to disable the caching > # of downloaded .deb files when using debootstrap to install images. > # > # cache = no > # > > # > # Uncomment the following line if you wish to interactively setup > # a new root password for images. > # > passwd = 1 > > # > # If you''d like all accounts on your host system which are not present > # on the guest system to be copied over then uncomment the following line. > # > # accounts = 1 > # > > # > # Default kernel and ramdisk to use for the virtual servers > # > kernel = /boot/vmlinuz-`uname -r` > initrd = /boot/initrd.img-`uname -r` > > # > # The architecture to use when using debootstrap or rpmstrap. > # > # This is most useful on 64 bit host machines, for other systems it > # doesn''t need to be used. > # > # arch=i386 > # > > # > # The default mirror for debootstrap to install Debian-derived > distributions > # > mirror = http://ftp.us.debian.org/debian/ > > # > # A mirror suitable for use when installing the Dapper release of Ubuntu. > # > # mirror = http://gb.archive.ubuntu.com/ubuntu/ > > # > # If you like you could use per-distribution mirrors, which will > # be more useful if you''re working in an environment where you want > # to regularly use multiple distributions: > # > # mirror_sid=http://ftp.us.debian.org/debian > # mirror_sarge=http://ftp.us.debian.org/debian > # mirror_etch=http://ftp.us.debian.org/debian > # mirror_dapper=http://archive.ubuntu.com/ubuntu > # mirror_edgy=http://archive.ubuntu.com/ubuntu > # mirror_feisty=http://archive.ubuntu.com/ubuntu > # mirror_gutsy=http://archive.ubuntu.com/ubuntu > mirror = ftp://ftp.iitb.ac.in/os/ubuntu/archives > > # > # Uncomment if you wish newly created images to boot once they''ve been > # created. > # > # boot = 1 > # > > # If you''re using a newer version of the Xen guest kernel you will > # need to make sure that you use ''xvc0'' for the guest serial device, > # and ''xvdX'' instead of ''sdX'' for serial devices. > # > # serial_device = tty1 #default > # serial_device = xvc0 > # > # disk_device = sda #default > # disk_device = xvda > > > This is the config file for the Guest VM. > # > # Configuration file for the Xen instance xen4.example.com, created > # by xen-tools 3.5 on Thu Jun 19 14:26:38 2008. > # > > # > # Kernel + memory size > # > kernel = ''/boot/vmlinuz-2.6.22-14-xen'' > ramdisk = ''/boot/initrd.img-2.6.22-14-xen'' > memory = ''64'' > > # > # Disk device(s). > # > root = ''/dev/hda1 ro'' > disk = [ ''file:/home/mounted/domains/ > xen4.example.com/disk.img,hda1,w'', ''file:/home/mounted/domains/ > xen4.example.com/swap.img,hda2,w'' ] > > # > # Hostname > # > name = ''xen4.example.com'' > > # > # Networking > # > vif = [ ''ip=10.105.41.104'' ] > > # > # Behaviour > # > on_poweroff = ''destroy'' > on_reboot = ''restart'' > on_crash = ''restart'' > > > > > On Tue, Jun 24, 2008 at 2:47 PM, Kumar, Venkat <Venkat.Kumar@lsi.com> > wrote: > > Send the configuration file and the vncviewer command that you used. > > > > *================================* > > *Venkata Kumar Duvvuru,* > > *LSI Engenio,* > > *Adv. Development,* > > *Bangalore**.* > > *Mob: +91-9880318542* > > *Off : +91-80-41978700 ( Extn : 3544 )* > > *================================* > ------------------------------ > > *From:* piyush masrani [mailto:masrani.piyush@gmail.com] > *Sent:* Tuesday, June 24, 2008 2:44 PM > *To:* Kumar, Venkat > *Cc:* xen-users@lists.xensource.com > *Subject:* Re: [Xen-users] xm console does not return a console > > > > 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@lsi.com> > 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@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] *On Behalf Of *piyush masrani > *Sent:* Tuesday, June 24, 2008 2:05 PM > *To:* xen-users@lists.xensource.com > *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@lists.xensource.com http://lists.xensource.com/xen-users