Madhu Venugopal (vmadhu)
2009-Aug-31 17:36 UTC
[Xen-users] XEN guest VM config issue for windows 2003 installation
Hi, Am trying to install windows 2003 server as a guest VM over Xen 3.4.1 (installed on Fedora 11). When I executed "xm create", It fails with the error message : "Error: Domain ''win2k'' does not exist." Upon digging deeper, I could find that Qemu-dm fails for the Following reason : <qemu-dm-logs> domid: 48 qemu: the number of cpus is 4 -append only allowed with -kernel option <qemu-dm-logs> That Configuration that I Fed to XM Create : <config> kernel=''/usr/lib/xen/boot/hvmloader'' builder=''hvm'' memory=''3092'' device_model=''/usr/lib/xen/bin/qemu-dm'' apic=1 acpi=1 root=''/dev/cciss/c0d0p2'' disk = [ ''file:/home/xen/domains/win2003/win2003.img,ioemu:hda,w'', ''file:/home/xen/domains/win2003/win-install-cd1.iso,hdb:cdrom,r''] # Hostname name = ''win2k'' cpus = "0-4" vcpus=4 <config> Relevant Xend failure logs attached. Can someone help spot the error in the configuration ? Have a few specific questions : 1. Is the "root" configuration option important ? I see different errors including it and excluding the same. 2. I suspect the "disk" configuration as well. I tried various different options, But all of them failed. Not sure if it is anything to do with the CCISS drivers again. Can someone pls help ? Thanks, Madhu <xend-logs> [2009-08-31 00:10:18 4412] DEBUG (DevController:97) DevController: writing {''domain'': ''win2k'', ''frontend'': ''/local/domain/48/device/vbd/832'', ''uuid'': ''4886d8b6-80e2-c3b7-68ae-d6845a0f8ea0'', ''bootable'': ''0'', ''dev'': ''hdb'', ''state'': ''1'', ''params'': ''/home/xen/domains/win2003/win-install-cd1.iso'', ''mode'': ''r'', ''online'': ''1'', ''frontend-id'': ''48'', ''type'': ''file''} to /local/domain/0/backend/vbd/48/832. [2009-08-31 00:10:18 4412] INFO (image:394) spawning device models: /usr/lib/xen/bin/qemu-dm [''/usr/lib/xen/bin/qemu-dm'', ''-d'', ''48'', ''-domain-name'', ''win2k'', ''-videoram'', ''4'', ''-sdl'', ''-vcpus'', ''4'', ''-append'', ''root=/dev/cciss/c0d0p2 '', ''-boot'', ''d'', ''-acpi'', ''-net'', ''none'', ''-M'', ''xenfv''] [2009-08-31 00:10:18 4412] INFO (image:443) device model pid: 12682 [2009-08-31 00:10:18 4412] INFO (image:531) waiting for sentinel_fifo [2009-08-31 00:10:18 4412] WARNING (image:493) domain win2k: device model failure: pid 12682: exited with nonzero status 1; see /var/log/xen/qemu-dm-win2k.log [2009-08-31 00:10:18 4412] DEBUG (XendDomainInfo:3052) Storing VM details: {''on_xend_stop'': ''ignore'', ''shadow_memory'': ''29'', ''uuid'': ''1afc521c-aee0-5261-cb14-260174fd0162'', ''on_reboot'': ''restart'', ''start_time'': ''1251702618.68'', ''on_poweroff'': ''destroy'', ''bootloader_args'': '''', ''on_xend_start'': ''ignore'', ''on_crash'': ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''4'', ''vcpu_avail'': ''15'', ''bootloader'': '''', ''image'': "(hvm (kernel ) (args ''root=/dev/cciss/c0d0p2 '') (timer_mode 1) (videoram 4) (vpt_align 1) (nographic 0) (hpet 0) (rtc_timeoffset 0) (loader /usr/lib/xen/boot/hvmloader) (pci ()) (pci_msitranslate 1) (guest_os_type default) (apic 1) (sdl 1) (xen_platform_pci 1) (hap 1) (monitor 0) (device_model /usr/lib/xen/bin/qemu-dm) (boot d) (pci_power_mgmt 0) (display :1.0) (pae 1) (stdvga 0) (usb 0) (xauthority /root/.Xauthority) (isa 0) (viridian 0) (acpi 1) (vncunused 1) (localtime 0) (notes (SUSPEND_CANCEL 1)))", ''name'': ''win2k''} [2009-08-31 00:10:18 4412] DEBUG (XendDomainInfo:1622) Storing domain details: {''console/port'': ''6'', ''cpu/3/availability'': ''online'', ''name'': ''win2k'', ''console/limit'': ''1048576'', ''store/port'': ''5'', ''cpu/2/availability'': ''online'', ''vm'': ''/vm/1afc521c-aee0-5261-cb14-260174fd0162'', ''domid'': ''48'', ''image/suspend-cancel'': ''1'', ''cpu/0/availability'': ''online'', ''memory/target'': ''3166208'', ''control/platform-feature-multiprocessor-suspend'': ''1'', ''store/ring-ref'': ''1044476'', ''cpu/1/availability'': ''online'', ''console/type'': ''ioemu''} [2009-08-31 00:10:18 4412] WARNING (XendDomainInfo:1878) Domain has crashed: name=win2k id=48. <xend-logs> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Madhu Venugopal (vmadhu)
2009-Sep-01 04:56 UTC
[Xen-users] RE: XEN guest VM config issue for windows 2003 installation
A machine reboot fixed this issue !!! Not sure what was wrong before... -Madhu> -----Original Message----- > From: Madhu Venugopal (vmadhu) > Sent: Monday, August 31, 2009 10:37 AM > To: Xen User-List > Cc: ''Fajar A. Nugraha'' > Subject: XEN guest VM config issue for windows 2003 installation > > Hi, > > Am trying to install windows 2003 server as a guest VM over > Xen 3.4.1 (installed on Fedora 11). When I executed "xm create", > It fails with the error message : > > "Error: Domain ''win2k'' does not exist." > > Upon digging deeper, I could find that Qemu-dm fails for the > Following reason : > > <qemu-dm-logs> > > domid: 48 > qemu: the number of cpus is 4 > -append only allowed with -kernel option > > <qemu-dm-logs> > > That Configuration that I Fed to XM Create : > > <config> > > kernel=''/usr/lib/xen/boot/hvmloader'' > builder=''hvm'' > memory=''3092'' > device_model=''/usr/lib/xen/bin/qemu-dm'' > apic=1 > acpi=1 > > root=''/dev/cciss/c0d0p2'' > disk = [ > ''file:/home/xen/domains/win2003/win2003.img,ioemu:hda,w'', > ''file:/home/xen/domains/win2003/win-install-cd1.iso,hdb:cdrom,r''] > > # Hostname > name = ''win2k'' > cpus = "0-4" > vcpus=4 > > <config> > > Relevant Xend failure logs attached. > > Can someone help spot the error in the configuration ? > Have a few specific questions : > > 1. Is the "root" configuration option important ? I see different > errors including > it and excluding the same. > 2. I suspect the "disk" configuration as well. I tried various > different options, > But all of them failed. > > Not sure if it is anything to do with the CCISS drivers again. > > Can someone pls help ? > > Thanks, > Madhu > > <xend-logs> > > [2009-08-31 00:10:18 4412] DEBUG (DevController:97) > DevController: writing {''domain'': ''win2k'', ''frontend'': > ''/local/domain/48/device/vbd/832'', ''uuid'': ''4886d8b6-80e2-c3b7-68ae- > d6845a0f8ea0'', ''bootable'': ''0'', ''dev'': ''hdb'', ''state'': ''1'', ''params'': > ''/home/xen/domains/win2003/win-install-cd1.iso'', ''mode'': ''r'',''online'':> ''1'', ''frontend-id'': ''48'', ''type'': ''file''} to > /local/domain/0/backend/vbd/48/832. > > [2009-08-31 00:10:18 4412] INFO (image:394) spawning device models: > /usr/lib/xen/bin/qemu-dm [''/usr/lib/xen/bin/qemu-dm'', ''-d'', ''48'', ''- > domain-name'', ''win2k'', ''-videoram'', ''4'', ''-sdl'', ''-vcpus'', ''4'', ''- > append'', ''root=/dev/cciss/c0d0p2 '', ''-boot'', ''d'', ''-acpi'', ''-net'', > ''none'', ''-M'', ''xenfv''] > > [2009-08-31 00:10:18 4412] INFO (image:443) device model pid: 12682 > [2009-08-31 00:10:18 4412] INFO (image:531) waiting for sentinel_fifo > [2009-08-31 00:10:18 4412] WARNING (image:493) domain win2k: device > model failure: pid 12682: exited with nonzero status 1; see > /var/log/xen/qemu-dm-win2k.log > > [2009-08-31 00:10:18 4412] DEBUG (XendDomainInfo:3052) Storing VM > details: {''on_xend_stop'': ''ignore'', ''shadow_memory'': ''29'', ''uuid'': > ''1afc521c-aee0-5261-cb14-260174fd0162'', ''on_reboot'': ''restart'', > ''start_time'': ''1251702618.68'', ''on_poweroff'': ''destroy'', > ''bootloader_args'': '''', ''on_xend_start'': ''ignore'', ''on_crash'': > ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''4'', ''vcpu_avail'':''15'',> ''bootloader'': '''', ''image'': "(hvm (kernel ) (args > ''root=/dev/cciss/c0d0p2 '') (timer_mode 1) (videoram 4) (vpt_align 1) > (nographic 0) (hpet 0) (rtc_timeoffset 0) (loader > /usr/lib/xen/boot/hvmloader) (pci ()) (pci_msitranslate 1) > (guest_os_type default) (apic 1) (sdl 1) (xen_platform_pci 1) (hap 1) > (monitor 0) (device_model /usr/lib/xen/bin/qemu-dm) (boot d) > (pci_power_mgmt 0) (display :1.0) (pae 1) (stdvga 0) (usb 0) > (xauthority /root/.Xauthority) (isa 0) (viridian 0) (acpi 1)(vncunused> 1) (localtime 0) (notes (SUSPEND_CANCEL 1)))", ''name'': ''win2k''} > [2009-08-31 00:10:18 4412] DEBUG (XendDomainInfo:1622) Storing domain > details: {''console/port'': ''6'', ''cpu/3/availability'': ''online'', ''name'': > ''win2k'', ''console/limit'': ''1048576'', ''store/port'': ''5'', > ''cpu/2/availability'': ''online'', ''vm'': ''/vm/1afc521c-aee0-5261-cb14- > 260174fd0162'', ''domid'': ''48'', ''image/suspend-cancel'': ''1'', > ''cpu/0/availability'': ''online'', ''memory/target'': ''3166208'', > ''control/platform-feature-multiprocessor-suspend'': ''1'', ''store/ring- > ref'': ''1044476'', ''cpu/1/availability'': ''online'', ''console/type'': > ''ioemu''} > [2009-08-31 00:10:18 4412] WARNING (XendDomainInfo:1878) Domain has > crashed: name=win2k id=48. > > <xend-logs>_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users