Hi,
i'm prepering to upgrade my servers from xen 3.0.3 32-bit to 3.2.1 64-bit.
The old system:
Debian 4.0 i386 with included hypervisor 3.0.3 (pae) and dom0 kernel.
The new systen:
Debian lenny amd64 with the included hypervisor 3.2.1 and dom0 kernel from
Debian 4.0 amd64.
My domUs have a self compiled kernel out of the dom0 kernel of the old system
(mainly the dom0 kernel but with md and ext3 compiled in so i don't need an
initrd). The storage for my domUs are on a san and are accessible from the
old and the new systems.
To make my life easy i'd like to keep my domUs untouched for the migration
process so i tried to start a domU on my new xen host with the old
configuration and old domU kernel. But it fails to access the disks and i
don't know what am i missing!? The disks are accessible from the new xen host
with e.g. blockdev --getsize64 /dev/xbd/test1.sda2
Has anyone an idea for me what's wrong? Is it possible that device names
within the domU has changed?
Additional info:
====================================
root@xenhost:~# cat /etc/xen/test1
name = "test1"
#cpus = ""
vcpus = "8"
memory = "256"
kernel = "/boot/domU-linux-2.6.18"
vif = [ "mac=00:16:3E:64:26:B6, bridge=xenbr0" ]
hostname = "test1"
ip = "192.168.83.36"
netmask = "255.255.255.0"
gateway = "192.168.83.1"
disk = [ "phy:xbd/test1.sda2,sda2,w",
"phy:xbd/test1.sdb2,sdb2,w",
"phy:xbd/test1-swap.sda1,sda1,w",
"phy:xbd/test1-swap.sdb1,sdb1,w" ]
root = "/dev/md0 ro"
extra = "md=0,/dev/sda2,/dev/sdb2 md=1,/dev/sda1,/dev/sdb1"
====================================
root@xenhost:~# xm create test1 -c
Using config file "./test1".
Started domain test1
Linux version 2.6.18 (Version: domU.4) (root@phoenix) (gcc
v
ersion 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Sun Jul 27
17:47:15
CEST 2008
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000010800000 (usable)
0MB HIGHMEM available.
264MB LOWMEM available.
NX (Execute Disable) protection: active
ACPI in unprivileged domain disabled
Built 1 zonelists. Total pages: 67584
Kernel command line: root=/dev/md0 ro
ip=192.168.83.36:1.2.3.4:192.168.83.1:255.
255.255.0:test1:eth0:off md=0,/dev/sda2,/dev/sdb2 md=1,/dev/sda1,/dev/sdb1
md: Will configure md0 (super-block) from /dev/sda2,/dev/sdb2, below.
md: Will configure md1 (super-block) from /dev/sda1,/dev/sdb1, below.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Xen reported: 2660.000 MHz processor.
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Software IO TLB disabled
vmalloc area: d1000000-f51fe000, maxmem 2d7fe000
Memory: 255360k/270336k available (1722k kernel code, 6472k reserved, 626k
data, 164k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 6651.79 BogoMIPS
(lpj=13303599)
Security Framework v1.0.0 initialized
SELinux: Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Brought up 1 CPUs
migration_cost=0
Grant table initialized
NET: Registered protocol family 16
SMP alternatives: switching to SMP code
Initializing CPU#1
migration_cost=27299
migration_cost=<6>Initializing CPU#2
27299
migration_cost=<6>Initializing CPU#3
27299
migration_cost=<6>Initializing CPU#4
27299
migration_cost=<6>Initializing CPU#5
27299
Initializing CPU#6
migration_cost=27299
Initializing CPU#7
migration_cost=27299
Brought up 8 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
PCI: System does not support PCI
PCI: System does not support PCI
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1218294040.777:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
PNP: No PS/2 controller found. Probing ports directly.
Registering block device major 8
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: raid1 personality registered for level 1
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI No-Shortcut mode
netfront: device eth0 has flipping receive path.
XENBUS: Device with no driver: device/console/0
IP-Config: Complete:
device=eth0, addr=192.168.83.36, mask=255.255.255.0, gw=192.168.83.1,
host=test1, domain=, nis-domain=(none),
bootserver=1.2.3.4, rootserver=1.2.3.4, rootpath=
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
md: Loading md0: /dev/sda2
end_request: I/O error, dev sda2, sector 20971392
md: disabled device sda2, could not read superblock.
md: sda2 has invalid sb, not importing!
md: md_import_device returned -22
end_request: I/O error, dev sdb2, sector 20971392
md: disabled device sdb2, could not read superblock.
md: sdb2 has invalid sb, not importing!
md: md_import_device returned -22
md: starting md0 failed
md: Loading md1: /dev/sda1
end_request: I/O error, dev sda1, sector 524160
md: disabled device sda1, could not read superblock.
md: sda1 has invalid sb, not importing!
md: md_import_device returned -22
end_request: I/O error, dev sdb1, sector 524160
md: disabled device sdb1, could not read superblock.
md: sdb1 has invalid sb, not importing!
md: md_import_device returned -22
md: starting md1 failed
EXT3-fs: unable to read superblock
No filesystem could mount root, tried: ext3 cramfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(9,0)
====================================
root@xenhost:~# cat /var/log/xen/xend.log
[..]
[2008-08-09 17:18:49 7001] DEBUG (XendDomainInfo:84)
XendDomainInfo.create(['vm', ['name', 'test1'], ['memory', '256'],
['vcpus', '8'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'],
['image', ['linux', ['kernel', '/boot/domU-linux
-2.6.18'],
['ip', '192.168.83.36:1.2.3.4:192.168.83.1:255.255.255.0:test1:eth0:off'],
['root', '/dev/md0 ro'], ['args', 'md=0,/dev/sda2,/dev/sdb2
md=1,/dev/sda1,/dev/sdb1']]], ['device', ['vbd',
['uname', 'phy:xbd/test1.sda2'], ['dev', 'sda2
'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:xbd/test1.sdb2'],
['dev', 'sdb2'], ['mode', 'w']]], ['device', ['vbd',
['uname', 'phy:xbd/test1-swap.sda1'], ['dev', 'sda1'], ['mode', 'w']]],
['device', ['vbd', ['uname', 'phy:xbd/test1
-swap.sdb1'], ['dev', 'sdb1'], ['mode', 'w']]], ['device', ['vif',
['bridge', 'xenbr0'], ['mac', '00:16:3E:64:26:B6']]]])
[2008-08-09 17:18:49 7001] DEBUG (XendDomainInfo:1618)
XendDomainInfo.constructDomain
[2008-08-09 17:18:49 7001] DEBUG (balloon:132) Balloon: 16265336 KiB free;
need 2048; done.
[2008-08-09 17:18:49 7001] DEBUG (XendDomain:443) Adding Domain: 8
[2008-08-09 17:18:49 7001] DEBUG (XendDomainInfo:1703)
XendDomainInfo.initDomain: 8 256
[2008-08-09 17:18:49 7001] DEBUG (XendDomainInfo:1738)
_initDomain:shadow_memory=0x0, memory_static_max=0x10000000,
memory_static_min=0x0.
[2008-08-09 17:18:49 7001] DEBUG (balloon:132) Balloon: 16265328 KiB free;
need 262144; done.
[2008-08-09 17:18:49 7001] INFO (image:139) buildDomain os=linux dom=8 vcpus=8
[2008-08-09 17:18:49 7001] DEBUG (image:363) domid = 8
[2008-08-09 17:18:49 7001] DEBUG (image:364) memsize = 256
[2008-08-09 17:18:49 7001] DEBUG (image:365) image
= /boot/domU-linux-2.6.18
[2008-08-09 17:18:49 7001] DEBUG (image:366) store_evtchn = 1
[2008-08-09 17:18:49 7001] DEBUG (image:367) console_evtchn = 2
[2008-08-09 17:18:49 7001] DEBUG (image:368) cmdline = root=/dev/md0 ro
ip=192.168.83.36:1.2.3.4:192.168.83.1:255.255.255.0:test1:eth0:off
md=0,/dev/sda2,/dev/sdb2 md=1,/dev/sda1,/dev/sdb1
[2008-08-09 17:18:49 7001] DEBUG (image:369) ramdisk =
[2008-08-09 17:18:49 7001] DEBUG (image:370) vcpus = 8
[2008-08-09 17:18:49 7001] DEBUG (image:371) features =
[2008-08-09 17:18:49 7001] INFO (XendDomainInfo:1514) createDevice: vbd :
{'uuid': '559e62ad-cb63-065f-dbec-800690d41e2e', 'bootable':
1, 'driver': 'paravirtualised', 'dev': 'sda2', 'uname': 'phy:xbd/test1.sda2',
'mode': 'w'}
[2008-08-09 17:18:49 7001] DEBUG (DevController:118) DevController: writing
{'virtual-device': '2050', 'device-type': 'disk', 'protocol': 'x86_32-abi',
'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/8/2050'}
to /local/domain/8/device/vbd/2050.
[2008-08-09 17:18:49 7001] DEBUG (DevController:120) DevController: writing
{'domain': 'test1', 'frontend': '/local/domain/8/device/vbd/2050', 'uuid':
'559e62ad-cb63-065f-dbec-800690d41e2e', 'dev': 'sda2', 'state': '1', 'params':
'xbd/test1.sda2', 'mode': 'w', 'online': '1', 'frontend-id': '8', 'type':
'phy'}
to /local/domain/0/backend/vbd/8/2050.
[2008-08-09 17:18:49 7001] INFO (XendDomainInfo:1514) createDevice: vbd :
{'uuid': 'eaf24d9e-8b17-32e3-abc6-afc7c6495113', 'bootable':
0, 'driver': 'paravirtualised', 'dev': 'sdb2', 'uname': 'phy:xbd/test1.sdb2',
'mode': 'w'}
[2008-08-09 17:18:49 7001] DEBUG (DevController:118) DevController: writing
{'virtual-device': '2066', 'device-type': 'disk', 'protocol': 'x86_32-abi',
'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/8/2066'}
to /local/domain/8/device/vbd/2066.
[2008-08-09 17:18:49 7001] DEBUG (DevController:120) DevController: writing
{'domain': 'test1', 'frontend': '/local/domain/8/device/vbd/2066', 'uuid':
'eaf24d9e-8b17-32e3-abc6-afc7c6495113', 'dev': 'sdb2', 'state': '1', 'params':
'xbd/test1.sdb2', 'mode': 'w', 'online': '1', 'frontend-id': '8', 'type':
'phy'}
to /local/domain/0/backend/vbd/8/2066.
[2008-08-09 17:18:49 7001] INFO (XendDomainInfo:1514) createDevice: vbd :
{'uuid': 'f392d012-c872-475c-5784-219323bf564e', 'bootable':
0, 'driver': 'paravirtualised', 'dev': 'sda1', 'uname':
'phy:xbd/test1-swap.sda1', 'mode': 'w'}
[2008-08-09 17:18:49 7001] DEBUG (DevController:118) DevController: writing
{'virtual-device': '2049', 'device-type': 'disk', 'protocol': 'x86_32-abi',
'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/8/2049'}
to /local/domain/8/device/vbd/2049.
[2008-08-09 17:18:49 7001] DEBUG (DevController:120) DevController: writing
{'domain': 'test1', 'frontend': '/local/domain/8/device/vbd/2049', 'uuid':
'f392d012-c872-475c-5784-219323bf564e', 'dev': 'sda1', 'state': '1', 'params':
'xbd/test1-swap.sda1', 'mode': 'w', 'online': '1', 'frontend-id': '8', 'type':
'phy'}
to /local/domain/0/backend/vbd/8/2049.
[2008-08-09 17:18:49 7001] INFO (XendDomainInfo:1514) createDevice: vbd :
{'uuid': '37163f0b-554c-83d4-c80b-e6c255598d7f', 'bootable':
0, 'driver': 'paravirtualised', 'dev': 'sdb1', 'uname':
'phy:xbd/test1-swap.sdb1', 'mode': 'w'}
[2008-08-09 17:18:49 7001] DEBUG (DevController:118) DevController: writing
{'virtual-device': '2065', 'device-type': 'disk', 'protocol': 'x86_32-abi',
'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/8/2065'}
to /local/domain/8/device/vbd/2065.
[2008-08-09 17:18:49 7001] DEBUG (DevController:120) DevController: writing
{'domain': 'test1', 'frontend': '/local/domain/8/device/vbd/2065', 'uuid':
'37163f0b-554c-83d4-c80b-e6c255598d7f', 'dev': 'sdb1', 'state': '1', 'params':
'xbd/test1-swap.sdb1', 'mode': 'w', 'online': '1', 'frontend-id': '8', 'type':
'phy'}
to /local/domain/0/backend/vbd/8/2065.
[2008-08-09 17:18:49 7001] INFO (XendDomainInfo:1514) createDevice: vif :
{'bridge': 'xenbr0', 'mac': '00:16:3E:64:26:B6', 'uuid':
'db9cbd51-2631-4fed-93bd-bc0ce5f0e980'}
[2008-08-09 17:18:49 7001] DEBUG (DevController:118) DevController: writing
{'mac': '00:16:3E:64:26:B6', 'handle': '0', 'protocol': 'x86_32-abi',
'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/8/0'}
to /local/domain/8/device/vif/0.
[2008-08-09 17:18:49 7001] DEBUG (DevController:120) DevController: writing
{'bridge': 'xenbr0', 'domain': 'test1', 'handle': '0', 'uuid':
'db9cbd51-2631-4fed-93bd-bc0ce5f0e980', 'script':
'/etc/xen/scripts/vif-bridge', 'mac': '00:16:3E:64:26:B6', 'frontend-id': '8',
'state': '1', 'online': '1', 'frontend': '/local/domain/8/device/vif/0'}
to /local/domain/0/backend/vif/8/0.
[2008-08-09 17:18:49 7001] DEBUG (XendDomainInfo:2195) Storing VM details:
{'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'3f0074a2-361a-bae9-c9d3-3b3c639c8055', 'on_reboot': 'restart', 'start_time':
'1218295129.96', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore',
'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '8', 'vcpu_avail':
'255', 'image': "(linux
(kernel /boot/domU-linux-2.6.18) (args 'root=/dev/md0 ro
ip=192.168.83.36:1.2.3.4:192.168.83.1:255.255.255.0:test1:eth0:off
md=0,/dev/sda2,/dev/sdb2 md=1,/dev/sda1,/dev/sdb1') (notes
(FEATURES 'writable_page_tables|writable_descriptor_tables|
auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel')
(VIRT_BASE 3221225472) (GUEST_VERSION 2.6) (PADDR_OFFSET 3221225472)
(GUEST_OS linux) (HYPERCALL_PAGE 3222278144) (LOADER generic) (PAE_MODE yes)
(ENTRY 3222274048) (XEN_VERSION xen-3.0)))", 'name': 'test1'}
[2008-08-09 17:18:49 7001] DEBUG (XendDomainInfo:1008) Storing domain details:
{'console/ring-ref': '4398940', 'image/entry': '3222274048', 'console/port':
'2', 'cpu/3/availability': 'online', 'store/ring-ref': '4398941',
'image/loader': 'generic', 'image/features/writable-page-tables': '1', 'vm':
'/vm/3f0074a2-361a-bae9-c9d3-3b3c639c8055',
'control/platform-feature-multiprocessor-suspend': '1', 'image/guest-os':
'linux', 'cpu/1/availability': 'online',
'image/features/writable-descriptor-tables': '1', 'cpu/7/availability':
'online', 'image/virt-base': '3221225472', 'memory/target': '262144',
'image/guest-version': '2.6', 'image/features/supervisor-mode-kernel': '1',
'cpu/4/availability': 'online', 'image/pae-mode': 'yes', 'console/limit':
'1048576', 'image/paddr-offset': '3221225472', 'image/hypercall-page':
'3222278144', 'cpu/2/availability': 'online', 'cpu/5/availability': 'online',
'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1',
'cpu/6/availability': 'online', 'console/type': 'xenconsoled',
'image/features/auto-translated-physmap': '1', 'name': 'test1', 'domid': '8',
'image/xen-version': 'xen-3.0', 'store/port': '1'}
[2008-08-09 17:18:49 7001] DEBUG (DevController:118) DevController: writing
{'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/console/8/0'}
to /local/domain/8/device/console/0.
[2008-08-09 17:18:49 7001] DEBUG (DevController:120) DevController: writing
{'domain': 'test1', 'frontend': '/local/domain/8/device/console/0', 'uuid':
'7db8c2f7-9566-35b6-c4f1-627ada6e4830', 'frontend-id': '8', 'state': '1',
'location': '2', 'online': '1', 'protocol': 'vt100'}
to /local/domain/0/backend/console/8/0.
[2008-08-09 17:18:49 7001] DEBUG (XendDomainInfo:1092)
XendDomainInfo.handleShutdownWatch
[2008-08-09 17:18:50 7001] DEBUG (DevController:151) Waiting for devices vif.
[2008-08-09 17:18:50 7001] DEBUG (DevController:156) Waiting for 0.
[2008-08-09 17:18:50 7001] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vif/8/0/hotplug-status.
[2008-08-09 17:18:50 7001] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vif/8/0/hotplug-status.
[2008-08-09 17:18:50 7001] DEBUG (DevController:609) hotplugStatusCallback 1.
[2008-08-09 17:18:50 7001] DEBUG (DevController:151) Waiting for devices vbd.
[2008-08-09 17:18:50 7001] DEBUG (DevController:156) Waiting for 2050.
[2008-08-09 17:18:50 7001] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vbd/8/2050/hotplug-status.
[2008-08-09 17:18:50 7001] DEBUG (DevController:609) hotplugStatusCallback 1.
[2008-08-09 17:18:50 7001] DEBUG (DevController:156) Waiting for 2066.
[2008-08-09 17:18:50 7001] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vbd/8/2066/hotplug-status.
[2008-08-09 17:18:51 7001] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vbd/8/2066/hotplug-status.
[2008-08-09 17:18:51 7001] DEBUG (DevController:609) hotplugStatusCallback 1.
[2008-08-09 17:18:51 7001] DEBUG (DevController:156) Waiting for 2049.
[2008-08-09 17:18:51 7001] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vbd/8/2049/hotplug-status.
[2008-08-09 17:18:52 7001] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vbd/8/2049/hotplug-status.
[2008-08-09 17:18:52 7001] DEBUG (DevController:609) hotplugStatusCallback 1.
[2008-08-09 17:18:52 7001] DEBUG (DevController:156) Waiting for 2065.
[2008-08-09 17:18:52 7001] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vbd/8/2065/hotplug-status.
[2008-08-09 17:18:52 7001] DEBUG (DevController:609) hotplugStatusCallback 1.
[2008-08-09 17:18:52 7001] DEBUG (DevController:151) Waiting for devices irq.
[2008-08-09 17:18:52 7001] DEBUG (DevController:151) Waiting for devices vkbd.
[2008-08-09 17:18:52 7001] DEBUG (DevController:151) Waiting for devices vfb.
[2008-08-09 17:18:52 7001] DEBUG (DevController:151) Waiting for devices
console.
[2008-08-09 17:18:52 7001] DEBUG (DevController:156) Waiting for 0.
[2008-08-09 17:18:52 7001] DEBUG (DevController:151) Waiting for devices pci.
[2008-08-09 17:18:52 7001] DEBUG (DevController:151) Waiting for devices
ioports.
[2008-08-09 17:18:52 7001] DEBUG (DevController:151) Waiting for devices tap.
[2008-08-09 17:18:52 7001] DEBUG (DevController:151) Waiting for devices vtpm.
[2008-08-09 17:18:52 7001] INFO (XendDomain:1165) Domain test1 (8) unpaused.
[2008-08-09 17:18:55 7001] WARNING (XendDomainInfo:1258) Domain has crashed:
name=test1 id=8.
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:1914)
XendDomainInfo.destroyDomain(8)
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:1529) Destroying device model
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:1536) Releasing devices
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:1542) Removing vif/0
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:1542) Removing vbd/2050
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2050
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:1542) Removing vbd/2066
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2066
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:1542) Removing vbd/2049
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2049
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:1542) Removing vbd/2065
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2065
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:1542) Removing console/0
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:1534) No device model
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:1536) Releasing devices
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:106)
XendDomainInfo.create_from_dict({'vcpus_params': {'cap': 0, 'weight':
256}, 'PV_args': 'root=/dev/md0 ro
ip=192.168.83.36:1.2.3.4:192.168.83.1:255.255.255.0:test1:eth0:off
md=0,/dev/sda2,/dev/sdb2 md=1,/dev/sda1,/dev/sdb1', 'features': '', 'cpus':
[], 'paused': 0, 'domid': 8, 'shutdown': 0, 'VCPUs_live':
1, 'PV_bootloader': '', 'actions_after_crash': 'restart', 'vbd_refs':
['559e62ad-cb63-065f-dbec-800690d41e2e',
'eaf24d9e-8b17-32e3-abc6-afc7c6495113', 'f392d012-c872-475c-5784-219323bf564e',
'37163f0b-554c-83d4-c80b-e6c255598d7f'], 'PV_ramdisk': '', 'is_control_domain':
False, 'name_label': 'test1', 'VCPUs_at_startup': 1, 'HVM_boot_params':
{}, 'platform': {}, 'PV_kernel': '/boot/domU-linux-2.6.18', 'console_refs':
['7db8c2f7-9566-35b6-c4f1-627ada6e4830'], 'online_vcpus': 1, 'blocked':
0, 'on_xend_stop': 'ignore', 'memory_static_min':
0, 'HVM_boot_policy': '', 'shutdown_reason': 3, 'VCPUs_max': 8, 'start_time':
1218295129.9618061, 'memory_static_max':
268435456, 'actions_after_shutdown': 'destroy', 'on_xend_start': 'ignore',
'crashed':
0, 'memory_dynamic_max':
268435456, 'actions_after_suspend': '', 'is_a_template':
False, 'PV_bootloader_args': '', 'memory_dynamic_min':
268435456, 'uuid': '3f0074a2-361a-bae9-c9d3-3b3c639c8055', 'cpu_time':
1.285714963, 'shadow_memory': 0, 'dying': 0, 'vcpu_avail': 255, 'notes':
{'FEATURES': 'writable_page_tables|writable_descriptor_tables|
auto_translated_physmap|pae_pgdir_above_4gb|
supervisor_mode_kernel', 'VIRT_BASE':
3221225472, 'GUEST_VERSION': '2.6', 'PADDR_OFFSET':
3221225472, 'GUEST_OS': 'linux', 'HYPERCALL_PAGE':
3222278144, 'LOADER': 'generic', 'PAE_MODE': 'yes', 'ENTRY':
3222274048, 'XEN_VERSION': 'xen-3.0'}, 'other_config': {}, 'running':
0, 'actions_after_reboot': 'restart', 'vif_refs':
['db9cbd51-2631-4fed-93bd-bc0ce5f0e980'], 'vtpm_refs': [], 'devices':
{'f392d012-c872-475c-5784-219323bf564e': ('vbd',
{'uuid': 'f392d012-c872-475c-5784-219323bf564e', 'bootable': 0, 'devid':
2049, 'driver': 'paravirtualised', 'dev': 'sda1', 'uname':
'phy:xbd/test1-swap.sda1', 'mode': 'w'}),
'eaf24d9e-8b17-32e3-abc6-afc7c6495113':
('vbd', {'uuid': 'eaf24d9e-8b17-32e3-abc6-afc7c6495113', 'bootable':
0, 'devid':
2066, 'driver': 'paravirtualised', 'dev': 'sdb2', 'uname':
'phy:xbd/test1.sdb2', 'mode': 'w'}), '7db8c2f7-9566-35b6-c4f1-627ada6e4830':
('console', {'other_config':
{}, 'protocol': 'vt100', 'uuid': '7db8c2f7-9566-35b6-c4f1-627ada6e4830',
'location': '2'}), '37163f0b-554c-83d4-c80b-e6c255598d7f':
('vbd', {'uuid': '37163f0b-554c-83d4-c80b-e6c255598d7f', 'bootable':
0, 'devid':
2065, 'driver': 'paravirtualised', 'dev': 'sdb1', 'uname':
'phy:xbd/test1-swap.sdb1', 'mode': 'w'}),
'559e62ad-cb63-065f-dbec-800690d41e2e':
('vbd', {'uuid': '559e62ad-cb63-065f-dbec-800690d41e2e', 'bootable':
1, 'devid':
2050, 'driver': 'paravirtualised', 'dev': 'sda2', 'uname':
'phy:xbd/test1.sda2', 'mode': 'w'}), 'db9cbd51-2631-4fed-93bd-bc0ce5f0e980':
('vif', {'bridge': 'xenbr0', 'mac': '00:16:3E:64:26:B6', 'devid':
0, 'uuid': 'db9cbd51-2631-4fed-93bd-bc0ce5f0e980'})}})
[2008-08-09 17:18:55 7001] ERROR (XendDomainInfo:111) Domain construction
failed
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 109,
in create_from_dict
vm.start()
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 444,
in start
raise XendError('VM already running')
XendError: VM already running
[2008-08-09 17:18:55 7001] DEBUG (XendDomainInfo:1897) XendDomainInfo.destroy:
domid=8
[2008-08-09 17:18:55 7001] ERROR (XendDomainInfo:1425) Failed to restart
domain 8.
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 1410,
in _restart
self.info)
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomain.py", line 975, in
domain_create_from_dict
dominfo = XendDomainInfo.create_from_dict(config_dict)
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 109,
in create_from_dict
vm.start()
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 444,
in start
raise XendError('VM already running')
XendError: VM already running
====================================
--
greetings
eMHa
pgp7nG6PDJnQ7.pgp
Description: PGP signature
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|