From owner-freebsd-virtualization@freebsd.org Sun Apr 9 21:00:33 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 8675DD3606F for ; Sun, 9 Apr 2017 21:00:33 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 641601C2E for ; Sun, 9 Apr 2017 21:00:33 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v39L01vo010629 for ; Sun, 9 Apr 2017 21:00:33 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201704092100.v39L01vo010629@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-virtualization@FreeBSD.org Subject: Problem reports for freebsd-virtualization@FreeBSD.org that need special attention Date: Sun, 09 Apr 2017 21:00:33 +0000 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: Sun, 09 Apr 2017 21:00:33 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 212820 | FreeBSD 10-STABLE from latest HEAD and 11-RELEASE 1 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Mon Apr 10 22:29:15 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 E3ED7D38E93 for ; Mon, 10 Apr 2017 22:29:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D345B189 for ; Mon, 10 Apr 2017 22:29:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3AMTBvK086855 for ; Mon, 10 Apr 2017 22:29:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203994] bhyve kernel module may need to relax some checks when running nested under KVM Date: Mon, 10 Apr 2017 22:29:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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.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: Mon, 10 Apr 2017 22:29:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203994 --- Comment #13 from Peter Grehan --- For completeness, here's the output from FreeBSD running as a KVM guest on Ubuntu 16.04, itself running on VMWare Fusion, on an Intel i5-3230M MSR 0x480: 0x00981000 0x11e57ed0 MSR 0x482: 0xfff9fffe 0x0401e172 MSR 0x48b: 0x000000f2 0x00000000 MSR 0x48c: 0x00000601 0x04114040 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Apr 10 22:32:54 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 BFE1BD37319 for ; Mon, 10 Apr 2017 22:32:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AEE9685B for ; Mon, 10 Apr 2017 22:32:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3AMWr3X000653 for ; Mon, 10 Apr 2017 22:32:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203994] bhyve kernel module may need to relax some checks when running nested under KVM Date: Mon, 10 Apr 2017 22:32:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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.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: Mon, 10 Apr 2017 22:32:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203994 --- Comment #14 from Peter Grehan --- Thanks to those who posted MSR output. There are 3 issues: - the INST/OUTS capability isn't advertised on some KVM versions. I need to run a simple test to see if this matters or not in this environment. Hopefu= lly it won't, and this test can be relaxed. - bhyve tests for all variants of INVVPID, but only uses the 2 that are advertised by KVM. This test will be dropped back to just those 2. - bhyve does use both forms of INVEPT, where some versions of KVM only advertise the coarse version. Since the finer-grained version is just an optimization, bhyve will be modified to only use the finer-grained version = if it is available. I'll try and get a patch together shortly so these mods can be tested. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Apr 11 13:39:34 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 E4E13D3950E for ; Tue, 11 Apr 2017 13:39:34 +0000 (UTC) (envelope-from hannes@mehnert.org) Received: from mail.mehnert.org (mail.mehnert.org [213.73.89.200]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A324F804 for ; Tue, 11 Apr 2017 13:39:34 +0000 (UTC) (envelope-from hannes@mehnert.org) Received: from [128.232.110.119] (c119.al.cl.cam.ac.uk [128.232.110.119]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "hannes@mehnert.org", Issuer "mehnert root CA" (not verified)) by mail.mehnert.org (Postfix) with ESMTPS id 895BD3390 for ; Tue, 11 Apr 2017 15:30:39 +0200 (CEST) To: freebsd-virtualization@freebsd.org From: Hannes Mehnert Subject: debugging FreeBSD BHyve guest Message-ID: Date: Tue, 11 Apr 2017 14:30:28 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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, 11 Apr 2017 13:39:35 -0000 Hello, I want to debug a FreeBSD BHyve guest kernel, and tried to follow the instructions on the wiki (https://wiki.freebsd.org/bhyve/DebuggingWithGdb) -- but already the "device bvmdebug" is no longer recognized by make buildkernel. Is there a way (and a howto?) to kgdb a FreeBSD guest? Thanks, hannes From owner-freebsd-virtualization@freebsd.org Wed Apr 12 08:58:40 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 A7196D38BB1 for ; Wed, 12 Apr 2017 08:58:40 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C9394164; Wed, 12 Apr 2017 08:58:39 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id LAA01660; Wed, 12 Apr 2017 11:57:32 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1cyE5k-000Brj-K5; Wed, 12 Apr 2017 11:57:32 +0300 To: freebsd-virtualization@FreeBSD.org, Peter Grehan From: Andriy Gapon Subject: dos in bhyve Message-ID: <30abb88b-0c86-2dd6-902b-ee0867ce380d@FreeBSD.org> Date: Wed, 12 Apr 2017 11:56:11 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Wed, 12 Apr 2017 08:58:40 -0000 I wonder if anyone was able to run any DOS variant in bhyve. I tried FreeDOS using BHYVE_UEFI_CSM firmware, but it seems to just hang. I also tried adding a frame buffer device, it seems that there is some reaction to key presses (RET) sent via VNC, but the screen stays black, so it's impossible to tell if there are any prompts and what happens. In any case, after a few RET-s the guest crashes with a triple fault. Seems like that happens when it enables paging. Some data from the VM state after the crash. Last instructions: mov %eax,%cr0 mov $0x110000,%edi <=========== triple fault here cr0[0] 0x0000000080000033 cr3[0] 0x0000000000115000 cr4[0] 0x00000000000006a0 I wonder if it's the value of CR4 that causes the trouble (PAE bit set). -- Andriy Gapon From owner-freebsd-virtualization@freebsd.org Wed Apr 12 17:14:29 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 6585BD3B523 for ; Wed, 12 Apr 2017 17:14:29 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 443F49BA for ; Wed, 12 Apr 2017 17:14:28 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (106-68-194-141.dyn.iinet.net.au [106.68.194.141]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id v3CHENeT062562 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 12 Apr 2017 10:14:27 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: debugging FreeBSD BHyve guest To: freebsd-virtualization@freebsd.org References: From: Julian Elischer Message-ID: Date: Thu, 13 Apr 2017 01:14:17 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Wed, 12 Apr 2017 17:14:29 -0000 On 11/4/17 9:30 pm, Hannes Mehnert wrote: > Hello, > > I want to debug a FreeBSD BHyve guest kernel, and tried to follow the > instructions on the wiki > (https://wiki.freebsd.org/bhyve/DebuggingWithGdb) -- but already the > "device bvmdebug" is no longer recognized by make buildkernel. I hope that is not true. I use it all the time on 10. > > Is there a way (and a howto?) to kgdb a FreeBSD guest? > > > Thanks, > > hannes > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@freebsd.org Wed Apr 12 19:17:16 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 BA1D3D3B307 for ; Wed, 12 Apr 2017 19:17:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A965EBEA for ; Wed, 12 Apr 2017 19:17:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3CJHDTj099502 for ; Wed, 12 Apr 2017 19:17:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203994] bhyve kernel module may need to relax some checks when running nested under KVM Date: Wed, 12 Apr 2017 19:17:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: martin@lucina.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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.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: Wed, 12 Apr 2017 19:17:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203994 Martin Lucina changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin@lucina.net --- Comment #15 from Martin Lucina --- Hi, to add some more data points, this is Freebsd 11-RELEASE running in KVM (with nested=3DY, Linux kernel 4.9.20, QEMU version 2.8.0(Debian 1:2.8+dfsg-3~bpo8+1): CPU: Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz (2594.17-MHz K8-class CPU) MSR 0x480: 0x00d81000 0x11e57ed0 MSR 0x482: 0xfff9fffe 0x0401e172 MSR 0x48b: 0x000000fb 0x00000000 MSR 0x48c: 0x00000601 0x06114041 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Apr 13 07:09:56 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 9184FD3CAD9 for ; Thu, 13 Apr 2017 07:09:56 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 55DAF36E for ; Thu, 13 Apr 2017 07:09:55 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id EF23720ACE28 for ; Thu, 13 Apr 2017 17:09:47 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id E9DB52809CC for ; Thu, 13 Apr 2017 17:09:47 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ymNwf4htKANX for ; Thu, 13 Apr 2017 17:09:47 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 48E4A280900; Thu, 13 Apr 2017 17:09:45 +1000 (AEST) Subject: Re: dos in bhyve To: Andriy Gapon References: <30abb88b-0c86-2dd6-902b-ee0867ce380d@FreeBSD.org> From: Peter Grehan Cc: freebsd-virtualization@FreeBSD.org Message-ID: Date: Thu, 13 Apr 2017 00:09:44 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <30abb88b-0c86-2dd6-902b-ee0867ce380d@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=XKlAcUpE c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=AzvcPWV-tVgA:10 a=AW4lfzagKc0yYdLjPe4A:9 a=QEXdDO2ut3YA:10 wl=host:3 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: Thu, 13 Apr 2017 07:09:56 -0000 Hi Andriy, > I wonder if anyone was able to run any DOS variant in bhyve. I've run vm86 mode in Linux but that doesn't really count :) > I tried FreeDOS using BHYVE_UEFI_CSM firmware, but it seems to just hang. Try looking at the CSM/BIOS debug output that is available on the bvmcons debug port (use bhyve's "-b" option, though you'll want to send serial port output to somewhere other than stdout (e.g an nmdm port). That will at least show what BIOS calls are being issued, and if any are unimplemented. > I also tried adding a frame buffer device, it seems that there is some reaction > to key presses (RET) sent via VNC, but the screen stays black, so it's > impossible to tell if there are any prompts and what happens. The VGA renderer hasn't been hooked up in this mode yet (fbuf,vga=on). I can work with you offline to get that going. later, Peter. From owner-freebsd-virtualization@freebsd.org Thu Apr 13 09:49:08 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 5424ED3C3EB for ; Thu, 13 Apr 2017 09:49:08 +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 317D6BC8; Thu, 13 Apr 2017 09:49:07 +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 v3D9mxJF083940; Thu, 13 Apr 2017 02:48:59 -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 v3D9mxvg083939; Thu, 13 Apr 2017 02:48:59 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201704130948.v3D9mxvg083939@pdx.rh.CN85.dnsmgr.net> Subject: Re: dos in bhyve In-Reply-To: To: Peter Grehan Date: Thu, 13 Apr 2017 02:48:58 -0700 (PDT) CC: Andriy Gapon , 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-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: Thu, 13 Apr 2017 09:49:08 -0000 > Hi Andriy, > > > I wonder if anyone was able to run any DOS variant in bhyve. > > I've run vm86 mode in Linux but that doesn't really count :) > > > I tried FreeDOS using BHYVE_UEFI_CSM firmware, but it seems to just hang. > > Try looking at the CSM/BIOS debug output that is available on the > bvmcons debug port (use bhyve's "-b" option, though you'll want to send > serial port output to somewhere other than stdout (e.g an nmdm port). > > That will at least show what BIOS calls are being issued, and if any > are unimplemented. > > > I also tried adding a frame buffer device, it seems that there is some reaction > > to key presses (RET) sent via VNC, but the screen stays black, so it's > > impossible to tell if there are any prompts and what happens. > > The VGA renderer hasn't been hooked up in this mode yet (fbuf,vga=on). > I can work with you offline to get that going. Can you keep me in the loop on this please? -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-virtualization@freebsd.org Fri Apr 14 14:04: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 554ACD3D490 for ; Fri, 14 Apr 2017 14:04:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 448BE9C1 for ; Fri, 14 Apr 2017 14:04:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3EE4VIN001464 for ; Fri, 14 Apr 2017 14:04:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203994] bhyve kernel module may need to relax some checks when running nested under KVM Date: Fri, 14 Apr 2017 14:04:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: keith@timeghost.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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.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: Fri, 14 Apr 2017 14:04:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203994 Keith changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |keith@timeghost.com --- Comment #16 from Keith --- Hi, Add me to the list of folks with this issue. [root@freenas] ~# cpucontrol -m 0x480 /dev/cpuctl0 MSR 0x480: 0x00981000 0x11e57ed0 [root@freenas] ~# cpucontrol -m 0x482 /dev/cpuctl0 MSR 0x482: 0xfff9fffe 0x0401e172 [root@freenas] ~# cpucontrol -m 0x48b /dev/cpuctl0 MSR 0x48b: 0x000000fb 0x00000000 [root@freenas] ~# cpucontrol -m 0x48c /dev/cpuctl0 MSR 0x48c: 0x00000601 0x04114040 [root@freenas] ~# dmesg | grep CPU CPU: Intel(R) Xeon(R) CPU X5690 @ 3.47GHz (3458.07-MHz K8-class = CPU) FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Apr 14 16:58:03 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 7BCC4D3EBC4 for ; Fri, 14 Apr 2017 16:58:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6AF8FD7B for ; Fri, 14 Apr 2017 16:58:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3EGw2Pt059401 for ; Fri, 14 Apr 2017 16:58:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 218662] bhyve exposes CPU feature SDBG to guests, causing guest panic on OpenBSD 6.1 Date: Fri, 14 Apr 2017 16:58:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: 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.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: Fri, 14 Apr 2017 16:58:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218662 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org CC| |grehan@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Apr 14 17:06:30 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 ED14ED3D3D0 for ; Fri, 14 Apr 2017 17:06:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DBFC4FA2 for ; Fri, 14 Apr 2017 17:06:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3EH6Uh7098567 for ; Fri, 14 Apr 2017 17:06:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 218662] bhyve exposes CPU feature SDBG to guests, causing guest panic on OpenBSD 6.1 Date: Fri, 14 Apr 2017 17:06:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: allanjude@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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.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: Fri, 14 Apr 2017 17:06:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218662 Allan Jude changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |allanjude@FreeBSD.org --- Comment #1 from Allan Jude --- You can work around this by passing the -w flag to bhyve --=20 You are receiving this mail because: You are the assignee for the bug.=