[root@tiger1 ~]# xm create -f /etc/xen/rhel4-060215 Using config file "/etc/xen/rhel4-060215". [xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['vm', ['name', 'rhel4-060215'], ['memory', '512'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinux-2.6.16-rc2-xenU-060215'], ['ramdisk', '/boot/initrd-2.6.16-rc2-xenU.img-060215'], ['root', '/dev/hda1 ro'], ['args', 'nomca nosmp xencons=tty0 console=tty0 root=/dev/hda1 3']]], ['device', ['vbd', ['uname', 'file:/home/takebe/rhel4.img'], ['dev', 'hda1'], ['mode', 'w']]]]) [xend.XendDomainInfo] DEBUG (XendDomainInfo:283) parseConfig: config is ['vm', ['name', 'rhel4-060215'], ['memory', '512'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinux-2.6.16-rc2-xenU-060215'], ['ramdisk', '/boot/initrd-2.6.16-rc2-xenU.img-060215'], ['root', '/dev/hda1 ro'], ['args', 'nomca nosmp xencons=tty0 console=tty0 root=/dev/hda1 3']]], ['device', ['vbd', ['uname', 'file:/home/takebe/rhel4.img'], ['dev', 'hda1'], ['mode', 'w']]]] [xend.XendDomainInfo] DEBUG (XendDomainInfo:379) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'image': ['linux', ['kernel', '/boot/vmlinux-2.6.16-rc2-xenU-060215'], ['ramdisk', '/boot/initrd-2.6.16-rc2-xenU.img-060215'], ['root', '/dev/hda1 ro'], ['args', 'nomca nosmp xencons=tty0 console=tty0 root=/dev/hda1 3']], 'on_poweroff': None, 'cpus': None, 'name': 'rhel4-060215', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 512, 'device': [('vbd', ['vbd', ['uname', 'file:/home/takebe/rhel4.img'], ['dev', 'hda1'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': None} [xend.XendDomainInfo] DEBUG (XendDomainInfo:1142) XendDomainInfo.construct: None 0 [xend.XendDomainInfo] DEBUG (XendDomainInfo:1174) XendDomainInfo.initDomain: 1 1.0 [xend] DEBUG (balloon:84) Balloon: free 1420; need 513; done. [xend] INFO (image:133) buildDomain os=linux dom=1 vcpus=1 [xend] DEBUG (image:171) dom = 1 [xend] DEBUG (image:172) image = /boot/vmlinux-2.6.16-rc2-xenU-060215 [xend] DEBUG (image:173) store_evtchn = 1 [xend] DEBUG (image:174) console_evtchn = 2 [xend] DEBUG (image:175) cmdline = root=/dev/hda1 ro nomca nosmp xencons=tty0 console=tty0 root=/dev/hda1 3 [xend] DEBUG (image:176) ramdisk = /boot/initrd-2.6.16-rc2-xenU.img-060215 [xend] DEBUG (image:177) vcpus = 1 VIRTUAL MEMORY ARRANGEMENT: Loaded kernel: 0x4000000->0x4b26f48 Init. ramdisk: 0x4b28000->0x4e31200 TOTAL: 0x4000000->0x4e34000 ENTRY ADDRESS: 0x400ff20 store_mfn: 0x200000000683d080, console_mfn: 0x200000000683d078 [xend] DEBUG (blkif:24) exception looking up device number for hda1: [Errno 2] No such file or directory: '/dev/hda1' [xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '769', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/769'} to /local/domain/1/device/vbd/769. [xend] DEBUG (DevController:105) DevController: writing {'domain': 'rhel4-060215', 'frontend': '/local/domain/1/device/vbd/769', 'dev': 'hda1', 'state': '1', 'params': '/home/takebe/rhel4.img', 'mode': 'w', 'frontend-id': '1', 'type': 'file'} to /local/domain/0/backend/vbd/1/769. [xend.XendDomainInfo] DEBUG (XendDomainInfo:667) Storing VM details: {'ssidref': '0', 'uuid': '41ee8ab8-98f8-1119-329e-64542a95d17d', 'on_reboot': 'restart', 'start_time': '1140145107.41', 'on_poweroff': 'destroy', 'name': 'rhel4-060215', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '512', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinux-2.6.16-rc2-xenU-060215) (ramdisk /boot/initrd-2.6.16-rc2-xenU.img-060215) (root '/dev/hda1 ro') (args 'nomca nosmp xencons=tty0 console=tty0 root=/dev/hda1 3'))", 'maxmem': '512'} [xend.XendDomainInfo] DEBUG (XendDomainInfo:692) Storing domain details: {'console/ring-ref': '3893', 'console/port': '2', 'name': 'rhel4-060215', 'console/limit': '1048576', 'vm': '/vm/41ee8ab8-98f8-1119-329e-64542a95d17d', 'domid': '1', 'cpu/0/availability': 'online', 'memory/target': '524288', 'store/ring-ref': '3894', 'store/port': '1'} [xend] DEBUG (DevController:132) Waiting for devices vif. [xend] DEBUG (DevController:132) Waiting for devices usb. [xend] DEBUG (DevController:132) Waiting for devices vbd. [xend] DEBUG (DevController:138) Waiting for 769. [xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/1/769/hotplug-status. [xend] ERROR (SrvBase:87) Request wait_for_devices failed. Traceback (most recent call last): File "/usr/lib/python/xen/web/SrvBase.py", line 85, in perform return op_method(op, req) File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 72, in op_wait_for_devices return self.dom.waitForDevices() File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1362, in waitForDevices self.waitForDevices_(c) File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 991, in waitForDevices_ return self.getDeviceController(deviceClass).waitForDevices() File "/usr/lib/python/xen/xend/server/DevController.py", line 134, in waitForDevices return map(self.waitForDevice, self.deviceIDs()) File "/usr/lib/python/xen/xend/server/DevController.py", line 144, in waitForDevice raise VmError("Device %s (%s) could not be connected. " VmError: Device 769 (vbd) could not be connected. Hotplug scripts not working. Error: Device 769 (vbd) could not be connected. Hotplug scripts not working.