WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] XEN guest VM config issue for windows 2003 installation

To: "Xen User-List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] XEN guest VM config issue for windows 2003 installation
From: "Madhu Venugopal (vmadhu)" <vmadhu@xxxxxxxxx>
Date: Mon, 31 Aug 2009 10:36:58 -0700
Authentication-results: sj-dkim-2; header.From=vmadhu@xxxxxxxxx; dkim=pass ( sig from cisco.com/sjdkim2002 verified; );
Cc: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Delivery-date: Mon, 31 Aug 2009 10:37:46 -0700
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; l=3992; t=1251740224; x=1252604224; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=vmadhu@xxxxxxxxx; z=From:=20=22Madhu=20Venugopal=20(vmadhu)=22=20<vmadhu@cisco .com> |Subject:=20XEN=20guest=20VM=20config=20issue=20for=20windo ws=202003=20installation |Sender:=20; bh=R0MUnA8I3jMDKObvb3+b8L5yYhAwpJbNM0UHZLC6P6Q=; b=FDYWCJCxhv0uUB/o9TkGWR8/AUh5MhU0WQhYUgVur8ETbKp0Vp4s7PNhWT 6npVSxZTTRxBCrJpgGPmneftt7GeLEdV3S/JNEHfaSLmbE9zGQU+/afUMnzI 0PQtjHqj/f;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoqYaPqEO/wnln0SWS5bpH3fZ9Q/Q==
Thread-topic: 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] XEN guest VM config issue for windows 2003 installation, Madhu Venugopal (vmadhu) <=