From owner-freebsd-virtualization@FreeBSD.ORG Tue Jun 10 19:17:15 2014 Return-Path: Delivered-To: freebsd-virtualization@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 0397B133; Tue, 10 Jun 2014 19:17:15 +0000 (UTC) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (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 19DE52941; Tue, 10 Jun 2014 19:17:13 +0000 (UTC) Received: by mail-lb0-f179.google.com with SMTP id u10so843366lbd.10 for ; Tue, 10 Jun 2014 12:17:12 -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=7XvX+ESCIjQFv1erfiOllgxNETthdLWgwB0S1pL3ROE=; b=PZFP/+e0W8ZI58cm0MRJxNzBeRVIH1kdLhG71K/xv26ZditEUB1z8Z5ANr1qu0gMDe 1YAEBVB9WHsudq0AkRMKO3CY+XUr3wF0+FSgNK2DJlY8SztEt4Va8PXZMmEC3QE8FNMq HdRlqiU7ZmlX4dOonUUtsLEWYxNVKQkIDwqrlsX52HeBGgIlIjP1Dymypau/XL5I3D/n tdV8T5m2qzeR4PojwbopObQxRp1LOv+GAVA9f1h908jj5bn4M/fqFE9VGdvaSFRrRuiH 3A3bSMfWYXR+NpNT60/Nn6Ivf/tErDVWLWTocFECDRcOouMllAFbzYDhow1mheVexTOV oFqg== X-Received: by 10.112.14.42 with SMTP id m10mr2328900lbc.84.1402427832003; Tue, 10 Jun 2014 12:17:12 -0700 (PDT) Received: from kloomba ([77.94.196.164]) by mx.google.com with ESMTPSA id lq20sm22351683lbb.24.2014.06.10.12.17.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jun 2014 12:17:11 -0700 (PDT) Sender: Roman Bogorodskiy Date: Tue, 10 Jun 2014 23:15:01 +0400 From: Roman Bogorodskiy To: Craig Rodrigues Subject: Re: libvirt and bhyve problems Message-ID: <20140610191439.GA220@kloomba> References: <20140610114342.GA11194@dev.san.ru> <20140610175420.GC61743@kloomba> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JgQwtEuHJzHdouWu" 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-virtualization@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 19:17:15 -0000 --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 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--