From owner-freebsd-current@freebsd.org Fri Jun 15 14:26:50 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85876100AB03; Fri, 15 Jun 2018 14:26:50 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 229E170A9E; Fri, 15 Jun 2018 14:26:49 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w5FE27Ao050794; Fri, 15 Jun 2018 07:02:07 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w5FE26Xm050793; Fri, 15 Jun 2018 07:02:06 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201806151402.w5FE26Xm050793@pdx.rh.CN85.dnsmgr.net> Subject: Re: freebsd bhyve instance does not show kernel messages after boot screen In-Reply-To: To: tech-lists Date: Fri, 15 Jun 2018 07:02:06 -0700 (PDT) CC: "David P. Discher" , freebsd-current@freebsd.org, freebsd-virtualization@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 14:26:50 -0000 > On 14/06/2018 23:26, David P. Discher wrote: > > Try in /boot/loader.conf of the VM : > > > > console=userboot > > > > or after beastie drop to loader OK promot ?and try : > > > > set console=userboot > > > > I think 11.x should fall back to userboot in?bhyve if vidconsole of > > comconsole were set. > > > > (This is assuming non-EFI booting - using bhyveloader ). > > Hi, > > Thanks for trying to help. I tried it both ways - in loader.conf and > from the loader prompt but unfortunately it didn't work. For > clarification, here's the exact way I start the VM: > > 1. $ screen -S fbsd11-vm > 2. $ sudo su - > 3. # (cd to where vm is) > 4. sh /usr/share/examples/bhyve/vmrun.sh -c 4 -m 8192M -t tap3 -d > fbsd-guest.img fbsd-guest > > If I transfer the VM to a freebsd-11 host (r333874) it also happens. So > the behaviour is a property of the VM. Unless of course the issue is > with bhyve itself on both -stable and -current. > > A possible clue (but I'm really out of my depth here) is ISTR something > like this happening if say the VM is called say fbsd-guest and is then > subsequently launched with some other name like fbsd11guest. > > Any ideas? With the VM shutdown look in /dev/vmm for the same name as the VM, if you see it there, make sure you do not have a running instnace of it, then do: bhyvectl --destroy --name=fbsd11-vm You may have remanants of a prior/crashed VM hanging around causing you issues. -- Rod Grimes rgrimes@freebsd.org