Zhang, Yang Z
2010-Oct-15 03:52 UTC
[Xen-devel] xl create stop at "Parsing config file xl.config"
Hi I pull the latest source(22241) and try to boot guest with xl. But it fail to create guest. When I type xl create xl.config, it never returns and stop at "Parsing config file xl.config ". And it works with change set 22155. Attachment is my config file. best regards yang _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Oct-15 14:36 UTC
[Xen-devel] Re: xl create stop at "Parsing config file xl.config"
On Fri, 15 Oct 2010, Zhang, Yang Z wrote:> Hi > I pull the latest source(22241) and try to boot guest with xl. But it fail to create guest. > When I type xl create xl.config, it never returns and stop at "Parsing config file xl.config ". > And it works with change set 22155. > > Attachment is my config file.You have unicode characters in your config file, use "cat -vet" to see them. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Zhang, Yang Z
2010-Oct-18 05:45 UTC
RE: [Xen-devel] Re: xl create stop at "Parsing config file xl.config"
> -----Original Message----- > From: xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Stefano Stabellini > Sent: Friday, October 15, 2010 10:37 PM > To: Zhang, Yang Z > Cc: xen-devel@lists.xensource.com; Stabellini; Stefano > Subject: [Xen-devel] Re: xl create stop at "Parsing config file xl.config" > > On Fri, 15 Oct 2010, Zhang, Yang Z wrote: > > Hi > > I pull the latest source(22241) and try to boot guest with xl. But it fail to > create guest. > > When I type xl create xl.config, it never returns and stop at "Parsing config file > xl.config ". > > And it works with change set 22155. > > > > Attachment is my config file. > > You have unicode characters in your config file, use "cat -vet" to see > them.Hi Stefano, I have check again. There has no problem with my config file. After investigation, I found this issue was introduced by 22204. The function freemem never returned when creating guest. It called libxl_get_free_memory()->libxl_get_free_memory_slack() to read the value of /local/domain/0/memory/freemem-slack from xenstore. But with xenstore-ls, I found there doesn''t have entry named freemem-slack in /local/domain/0. And the function will do an infinite loop try to get freemem-slack. That why the "xl create xl.config" never returned. best regards yang _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Oct-21 14:15 UTC
RE: [Xen-devel] Re: xl create stop at "Parsing config file xl.config"
On Mon, 18 Oct 2010, Zhang, Yang Z wrote:> > -----Original Message----- > > From: xen-devel-bounces@lists.xensource.com > > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Stefano Stabellini > > Sent: Friday, October 15, 2010 10:37 PM > > To: Zhang, Yang Z > > Cc: xen-devel@lists.xensource.com; Stabellini; Stefano > > Subject: [Xen-devel] Re: xl create stop at "Parsing config file xl.config" > > > > On Fri, 15 Oct 2010, Zhang, Yang Z wrote: > > > Hi > > > I pull the latest source(22241) and try to boot guest with xl. But it fail to > > create guest. > > > When I type xl create xl.config, it never returns and stop at "Parsing config file > > xl.config ". > > > And it works with change set 22155. > > > > > > Attachment is my config file. > > > > You have unicode characters in your config file, use "cat -vet" to see > > them. > Hi Stefano, I have check again. There has no problem with my config file. > After investigation, I found this issue was introduced by 22204. The function freemem never returned when creating guest. It called libxl_get_free_memory()->libxl_get_free_memory_slack() to read the value of /local/domain/0/memory/freemem-slack from xenstore. But with xenstore-ls, I found there doesn''t have entry named freemem-slack in /local/domain/0. And the function will do an infinite loop try to get freemem-slack. That why the "xl create xl.config" never returned.This is the same problem that Christoph Egger reported, could you please give a look at the thread "xl create: endless loop"? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Zhang, Yang Z
2010-Oct-22 00:36 UTC
RE: [Xen-devel] Re: xl create stop at "Parsing config file xl.config"
Yes, I had seen it. best regards yang> -----Original Message----- > From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] > Sent: Thursday, October 21, 2010 10:15 PM > To: Zhang, Yang Z > Cc: Stefano Stabellini; xen-devel@lists.xensource.com > Subject: RE: [Xen-devel] Re: xl create stop at "Parsing config file xl.config" > > On Mon, 18 Oct 2010, Zhang, Yang Z wrote: > > > -----Original Message----- > > > From: xen-devel-bounces@lists.xensource.com > > > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Stefano > Stabellini > > > Sent: Friday, October 15, 2010 10:37 PM > > > To: Zhang, Yang Z > > > Cc: xen-devel@lists.xensource.com; Stabellini; Stefano > > > Subject: [Xen-devel] Re: xl create stop at "Parsing config file xl.config" > > > > > > On Fri, 15 Oct 2010, Zhang, Yang Z wrote: > > > > Hi > > > > I pull the latest source(22241) and try to boot guest with xl. But it fail to > > > create guest. > > > > When I type xl create xl.config, it never returns and stop at "Parsing > config file > > > xl.config ". > > > > And it works with change set 22155. > > > > > > > > Attachment is my config file. > > > > > > You have unicode characters in your config file, use "cat -vet" to see > > > them. > > Hi Stefano, I have check again. There has no problem with my config file. > > After investigation, I found this issue was introduced by 22204. The function > freemem never returned when creating guest. It called > libxl_get_free_memory()->libxl_get_free_memory_slack() to read the value of > /local/domain/0/memory/freemem-slack from xenstore. But with xenstore-ls, I > found there doesn''t have entry named freemem-slack in /local/domain/0. And > the function will do an infinite loop try to get freemem-slack. That why the "xl > create xl.config" never returned. > > This is the same problem that Christoph Egger reported, could you please > give a look at the thread "xl create: endless loop"?_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel