Hi,
The command 'virsh start' fails under the following conditions.
- architecture:x86_64
- PV domain (f7test2)
- After the install are done
I attach a xend.log to a message.
Thanks
Yaegashi
[2007-03-07 07:11:12 xend 30702] DEBUG (SrvDomain:76) Starting domain fc7test2 False
[2007-03-07 07:11:12 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:1288)
XendDomainInfo.constructDomain
[2007-03-07 07:11:12 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:1334)
XendDomainInfo.initDomain: 71 256
[2007-03-07 07:11:12 xend 19603] DEBUG (XendBootloader:64) Launching bootloader as
['/usr/bin/pygrub', '-q',
'--output=/var/run/xend/boot/xenbl.16058', '/dev/sda13'].
[2007-03-07 07:11:12 xend 30702] DEBUG (balloon:127) Balloon: 717020 KiB free; need
358400; done.
[2007-03-07 07:11:12 xend 30702] INFO (image:125) buildDomain os=linux dom=71 vcpus=1
[2007-03-07 07:11:12 xend 30702] DEBUG (image:194) domid = 71
[2007-03-07 07:11:12 xend 30702] DEBUG (image:195) memsize = 350
[2007-03-07 07:11:12 xend 30702] DEBUG (image:196) image =
/var/run/xend/boot/boot_kernel.EMjGRe
[2007-03-07 07:11:12 xend 30702] DEBUG (image:197) store_evtchn = 1
[2007-03-07 07:11:12 xend 30702] DEBUG (image:198) console_evtchn = 2
[2007-03-07 07:11:12 xend 30702] DEBUG (image:199) cmdline = ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
[2007-03-07 07:11:12 xend 30702] DEBUG (image:200) ramdisk =
/var/run/xend/boot/boot_ramdisk.tAzsxc
[2007-03-07 07:11:12 xend 30702] DEBUG (image:201) vcpus = 1
[2007-03-07 07:11:12 xend 30702] DEBUG (image:202) features =
[2007-03-07 07:11:13 xend.XendDomainInfo 30702] INFO (XendDomainInfo:1198) createDevice:
vif : {'bridge': 'xenbr0', 'mac': '00:16:3e:08:28:23',
'script': 'vif-bridge', 'uuid':
'8df737da-edfa-83e9-614b-61c7ba127165', 'backend': 0}
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:115) DevController: writing
{'backend-id': '0', 'mac': '00:16:3e:08:28:23',
'handle': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vif/71/0'} to /local/domain/71/device/vif/0.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:117) DevController: writing
{'bridge': 'xenbr0', 'domain': 'fc7test2',
'handle': '0', 'uuid':
'8df737da-edfa-83e9-614b-61c7ba127165', 'script':
'/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/71/device/vif/0', 'mac': '00:16:3e:08:28:23',
'online': '1', 'frontend-id': '71'} to
/local/domain/0/backend/vif/71/0.
[2007-03-07 07:11:13 xend.XendDomainInfo 30702] INFO (XendDomainInfo:1198) createDevice:
vbd : {'uuid': 'd04e0343-9479-2279-4b51-0b284bdd7f4c', 'driver':
'paravirtualised', 'dev': 'xvda:disk', 'uname':
'phy:/dev/sda13', 'mode': 'w', 'backend': 0}
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:115) DevController: writing
{'backend-id': '0', 'virtual-device': '51712',
'device-type': 'disk', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/71/51712'} to /local/domain/71/device/vbd/51712.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:117) DevController: writing
{'domain': 'fc7test2', 'frontend':
'/local/domain/71/device/vbd/51712', 'uuid':
'd04e0343-9479-2279-4b51-0b284bdd7f4c', 'dev': 'xvda',
'state': '1', 'params': '/dev/sda13', 'mode':
'w', 'online': '1', 'frontend-id': '71',
'type': 'phy'} to /local/domain/0/backend/vbd/71/51712.
[2007-03-07 07:11:13 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:1719) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '0',
'uuid': 'ff828d32-70b2-53eb-4566-d08683974052', 'name':
'fc7test2', 'on_reboot': 'restart', 'start_time':
'1173219073.18', 'on_poweroff': 'destroy',
'on_xend_start': 'ignore', 'on_crash': 'restart',
'xend/restart_count': '0', 'vcpus': '1',
'vcpu_avail': '1', 'memory': '350', 'image':
"(linux (kernel /var/run/xend/boot/boot_kernel.EMjGRe) (ramdisk
/var/run/xend/boot/boot_ramdisk.tAzsxc) (args 'ro root=/dev/VolGroup00/LogVol00 rhgb
quiet'))", 'maxmem': '350'}
[2007-03-07 07:11:13 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:731) Storing domain
details: {'console/ring-ref': '419357', 'console/port':
'2', 'name': 'fc7test2', 'console/limit':
'1048576', 'vm': '/vm/ff828d32-70b2-53eb-4566-d08683974052',
'domid': '71', 'cpu/0/availability': 'online',
'memory/target': '358400', 'store/ring-ref': '419358',
'store/port': '1'}
[2007-03-07 07:11:13 xend 30702] DEBUG (XendDomain:428) Adding Domain: 71
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:148) Waiting for devices vif.
[2007-03-07 07:11:13 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:731) Storing domain
details: {'console/ring-ref': '419357', 'console/port':
'2', 'name': 'fc7test2', 'console/limit':
'1048576', 'vm': '/vm/ff828d32-70b2-53eb-4566-d08683974052',
'domid': '71', 'cpu/0/availability': 'online',
'memory/target': '358400', 'store/ring-ref': '419358',
'store/port': '1'}
[2007-03-07 07:11:13 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:798)
XendDomainInfo.handleShutdownWatch
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:153) Waiting for 0.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:522) hotplugStatusCallback
/local/domain/0/backend/vif/71/0/hotplug-status.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:522) hotplugStatusCallback
/local/domain/0/backend/vif/71/0/hotplug-status.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:536) hotplugStatusCallback 1.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:148) Waiting for devices usb.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:148) Waiting for devices vbd.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:153) Waiting for 51712.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:522) hotplugStatusCallback
/local/domain/0/backend/vbd/71/51712/hotplug-status.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:522) hotplugStatusCallback
/local/domain/0/backend/vbd/71/51712/hotplug-status.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:536) hotplugStatusCallback 1.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:148) Waiting for devices irq.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:148) Waiting for devices vkbd.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:148) Waiting for devices vfb.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:148) Waiting for devices pci.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:148) Waiting for devices ioports.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:148) Waiting for devices tap.
[2007-03-07 07:11:13 xend 30702] DEBUG (DevController:148) Waiting for devices vtpm.
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] WARNING (XendDomainInfo:950) Domain has
crashed: name=fc7test2 id=71.
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:731) Storing domain
details: {'console/ring-ref': '419357', 'console/port':
'2', 'name': 'fc7test2', 'console/limit':
'1048576', 'vm': '/vm/ff828d32-70b2-53eb-4566-d08683974052',
'domid': '71', 'cpu/0/availability': 'online',
'memory/target': '358400', 'store/ring-ref': '419358',
'store/port': '1'}
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:731) Storing domain
details: {'console/ring-ref': '419357', 'console/port':
'2', 'name': 'fc7test2', 'console/limit':
'1048576', 'vm': '/vm/ff828d32-70b2-53eb-4566-d08683974052',
'domid': '71', 'cpu/0/availability': 'online',
'memory/target': '358400', 'store/ring-ref': '419358',
'store/port': '1'}
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:1495)
XendDomainInfo.destroyDomain(71)
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:94)
XendDomainInfo.create(['domain', ['domid', 71], ['on_crash',
'restart'], ['memory', 350], ['uuid',
'ff828d32-70b2-53eb-4566-d08683974052'], ['bootloader_args', ''],
['name', 'fc7test2'], ['maxmem', 350], ['on_reboot',
'restart'], ['on_poweroff', 'destroy'], ['localtime', 0],
['vcpus', 1], ['bootloader', '/usr/bin/pygrub'],
['shadow_memory', 0], ['vcpu_avail', 1], ['cpu_weight', 256],
['cpu_cap', 0], ['features', ''], ['on_xend_start',
'ignore'], ['on_xend_stop', 'ignore'], ['start_time',
1173219073.1766889], ['cpu_time', 0.14879309900000001], ['online_vcpus',
1], ['image', ['linux', ['kernel',
'/var/run/xend/boot/boot_kernel.EMjGRe'], ['ramdisk',
'/var/run/xend/boot/boot_ramdisk.tAzsxc'], ['args', 'ro
root=/dev/VolGroup00/LogVol00 rhgb quiet']]], ['status', 0],
['memory_dynamic_min', 350], ['memory_dynamic_max', 350],
['state', '----c-'], ['store_mfn', 419358],
['console_mfn', 419357], ['device', ['vif', ['bridge',
'xenbr0'], ['mac', '00:16:3e:08:28:23'], ['script',
'vif-bridge'], ['uuid', '8df737da-edfa-83e9-614b-61c7ba127165'],
['backend', 0]]], ['device', ['vbd', ['uname',
'phy:/dev/sda13'], ['uuid',
'd04e0343-9479-2279-4b51-0b284bdd7f4c'], ['mode', 'w'],
['dev', 'xvda:disk'], ['backend', 0]]]])
[2007-03-07 07:11:17 xend.XendConfig 30702] WARNING (XendConfig:607) Unconverted key:
cpus
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:1288)
XendDomainInfo.constructDomain
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:1334)
XendDomainInfo.initDomain: 72 256
[2007-03-07 07:11:17 xend 19768] DEBUG (XendBootloader:64) Launching bootloader as
['/usr/bin/pygrub', '-q',
'--output=/var/run/xend/boot/xenbl.1059', '/dev/sda13'].
[2007-03-07 07:11:17 xend 30702] DEBUG (balloon:127) Balloon: 447020 KiB free; need
358400; done.
[2007-03-07 07:11:17 xend 30702] INFO (image:125) buildDomain os=linux dom=72 vcpus=1
[2007-03-07 07:11:17 xend 30702] DEBUG (image:194) domid = 72
[2007-03-07 07:11:17 xend 30702] DEBUG (image:195) memsize = 350
[2007-03-07 07:11:17 xend 30702] DEBUG (image:196) image =
/var/run/xend/boot/boot_kernel.yBt3-v
[2007-03-07 07:11:17 xend 30702] DEBUG (image:197) store_evtchn = 1
[2007-03-07 07:11:17 xend 30702] DEBUG (image:198) console_evtchn = 2
[2007-03-07 07:11:17 xend 30702] DEBUG (image:199) cmdline = ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
[2007-03-07 07:11:17 xend 30702] DEBUG (image:200) ramdisk =
/var/run/xend/boot/boot_ramdisk.JK64t5
[2007-03-07 07:11:17 xend 30702] DEBUG (image:201) vcpus = 1
[2007-03-07 07:11:17 xend 30702] DEBUG (image:202) features =
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] INFO (XendDomainInfo:1198) createDevice:
vif : {'bridge': 'xenbr0', 'mac': '00:16:3e:08:28:23',
'script': 'vif-bridge', 'uuid':
'8df737da-edfa-83e9-614b-61c7ba127165', 'backend': 0}
[2007-03-07 07:11:17 xend 30702] DEBUG (DevController:115) DevController: writing
{'backend-id': '0', 'mac': '00:16:3e:08:28:23',
'handle': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vif/72/0'} to /local/domain/72/device/vif/0.
[2007-03-07 07:11:17 xend 30702] DEBUG (DevController:117) DevController: writing
{'bridge': 'xenbr0', 'domain': 'fc7test2',
'handle': '0', 'uuid':
'8df737da-edfa-83e9-614b-61c7ba127165', 'script':
'/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/72/device/vif/0', 'mac': '00:16:3e:08:28:23',
'online': '1', 'frontend-id': '72'} to
/local/domain/0/backend/vif/72/0.
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] INFO (XendDomainInfo:1198) createDevice:
vbd : {'uuid': 'd04e0343-9479-2279-4b51-0b284bdd7f4c', 'driver':
'paravirtualised', 'dev': 'xvda:disk', 'uname':
'phy:/dev/sda13', 'mode': 'w', 'backend': 0}
[2007-03-07 07:11:17 xend 30702] DEBUG (DevController:115) DevController: writing
{'backend-id': '0', 'virtual-device': '51712',
'device-type': 'disk', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/72/51712'} to /local/domain/72/device/vbd/51712.
[2007-03-07 07:11:17 xend 30702] DEBUG (DevController:117) DevController: writing
{'domain': 'fc7test2', 'frontend':
'/local/domain/72/device/vbd/51712', 'uuid':
'd04e0343-9479-2279-4b51-0b284bdd7f4c', 'dev': 'xvda',
'state': '1', 'params': '/dev/sda13', 'mode':
'w', 'online': '1', 'frontend-id': '72',
'type': 'phy'} to /local/domain/0/backend/vbd/72/51712.
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:1719) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '0',
'uuid': 'ff828d32-70b2-53eb-4566-d08683974052', 'name':
'fc7test2', 'on_reboot': 'restart', 'start_time':
'1173219077.8', 'on_poweroff': 'destroy', 'on_xend_start':
'ignore', 'on_crash': 'restart', 'vcpus': '1',
'vcpu_avail': '1', 'memory': '350', 'image':
"(linux (kernel /var/run/xend/boot/boot_kernel.yBt3-v) (ramdisk
/var/run/xend/boot/boot_ramdisk.JK64t5) (args 'ro root=/dev/VolGroup00/LogVol00 rhgb
quiet'))", 'maxmem': '350'}
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:731) Storing domain
details: {'console/ring-ref': '467281', 'console/port':
'2', 'name': 'fc7test2', 'console/limit':
'1048576', 'vm': '/vm/ff828d32-70b2-53eb-4566-d08683974052',
'domid': '72', 'cpu/0/availability': 'online',
'memory/target': '358400', 'store/ring-ref': '467282',
'store/port': '1'}
[2007-03-07 07:11:17 xend 30702] DEBUG (XendDomain:428) Adding Domain: 72
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:731) Storing domain
details: {'console/ring-ref': '467281', 'console/port':
'2', 'name': 'fc7test2', 'console/limit':
'1048576', 'vm': '/vm/ff828d32-70b2-53eb-4566-d08683974052',
'domid': '72', 'cpu/0/availability': 'online',
'memory/target': '358400', 'store/ring-ref': '467282',
'store/port': '1'}
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:798)
XendDomainInfo.handleShutdownWatch
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:731) Storing domain
details: {'console/ring-ref': '467281', 'console/port':
'2', 'name': 'fc7test2', 'console/limit':
'1048576', 'vm': '/vm/ff828d32-70b2-53eb-4566-d08683974052',
'domid': '72', 'cpu/0/availability': 'online',
'memory/target': '358400', 'store/ring-ref': '467282',
'store/port': '1'}
[2007-03-07 07:11:17 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:731) Storing domain
details: {'console/ring-ref': '467281', 'console/port':
'2', 'name': 'fc7test2', 'console/limit':
'1048576', 'vm': '/vm/ff828d32-70b2-53eb-4566-d08683974052',
'domid': '72', 'cpu/0/availability': 'online',
'memory/target': '358400', 'store/ring-ref': '467282',
'store/port': '1'}
[2007-03-07 07:11:21 xend.XendDomainInfo 30702] WARNING (XendDomainInfo:950) Domain has
crashed: name=fc7test2 id=72.
[2007-03-07 07:11:21 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:731) Storing domain
details: {'console/ring-ref': '467281', 'console/port':
'2', 'name': 'fc7test2', 'console/limit':
'1048576', 'vm': '/vm/ff828d32-70b2-53eb-4566-d08683974052',
'domid': '72', 'cpu/0/availability': 'online',
'memory/target': '358400', 'store/ring-ref': '467282',
'store/port': '1'}
[2007-03-07 07:11:21 xend.XendDomainInfo 30702] ERROR (XendDomainInfo:1079) VM fc7test2
restarting too fast (4.709960 seconds since the last restart). Refusing to restart to
avoid loops.
[2007-03-07 07:11:21 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:1487)
XendDomainInfo.destroy: domid=72
[2007-03-07 07:11:21 xend.XendDomainInfo 30702] DEBUG (XendDomainInfo:1495)
XendDomainInfo.destroyDomain(72)