From owner-freebsd-virtualization@FreeBSD.ORG Wed Nov 20 22:15:56 2013 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 D2376A78 for ; Wed, 20 Nov 2013 22:15:56 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 97C592D7F for ; Wed, 20 Nov 2013 22:15:56 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 3589E1226A; Thu, 21 Nov 2013 08:15:49 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BQE31422 (AUTH peterg@ptree32.com.au); Thu, 21 Nov 2013 08:15:48 +1000 Message-ID: <528D3492.1090807@freebsd.org> Date: Wed, 20 Nov 2013 14:15:46 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Aryeh Friedman Subject: Re: strange error from bhyve References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.16 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: Wed, 20 Nov 2013 22:15:56 -0000 Hi Aryeh, > When I run the following script bhyveload exits normally but when bhyve > runs I get: > > Error return from kevent change: Operation not supported by device Hmmm, I've not seen that before. Are you able to do a build of bhyve and run it in gdb ? > The script: > > #!/bin/sh > > ifconfig tap6000 destroy > ifconfig tap6000 create > ifconfig tap6000 up > sleep 5 > ifconfig bridge0 addm tap6000 up > /usr/sbin/bhyvectl --vm=7598731650023639040instanceID0 --destroy > /usr/sbin/bhyveload -m 1024 -d /vms/dfsdfsf 7598731650023639040instanceID0 > /usr/sbin/bhyve -c 0 -m 1024 -AI -H -P -g 0 -s 0:0,hostbridge -s > 1:0,virtio-net,tap6000 -s 2:0,virtio-blk,/vms/dfsdfsf -S 31,uart,stdio > 7598731650023639040instanceID0& If you want this to run in the background, you may want to take the stdio parameter off the uart device. later, Peter.