[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Windows Guest not loading up
Any inputs please ? sath wrote: > > I am trying to create a Windows HVM guest using : xm create > 1.conf.original > The windows HVM guest goes to P state . > VMHS-1 ~ # xm list > Name ID Mem VCPUs State > Time(s) > Domain-0 0 3613 1 r----- > 15.9 > winxp01 2 256 1 --p--- > 0.0 > > The logs are : > VMHS-1 ~ # xm log > [2009-09-25 16:20:29 5602] INFO (SrvDaemon:331) Xend Daemon started > [2009-09-25 16:20:29 5602] INFO (SrvDaemon:335) Xend changeset: > unavailable. > [2009-09-25 16:20:29 5602] INFO (XendNetwork:114) Not recreating missing > unmanaged network pbr0 > [2009-09-25 16:20:29 5602] INFO (XendNetwork:114) Not recreating missing > unmanaged network eth0 > [2009-09-25 16:20:29 5602] DEBUG (XendDomainInfo:137) > XendDomainInfo.recreate({\047max_vcpu_id\047: 1, \047cpu_time\047: > 15003079806L, \047ssidref\047: 0, \047hvm\047: 0, \047shutdown_reason\047: > 0, \047dying\047: 0, \047online_vcpus\047: 1, \047domid\047: 0, > \047paused\047: 0, \047crashed\047: 0, \047running\047: 1, > \047maxmem_kb\047: 17179869180L, \047shutdown\047: 0, \047mem_kb\047: > 3699712L, \047handle\047: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, > 0], \047blocked\047: 0, \047name\047: \047Domain-0\047}) > [2009-09-25 16:20:29 5602] INFO (XendDomainInfo:154) Recreating domain 0, > UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0 > [2009-09-25 16:20:29 5602] DEBUG (XendDomain:449) Adding Domain: 0 > [2009-09-25 16:20:29 5602] DEBUG (XendDomain:383) number of vcpus to use > is 0 > [2009-09-25 16:20:29 5602] WARNING (XendAPI:684) API call: VBD.set_device > not found > [2009-09-25 16:20:29 5602] WARNING (XendAPI:684) API call: VBD.set_type > not found > [2009-09-25 16:20:29 5602] WARNING (XendAPI:684) API call: > session.get_all_records not found > [2009-09-25 16:20:29 5602] WARNING (XendAPI:684) API call: > event.get_record not found > [2009-09-25 16:20:29 5602] WARNING (XendAPI:684) API call: event.get_all > not found > [2009-09-25 16:20:29 5602] WARNING (XendAPI:684) API call: > VM.get_auto_power_on not found > [2009-09-25 16:20:29 5602] WARNING (XendAPI:684) API call: > VM.set_auto_power_on not found > [2009-09-25 16:20:29 5602] WARNING (XendAPI:684) API call: VIF.get_network > not found > [2009-09-25 16:20:29 5602] WARNING (XendAPI:684) API call: VIF.set_device > not found > [2009-09-25 16:20:29 5602] WARNING (XendAPI:684) API call: VIF.set_MAC not > found > [2009-09-25 16:20:29 5602] WARNING (XendAPI:684) API call: VIF.set_MTU not > found > [2009-09-25 16:20:29 5602] WARNING (XendAPI:684) API call: debug.get_all > not found > [2009-09-25 16:20:29 5602] INFO (XMLRPCServer:156) Opening Unix domain > socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has > been disabled for this server. > [2009-09-25 16:20:29 5602] DEBUG (XendDomainInfo:1443) > XendDomainInfo.handleShutdownWatch > [2009-09-25 16:20:29 5602] INFO (XMLRPCServer:156) Opening Unix domain > socket XML-RPC server on /var/run/xend/xmlrpc.sock. > [2009-09-25 16:20:36 5602] DEBUG (XendDomainInfo:89) > XendDomainInfo.create([\047vm\047, [\047name\047, \047winxp01\047], > [\047memory\047, \047256\047], [\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], [\047timer_mode\047, 0], > [\047localtime\047, 0], [\047serial\047, \047\047], [\047stdvga\047, 0], > [\047isa\047, 0], [\047nographic\047, 0], [\047soundhw\047, \047\047], > [\047vnc\047, 1], [\047vncdisplay\047, 1], [\047vncunused\047, 1], > [\047sdl\047, 0], [\047xauthority\047, \047/root/.Xauthority\047], > [\047rtc_timeoffset\047, \0470\047], [\047monitor\047, 0], [\047acpi\047, > 1], [\047apic\047, 1], [\047usb\047, 0], [\047usbdevice\047, \047\047], > [\047keymap\047, \047\047], [\047pci\047, []], [\047hpet\047, 0], > [\047guest_os_type\047, \047default\047], [\047hap\047, 1], > [\047cpuid\047, []], [\047cpuid_check\047, []]]], [\047device\047, > [\047tap\047, [\047uname\047, \047tap:aio:/home/vm/1/dsk.img\047], > [\047dev\047, \047ioemu:hda\047], [\047mode\047, \047w\047]]], > [\047device\047, [\047tap\047, [\047uname\047, > \047tap:aio:/home/vm/1/xp_sp2.iso\047], [\047dev\047, > \047ioemu:hdc:cdrom\047], [\047mode\047, \047r\047]]]]) > [2009-09-25 16:20:36 5602] DEBUG (XendDomainInfo:2036) > XendDomainInfo.constructDomain > [2009-09-25 16:20:36 5602] DEBUG (balloon:132) Balloon: 276352 KiB free; > need 2048; done. > [2009-09-25 16:20:36 5602] DEBUG (XendDomain:449) Adding Domain: 2 > [2009-09-25 16:20:36 5602] DEBUG (XendDomainInfo:2142) > XendDomainInfo.initDomain: 2 256 > [2009-09-25 16:20:36 5602] DEBUG (image:302) No VNC passwd configured for > vfb access > [2009-09-25 16:20:36 5602] DEBUG (image:743) args: boot, val: d > [2009-09-25 16:20:36 5602] DEBUG (image:743) args: fda, val: None > [2009-09-25 16:20:36 5602] DEBUG (image:743) args: fdb, val: None > [2009-09-25 16:20:36 5602] DEBUG (image:743) args: soundhw, val: None > [2009-09-25 16:20:36 5602] DEBUG (image:743) args: localtime, val: 0 > [2009-09-25 16:20:36 5602] DEBUG (image:743) args: serial, val: None > [2009-09-25 16:20:36 5602] DEBUG (image:743) args: std-vga, val: 0 > [2009-09-25 16:20:36 5602] DEBUG (image:743) args: isa, val: 0 > [2009-09-25 16:20:36 5602] DEBUG (image:743) args: acpi, val: 1 > [2009-09-25 16:20:36 5602] DEBUG (image:743) args: usb, val: 0 > [2009-09-25 16:20:36 5602] DEBUG (image:743) args: usbdevice, val: None > [2009-09-25 16:20:36 5602] DEBUG (XendDomainInfo:2223) > _initDomain:shadow_memory=0x0, memory_static_max=0x10000000, > memory_static_min=0x0. > [2009-09-25 16:20:36 5602] DEBUG (balloon:132) Balloon: 275060 KiB free; > need 274432; done. > [2009-09-25 16:20:36 5602] INFO (image:166) buildDomain os=hvm dom=2 > vcpus=1 > [2009-09-25 16:20:36 5602] DEBUG (image:795) domid = 2 > [2009-09-25 16:20:36 5602] DEBUG (image:796) image = > /usr/lib/xen/boot/hvmloader > [2009-09-25 16:20:36 5602] DEBUG (image:797) store_evtchn = 2 > [2009-09-25 16:20:36 5602] DEBUG (image:798) memsize = 256 > [2009-09-25 16:20:36 5602] DEBUG (image:799) vcpus = 1 > [2009-09-25 16:20:36 5602] DEBUG (image:800) acpi = 1 > [2009-09-25 16:20:36 5602] DEBUG (image:801) apic = 1 > [2009-09-25 16:20:36 5602] INFO (XendDomainInfo:1900) createDevice: vfb : > {\047vncunused\047: 1, \047other_config\047: {\047vncunused\047: 1, > \047type\047: \047vnc\047, \047vncdisplay\047: 1}, \047type\047: > \047vnc\047, \047vncdisplay\047: 1, \047uuid\047: > \0472ba32f41-5fda-ff89-8443-d4de45dc209d\047} > [2009-09-25 16:20:36 5602] DEBUG (DevController:122) DevController: > writing {\047state\047: \0471\047, \047backend-id\047: \0470\047, > \047backend\047: \047/local/domain/0/backend/vfb/2/0\047} to > /local/domain/2/device/vfb/0. > [2009-09-25 16:20:36 5602] DEBUG (DevController:124) DevController: > writing {\047vncunused\047: \0471\047, \047domain\047: \047winxp01\047, > \047frontend\047: \047/local/domain/2/device/vfb/0\047, \047uuid\047: > \0472ba32f41-5fda-ff89-8443-d4de45dc209d\047, \047vncdisplay\047: > \0471\047, \047state\047: \0471\047, \047online\047: \0471\047, > \047frontend-id\047: \0472\047, \047type\047: \047vnc\047} to > /local/domain/0/backend/vfb/2/0. > [2009-09-25 16:20:36 5602] INFO (XendDomainInfo:1900) createDevice: tap : > {\047bootable\047: 1, \047uname\047: \047tap:aio:/home/vm/1/dsk.img\047, > \047mode\047: \047w\047, \047dev\047: \047ioemu:hda\047, \047uuid\047: > \047aa24156a-3340-0faf-0c5a-42e935fc7a86\047} > [2009-09-25 16:20:36 5602] DEBUG (DevController:122) 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/tap/2/768\047} to > /local/domain/2/device/vbd/768. > [2009-09-25 16:20:36 5602] DEBUG (DevController:124) DevController: > writing {\047domain\047: \047winxp01\047, \047frontend\047: > \047/local/domain/2/device/vbd/768\047, \047uuid\047: > \047aa24156a-3340-0faf-0c5a-42e935fc7a86\047, \047dev\047: \047hda\047, > \047state\047: \0471\047, \047params\047: \047aio:/home/vm/1/dsk.img\047, > \047mode\047: \047w\047, \047online\047: \0471\047, \047frontend-id\047: > \0472\047, \047type\047: \047tap\047} to > /local/domain/0/backend/tap/2/768. > [2009-09-25 16:20:36 5602] INFO (XendDomainInfo:1900) createDevice: tap : > {\047bootable\047: 0, \047uname\047: > \047tap:aio:/home/vm/1/xp_sp2.iso\047, \047mode\047: \047r\047, > \047dev\047: \047ioemu:hdc:cdrom\047, \047uuid\047: > \0474ca97f8b-ee26-fd79-70ce-3e7a9a3901fc\047} > [2009-09-25 16:20:36 5602] DEBUG (DevController:122) DevController: > writing {\047backend-id\047: \0470\047, \047virtual-device\047: > \0475632\047, \047device-type\047: \047cdrom\047, \047state\047: > \0471\047, \047backend\047: \047/local/domain/0/backend/tap/2/5632\047} to > /local/domain/2/device/vbd/5632. > [2009-09-25 16:20:36 5602] DEBUG (DevController:124) DevController: > writing {\047domain\047: \047winxp01\047, \047frontend\047: > \047/local/domain/2/device/vbd/5632\047, \047uuid\047: > \0474ca97f8b-ee26-fd79-70ce-3e7a9a3901fc\047, \047dev\047: \047hdc\047, > \047state\047: \0471\047, \047params\047: > \047aio:/home/vm/1/xp_sp2.iso\047, \047mode\047: \047r\047, > \047online\047: \0471\047, \047frontend-id\047: \0472\047, \047type\047: > \047tap\047} to /local/domain/0/backend/tap/2/5632. > [2009-09-25 16:20:36 5602] INFO (image:375) spawning device models: > /usr/lib/xen/bin/qemu-dm [\047/usr/lib/xen/bin/qemu-dm\047, \047-d\047, > \0472\047, \047-domain-name\047, \047winxp01\047, \047-vnc\047, > \0470.0.0.0:1\047, \047-vncunused\047, \047-vcpus\047, \0471\047, > \047-boot\047, \047d\047, \047-acpi\047, \047-net\047, \047none\047, > \047-M\047, \047xenfv\047] > [2009-09-25 16:20:36 5602] INFO (image:422) device model pid: 5626 > [2009-09-25 16:20:36 5602] DEBUG (XendDomainInfo:2731) Storing VM details: > {\047on_xend_stop\047: \047ignore\047, \047shadow_memory\047: \0473\047, > \047uuid\047: \04735d1439f-895e-5d99-b7e6-50356cb666e3\047, > \047on_reboot\047: \047restart\047, \047start_time\047: > \0471253913636.48\047, \047on_poweroff\047: \047destroy\047, > \047bootloader_args\047: \047\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, > \047bootloader\047: \047\047, \047image\047: \047(hvm (kernel ) (hpet 0) > (stdvga 0) (loader /usr/lib/xen/boot/hvmloader) (vncunused 1) (boot d) > (rtc_timeoffset 0) (pci ()) (pae 1) (hap 1) (acpi 1) (localtime 0) > (timer_mode 0) (vnc 1) (nographic 0) (guest_os_type default) (vncdisplay > 1) (apic 1) (sdl 0) (monitor 0) (device_model /usr/lib/xen/bin/qemu-dm) > (usb 0) (xauthority /root/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL > 1)))\047, \047name\047: \047winxp01\047} > [2009-09-25 16:20:36 5602] DEBUG (XendDomainInfo:1359) Storing domain > details: {\047console/port\047: \0473\047, \047name\047: \047winxp01\047, > \047console/limit\047: \0471048576\047, \047store/port\047: \0472\047, > \047vm\047: \047/vm/35d1439f-895e-5d99-b7e6-50356cb666e3\047, > \047domid\047: \0472\047, \047image/suspend-cancel\047: \0471\047, > \047cpu/0/availability\047: \047online\047, \047memory/target\047: > \047262144\047, \047control/platform-feature-multiprocessor-suspend\047: > \0471\047, \047store/ring-ref\047: \04765533\047, \047console/type\047: > \047ioemu\047} > [2009-09-25 16:20:36 5602] DEBUG (DevController:122) DevController: > writing {\047state\047: \0471\047, \047backend-id\047: \0470\047, > \047backend\047: \047/local/domain/0/backend/console/2/0\047} to > /local/domain/2/device/console/0. > [2009-09-25 16:20:36 5602] DEBUG (DevController:124) DevController: > writing {\047domain\047: \047winxp01\047, \047frontend\047: > \047/local/domain/2/device/console/0\047, \047uuid\047: > \047b8493ef1-61d6-3d82-2e6f-cf8abb4c4ad1\047, \047frontend-id\047: > \0472\047, \047state\047: \0471\047, \047location\047: \0473\047, > \047online\047: \0471\047, \047protocol\047: \047vt100\047} to > /local/domain/0/backend/console/2/0. > [2009-09-25 16:20:36 5602] DEBUG (XendDomainInfo:1443) > XendDomainInfo.handleShutdownWatch > [2009-09-25 16:20:36 5602] DEBUG (DevController:166) Waiting for devices > vif. > [2009-09-25 16:20:36 5602] DEBUG (DevController:166) Waiting for devices > vscsi. > [2009-09-25 16:20:36 5602] DEBUG (DevController:166) Waiting for devices > vbd. > [2009-09-25 16:20:36 5602] DEBUG (DevController:166) Waiting for devices > irq. > [2009-09-25 16:20:36 5602] DEBUG (DevController:166) Waiting for devices > vkbd. > [2009-09-25 16:20:36 5602] DEBUG (DevController:166) Waiting for devices > vfb. > [2009-09-25 16:20:36 5602] DEBUG (DevController:166) Waiting for devices > console. > [2009-09-25 16:20:36 5602] DEBUG (DevController:171) Waiting for 0. > [2009-09-25 16:20:36 5602] DEBUG (DevController:166) Waiting for devices > pci. > [2009-09-25 16:20:36 5602] DEBUG (DevController:166) Waiting for devices > ioports. > [2009-09-25 16:20:36 5602] DEBUG (DevController:166) Waiting for devices > tap. > [2009-09-25 16:20:36 5602] DEBUG (DevController:171) Waiting for 768. > [2009-09-25 16:20:36 5602] DEBUG (DevController:656) hotplugStatusCallback > /local/domain/0/backend/tap/2/768/hotplug-status. > [2009-09-25 16:20:36 5602] INFO (image:511) waiting for sentinel_fifo > ----> Pauses here for few minutes. > > The following error is then thrown on the command line > Error: Device 768 (tap) could not be connected. Hotplug scripts not > working. > > > The corresponding logs : > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:2402) > XendDomainInfo.destroy: domid=2 > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:1939) Destroying device > model > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:1946) Releasing devices > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:1959) Removing vbd/768 > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:910) > XendDomainInfo.destroyDevice: deviceClass = None, device = vbd/768 > [2009-09-25 16:22:16 5602] ERROR (XendDomainInfo:1966) Device release > failed: winxp01; None; vbd/768 > Traceback (most recent call last): > File "usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", > line 1960, in _releaseDevices > self.destroyDevice(true_devclass, dev, False); > File "usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", > line 924, in destroyDevice > rc = self.getDeviceController(deviceClass).destroyDevice(devid, force) > File "usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", > line 1981, in getDeviceController > raise XendError("Unknown device type: %s" % name) > XendError: Unknown device type: None > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:1959) Removing vbd/5632 > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:910) > XendDomainInfo.destroyDevice: deviceClass = None, device = vbd/5632 > [2009-09-25 16:22:16 5602] ERROR (XendDomainInfo:1966) Device release > failed: winxp01; None; vbd/5632 > Traceback (most recent call last): > File "usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", > line 1960, in _releaseDevices > self.destroyDevice(true_devclass, dev, False); > File "usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", > line 924, in destroyDevice > rc = self.getDeviceController(deviceClass).destroyDevice(devid, force) > File "usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", > line 1981, in getDeviceController > raise XendError("Unknown device type: %s" % name) > XendError: Unknown device type: None > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:1959) Removing vfb/0 > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:910) > XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0 > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:1959) Removing console/0 > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:910) > XendDomainInfo.destroyDevice: deviceClass = console, device = console/0 > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:1944) No device model > [2009-09-25 16:22:16 5602] DEBUG (XendDomainInfo:1946) Releasing devices > [2009-09-25 16:22:16 5602] WARNING (image:472) domain winxp01: device > model failure: no longer running; see /var/log/xen/qemu-dm-winxp01.log > [2009-09-25 16:22:16 5602] DEBUG (DevController:656) hotplugStatusCallback > /local/domain/0/backend/tap/2/768/hotplug-status. > [2009-09-25 16:22:16 5602] DEBUG (DevController:656) hotplugStatusCallback > /local/domain/0/backend/tap/2/768/hotplug-status. > [2009-09-25 16:22:16 5602] DEBUG (DevController:656) hotplugStatusCallback > /local/domain/0/backend/tap/2/768/hotplug-status. > [2009-09-25 16:22:16 5602] DEBUG (DevController:656) hotplugStatusCallback > /local/domain/0/backend/tap/2/768/hotplug-status. > > The qeme-dm logs are : > more /var/log/xen/qemu-dm-winxp01.log > domid: 2 > qemu: the number of cpus is 1 > -videoram option does not work with cirrus vga device model. Videoram set > to 4M. > Strip off blktap sub-type prefix to /home/vm/1/dsk.img (drv 'aio') > Strip off blktap sub-type prefix to /home/vm/1/xp_sp2.iso (drv 'aio') > Watching /local/domain/0/device-model/2/logdirty/next-active > Watching /local/domain/0/device-model/2/command > qemu_map_cache_init nr_buckets = 10000 size 4194304 > shared page at pfn fffe > buffered io page at pfn fffc > Guest uuid = 35d1439f-895e-5d99-b7e6-50356cb666e3 > Time offset set 0 > populating video RAM at ff000000 > mapping video RAM from ff000000 > Register xen platform. > Done register platform. > platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw > state. > xs_read(/local/domain/0/device-model/2/xen_extended_power_mgmt): read > error > xs_read(): vncpasswd get error. > /vm/35d1439f-895e-5d99-b7e6-50356cb666e3/vncpasswd. > medium change watch on `hdc' (index: 1): aio:/home/vm/1/xp_sp2.iso > I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 > > I need to know where am i going wrong . I am able to create > paravirtualized gentoo guests without these issue. > > > Contents of 1.conf.original : > kernel = '/usr/lib/xen/boot/hvmloader' > builder = 'hvm' > memory = '256' > device_model='/usr/lib/xen/bin/qemu-dm' > > disk = [ > 'tap:aio:/home/vm/1/dsk.img,ioemu:hda,w','tap:aio:/home/vm/1/xp_sp2.iso,ioemu:hdc:cdrom,r' > ] > > name ='winxp01' > > boot='d' > vnc=1 > vncdisplay=1 > sdl=0 > > Pls HELP !! > -- View this message in context: http://www.nabble.com/Windows-Guest-not-loading-up-tp25618827p25667780.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |