From owner-freebsd-testing@FreeBSD.ORG Tue Jun 10 17:56:32 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7FE6F578; Tue, 10 Jun 2014 17:56:32 +0000 (UTC) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CBE820F4; Tue, 10 Jun 2014 17:56:31 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id ty20so4213951lab.12 for ; Tue, 10 Jun 2014 10:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=LybjP7zymltthPdonftR2oJF/ppY/zhjyo0rBp/UuFI=; b=vYDc/pz0CJz4JPNUbwqK1LRITuifOHOp85VzWwrH2Z/NDBdphFYnBb3fGpgx1ouIRs BQbwJHPBtnHnowoaryaaw08BO9lvHCUgkyOWeOjYDAl2hG7+jNwsQJNCQ6gnmqEnOZLT VHUGybC2dR1qV3wojydbkqBoqKbmxal0bxMsCUamOSaYaB2rL3oQoeW6VzIRhkXrOwLL hOP3jO/fAfiENiBtoSICMsp/hpGkUF96xTyBYvXywbtzRT5UkpAe5CF5+B8To0vCkUxt ScvqcFA55ose1wyvBtJQZ2zCgB/rEzfvTB/yzbawHS4/0sqqT0vEyGxImnNLMoC4C0rV J/Tw== X-Received: by 10.152.23.136 with SMTP id m8mr23843973laf.2.1402422989518; Tue, 10 Jun 2014 10:56:29 -0700 (PDT) Received: from kloomba ([77.94.196.164]) by mx.google.com with ESMTPSA id k1sm22170264lbb.9.2014.06.10.10.56.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jun 2014 10:56:28 -0700 (PDT) Sender: Roman Bogorodskiy Date: Tue, 10 Jun 2014 21:54:22 +0400 From: Roman Bogorodskiy To: Craig Rodrigues Subject: Re: libvirt and bhyve problems Message-ID: <20140610175420.GC61743@kloomba> References: <20140610114342.GA11194@dev.san.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c3bfwLpm8qysLVxt" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "freebsd-testing@freebsd.org" , Roman Bogorodskiy , "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 17:56:32 -0000 --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 wr= ote: > > On Tue, Jun 10, 2014 at 4:43 AM, Roman Bogorodskiy = 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--