Guido Günther wrote: > Hi, > On Sat, Aug 09, 2014 at 06:50:56PM +0000, Jamie Heilman wrote: > [..snip..] > > 2014-08-09 18:32:30.722+0000: 3589: info : libvirt version: 1.2.7, package: > > 6 (root 2014-08-08-16:09:22 bogon) > > 2014-08-09 18:32:30.722+0000: 3589: error : virAuditOpen:62 : Unable to > > initialize audit layer: Protocol not supported > > 2014-08-09 18:32:31.720+0000: 3712: error : > > virFileGetDefaultHugepageSize:2958 : internal error: Unable to parse > > /proc/meminfo > > 2014-08-09 18:32:31.720+0000: 3712: error : virStateInitialize:749 : > > Initialization of QEMU state driver failed: internal error: Unable to parse > > /proc/meminfo > > 2014-08-09 18:32:31.720+0000: 3712: error : daemonRunStateInit:922 : Driver > > state initialization failed > > > > Reverting to libvirt-bin 1.2.4 allows libvirtd to work again. > > Any chance you can test the attached patch? It fixes the above problem > but there may be other hugetlb surprises working with your setup.
Yep, that works. Although the build was made rather annoying by the policykit-1 build-dep, and the poison that brings. 2014-08-10 22:16:26.387+0000: 25357: info : libvirt version: 1.2.7, package: 6 (jamie 2014-08-10-19:06:36 jimmy) 2014-08-10 22:16:26.387+0000: 25357: error : virAuditOpen:62 : Unable to initialize audit layer: Protocol not supported 2014-08-10 22:16:26.460+0000: 25370: error : virFileGetDefaultHugepageSize:2959 : this function is not supported by the connection driver: Hugepagesize: not found in /proc/meminfo 2014-08-10 22:16:26.524+0000: 25370: error : virNodeSuspendSupportsTarget:332 : internal error: Cannot probe for supported suspend types 2014-08-10 22:16:26.524+0000: 25370: warning : virQEMUCapsInit:983 : Failed to get host power management capabilities 2014-08-10 22:16:31.836+0000: 25370: error : virNodeSuspendSupportsTarget:332 : internal error: Cannot probe for supported suspend types 2014-08-10 22:16:31.836+0000: 25370: warning : umlCapsInit:74 : Failed to get host power management capabilities > > > > -- > > Jamie Heilman http://audible.transient.net/~jamie/ > > > > _______________________________________________ > > Pkg-libvirt-maintainers mailing list > > pkg-libvirt-maintain...@lists.alioth.debian.org > > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers > > > From 930402215c050e52cab1ccf1960ad06123cd7c7e Mon Sep 17 00:00:00 2001 > Message-Id: > <930402215c050e52cab1ccf1960ad06123cd7c7e.1407671364.git....@sigxcpu.org> > From: =?UTF-8?q?Guido=20G=C3=BCnther?= <a...@sigxcpu.org> > Date: Sun, 10 Aug 2014 12:42:37 +0200 > Subject: [PATCH] Don't fail qemu driver intialization if we can't determine > hugepage size > To: libvir-l...@redhat.com > > Otherwise we fail like > > libvirt version: 1.2.7, package: 6 (root 2014-08-08-16:09:22 bogon) > virAuditOpen:62 : Unable to initialize audit layer: Protocol not supported > virFileGetDefaultHugepageSize:2958 : internal error: Unable to parse > /proc/meminfo > virStateInitialize:749 : Initialization of QEMU state driver failed: > internal error: Unable to parse /proc/meminfo > daemonRunStateInit:922 : Driver state initialization failed > > if the data can't be determined. > > Reference: http://bugs.debian.org/757609 > --- > src/util/virfile.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/src/util/virfile.c b/src/util/virfile.c > index f9efc65..b6f5e3f 100644 > --- a/src/util/virfile.c > +++ b/src/util/virfile.c > @@ -2953,8 +2953,9 @@ virFileGetDefaultHugepageSize(unsigned long long *size) > goto cleanup; > > if (!(c = strstr(meminfo, HUGEPAGESIZE_STR))) { > - virReportError(VIR_ERR_INTERNAL_ERROR, > - _("Unable to parse %s"), > + virReportError(VIR_ERR_NO_SUPPORT, > + _("%s not found in %s"), > + HUGEPAGESIZE_STR, > PROC_MEMINFO); > goto cleanup; > } > -- > 2.0.1 > -- Jamie Heilman http://audible.transient.net/~jamie/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org