From owner-freebsd-virtualization@freebsd.org Sun Mar 1 15:58:12 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 46A05243B0B for ; Sun, 1 Mar 2020 15:58:12 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.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 48VnxG4NJ0z4KC9 for ; Sun, 1 Mar 2020 15:58:10 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 021Fw7SA022437; Sun, 1 Mar 2020 07:58:07 -0800 (PST) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 021Fw7F3022436; Sun, 1 Mar 2020 07:58:07 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202003011558.021Fw7F3022436@gndrsh.dnsmgr.net> Subject: Re: Cannot run FreeBSD 11 as a vm-bhyve guest under FreeBSD 12 In-Reply-To: <0114f8c1-950d-d61c-db63-5ed11fd1ddd4@netfence.it> To: Andrea Venturoli Date: Sun, 1 Mar 2020 07:58:07 -0800 (PST) CC: 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-Rspamd-Queue-Id: 48VnxG4NJ0z4KC9 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [-0.16 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.44)[-0.438,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.65)[-0.652,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.03)[ip: (0.13), ipnet: 69.59.192.0/19(0.07), asn: 13868(0.03), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 01 Mar 2020 15:58:12 -0000 > Hello. > > I'd like to run a FreeBSD 11.3 VM under FreeBSD 12.1. > As I'm already using vm-bhyve to run a Windows guest, I think the best > (or possibly only) choice is to use bhyve for the FreeBSD guest too. > > I've got the following conf file: > > > guest="freebsd" > > loader="bhyveload" > > cpu=1 > > memory=512M > > network0_type="virtio-net" > > network0_switch="public" > > disk0_type="virtio-blk" > > disk0_name="disk0" > > disk0_dev="sparse-zvol" > > Running "vm install -f f11b FreeBSD-11.3-RELEASE-amd64-disc1.iso", will > boot the guest, but it will hang after a while with: > > > /boot/kernel/kernel text=0x1564b08 data=0x145330+0x4cdf30 syms=[0x8+0x16daf0+0x8+0x186a43] > > Booting... > > | > > "vm stop" will stop it (through an ACIP shutdown) after a while. > > > > So I tried with UEFI; here's the config file: > > guest="freebsd" > > loader="uefi" > > cpu=1 > > memory=512M > > network0_type="virtio-net" > > network0_switch="public" > > disk0_type="virtio-blk" > > disk0_name="disk0" > > disk0_dev="sparse-zvol" > > disk1_type="ahci-cd" > > disk1_dev="custom" > > disk1_name="/zroot/vm/.iso/FreeBSD-11.3-RELEASE-amd64-disc1.iso" > > graphics="yes" > > xhci_mouse="yes" > > graphics_listen="192.168.xxx.1" > > Starting it with "vm start" and connecting through VNC, it goes through > the same stages as above, but ends up with a blank screen with a white > block cursor in the first column of the first row. > > > > Any hint on how to get past this? THis again looks very much like the "lost console" issue of the system flipping to a serial console and your trying to access it via a graphical console interface. One thing to try is to stop in the loader and do this: boot_serial=NO boot -- Rod Grimes rgrimes@freebsd.org