libvirt and bhyve problems

Roman Bogorodskiy novel at FreeBSD.org
Tue Jun 10 19:17:15 UTC 2014


  Craig Rodrigues wrote:

> On Tue, Jun 10, 2014 at 10:54 AM, Roman Bogorodskiy <novel at freebsd.org> wrote:
> > 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
> 
> OK, I dropped --without-network from CONFIGURE_ARGS and rebuilt the port.
> I am still getting the coredump, but am getting different errors:
> 
> 2014-06-10 18:59:22.713+0000: 34485593088: info : libvirt version: 1.2.5
> 2014-06-10 18:59:22.713+0000: 34485593088: warning :
> virDriverLoadModule:63 : Module
> /usr/local/lib/libvirt/connection-driver/libvirt_driver_network.so not
> accessible
^^^^

Hmmm, this sounds weird.

I think I need to try the port version myself to see if I could
reproduce it this way (I'm usually using git version of libvirt instead
of port).

In the meantime, I'd really appreciate if you could build the port with
WITH_DEBUG flag and try to get a stacktrace.

> 2014-06-10 18:59:22.715+0000: 34485593088: error :
> virDriverLoadModule:71 : failed to load module
> /usr/local/lib/libvirt/connection-driver/libvirt_driver_qemu.so
> /usr/local/lib/libvirt/connection-driver/libvirt_driver_qemu.so:
> Undefined symbol "networkAllocateActualDevice"
> 2014-06-10 18:59:22.716+0000: 34485593088: error :
> virDriverLoadModule:71 : failed to load module
> /usr/local/lib/libvirt/connection-driver/libvirt_driver_uml.so
> /usr/local/lib/libvirt/connection-driver/libvirt_driver_uml.so:
> Undefined symbol "inotify_add_watch"
> 2014-06-10 18:59:22.845+0000: 34485605376: info :
> virDomainObjListLoadAllConfigs:18249 : Scanning for configs in
> /usr/local/etc/libvirt/bhyve
> 2014-06-10 18:59:22.845+0000: 34485605376: info :
> virDomainObjListLoadAllConfigs:18273 : Loading config file 'bhyve.xml'
> 2014-06-10 18:59:22.847+0000: 34485605376: error : do_open:1166 : no
> connection driver available for qemu:///system
> 2014-06-10 18:59:42.273+0000: 34485598208: error :
> virNetDevBridgeAddPort:399 : Unable to add bridge tap0 port vnet7:
> Invalid argument

This last line also sounds strange.

I'm wondering if you execute 'net-list --all' will you see the 'default'
network? And if it's there, will 'net-show default' should that
Autostart is enabled for it?

> Segmentation fault (core dumped)

Thanks,

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/db20bbc7/attachment.sig>


More information about the freebsd-testing mailing list