Hi Kayvan,
Could you define "cpus" into the domain configuration file?
e.g. cpus = "0-3"
And could you show a result of xm info?
Best regards,
Kan
Tue, 18 Mar 2008 01:23:25 -0700, Kayvan Sylvan wrote:
>Hi everyone,
>
>I am getting the following error on an HP superdome when trying to "xm
>create" an HVM domain. I am stumped about what to do next to debug this.
>This exact same configuration has worked on Intel and NEC machines. Any
>help is greatly appreciated.
>
># xm create -c PSI52.hvm
>Using config file "./PSI52.hvm".
>Error: (22, 'Invalid argument')
>
>The config file is pretty simple:
>
>import os, re
>arch_libdir = 'lib'
>loader = "/root/efi-vfirmware.hg/binaries/xenia64-gfw.bin"
>builder='hvm'
>memory = 2048
>shadow_memory = 96
>name = "PSI52"
>vcpus=4
>vif = [ 'type=ioemu, mac=00:15:60:04:d5:10, bridge=xenbr0' ]
>disk = [ 'file:/root/nfs/sd3p2-PSI52.img,hda,w', 'file:/root/Xen/isos/ML5.2
>-IA64.iso,hdc:cdrom,r' ]
>device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm.debug'
>boot="d"
>sdl=0
>vnc=1
>vnclisten="0.0.0.0"
>vncdisplay=52
>vncpasswd='xxxyyyzzz'
>stdvga=0
>serial='pty'
>
>Some more info (from "xm dmesg"):
>
>(XEN) Xen version 3.3-unstable (root@xxxxxxxxxxxxxx) (gcc version 3.4.6
>20060404
> (Red Hat 3.4.6-3)) Tue Mar 18 01:17:19 GMT 2008
>(XEN) Latest ChangeSet: Fri Mar 14 15:07:45 2008 -0600 17209:8c921adf4833
>(XEN) Xen command line: BOOT_IMAGE=scsi0:EFI\redhat\xen-3.3.gz com1=115200
>,8n1
>dom0_mem=2048M
>(XEN) xen image pstart: 0x4000000, xenheap pend: 0xc000000
>
>The following is from /var/log/xen/xend.log when this error occurs:
>
>[2008-03-18 08:21:58 5348] DEBUG (XendDomainInfo:84) XendDomainInfo.create(
>['vm', ['name', 'PSI52'], ['memory', 2048], ['shadow_memory', 96], ['vcpus'
>, 4], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', [
>'hvm', ['loader', '/root/efi-vfirmware.hg/binaries/xenia64-gfw.bin'], [
>'device_model', '/usr/lib/xen/bin/qemu-dm.debug'], ['pae', 1], ['vcpus', 4]
>, ['boot', 'd'], ['fda', ''], ['fdb', ''], ['timer_mode', 0], ['localtime',
> 0], ['serial', 'pty'], ['stdvga', 0], ['isa', 0], ['nographic', 0], [
>'soundhw', ''], ['vnc', 1], ['vncdisplay', 52], ['vncunused', 1], [
>'vnclisten', '0.0.0.0'], ['sdl', 0], ['display', 'localhost:10.0'], [
>'xauthority', '/root/.Xauthority'], ['rtc_timeoffset', '0'], ['monitor', 0]
>, ['acpi', 1], ['apic', 1], ['usb', 0], ['usbdevice', ''], ['keymap', ''],
>['pci', []], ['hpet', 0], ['guest_os_type', 'default'], ['hap', 1], [
>'vncpasswd', 'XXXXXXXX']]], ['device', ['vbd', ['uname', 'file:/root/nfs/
>sd3p2-PSI52.img'], ['dev', 'hda'], ['mode', 'w']]], ['device', ['vbd', [
>'uname', 'file:/root/Xen/isos/ML5.2-IA64.iso'], ['dev', 'hdc:cdrom'], [
>'mode', 'r']]], ['device', ['vif', ['bridge', 'xenbr0'], ['mac', '00:15:60:
>04:d5:10'], ['type', 'ioemu']]]])
>[2008-03-18 08:21:58 5348] DEBUG (XendDomainInfo:1846) XendDomainInfo.
>constructDomain
>[2008-03-18 08:21:58 5348] DEBUG (balloon:132) Balloon: 14419536 KiB free;
>need 2048; done.
>[2008-03-18 08:21:58 5348] DEBUG (XendDomain:445) Adding Domain: 3
>[2008-03-18 08:21:58 5348] DEBUG (XendDomainInfo:1949) XendDomainInfo.
>initDomain: 3 256
>[2008-03-18 08:21:58 5348] DEBUG (image:237) Stored a VNC password for vfb
>access
>[2008-03-18 08:21:58 5348] DEBUG (image:553) args: boot, val: d
>[2008-03-18 08:21:58 5348] DEBUG (image:553) args: fda, val: None
>[2008-03-18 08:21:58 5348] DEBUG (image:553) args: fdb, val: None
>[2008-03-18 08:21:58 5348] DEBUG (image:553) args: soundhw, val: None
>[2008-03-18 08:21:58 5348] DEBUG (image:553) args: localtime, val: 0
>[2008-03-18 08:21:58 5348] DEBUG (image:553) args: serial, val: pty
>[2008-03-18 08:21:58 5348] DEBUG (image:553) args: std-vga, val: 0
>[2008-03-18 08:21:58 5348] DEBUG (image:553) args: isa, val: 0
>[2008-03-18 08:21:58 5348] DEBUG (image:553) args: acpi, val: 1
>[2008-03-18 08:21:58 5348] DEBUG (image:553) args: usb, val: 0
>[2008-03-18 08:21:58 5348] DEBUG (image:553) args: usbdevice, val: None
>[2008-03-18 08:21:58 5348] ERROR (XendDomainInfo:2059) XendDomainInfo.
>initDomain: exception occurred
>Traceback (most recent call last):
> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 2001, in
>_initDomain
> xc.vcpu_setaffinity(self.domid, v, cpumask)
>Error: (22, 'Invalid argument')
>[2008-03-18 08:21:58 5348] ERROR (XendDomainInfo:440) VM start failed
>Traceback (most recent call last):
> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 420, in start
> XendTask.log_progress(31, 60, self._initDomain)
> File "//usr/lib/python/xen/xend/XendTask.py", line 209, in log_progress
> retval = func(*args, **kwds)
> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 2062, in
>_initDomain
> raise VmError(str(exn))
>VmError: (22, 'Invalid argument')
>[2008-03-18 08:21:58 5348] DEBUG (XendDomainInfo:2176) XendDomainInfo.
>destroy: domid=3
>[2008-03-18 08:21:58 5348] DEBUG (XendDomainInfo:2193) XendDomainInfo.
>destroyDomain(3)
>[2008-03-18 08:21:58 5348] DEBUG (XendDomainInfo:1757) Destroying device
>model
>[2008-03-18 08:21:58 5348] DEBUG (XendDomainInfo:1764) Releasing devices
>[2008-03-18 08:21:58 5348] ERROR (XendDomainInfo:89) Domain construction
>failed
>Traceback (most recent call last):
> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 87, in create
> vm.start()
> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 420, in start
> XendTask.log_progress(31, 60, self._initDomain)
> File "//usr/lib/python/xen/xend/XendTask.py", line 209, in log_progress
> retval = func(*args, **kwds)
> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 2062, in
>_initDomain
> raise VmError(str(exn))
>VmError: (22, 'Invalid argument')
>[2008-03-18 08:21:58 5348] DEBUG (XendDomainInfo:2176) XendDomainInfo.
>destroy: domid=None
>[2008-03-18 08:21:58 5348] DEBUG (XendDomainInfo:2193) XendDomainInfo.
>destroyDomain(None)
>[2008-03-18 08:21:58 5348] DEBUG (XendDomainInfo:1762) No device model
>[2008-03-18 08:21:58 5348] DEBUG (XendDomainInfo:1764) Releasing devices
>
>
>Best regards,
>
>---Kayvan Sylvan, Platform Solutions.
>
>_______________________________________________
>Xen-ia64-devel mailing list
>Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-ia64-devel
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|