From owner-freebsd-virtualization@freebsd.org Sat Jan 9 19:54:03 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C054A6A78C for ; Sat, 9 Jan 2016 19:54:03 +0000 (UTC) (envelope-from barasingha@crossedbar.com) Received: from p3plsmtpa06-02.prod.phx3.secureserver.net (p3plsmtpa06-02.prod.phx3.secureserver.net [173.201.192.103]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EAAF91F8C for ; Sat, 9 Jan 2016 19:54:02 +0000 (UTC) (envelope-from barasingha@crossedbar.com) Received: from TITAN ([209.94.253.146]) by p3plsmtpa06-02.prod.phx3.secureserver.net with id 3vsR1s00B3AH1mx01vsRjw; Sat, 09 Jan 2016 12:52:26 -0700 From: "barasingha" To: Subject: bhyve won't let go Date: Sat, 9 Jan 2016 13:52:31 -0600 Message-ID: <000001d14b17$478b0840$d6a118c0$@com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdFKgkAhcPja99WTRq6ci/XvLdCSUA== Content-Language: en-us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Sat, 09 Jan 2016 19:54:03 -0000 I am running 10.2 Release. I am running pfsense as a guest of bhyve. Using passthru, pfsense is given 2 nics. I wish to run the vm headless. I have written a rc script and can use the script to manually control the vm or enable it to run at bootup. The problem is that I can't get both the guest and host to run at boot. If vm is enabled, bootup hangs once bhyve is called. In this scenario I can ssh into pfsense but not into the host. If I halt the vm the host will finally continue to boot. When controlled manually the same thing happens, however I can then open another shell to provide host control. sample: bhyveload -m 4G -c /dev/nmdm0A -d /directory/to/boot/disk name bhyve -c 2 -m 4G -A -H -P \ -s 0,hostbridge \ -s 1,lpc \ -s n,others \ -l com1, /dev/nmdm0A \ name Any ideas? I think I have a problem in /etc/ttys on either the host or vm. Thanks, Barasingha