Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 21:54:22 +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:  <20140610175420.GC61743@kloomba>
In-Reply-To: <CAG=rPVfWBsSWKQw%2BsnOEoe7iK8vTg7Uw2S01DxzA3DPi4UkNAQ@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>

next in thread | previous in thread | raw e-mail | index | archive | help

--c3bfwLpm8qysLVxt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

  Craig Rodrigues wrote:

> On Tue, Jun 10, 2014 at 8:58 AM, Craig Rodrigues <rodrigc@freebsd.org> wr=
ote:
> > On Tue, Jun 10, 2014 at 4:43 AM, Roman Bogorodskiy <novel@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 =3D 2
> >>
> >> then run libvirtd by hand in foreground:
> >
> > OK, I added log_level =3D 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
>=20
> I saw the above warning, so I tried patching the port with this:
>=20
> --- 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

--c3bfwLpm8qysLVxt
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (FreeBSD)

iQEcBAEBAgAGBQJTl0ZMAAoJEMltX/4IwiJqyuIIAJymYJPw21w6t4UyMmJHSfBk
42AgLt7jGgH1CiGuXjguLgtX/NUaaPlcHoen4KBVq+d7pPjKZvyEjbQBXfYURIjw
22p+ZjIz/g4mkFcel0OCMc0CSHitR2m8TUnk89kg5vljbK52DM+lnYUE7oaXanxc
9s+GYouBmzfisCbdjOcc++zQqOWz0QqR/WSzAYULsye59a0SycjEChRUQ7ZLILfK
eMeBpCVq+cU7YXA8yEbA5kYDorWsAKS/IOQhpB0kEwYxaTiYC1CppltDT8a8smmi
6U/wPGBHa97Owf3cWTLSxTNbF3Jqk1UIpQZZyGFK/lQ10oB5KnI1ncntF08f2v4=
=hNbZ
-----END PGP SIGNATURE-----

--c3bfwLpm8qysLVxt--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140610175420.GC61743>