From owner-freebsd-virtualization@freebsd.org Sat Jun 27 19:15:54 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 627D835A21D for ; Sat, 27 Jun 2020 19:15:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49vNky21DFz4LZ9 for ; Sat, 27 Jun 2020 19:15:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 44E4435A21C; Sat, 27 Jun 2020 19:15:54 +0000 (UTC) Delivered-To: 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 44A7D35A404 for ; Sat, 27 Jun 2020 19:15:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49vNky144Yz4Lcc for ; Sat, 27 Jun 2020 19:15:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1F9D19F74 for ; Sat, 27 Jun 2020 19:15:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05RJFsl9057758 for ; Sat, 27 Jun 2020 19:15:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05RJFseq057757 for virtualization@FreeBSD.org; Sat, 27 Jun 2020 19:15:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 247599] bhyve exits when booting UEFI OpenBSD 6.7 guest Date: Sat, 27 Jun 2020 19:15:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kelp@plek.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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, 27 Jun 2020 19:15:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247599 Bug ID: 247599 Summary: bhyve exits when booting UEFI OpenBSD 6.7 guest Product: Base System Version: 12.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: kelp@plek.org On FreeBSD 12.1-RELEASE-p6 when installing an OpenBSD 6.7 guest with UEFI b= oot, bhyve exits very early in the boot process. I'm running bhyve like this: bhyve -c 1 -m 4G -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ -s 0,hostbridge \ -s 31,lpc -l com1,stdio \ -s 3:0,ahci-hd,/zroot/vm/.iso/install67.fs,ro \ -s 4:0,virtio-blk,/dev/zvol/zroot/vm/openbsd1/disk0.img \ -s 5:0,virtio-net,tap3,mac=3D58:9c:fc:01:ff:4e \ openbsd1 And I get: probing: pc0 com0 com1 mem[640K 3049M 16M 20K 4M 64K 1024M] disk: hd0 hd1* >> OpenBSD/amd64 BOOTX64 3.50 boot> cannot open hd0a:/etc/random.seed: No such file or directory booting hd0a:/6.7/amd64/bsd.rd: 3826379+1557504+3881976+0+598016 [301104+128+465696+311208]=3D0xa71778 entry point at 0x1001000 rdmsr to register 0xc80 on vcpu 0 When searching around for solutions, I found this github issue: https://github.com/machyve/xhyve/issues/179 That contains a workaround, which does work for me at the OpenBSD boot: pro= mpt run this: set tty com0 Then I can get a clean boot and install, and everything is fine after that. I'm not sure if this is more a bhyve issue, or an OpenBSD issue, but figure= d it was worth reporting here. I can reproduce this 100%. --=20 You are receiving this mail because: You are the assignee for the bug.=