From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: Issue while bringing up libvirtd.service Date: Fri, 9 Dec 2016 14:07:22 +0100 Message-ID: <1481288842.3445.245.camel@citrix.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2736801044331988704==" Return-path: Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFKtf-0004Dm-OW for xen-devel@lists.xenproject.org; Fri, 09 Dec 2016 13:07:31 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Praveen Kumar , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org --===============2736801044331988704== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=-aZ4vF7OpL9riI2H+kjIy" --=-aZ4vF7OpL9riI2H+kjIy Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2016-12-08 at 01:11 +0530, Praveen Kumar wrote: > Hi, >=20 Hey, > I am new in Xen environment and trying to get VMs running with the > build xen code base. >=20 > But, am facing issue bringing up the libvirt deamon. I have installed > latest unstable xen ( 4.9 ). > There seems to be a conflict in library version and because of which > I am getting below error : > ... > Dec 08 00:44:43 kpraveen.labs.blr.novell.com libvirtd[14603]: Unable > to configure libxl's memory management parameters > Dec 08 00:44:43 kpraveen.labs.blr.novell.com libvirtd[14603]: > Initialization of LIBXL state driver failed: no error > Dec 08 00:44:43 kpraveen.labs.blr.novell.com libvirtd[14603]: Driver > state initialization failed > ... >=20 What distribution is this? In any case, if you are installing Xen (staging / 4.9) from the sources, and then installing libvirt's packages from the distro, that would not work. In fact, most likely, libvirt packages will bring in as a dependency the version of Xen hypervisor and toolstack that is also packaged by the distro. At which point, you have two Xen environments installed in the same host, which is asking for trouble. > I found that we have xen-libs of different version which is 4.7, but > don't know if that is the root cause and how to upgrade that. As > suggested, I have also rebuild xen tree and tried reinstalling, but > the issue persists. >=20 Yep, here it is the version mismatch and double environment issue I was talking about. > Any guidance will be very much helpful to resolve this problem . > Also, wanted to know, what others follow as best practices when there > is a version change or if hit the similar problem. > Just FYI, I am following https://wiki.xenproject.org/wiki/Compiling_X > en_From_Source link for compiling and installing xen. >=20 So, if you are able to build and install Xen from sources, you should, as a first step, verify that everything is working by creating a VM using the XL toolstack (`man xl', look at examples, search XL on our Wiki, etc). If you want to use libvirt, I don't think you have much alternative than building libvirt from sources as well. If I want to test or do some libvirt development on upstream Xen, that is what I do, FWIW. Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-aZ4vF7OpL9riI2H+kjIy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJYSqyLAAoJEBZCeImluHPuhBgQAMi65RGHp5BJmYZ64eb8jbYO 8qwkdAVqINjzSuYMuOYzWxDZ+jwa79Umj+q8ZlnAZtJh09Oot5nIGlS+fKyWUxkp DkgQDUQbtSm1880jvDyC2wkNFXYtDwG5/tZDquOf0NRddxlHvVmH059o7GP3SiSd AtUafyYoOmrNIgDBENwQtg0dB4IiXzqgTkSdyOb6zDWVDCiqTmuvdtlnbVojDEfZ /U66oMOO9iW64oPApdKuRyCyhEEttOIXy0Zb+JMQ3D5iAtuEPUzJ+1ZTTxV1ewbj iKkGZIqQ8GvlLpbUGrzJV/UwGzRR736vSujVm/MQq5PoUCBkVTyE5+QqGpC6XSqh IxXFoj5KirGLhZIWMcFcDDpwqAwq8lClRE4dQcsMmyBdzVOheFyTsFOpXojawp37 nu2vZcMKVma++xbqVTEjRXnxnsNIfYAuIIwMFhwV9D5x8M5ZTabC0ndapQRsHUU8 8ELCmD6Z8cvCq7ltdykls0w2+LBY/kV9blJjBlj4ggkt5wP1pqaSV5u0j2FKgwps BrHh7FldN+3yAdAnrD7O8Z7/qAGXN7+8OuGZwscRNZmORE32akNutnUCSDvdMAQ0 ExxM9wayuyOelK3vfQIjd0ODStF9R37G1OC1BtwONrhccXA+d7xJRzLX8uihqkay jPfUwS+t94AZcpycxRLm =Io/I -----END PGP SIGNATURE----- --=-aZ4vF7OpL9riI2H+kjIy-- --===============2736801044331988704== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============2736801044331988704==--