[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] patch to fix xendomains non-fatal error (4.5-unstable)







On Sunday, October 19, 2014 6:11 AM, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
On Sat, Oct 18, 2014 at 10:34:31AM -0700, Mark Pryor wrote:
> --- ./tools/libxl/xl_cmdimpl.c.orig     2014-10-18 09:46:31.784512679 -0700
> +++ ./tools/libxl/xl_cmdimpl.c  2014-10-18 09:51:21.138512679 -0700
> @@ -3246,6 +3246,8 @@
> 
>      for (i = 0; i < nb_domain; i++) {
>          libxl_domain_config_init(&d_config);
> +        if (info[i].domid == 0)
> +                continue;
>          rc = libxl_retrieve_domain_configuration(ctx, info[i].domid, 
> &d_config);
>          if (rc)
>              continue;
> 
> 
> ------------- snip --------------------
> 
> Before the above fix, upon starting xendomains the logs showed:
> -----------
> 
> Oct 18 09:34:40 c7dom0 xendomains: Starting auto Xen domains: a_c7minlibxl: 
> error: libxl.c:6292:libxl_retrieve_domain_configuration: fail to get domain 
> configuration for domain 0
> 

Are you using NetBSD?

I'm not familiar with NetBSD, but can you check if xencommons runs
before xendomains? If not, can you make xencommons starts before
xendomains start? In theory that should fix your problem.

Wei.



The system is Centos 7 with this 
./configure --enable-systemd --prefix=/usr --lib=/usr/lib --enable-efi

So its systemd, not sysv as you suppose. These are the services

systemctl enable xen-qemu-dom0-disk-backend.service
#xen-watchdog.service
systemctl enable xenconsoled.service
systemctl enable xendomains.service
systemctl enable xenstored.service


my logs show the above services starting in correct order. 

This error:
libxl: error: libxl.c:6292:libxl_retrieve_domain_configuration: fail to get 
domain configuration for domain 0

was appearing in logs every time a VM was started. The libxl was trying to 
fetch config for dom0 constantly.

The only other problem I notice with this build of 4.5 unstable is pygrub, and 
it is deprecated.

My extensive notes are here (RPM is archived too)
http://www.tlviewer.org/xen/cent7/dom0/RPMS/unstable/

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.