xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Failed to create a domain with xen-unstable (Error 22: Invalid argument)
@ 2010-01-14  3:57 Jun Koi
  2010-01-14  5:06 ` qingbo yuan
  0 siblings, 1 reply; 4+ messages in thread
From: Jun Koi @ 2010-01-14  3:57 UTC (permalink / raw)
  To: xen-devel

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')

.....

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Failed to create a domain with xen-unstable (Error 22: Invalid argument)
  2010-01-14  3:57 Failed to create a domain with xen-unstable (Error 22: Invalid argument) Jun Koi
@ 2010-01-14  5:06 ` qingbo yuan
  2010-01-14  7:29   ` Xu, Dongxiao
  0 siblings, 1 reply; 4+ messages in thread
From: qingbo yuan @ 2010-01-14  5:06 UTC (permalink / raw)
  To: xen-devel

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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Failed to create a domain with xen-unstable (Error 22: Invalid argument)
  2010-01-14  5:06 ` qingbo yuan
@ 2010-01-14  7:29   ` Xu, Dongxiao
  2010-01-14  7:40     ` Jun Koi
  0 siblings, 1 reply; 4+ messages in thread
From: Xu, Dongxiao @ 2010-01-14  7:29 UTC (permalink / raw)
  To: qingbo yuan, xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Failed to create a domain with xen-unstable (Error 22: Invalid argument)
  2010-01-14  7:29   ` Xu, Dongxiao
@ 2010-01-14  7:40     ` Jun Koi
  0 siblings, 0 replies; 4+ messages in thread
From: Jun Koi @ 2010-01-14  7:40 UTC (permalink / raw)
  To: Xu, Dongxiao; +Cc: xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-14  7:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-14  3:57 Failed to create a domain with xen-unstable (Error 22: Invalid argument) Jun Koi
2010-01-14  5:06 ` qingbo yuan
2010-01-14  7:29   ` Xu, Dongxiao
2010-01-14  7:40     ` Jun Koi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).