Jun Koi
2010-Jan-14 03:57 UTC
[Xen-devel] Failed to create a domain with xen-unstable (Error 22: Invalid argument)
Hi,
The latest Xen unstable fails to create a HVM domain for me, with
Error 22: Invalid argument. Below is part of the logging info.
Is this a bug introduced recently, or did we change the config file format??
Thanks,
J
....
[2010-01-14 12:50:28 2773] DEBUG (XendDomain:464) Adding Domain: 2
[2010-01-14 12:50:28 2773] DEBUG (XendDomainInfo:2795)
XendDomainInfo.initDomain: 2 256
[2010-01-14 12:50:28 2773] DEBUG (image:891) args: boot, val: c
[2010-01-14 12:50:28 2773] DEBUG (image:891) args: fda, val: None
[2010-01-14 12:50:28 2773] DEBUG (image:891) args: fdb, val: None
[2010-01-14 12:50:28 2773] DEBUG (image:891) args: soundhw, val: None
[2010-01-14 12:50:28 2773] DEBUG (image:891) args: localtime, val: 0
[2010-01-14 12:50:28 2773] DEBUG (image:891) args: serial, val: None
[2010-01-14 12:50:28 2773] DEBUG (image:891) args: std-vga, val: 0
[2010-01-14 12:50:28 2773] DEBUG (image:891) args: isa, val: 0
[2010-01-14 12:50:28 2773] DEBUG (image:891) args: acpi, val: 1
[2010-01-14 12:50:28 2773] DEBUG (image:891) args: usb, val: 0
[2010-01-14 12:50:28 2773] DEBUG (image:891) args: usbdevice, val: None
[2010-01-14 12:50:28 2773] DEBUG (image:891) args: gfx_passthru, val: None
[2010-01-14 12:50:28 2773] INFO (image:824) Need to create platform
device.[domid:2]
[2010-01-14 12:50:28 2773] DEBUG (XendDomainInfo:2822)
_initDomain:shadow_memory=0x8, memory_static_max=0x3e800000,
memory_static_min=0x0.
[2010-01-14 12:50:28 2773] INFO (image:182) buildDomain os=hvm dom=2 vcpus=1
[2010-01-14 12:50:28 2773] DEBUG (image:949) domid = 2
[2010-01-14 12:50:28 2773] DEBUG (image:950) image
/usr/lib/xen/boot/hvmloader
[2010-01-14 12:50:28 2773] DEBUG (image:951) store_evtchn = 2
[2010-01-14 12:50:28 2773] DEBUG (image:952) memsize = 1000
[2010-01-14 12:50:28 2773] DEBUG (image:953) target = 1000
[2010-01-14 12:50:28 2773] DEBUG (image:954) vcpus = 1
[2010-01-14 12:50:28 2773] DEBUG (image:955) vcpu_avail = 1
[2010-01-14 12:50:28 2773] DEBUG (image:956) acpi = 1
[2010-01-14 12:50:28 2773] DEBUG (image:957) apic = 1
[2010-01-14 12:50:28 2773] ERROR (XendDomainInfo:2886)
XendDomainInfo.initDomain: exception occurred
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 2857, in _initDomain
channel_details = self.image.createImage()
File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py",
line 165, in createImage
return self.createDomain()
File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py",
line 184, in createDomain
result = self.buildDomain()
File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py",
line 1036, in buildDomain
rc = HVMImageHandler.buildDomain(self)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py",
line 966, in buildDomain
apic = self.apic)
Error: (22, ''Invalid argument'')
[2010-01-14 12:50:28 2773] ERROR (XendDomainInfo:475) VM start failed
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 461, in start
XendTask.log_progress(31, 60, self._initDomain)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendTask.py",
line 209, in log_progress
retval = func(*args, **kwds)
File
"/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 2889, in _initDomain
raise VmError(str(exn))
VmError: (22, ''Invalid argument'')
.....
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
qingbo yuan
2010-Jan-14 05:06 UTC
Re: [Xen-devel] Failed to create a domain with xen-unstable (Error 22: Invalid argument)
hi,all As one of the new feature of xen-4.0-rc1, there will be 128 vcpus. My question is that can these vcpus be put in one hvm? That is, can I create a virtual machine containing 128 cpus? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Xu, Dongxiao
2010-Jan-14 07:29 UTC
RE: [Xen-devel] Failed to create a domain with xen-unstable (Error 22: Invalid argument)
Yes, one VM could own maxium 128 vcpus. The failure you meet should be a regression. I am looking into it. Thanks! -- Dongxiao qingbo yuan wrote:> hi,all > > As one of the new feature of xen-4.0-rc1, there will be 128 vcpus. My > question is that can these vcpus be put in one hvm? That is, can I > create a virtual machine containing 128 cpus? > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jun Koi
2010-Jan-14 07:40 UTC
Re: [Xen-devel] Failed to create a domain with xen-unstable (Error 22: Invalid argument)
On Thu, Jan 14, 2010 at 4:29 PM, Xu, Dongxiao <dongxiao.xu@intel.com> wrote:> Yes, one VM could own maxium 128 vcpus. > The failure you meet should be a regression. I am looking into it.Thanks! Let me know if you need more information. Anyway, I am wondering how a simple bug like this can evade the auto-testing process?? Jun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel