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] Terminal Freezing when I try to start a domain

To: Sean Carey <sean@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Terminal Freezing when I try to start a domain
From: Sean Carey <sean@xxxxxxxxxxxx>
Date: Mon, 17 Dec 2007 20:23:14 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 17 Dec 2007 17:24:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <B57125E6-EA66-46D7-BB12-3AACA834C232@xxxxxxxxxxxx>
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: <B57125E6-EA66-46D7-BB12-3AACA834C232@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Also this is log log in Xend.log ---------

[2007-12-17 20:06:54 4795] DEBUG (__init__:1094) XendDomainInfo.constructDomain [2007-12-17 20:06:54 4795] DEBUG (__init__:1094) Balloon: 1049636 KiB free; need 2048; done.
[2007-12-17 20:06:54 4795] DEBUG (__init__:1094) Adding Domain: 7
[2007-12-17 20:06:54 4795] DEBUG (__init__:1094) XendDomainInfo.initDomain: 7 256 [2007-12-17 20:06:54 4795] DEBUG (__init__:1094) _initDomain:shadow_memory=0x0, memory_static_max=0x40000000, memory_static_min=0x0. [2007-12-17 20:06:54 4795] DEBUG (__init__:1094) Balloon: 1049628 KiB free; need 1048576; done. [2007-12-17 20:06:54 4795] INFO (__init__:1094) buildDomain os=linux dom=7 vcpus=1
[2007-12-17 20:06:54 4795] DEBUG (__init__:1094) domid          = 7
[2007-12-17 20:06:54 4795] DEBUG (__init__:1094) memsize        = 1024
[2007-12-17 20:06:54 4795] DEBUG (__init__:1094) image = / boot/vmlinuz-2.6.22-14-xen
[2007-12-17 20:06:54 4795] DEBUG (__init__:1094) store_evtchn   = 1
[2007-12-17 20:06:54 4795] DEBUG (__init__:1094) console_evtchn = 2
[2007-12-17 20:06:54 4795] DEBUG (__init__:1094) cmdline = root=/dev/hda1 ro [2007-12-17 20:06:54 4795] DEBUG (__init__:1094) ramdisk = / boot/initrd.img-2.6.22-14-xen
[2007-12-17 20:06:54 4795] DEBUG (__init__:1094) vcpus          = 1
[2007-12-17 20:06:54 4795] DEBUG (__init__:1094) features       =
[2007-12-17 20:06:54 4795] INFO (__init__:1094) createDevice: vbd : {'uuid': 'ba57b618-9d06-942d-1160-417f358adf19', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'hda1', 'uname': 'file:/mnt/xen/ domains/ed.bos01.locamoda.net/disk.img', 'mode': 'w'} [2007-12-17 20:06:54 4795] DEBUG (__init__:1094) DevController: writing {'backend-id': '0', 'virtual-device': '769', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/769'} to /local/domain/7/device/vbd/769. [2007-12-17 20:06:54 4795] DEBUG (__init__:1094) DevController: writing {'domain': 'ed.bos01.locamoda.net', 'frontend': '/local/domain/ 7/device/vbd/769', 'uuid': 'ba57b618-9d06-942d-1160-417f358adf19', 'dev': 'hda1', 'state': '1', 'params': '/mnt/xen/domains/ ed.bos01.locamoda.net/disk.img', 'mode': 'w', 'online': '1', 'frontend- id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/769. [2007-12-17 20:06:54 4795] INFO (__init__:1094) createDevice: vbd : {'uuid': '6139e275-1806-53da-2c0b-195066403d04', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'hda2', 'uname': 'file:/mnt/xen/ domains/ed.bos01.locamoda.net/swap.img', 'mode': 'w'} [2007-12-17 20:06:54 4795] DEBUG (__init__:1094) DevController: writing {'backend-id': '0', 'virtual-device': '770', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/770'} to /local/domain/7/device/vbd/770. [2007-12-17 20:06:54 4795] DEBUG (__init__:1094) DevController: writing {'domain': 'ed.bos01.locamoda.net', 'frontend': '/local/domain/ 7/device/vbd/770', 'uuid': '6139e275-1806-53da-2c0b-195066403d04', 'dev': 'hda2', 'state': '1', 'params': '/mnt/xen/domains/ ed.bos01.locamoda.net/swap.img', 'mode': 'w', 'online': '1', 'frontend- id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/770. [2007-12-17 20:06:54 4795] INFO (__init__:1094) createDevice: vif : {'ip': '10.1.4.70', 'uuid': '3d85b36a-02e3-c003-f766-cc0f1f0d7509'} [2007-12-17 20:06:54 4795] DEBUG (__init__:1094) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:28:f6:61', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/7/0'} to /local/ domain/7/device/vif/0. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) DevController: writing {'domain': 'ed.bos01.locamoda.net', 'handle': '0', 'uuid': '3d85b36a-02e3-c003-f766-cc0f1f0d7509', 'script': '/etc/xen/scripts/ vif-bridge', 'ip': '10.1.4.70', 'state': '1', 'frontend': '/local/ domain/7/device/vif/0', 'mac': '00:16:3e:28:f6:61', 'online': '1', 'frontend-id': '7', 'type': 'netfront'} to /local/domain/0/backend/vif/ 7/0. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '3519f102- e305-1e67-6cdf-8055964f4ced', 'on_reboot': 'restart', 'start_time': '1197940015.02', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': "(linux (kernel /boot/vmlinuz-2.6.22-14- xen) (ramdisk /boot/initrd.img-2.6.22-14-xen) (args 'root=/dev/hda1 ro ') (notes (FEATURES 'writable_page_tables|writable_descriptor_tables| auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel') (VIRT_BASE 18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET 18446744071562067968) (GUEST_OS linux) (HYPERCALL_PAGE 18446744071564189696) (LOADER generic) (SUSPEND_CANCEL 1) (ENTRY 18446744071564165120) (XEN_VERSION xen-3.0)))", 'name': 'ed.bos01.locamoda.net'} [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Storing domain details: {'console/ring-ref': '4244682', 'image/entry': '18446744071564165120', 'console/port': '2', 'store/ring-ref': '4244683', 'image/loader': 'generic', 'vm': '/vm/3519f102- e305-1e67-6cdf-8055964f4ced', 'control/platform-feature-multiprocessor- suspend': '1', 'image/guest-os': 'linux', 'image/features/writable- descriptor-tables': '1', 'image/virt-base': '18446744071562067968', 'memory/target': '1048576', 'image/guest-version': '2.6', 'image/ features/supervisor-mode-kernel': '1', 'console/limit': '1048576', 'image/paddr-offset': '18446744071562067968', 'image/hypercall-page': '18446744071564189696', 'image/suspend-cancel': '1', 'cpu/0/ availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '1', 'image/features/auto- translated-physmap': '1', 'name': 'ed.bos01.locamoda.net', 'domid': '7', 'image/xen-version': 'xen-3.0', 'store/port': '1'} [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/ backend/console/7/0'} to /local/domain/7/device/console/0. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) DevController: writing {'domain': 'ed.bos01.locamoda.net', 'protocol': 'vt100', 'uuid': '89a05c27-6a32-5649-4bad-ea9e1da403fc', 'frontend': '/local/ domain/7/device/console/0', 'state': '1', 'location': '2', 'online': '1', 'frontend-id': '7'} to /local/domain/0/backend/console/7/0. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Storing domain details: {'console/ring-ref': '4244682', 'image/entry': '18446744071564165120', 'console/port': '2', 'store/ring-ref': '4244683', 'image/loader': 'generic', 'vm': '/vm/3519f102- e305-1e67-6cdf-8055964f4ced', 'control/platform-feature-multiprocessor- suspend': '1', 'image/guest-os': 'linux', 'image/features/writable- descriptor-tables': '1', 'image/virt-base': '18446744071562067968', 'memory/target': '1048576', 'image/guest-version': '2.6', 'image/ features/supervisor-mode-kernel': '1', 'console/limit': '1048576', 'image/paddr-offset': '18446744071562067968', 'image/hypercall-page': '18446744071564189696', 'image/suspend-cancel': '1', 'cpu/0/ availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '1', 'image/features/auto- translated-physmap': '1', 'name': 'ed.bos01.locamoda.net', 'domid': '7', 'image/xen-version': 'xen-3.0', 'store/port': '1'} [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for devices vif.
[2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for 0.
[2007-12-17 20:06:55 4795] DEBUG (__init__:1094) XendDomainInfo.handleShutdownWatch [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) hotplugStatusCallback 1. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for devices usb. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for devices vbd.
[2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for 769.
[2007-12-17 20:06:55 4795] DEBUG (__init__:1094) hotplugStatusCallback /local/domain/0/backend/vbd/7/769/hotplug-status. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) hotplugStatusCallback 1.
[2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for 770.
[2007-12-17 20:06:55 4795] DEBUG (__init__:1094) hotplugStatusCallback /local/domain/0/backend/vbd/7/770/hotplug-status. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) hotplugStatusCallback 1. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for devices irq. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for devices vkbd. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for devices vfb. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for devices console.
[2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for 0.
[2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for devices pci. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for devices ioports. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for devices tap. [2007-12-17 20:06:55 4795] DEBUG (__init__:1094) Waiting for devices vtpm. [2007-12-17 20:06:55 4795] INFO (__init__:1094) Domain ed.bos01.locamoda.net (7) unpaused.
root@virtual01:/var/log/xen#


On Dec 17, 2007, at 8:19 PM, Sean Carey wrote:

I am trying the start the configuration below. And it starts without error. When I run xm console <cfg> . My ssh terminal freezes and shows the output below. So my question is. What is the expected behavior here. What am I supposed to see... A login prompt?? Any advice on what to do next would be great.

sc

#
# Configuration file for the Xen instance ed.bos01.locamoda.net, created
# by xen-tools 3.5 on Mon Dec 17 17:12:13 2007.
#

#
#  Kernel + memory size
#
kernel      = '/boot/vmlinuz-2.6.22-14-xen'
ramdisk     = '/boot/initrd.img-2.6.22-14-xen'
memory      = '1024'

#
#  Disk device(s).
#
root        = '/dev/hda1 ro'
disk = [ 'file:/mnt/xen/domains/ed.bos01.locamoda.net/ disk.img,hda1,w', 'file:/mnt/xen/domains/ed.bos01.locamoda.net/ swap.img,hda2,w']

#
#  Hostname
#
name        = 'ed.bos01.locamoda.net'

#
#  Networking
#
vif         = [ 'ip=10.1.4.70' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'



root@virtual01:~#
Started domain ed
root@virtual01:~# xm console ed
[ 0.000000] Linux version 2.6.22-14-xen (buildd@crested) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sun Oct 14 23:20:20 GMT 2007 (Unofficial)
[    0.000000] Command line: root=/dev/hda1 ro
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 0000000040800000 (usable)
[    0.000000] end_pfn_map = 264192
[10035.397853] Zone PFN ranges:
[10035.397856]   DMA             0 ->   264192
[10035.397858]   DMA32      264192 ->   264192
[10035.397860]   Normal     264192 ->   264192
[10035.397861] early_node_map[1] active PFN ranges
[10035.397863]     0:        0 ->   264192
[10035.413186] No mptable found.
[10035.415729] PERCPU: Allocating 25096 bytes of per cpu data
[10035.415752] Built 1 zonelists.  Total pages: 260580
[10035.415756] Kernel command line: root=/dev/hda1 ro
[10035.416270] Initializing CPU#0
[10035.416509] PID hash table entries: 4096 (order: 12, 32768 bytes)
[10035.416558] Xen reported: 1994.999 MHz processor.
[10035.416588] Console: colour dummy device 80x25
[10035.416953] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [10035.417245] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[10035.417344] Software IO TLB disabled
[10035.425729] Memory: 1003520k/1056768k available (2343k kernel code, 44572k reserved, 1193k data, 208k init) [10035.425771] SLUB: Genslabs=22, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1 [10035.492595] Calibrating delay using timer specific routine.. 3992.10 BogoMIPS (lpj=7984214)
[10035.492633] Security Framework v1.0.0 initialized
[10035.492645] SELinux:  Disabled at boot.
[10035.492658] Mount-cache hash table entries: 256
[10035.492789] CPU: L1 I cache: 32K, L1 D cache: 32K
[10035.492796] CPU: L2 cache: 4096K
[10035.492807] CPU: Physical Processor ID: 1
[10035.492811] CPU: Processor Core ID: 3
[10035.492817] SMP alternatives: switching to UP code
[10035.493178] Freeing SMP alternatives: 23k freed
[10035.493291] Early unpacking initramfs... done
[10035.509504] Brought up 1 CPUs
[10035.510113] NET: Registered protocol family 16
[10035.510906] Brought up 1 CPUs
[10035.510922] PCI: Fatal: No config space access function found
[10035.510925] PCI: setting up Xen PCI frontend stub
[10035.511316] ACPI: Interpreter disabled.
[10035.511322] Linux Plug and Play Support v0.97 (c) Adam Belay
[10035.511331] pnp: PnP ACPI: disabled
[10035.511482] xen_mem: Initialising balloon driver.
[10035.512553] Setting mem allocation to 1048576 kiB
[10035.512634] PCI: System does not support PCI
[10035.512639] PCI: System does not support PCI
[10035.512660] NET: Registered protocol family 8
[10035.512665] NET: Registered protocol family 20
[10035.512949] NET: Registered protocol family 2
[10035.516053] Time: xen clocksource has been installed.
[10035.544081] IP route cache hash table entries: 32768 (order: 6, 262144 bytes) [10035.544187] TCP established hash table entries: 131072 (order: 9, 3145728 bytes) [10035.545332] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [10035.545766] TCP: Hash tables configured (established 131072 bind 65536)
[10035.545772] TCP reno registered
[10035.556176] checking if image is initramfs... it is
[10035.573030] Freeing initrd memory: 19572k freed
[10035.582390] audit: initializing netlink socket (disabled)
[10035.582416] audit(1197940020.580:1): initialized
[10035.583887] VFS: Disk quotas dquot_6.5.1
[10035.583928] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[10035.584002] io scheduler noop registered
[10035.584007] io scheduler anticipatory registered
[10035.584010] io scheduler deadline registered
[10035.584100] io scheduler cfq registered (default)
[10035.600817] rtc: IRQ 8 is not free.
[10035.600884] Linux agpgart interface v0.102 (c) Dave Jones
[10035.601305] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize [10035.601464] input: Macintosh mouse button emulation as /class/ input/input0 [10035.601510] xencons_init: Initializing xen vfb; pass xencons=tty to prevent this
[10035.601574] Xen virtual console successfully installed as xvc0
[10035.601637] Event-channel device installed.
[10035.615310] netfront: Initialising virtual ethernet driver.
[10035.615880] PNP: No PS/2 controller found. Probing ports directly.
[10035.616714] i8042.c: No controller found.
[10035.616828] mice: PS/2 mouse device common for all mice
[10035.616959] TCP cubic registered
[10035.617025] NET: Registered protocol family 1
[10035.617130] xen-vbd: registered block device major 3
[10035.617146] blkfront: hda1: barriers enabled
[10035.617724] blkfront: hda2: barriers enabled
[10035.620671] netfront: device eth0 has copying receive path.
[10035.716083] XENBUS: Device with no driver: device/console/0
[10035.716101] /build/buildd/linux-source-2.6.22-2.6.22/debian/build/ custom-source-xen/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[10035.716123] Freeing unused kernel memory: 208k freed
[10035.898965] AppArmor: AppArmor initialized<5>audit(1197940020.896:2): type=1505 info="AppArmor initialized" pid=993
[10035.905852] fuse init (API version 7.8)
[10035.911818] Failure registering capabilities with primary security module. [10035.948567] thermal: Unknown symbol acpi_processor_set_thermal_limit [10036.271096] EXT3-fs: INFO: recovery required on readonly filesystem.
[10036.271108] EXT3-fs: write access will be enabled during recovery.
[10036.319600] kjournald starting.  Commit interval 5 seconds
[10036.319619] EXT3-fs: recovery complete.
[10036.331163] EXT3-fs: mounted filesystem with ordered data mode.
[10036.540781] Adding 1048568k swap on /dev/hda2. Priority:-1 extents:1 across:1048568k
[10036.561380] EXT3 FS on hda1, internal journal
[10036.699790] device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@xxxxxxxxxx
[10037.154599] NET: Registered protocol family 10
[10037.154682] lo: Disabled Privacy Extensions

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


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