Date: Tue, 10 Jun 2014 23:15:01 +0400 From: Roman Bogorodskiy <novel@FreeBSD.org> To: Craig Rodrigues <rodrigc@FreeBSD.org> Cc: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, Roman Bogorodskiy <bogorodskiy@gmail.com>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: libvirt and bhyve problems Message-ID: <20140610191439.GA220@kloomba> In-Reply-To: <CAG=rPVcgR4oP3-K_Mfih3xbtD5=99HW9z9L7aK11K7MtjRXtoA@mail.gmail.com> References: <CAG=rPVc_4_QKvj9Q59PXzTn0hHNO9G8Ud=cZ9ijWgH6LC__wKQ@mail.gmail.com> <20140610114342.GA11194@dev.san.ru> <CAG=rPVfOO0QY4Wp41O-PBcN9aB1HRPn3Va4beSY_-7E24Ui8vw@mail.gmail.com> <CAG=rPVfWBsSWKQw%2BsnOEoe7iK8vTg7Uw2S01DxzA3DPi4UkNAQ@mail.gmail.com> <20140610175420.GC61743@kloomba> <CAG=rPVcgR4oP3-K_Mfih3xbtD5=99HW9z9L7aK11K7MtjRXtoA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--JgQwtEuHJzHdouWu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Craig Rodrigues wrote: > On Tue, Jun 10, 2014 at 10:54 AM, Roman Bogorodskiy <novel@freebsd.org> w= rote: > > 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 >=20 > OK, I dropped --without-network from CONFIGURE_ARGS and rebuilt the port. > I am still getting the coredump, but am getting different errors: >=20 > 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 --JgQwtEuHJzHdouWu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAEBAgAGBQJTl1kwAAoJEMltX/4IwiJqmFwIAMFDi5JMJQLIEMY5dIRX422i yfyDgeejj0mOssN2+v0XnqDlBReRSGhx6BmpP2fh/eVxUVnZEWcsMmq9DKcmLIkr Z93j4BR+7CoEc6hc045LwYcJpgU7aH5lp0fBnthYZDIDDerep5kIT5DbQgFdTSdW yatRI/MIrX1EpQmYXczr4y6WNh/0ZffQOM4JrYzzPRwcsGNx6J6Eo1kJzNPVnJ9j oqV5pWNdKuil9yNoTaNXnCzUJ22qL79uwG71RIG4n8/f1mhi8h68IldnkFWwXSxa 2xLbqtJgvp2YjbM/bzXnNCU6Mfpm3j3dBXCrGq0iOAM2YtX3XFYLKFtKWtoPnJ0= =IA6e -----END PGP SIGNATURE----- --JgQwtEuHJzHdouWu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140610191439.GA220>