Hello, I''m having a problem trying to run any domU. I''m using xen 3.0.4. When i create a vm with xm create, the vm gets craeted, but is never run. xm list shows the vm with no state flags, and the total cpu time the vm used so far is always 0.0. I was looking on the web for solution, but couldn''t find anything helpful. this is xm''s log after the vm creation: [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:94) XendDomainInfo.create([\047vm\047, [\047name\047, \047winXP\047], [\047memory\047, 512], [\047vcpus\047, 1], [\047on_xend_start\047, \047ignore\047], [\047on_xend_stop\047, \047ignore\047], [\047image\047, [\047hvm\047, [\047kernel\047, \047/usr/lib/xen/boot/hvmloader\047], [\047device_model\047, \047/usr/lib/xen/bin/qemu-dm\047], [\047pae\047, 1], [\047vcpus\047, 1], [\047boot\047, \047d\047], [\047fda\047, \047\047], [\047fdb\047, \047\047], [\047localtime\047, 0], [\047serial\047, \047\047], [\047stdvga\047, 0], [\047isa\047, 0], [\047nographic\047, 0], [\047soundhw\047, \047\047], [\047vnc\047, 0], [\047vncunused\047, 1], [\047sdl\047, 1], [\047display\047, \047:0\047], [\047xauthority\047, \047/root/.xauthdcgpgY\047], [\047acpi\047, 1], [\047apic\047, 1], [\047usb\047, 0], [\047usbdevice\047, \047\047], [\047keymap\047, \047\047], [\047vncpasswd\047, \047XXXXXXXX\047]]], [\047device\047, [\047vbd\047, [\047uname\047, \047file:/Data/Virtual/winXP.img\047], [\047dev\047, \047ioemu:hda\047], [\047mode\047, \047w\047]]], [\047device\047, [\047vif\047, [\047bridge\047, \047xenbr0\047], [\047type\047, \047ioemu\047]]]]) [2007-04-16 13:24:45 xend.XendConfig 4081] WARNING (XendConfig:607) Unconverted key: cpus [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 16 256 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: boot, val: d [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: fda, val: [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: fdb, val: [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: soundhw, val: [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: localtime, val: 0 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: serial, val: [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: std-vga, val: 0 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: isa, val: 0 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: vcpus, val: 1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: acpi, val: 1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: usb, val: 0 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: usbdevice, val: [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: k, val: [2007-04-16 13:24:45 xend 4081] DEBUG (balloon:127) Balloon: 539240 KiB free; need 537600; done. [2007-04-16 13:24:45 xend 4081] INFO (image:125) buildDomain os=hvm dom=16 vcpus=1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:347) domid = 16 [2007-04-16 13:24:45 xend 4081] DEBUG (image:348) image = /usr/lib/xen/boot/hvmloader [2007-04-16 13:24:45 xend 4081] DEBUG (image:349) store_evtchn = 2 [2007-04-16 13:24:45 xend 4081] DEBUG (image:350) memsize = 512 [2007-04-16 13:24:45 xend 4081] DEBUG (image:351) vcpus = 1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:352) pae = 1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:353) acpi = 1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:354) apic = 1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:521) hvm shutdown watch registered [2007-04-16 13:24:45 xend 4081] DEBUG (image:560) hvm reboot feature watch registered [2007-04-16 13:24:45 xend.XendDomainInfo 4081] INFO (XendDomainInfo:1194) createDevice: vif : {\047bridge\047: \047xenbr0\047, \047type\047: \047ioemu\047, \047uuid\047: \047d131664e-00c6-5a6e-ffdf-19153c15398e\047} [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:115) DevController: writing {\047state\047: \0471\047, \047backend-id\047: \0470\047, \047backend\047: \047/local/domain/0/backend/vif/16/0\047} to /local/domain/16/device/vif/0. [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:117) DevController: writing {\047bridge\047: \047xenbr0\047, \047domain\047: \047winXP\047, \047handle\047: \0470\047, \047uuid\047: \047d131664e-00c6-5a6e-ffdf-19153c15398e\047, \047script\047: \047/etc/xen/scripts/vif-bridge\047, \047state\047: \0471\047, \047frontend\047: \047/local/domain/16/device/vif/0\047, \047mac\047: \04700:16:3e:6d:c7:ef\047, \047online\047: \0471\047, \047frontend-id\047: \04716\047, \047type\047: \047ioemu\047} to /local/domain/0/backend/vif/16/0. [2007-04-16 13:24:45 xend.XendDomainInfo 4081] INFO (XendDomainInfo:1194) createDevice: vbd : {\047uname\047: \047file:/Data/Virtual/winXP.img\047, \047driver\047: \047ioemu\047, \047mode\047: \047w\047, \047dev\047: \047ioemu:hda\047, \047uuid\047: \047ec942e9d-dc55-b421-4263-b180338d72b1\047} [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:115) DevController: writing {\047backend-id\047: \0470\047, \047virtual-device\047: \047768\047, \047device-type\047: \047disk\047, \047state\047: \0471\047, \047backend\047: \047/local/domain/0/backend/vbd/16/768\047} to /local/domain/16/device/vbd/768. [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:117) DevController: writing {\047domain\047: \047winXP\047, \047frontend\047: \047/local/domain/16/device/vbd/768\047, \047uuid\047: \047ec942e9d-dc55-b421-4263-b180338d72b1\047, \047dev\047: \047hda\047, \047state\047: \0471\047, \047params\047: \047/Data/Virtual/winXP.img\047, \047mode\047: \047w\047, \047online\047: \0471\047, \047frontend-id\047: \04716\047, \047type\047: \047file\047} to /local/domain/0/backend/vbd/16/768. [2007-04-16 13:24:45 xend 4081] INFO (image:489) spawning device models: /usr/lib/xen/bin/qemu-dm [\047/usr/lib/xen/bin/qemu-dm\047, \047-d\047, \04716\047, \047-m\047, \047512\047, \047-boot\047, \047d\047, \047-vcpus\047, \0471\047, \047-acpi\047, \047-domain-name\047, \047winXP\047, \047-net\047, \047nic,vlan=1,macaddr=00:16:3e:72:6e:ea,model=rtl8139\047, \047-net\047, \047tap,vlan=1,bridge=xenbr0\047] [2007-04-16 13:24:45 xend 4081] INFO (image:493) device model pid: 6625 [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:1714) Storing VM details: {\047on_xend_stop\047: \047ignore\047, \047shadow_memory\047: \0475\047, \047uuid\047: \0476d7e5274-f3c2-c9c2-d9a5-dd35256cc349\047, \047name\047: \047winXP\047, \047on_reboot\047: \047restart\047, \047start_time\047: \0471176722685.94\047, \047on_poweroff\047: \047destroy\047, \047on_xend_start\047: \047ignore\047, \047on_crash\047: \047restart\047, \047xend/restart_count\047: \0470\047, \047vcpus\047: \0471\047, \047vcpu_avail\047: \0471\047, \047memory\047: \047512\047, \047image\047: \047(hvm (kernel /usr/lib/xen/boot/hvmloader) (nographic 0) (vnc 0) (sdl 1) (vncunused 1) (device_model /usr/lib/xen/bin/qemu-dm) (display :0) (xauthority /root/.xauthdcgpgY) (pae 1) (apic 1) (acpi 1) (boot d) (isa 0) (localtime 0) (usb 0) (vcpus 1))\047, \047maxmem\047: \047512\047} [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:731) Storing domain details: {\047console/port\047: \0473\047, \047name\047: \047winXP\047, \047console/limit\047: \0471048576\047, \047vm\047: \047/vm/6d7e5274-f3c2-c9c2-d9a5-dd35256cc349\047, \047domid\047: \04716\047, \047cpu/0/availability\047: \047online\047, \047memory/target\047: \047524288\047, \047store/ring-ref\047: \047131070\047, \047store/port\047: \0472\047} [2007-04-16 13:24:45 xend 4081] DEBUG (XendDomain:428) Adding Domain: 16 [2007-04-16 13:24:45 xend 4081] DEBUG (image:547) hvm_shutdown fired, shutdown reason=None [2007-04-16 13:24:45 xend 4081] DEBUG (image:579) hvm_reboot_feature fired, module status=None [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:731) Storing domain details: {\047console/port\047: \0473\047, \047name\047: \047winXP\047, \047console/limit\047: \0471048576\047, \047vm\047: \047/vm/6d7e5274-f3c2-c9c2-d9a5-dd35256cc349\047, \047domid\047: \04716\047, \047cpu/0/availability\047: \047online\047, \047memory/target\047: \047524288\047, \047store/ring-ref\047: \047131070\047, \047store/port\047: \0472\047} [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:798) XendDomainInfo.handleShutdownWatch [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:148) Waiting for devices vif. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:153) Waiting for 0. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vif/16/0/hotplug-status. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vif/16/0/hotplug-status. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:535) hotplugStatusCallback 1. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices usb. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices vbd. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:153) Waiting for 768. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vbd/16/768/hotplug-status. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vbd/16/768/hotplug-status. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:535) hotplugStatusCallback 1. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices irq. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices vkbd. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices vfb. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices pci. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices ioports. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices tap. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices vtpm. [2007-04-16 13:24:46 xend 4081] INFO (XendDomain:1020) Domain winXP (16) unpaused. thanks for any help Dalibor _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, I''m having a problem trying to run any domU. I''m using xen 3.0.4. When i create a vm with xm create, the vm gets craeted, but is never run. xm list shows the vm with no state flags, and the total cpu time the vm used so far is always 0.0. I was looking on the web for solution, but couldn''t find anything helpful. this is xm''s log after the vm creation: [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:94) XendDomainInfo.create([\047vm\047, [\047name\047, \047winXP\047], [\047memory\047, 512], [\047vcpus\047, 1], [\047on_xend_start\047, \047ignore\047], [\047on_xend_stop\047, \047ignore\047], [\047image\047, [\047hvm\047, [\047kernel\047, \047/usr/lib/xen/boot/hvmloader\047], [\047device_model\047, \047/usr/lib/xen/bin/qemu-dm\047], [\047pae\047, 1], [\047vcpus\047, 1], [\047boot\047, \047d\047], [\047fda\047, \047\047], [\047fdb\047, \047\047], [\047localtime\047, 0], [\047serial\047, \047\047], [\047stdvga\047, 0], [\047isa\047, 0], [\047nographic\047, 0], [\047soundhw\047, \047\047], [\047vnc\047, 0], [\047vncunused\047, 1], [\047sdl\047, 1], [\047display\047, \047:0\047], [\047xauthority\047, \047/root/.xauthdcgpgY\047], [\047acpi\047, 1], [\047apic\047, 1], [\047usb\047, 0], [\047usbdevice\047, \047\047], [\047keymap\047, \047\047], [\047vncpasswd\047, \047XXXXXXXX\047]]], [\047device\047, [\047vbd\047, [\047uname\047, \047file:/Data/Virtual/winXP.img\047], [\047dev\047, \047ioemu:hda\047], [\047mode\047, \047w\047]]], [\047device\047, [\047vif\047, [\047bridge\047, \047xenbr0\047], [\047type\047, \047ioemu\047]]]]) [2007-04-16 13:24:45 xend.XendConfig 4081] WARNING (XendConfig:607) Unconverted key: cpus [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 16 256 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: boot, val: d [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: fda, val: [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: fdb, val: [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: soundhw, val: [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: localtime, val: 0 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: serial, val: [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: std-vga, val: 0 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: isa, val: 0 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: vcpus, val: 1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: acpi, val: 1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: usb, val: 0 [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: usbdevice, val: [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: k, val: [2007-04-16 13:24:45 xend 4081] DEBUG (balloon:127) Balloon: 539240 KiB free; need 537600; done. [2007-04-16 13:24:45 xend 4081] INFO (image:125) buildDomain os=hvm dom=16 vcpus=1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:347) domid = 16 [2007-04-16 13:24:45 xend 4081] DEBUG (image:348) image /usr/lib/xen/boot/hvmloader [2007-04-16 13:24:45 xend 4081] DEBUG (image:349) store_evtchn = 2 [2007-04-16 13:24:45 xend 4081] DEBUG (image:350) memsize = 512 [2007-04-16 13:24:45 xend 4081] DEBUG (image:351) vcpus = 1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:352) pae = 1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:353) acpi = 1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:354) apic = 1 [2007-04-16 13:24:45 xend 4081] DEBUG (image:521) hvm shutdown watch registered [2007-04-16 13:24:45 xend 4081] DEBUG (image:560) hvm reboot feature watch registered [2007-04-16 13:24:45 xend.XendDomainInfo 4081] INFO (XendDomainInfo:1194) createDevice: vif : {\047bridge\047: \047xenbr0\047, \047type\047: \047ioemu\047, \047uuid\047: \047d131664e-00c6-5a6e-ffdf-19153c15398e\047} [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:115) DevController: writing {\047state\047: \0471\047, \047backend-id\047: \0470\047, \047backend\047: \047/local/domain/0/backend/vif/16/0\047} to /local/domain/16/device/vif/0. [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:117) DevController: writing {\047bridge\047: \047xenbr0\047, \047domain\047: \047winXP\047, \047handle\047: \0470\047, \047uuid\047: \047d131664e-00c6-5a6e-ffdf-19153c15398e\047, \047script\047: \047/etc/xen/scripts/vif-bridge\047, \047state\047: \0471\047, \047frontend\047: \047/local/domain/16/device/vif/0\047, \047mac\047: \04700:16:3e:6d:c7:ef\047, \047online\047: \0471\047, \047frontend-id\047: \04716\047, \047type\047: \047ioemu\047} to /local/domain/0/backend/vif/16/0. [2007-04-16 13:24:45 xend.XendDomainInfo 4081] INFO (XendDomainInfo:1194) createDevice: vbd : {\047uname\047: \047file:/Data/Virtual/winXP.img\047, \047driver\047: \047ioemu\047, \047mode\047: \047w\047, \047dev\047: \047ioemu:hda\047, \047uuid\047: \047ec942e9d-dc55-b421-4263-b180338d72b1\047} [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:115) DevController: writing {\047backend-id\047: \0470\047, \047virtual-device\047: \047768\047, \047device-type\047: \047disk\047, \047state\047: \0471\047, \047backend\047: \047/local/domain/0/backend/vbd/16/768\047} to /local/domain/16/device/vbd/768. [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:117) DevController: writing {\047domain\047: \047winXP\047, \047frontend\047: \047/local/domain/16/device/vbd/768\047, \047uuid\047: \047ec942e9d-dc55-b421-4263-b180338d72b1\047, \047dev\047: \047hda\047, \047state\047: \0471\047, \047params\047: \047/Data/Virtual/winXP.img\047, \047mode\047: \047w\047, \047online\047: \0471\047, \047frontend-id\047: \04716\047, \047type\047: \047file\047} to /local/domain/0/backend/vbd/16/768. [2007-04-16 13:24:45 xend 4081] INFO (image:489) spawning device models: /usr/lib/xen/bin/qemu-dm [\047/usr/lib/xen/bin/qemu-dm\047, \047-d\047, \04716\047, \047-m\047, \047512\047, \047-boot\047, \047d\047, \047-vcpus\047, \0471\047, \047-acpi\047, \047-domain-name\047, \047winXP\047, \047-net\047, \047nic,vlan=1,macaddr=00:16:3e:72:6e:ea,model=rtl8139\047, \047-net\047, \047tap,vlan=1,bridge=xenbr0\047] [2007-04-16 13:24:45 xend 4081] INFO (image:493) device model pid: 6625 [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:1714) Storing VM details: {\047on_xend_stop\047: \047ignore\047, \047shadow_memory\047: \0475\047, \047uuid\047: \0476d7e5274-f3c2-c9c2-d9a5-dd35256cc349\047, \047name\047: \047winXP\047, \047on_reboot\047: \047restart\047, \047start_time\047: \0471176722685.94\047, \047on_poweroff\047: \047destroy\047, \047on_xend_start\047: \047ignore\047, \047on_crash\047: \047restart\047, \047xend/restart_count\047: \0470\047, \047vcpus\047: \0471\047, \047vcpu_avail\047: \0471\047, \047memory\047: \047512\047, \047image\047: \047(hvm (kernel /usr/lib/xen/boot/hvmloader) (nographic 0) (vnc 0) (sdl 1) (vncunused 1) (device_model /usr/lib/xen/bin/qemu-dm) (display :0) (xauthority /root/.xauthdcgpgY) (pae 1) (apic 1) (acpi 1) (boot d) (isa 0) (localtime 0) (usb 0) (vcpus 1))\047, \047maxmem\047: \047512\047} [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:731) Storing domain details: {\047console/port\047: \0473\047, \047name\047: \047winXP\047, \047console/limit\047: \0471048576\047, \047vm\047: \047/vm/6d7e5274-f3c2-c9c2-d9a5-dd35256cc349\047, \047domid\047: \04716\047, \047cpu/0/availability\047: \047online\047, \047memory/target\047: \047524288\047, \047store/ring-ref\047: \047131070\047, \047store/port\047: \0472\047} [2007-04-16 13:24:45 xend 4081] DEBUG (XendDomain:428) Adding Domain: 16 [2007-04-16 13:24:45 xend 4081] DEBUG (image:547) hvm_shutdown fired, shutdown reason=None [2007-04-16 13:24:45 xend 4081] DEBUG (image:579) hvm_reboot_feature fired, module status=None [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:731) Storing domain details: {\047console/port\047: \0473\047, \047name\047: \047winXP\047, \047console/limit\047: \0471048576\047, \047vm\047: \047/vm/6d7e5274-f3c2-c9c2-d9a5-dd35256cc349\047, \047domid\047: \04716\047, \047cpu/0/availability\047: \047online\047, \047memory/target\047: \047524288\047, \047store/ring-ref\047: \047131070\047, \047store/port\047: \0472\047} [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG (XendDomainInfo:798) XendDomainInfo.handleShutdownWatch [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:148) Waiting for devices vif. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:153) Waiting for 0. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vif/16/0/hotplug-status. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vif/16/0/hotplug-status. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:535) hotplugStatusCallback 1. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices usb. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices vbd. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:153) Waiting for 768. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vbd/16/768/hotplug-status. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vbd/16/768/hotplug-status. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:535) hotplugStatusCallback 1. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices irq. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices vkbd. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices vfb. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices pci. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices ioports. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices tap. [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for devices vtpm. [2007-04-16 13:24:46 xend 4081] INFO (XendDomain:1020) Domain winXP (16) unpaused. thanks for any help Dalibor _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of freeagle > Sent: 18 April 2007 16:43 > To: xen-users@lists.xensource.com > Subject: [Xen-users] VM''s dont start > > Hello, > > I''m having a problem trying to run any domU. I''m using xen > 3.0.4. When i > create a vm with xm create, the vm gets craeted, but is never run. xm > list shows the vm with no state flags, and the total cpu time the vm > used so far is always 0.0. I was looking on the web for solution, but > couldn''t find anything helpful. this is xm''s log after the vm > creation:You may want to play around with the settings of: apic, acpi and pae Also, if you post a short version[1] of your config file, so that we can see if anything else looks "funny" there. [1] run it through "grep -v ^#|grep -v ^$" to remove empty lines and comment-lines that we don''t really need. -- Mats> > [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG > (XendDomainInfo:94) > XendDomainInfo.create([\047vm\047, [\047name\047, \047winXP\047], > [\047memory\047, 512], [\047vcpus\047, 1], [\047on_xend_start\047, > \047ignore\047], [\047on_xend_stop\047, \047ignore\047], > [\047image\047, > [\047hvm\047, [\047kernel\047, \047/usr/lib/xen/boot/hvmloader\047], > [\047device_model\047, \047/usr/lib/xen/bin/qemu-dm\047], > [\047pae\047, > 1], [\047vcpus\047, 1], [\047boot\047, \047d\047], [\047fda\047, > \047\047], [\047fdb\047, \047\047], [\047localtime\047, 0], > [\047serial\047, \047\047], [\047stdvga\047, 0], [\047isa\047, 0], > [\047nographic\047, 0], [\047soundhw\047, \047\047], [\047vnc\047, 0], > [\047vncunused\047, 1], [\047sdl\047, 1], [\047display\047, > \047:0\047], > [\047xauthority\047, \047/root/.xauthdcgpgY\047], [\047acpi\047, 1], > [\047apic\047, 1], [\047usb\047, 0], [\047usbdevice\047, \047\047], > [\047keymap\047, \047\047], [\047vncpasswd\047, \047XXXXXXXX\047]]], > [\047device\047, [\047vbd\047, [\047uname\047, > \047file:/Data/Virtual/winXP.img\047], [\047dev\047, > \047ioemu:hda\047], > [\047mode\047, \047w\047]]], [\047device\047, [\047vif\047, > [\047bridge\047, \047xenbr0\047], [\047type\047, \047ioemu\047]]]]) > [2007-04-16 13:24:45 xend.XendConfig 4081] WARNING (XendConfig:607) > Unconverted key: cpus > [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG > (XendDomainInfo:1284) XendDomainInfo.constructDomain > [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG > (XendDomainInfo:1330) XendDomainInfo.initDomain: 16 256 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: boot, val: d > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: fda, val: > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: fdb, val: > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: soundhw, val: > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: > localtime, val: 0 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: serial, val: > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: > std-vga, val: 0 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: isa, val: 0 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: vcpus, val: 1 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: acpi, val: 1 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: usb, val: 0 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: > usbdevice, val: > [2007-04-16 13:24:45 xend 4081] DEBUG (image:397) args: k, val: > [2007-04-16 13:24:45 xend 4081] DEBUG (balloon:127) Balloon: > 539240 KiB > free; need 537600; done. > [2007-04-16 13:24:45 xend 4081] INFO (image:125) buildDomain os=hvm > dom=16 vcpus=1 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:347) domid = 16 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:348) image > /usr/lib/xen/boot/hvmloader > [2007-04-16 13:24:45 xend 4081] DEBUG (image:349) store_evtchn = 2 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:350) memsize = 512 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:351) vcpus = 1 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:352) pae = 1 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:353) acpi = 1 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:354) apic = 1 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:521) hvm shutdown watch > registered > [2007-04-16 13:24:45 xend 4081] DEBUG (image:560) hvm reboot feature > watch registered > [2007-04-16 13:24:45 xend.XendDomainInfo 4081] INFO > (XendDomainInfo:1194) createDevice: vif : {\047bridge\047: > \047xenbr0\047, \047type\047: \047ioemu\047, \047uuid\047: > \047d131664e-00c6-5a6e-ffdf-19153c15398e\047} > [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:115) > DevController: > writing {\047state\047: \0471\047, \047backend-id\047: \0470\047, > \047backend\047: \047/local/domain/0/backend/vif/16/0\047} to > /local/domain/16/device/vif/0. > [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:117) > DevController: > writing {\047bridge\047: \047xenbr0\047, \047domain\047: > \047winXP\047, > \047handle\047: \0470\047, \047uuid\047: > \047d131664e-00c6-5a6e-ffdf-19153c15398e\047, \047script\047: > \047/etc/xen/scripts/vif-bridge\047, \047state\047: \0471\047, > \047frontend\047: \047/local/domain/16/device/vif/0\047, \047mac\047: > \04700:16:3e:6d:c7:ef\047, \047online\047: \0471\047, > \047frontend-id\047: \04716\047, \047type\047: \047ioemu\047} to > /local/domain/0/backend/vif/16/0. > [2007-04-16 13:24:45 xend.XendDomainInfo 4081] INFO > (XendDomainInfo:1194) createDevice: vbd : {\047uname\047: > \047file:/Data/Virtual/winXP.img\047, \047driver\047: \047ioemu\047, > \047mode\047: \047w\047, \047dev\047: \047ioemu:hda\047, \047uuid\047: > \047ec942e9d-dc55-b421-4263-b180338d72b1\047} > [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:115) > DevController: > writing {\047backend-id\047: \0470\047, \047virtual-device\047: > \047768\047, \047device-type\047: \047disk\047, \047state\047: > \0471\047, \047backend\047: > \047/local/domain/0/backend/vbd/16/768\047} > to /local/domain/16/device/vbd/768. > [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:117) > DevController: > writing {\047domain\047: \047winXP\047, \047frontend\047: > \047/local/domain/16/device/vbd/768\047, \047uuid\047: > \047ec942e9d-dc55-b421-4263-b180338d72b1\047, \047dev\047: > \047hda\047, > \047state\047: \0471\047, \047params\047: > \047/Data/Virtual/winXP.img\047, \047mode\047: \047w\047, > \047online\047: \0471\047, \047frontend-id\047: \04716\047, > \047type\047: \047file\047} to /local/domain/0/backend/vbd/16/768. > [2007-04-16 13:24:45 xend 4081] INFO (image:489) spawning > device models: > /usr/lib/xen/bin/qemu-dm [\047/usr/lib/xen/bin/qemu-dm\047, > \047-d\047, > \04716\047, \047-m\047, \047512\047, \047-boot\047, \047d\047, > \047-vcpus\047, \0471\047, \047-acpi\047, \047-domain-name\047, > \047winXP\047, \047-net\047, > \047nic,vlan=1,macaddr=00:16:3e:72:6e:ea,model=rtl8139\047, > \047-net\047, \047tap,vlan=1,bridge=xenbr0\047] > [2007-04-16 13:24:45 xend 4081] INFO (image:493) device model > pid: 6625 > [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG > (XendDomainInfo:1714) Storing VM details: {\047on_xend_stop\047: > \047ignore\047, \047shadow_memory\047: \0475\047, \047uuid\047: > \0476d7e5274-f3c2-c9c2-d9a5-dd35256cc349\047, \047name\047: > \047winXP\047, \047on_reboot\047: \047restart\047, \047start_time\047: > \0471176722685.94\047, \047on_poweroff\047: \047destroy\047, > \047on_xend_start\047: \047ignore\047, \047on_crash\047: > \047restart\047, \047xend/restart_count\047: \0470\047, \047vcpus\047: > \0471\047, \047vcpu_avail\047: \0471\047, \047memory\047: \047512\047, > \047image\047: \047(hvm (kernel /usr/lib/xen/boot/hvmloader) > (nographic > 0) (vnc 0) (sdl 1) (vncunused 1) (device_model > /usr/lib/xen/bin/qemu-dm) > (display :0) (xauthority /root/.xauthdcgpgY) (pae 1) (apic 1) (acpi 1) > (boot d) (isa 0) (localtime 0) (usb 0) (vcpus 1))\047, \047maxmem\047: > \047512\047} > [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG > (XendDomainInfo:731) Storing domain details: {\047console/port\047: > \0473\047, \047name\047: \047winXP\047, \047console/limit\047: > \0471048576\047, \047vm\047: > \047/vm/6d7e5274-f3c2-c9c2-d9a5-dd35256cc349\047, \047domid\047: > \04716\047, \047cpu/0/availability\047: \047online\047, > \047memory/target\047: \047524288\047, \047store/ring-ref\047: > \047131070\047, \047store/port\047: \0472\047} > [2007-04-16 13:24:45 xend 4081] DEBUG (XendDomain:428) Adding > Domain: 16 > [2007-04-16 13:24:45 xend 4081] DEBUG (image:547) hvm_shutdown fired, > shutdown reason=None > [2007-04-16 13:24:45 xend 4081] DEBUG (image:579) hvm_reboot_feature > fired, module status=None > [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG > (XendDomainInfo:731) Storing domain details: {\047console/port\047: > \0473\047, \047name\047: \047winXP\047, \047console/limit\047: > \0471048576\047, \047vm\047: > \047/vm/6d7e5274-f3c2-c9c2-d9a5-dd35256cc349\047, \047domid\047: > \04716\047, \047cpu/0/availability\047: \047online\047, > \047memory/target\047: \047524288\047, \047store/ring-ref\047: > \047131070\047, \047store/port\047: \0472\047} > [2007-04-16 13:24:45 xend.XendDomainInfo 4081] DEBUG > (XendDomainInfo:798) XendDomainInfo.handleShutdownWatch > [2007-04-16 13:24:45 xend 4081] DEBUG (DevController:148) Waiting for > devices vif. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:153) > Waiting for 0. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:521) > hotplugStatusCallback /local/domain/0/backend/vif/16/0/hotplug-status. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:521) > hotplugStatusCallback /local/domain/0/backend/vif/16/0/hotplug-status. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:535) > hotplugStatusCallback 1. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for > devices usb. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for > devices vbd. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:153) > Waiting for 768. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:521) > hotplugStatusCallback > /local/domain/0/backend/vbd/16/768/hotplug-status. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:521) > hotplugStatusCallback > /local/domain/0/backend/vbd/16/768/hotplug-status. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:535) > hotplugStatusCallback 1. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for > devices irq. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for > devices vkbd. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for > devices vfb. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for > devices pci. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for > devices ioports. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for > devices tap. > [2007-04-16 13:24:46 xend 4081] DEBUG (DevController:148) Waiting for > devices vtpm. > [2007-04-16 13:24:46 xend 4081] INFO (XendDomain:1020) Domain > winXP (16) > unpaused. > > > thanks for any help > > Dalibor > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 4/18/07, freeagle <dalibor.free@gmail.com> wrote:> Hello, > > I''m having a problem trying to run any domU. I''m using xen 3.0.4. When i > create a vm with xm create, the vm gets craeted, but is never run. xm > list shows the vm with no state flags, and the total cpu time the vm > used so far is always 0.0. I was looking on the web for solution, but > couldn''t find anything helpful. this is xm''s log after the vm creation:How does the xend-debug log look like? (I never could get any useful information for findeing usage problems from xend.log, I think it''s completely useless) Anything interesting in the other logfiles? Can you show us your domU config (without comments, please) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang wrote:> On 4/18/07, freeagle <dalibor.free@gmail.com> wrote: >> Hello, >> >> I''m having a problem trying to run any domU. I''m using xen 3.0.4. When i >> create a vm with xm create, the vm gets craeted, but is never run. xm >> list shows the vm with no state flags, and the total cpu time the vm >> used so far is always 0.0. I was looking on the web for solution, but >> couldn''t find anything helpful. this is xm''s log after the vm creation: > > How does the xend-debug log look like? > (I never could get any useful information for findeing usage problems > from xend.log, I think it''s completely useless) > Anything interesting in the other logfiles? > > Can you show us your domU config (without comments, please) >My config: (this is my whole config, i did not just copy/paste example.hvm) # -*- mode: python; -*- # ------------------------------- # config kernel = "/usr/lib/xen/boot/hvmloader" builder = ''hvm'' memory = 512 name = "winXP" vif = [ ''type=ioemu,bridge=xenbr0''] disk = [ ''file:/Data/Virtual/winXP.img,ioemu:hda,w'' ] device_model = ''/usr/lib/xen/bin/qemu-dm'' cdrom = "/Data/Install/Software/Windows/WinXP/en_winxp_pro_with_sp2.iso" boot = "d" sdl=1 vnc=0 vncviewer=0 ne2000=0 xend-debug.log: Xend started at Sun Apr 15 02:18:33 2007. Nothing to flush. Nothing to flush. Xend started at Sun Apr 15 12:59:07 2007. Nothing to flush. Nothing to flush. Xend started at Sun Apr 15 14:02:46 2007. Xend started at Sun Apr 15 14:47:19 2007. Nothing to flush. Nothing to flush. Xend started at Sun Apr 15 15:20:51 2007. Nothing to flush. Nothing to flush. Xend started at Sun Apr 15 17:04:24 2007. Nothing to flush. Nothing to flush. Xend started at Mon Apr 16 12:27:12 2007. Nothing to flush. Nothing to flush. Xend started at Mon Apr 16 12:31:07 2007. Nothing to flush. Nothing to flush. cat: /etc/xen/vtpm.db: No such file or directory Xend started at Wed Apr 18 20:16:41 2007. Nothing to flush. Nothing to flush. qemu-dm log: domid: 1 qemu: the number of cpus is 1 warning: could not open /dev/net/tun: no virtual network emulation Could not initialize device ''tap'' Dalibor _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users