libvirt and bhyve problems

Roman Bogorodskiy novel at FreeBSD.org
Tue Jun 10 17:56:32 UTC 2014


  Craig Rodrigues wrote:

> On Tue, Jun 10, 2014 at 8:58 AM, Craig Rodrigues <rodrigc at freebsd.org> wrote:
> > On Tue, Jun 10, 2014 at 4:43 AM, Roman Bogorodskiy <novel at freebsd.org> wrote:
> >> Hi Craig,
> >>
> >> It's a little unfortunate that there's no stacktrace, though we can try
> >> to see what's going on without it.
> >>
> >> Could you please edit libvirtd.conf (should be something like
> >> /usr/local/etc/libvirtd.conf if installed from port) to add:
> >>
> >> log_level = 2
> >>
> >> then run libvirtd by hand in foreground:
> >
> > OK, I added log_level = 2 to /usr/local/etc/libvirt/libvirtd.conf
> > and ran libvirtd in the foreground:
> >
> > 2014-06-10 15:53:26.846+0000: 34485593088: info : libvirt version: 1.2.5
> > 2014-06-10 15:53:26.846+0000: 34485593088: warning :
> > virDriverLoadModule:63 : Module
> > /usr/local/lib/libvirt/connection-driver/libvirt_driver_uml.so not
> > accessible
> 
> I saw the above warning, so I tried patching the port with this:
> 
> --- pkg-plist.orig      2014-06-10 10:36:22.084757789 -0700
> +++ pkg-plist   2014-06-10 09:27:25.280043239 -0700
> @@ -274,6 +274,8 @@
>  lib/libvirt/connection-driver/libvirt_driver_secret.la
>  lib/libvirt/connection-driver/libvirt_driver_storage.so
>  lib/libvirt/connection-driver/libvirt_driver_storage.la
> +lib/libvirt/connection-driver/libvirt_driver_uml.so
> +lib/libvirt/connection-driver/libvirt_driver_uml.la
>  lib/libvirt/connection-driver/libvirt_driver_vbox.so
>  lib/libvirt/connection-driver/libvirt_driver_vbox.la

This warning is not critical. Actually, UML should not be built on
FreeBSD and I would need to disable it by default. For now I think the
proper fix is to configure with '--without-uml' flag.

As for the segfault, I think I have a guess.

Could you please drop '--without-network' from CONFIGURE_ARGS in the
port's Makefile and try to rebuild?

Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-testing/attachments/20140610/12391909/attachment.sig>


More information about the freebsd-testing mailing list