From owner-freebsd-virtualization@freebsd.org Tue Jun 6 15:55:32 2017 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 3C2A2BEF975 for ; Tue, 6 Jun 2017 15:55:32 +0000 (UTC) (envelope-from lausts@laus.org) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 030DD714C6 for ; Tue, 6 Jun 2017 15:55:31 +0000 (UTC) (envelope-from lausts@laus.org) Received: from [65.29.112.189] ([65.29.112.189:21238] helo=mail.laus.org) by cdptpa-omsmta02 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 3B/E7-20123-C60D6395; Tue, 06 Jun 2017 15:55:24 +0000 Received: from mail.laus.org (localhost [127.0.0.1]) by mail.laus.org (8.15.2/8.15.2) with ESMTPS id v56FtNnD023558 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 6 Jun 2017 11:55:23 -0400 (EDT) (envelope-from lausts@laus.org) Received: (from lausts@localhost) by mail.laus.org (8.15.2/8.15.2/Submit) id v56FtNeS023557 for freebsd-virtualization@freebsd.org; Tue, 6 Jun 2017 11:55:23 -0400 (EDT) (envelope-from lausts) Date: Tue, 6 Jun 2017 11:55:23 -0400 From: Thomas Laus To: freebsd-virtualization@freebsd.org Subject: Bhyve Problem Installing OpenBSD 6.1 Message-ID: <20170606155523.GA23532@mail.laus.org> Reply-To: lausts@acm.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 11.0-RELEASE-p10 on an amd64 User-Agent: Mutt/1.8.2 (2017-04-18) X-RR-Connecting-IP: 107.14.168.7:25 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 06 Jun 2017 15:55:32 -0000 Group: I have a problem installing OpenBSD 6.1 as a guest operating system. I have read this group's archives that suggest using the '-w' switch to load bhyve. How do I add this switch to the 'vm install' command? My computer info: FreeBSD 12.0-CURRENT #2 r319609M: Mon Jun 5 17:58:55 EDT 2017 root@zfs:/usr/obj/usr/src/sys/GENERIC-NODEBUG amd64 FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) VT(vga): resolution 640x480 CPU: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (3192.15-MHz K8-class CPU) Origin="GenuineIntel" Id=0x506e3 Family=0x6 Model=0x5e Stepping=3 Features=0xbfebfbff Features2=0x7ffafbff AMD Features=0x2c100800 AMD Features2=0x121 Structured Extended Features=0x29c6fbb XSAVE Features=0xf VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16457211904 (15694 MB) As you can see, this Intel i5 lists the SDBG capability that it really doesn't posess and the OpenBSD installer chokes. Hardened BSD has a fix that is made to the 'xmsr.c' file in the bhyve program. Are there plans to implement this fix to the mainline FreeBSD code or is there another fix in progress? Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF