From owner-freebsd-virtualization@freebsd.org Sun Feb 5 18:01:14 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 D7559CD24EA for ; Sun, 5 Feb 2017 18:01:14 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp125.iad3a.emailsrvr.com (smtp125.iad3a.emailsrvr.com [173.203.187.125]) (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 B58BE1BEF for ; Sun, 5 Feb 2017 18:01:14 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp16.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp16.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id D5C0B5BF2 for ; Sun, 5 Feb 2017 13:01:04 -0500 (EST) X-Auth-ID: vincent@up4.tv Received: by smtp16.relay.iad3a.emailsrvr.com (Authenticated sender: vincent-AT-up4.tv) with ESMTPSA id B0FC55BB6 for ; Sun, 5 Feb 2017 13:01:04 -0500 (EST) X-Sender-Id: vincent@up4.tv Received: from un.up4.com ([UNAVAILABLE]. [69.55.244.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:465 (trex/5.7.12); Sun, 05 Feb 2017 13:01:04 -0500 From: Vincent Olivier Subject: Thanks Message-Id: <915814F4-0F6C-4DAC-B8E4-A43759331ECD@up4.com> Date: Sun, 5 Feb 2017 13:01:04 -0500 To: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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, 05 Feb 2017 18:01:14 -0000 Hi, I just wanted to say that after a couple of months running different = configurations of various OSes, I am extremely pleased with bhyve. = It=E2=80=99s one of the good things in my life right now! So thanks to = the authors and the users here who helped me along the way. The next steps for me are: get my Canadian French Multilingual accented keys working with Ubuntu = UEFI/VNC have my macOS built-in VNC client working with bhyve (right now, only = TigerVNC works) get a vm going with macOS Server with Clover EFI If anyone knows about any of those, I would appreciate any help you can = give. Regards, Vincent= From owner-freebsd-virtualization@freebsd.org Sun Feb 5 18:33:20 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 9FABCCD20F2 for ; Sun, 5 Feb 2017 18:33:20 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F50F10AA for ; Sun, 5 Feb 2017 18:33:20 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: by mail-yw0-x232.google.com with SMTP id v200so38354596ywc.3 for ; Sun, 05 Feb 2017 10:33:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tOkUsvNT30hx4HfhOFGPEByz7hiDZoKA7F37cso3HWY=; b=dOCwiQKgiaZY7OHVgl9Jg7bYoakVls0ag8r6hRxP+BmaMf826dbP8mjjUpBnOrCupW LpJrjmrT7xQdVlAhFE8dAlaGJBERU9udnD96D3cXnHhjMkfcHE/GhlZoggsx3VBf2+I8 6bn6efPkrcQ6IWm/bD8PmoitNpFmHr3HNUROO5TAMdXDBrTI1M2tSrI7uR8xJhYB9pRF KCRjdR6LHKhPv507hbGGu9akCjoK93K9MNzhxS3XC5gJ/LJtS8tmQHXBPLk/hua9G4o+ TCv5StaGjQo29P4kTYDdOAqXZw+bHDtVPx2maEQrwIenOQxPqHVoxpK3Uyl4xjWP4xj5 S/7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=tOkUsvNT30hx4HfhOFGPEByz7hiDZoKA7F37cso3HWY=; b=BvogMyFMve007O8SOm6ZSwN/tTiUxoCZezKdQ9doncWATrbA3fl1xQQ1pgU9my97Bc wtJOy1ETCcmoFXs//HFD4BW9XE0830d6WPAirgBnJH3m0P9gzO3fu0WZDDdrwTkdOdil t+3KsUu8hGou/d0bQo068qvQ65LyzcCsvn0D7THEQtJdr6HSCCVBSeXegCKtTLwbcVkP BDlTsyT2DTXb0ZBKKDbsC+VVLnF90/KfMZBhyjksJ9joNb7xbqGxQcERFYdKf2nNLgGB mYYCubwVd4cw+hTvKHa5VB7YP1CJs9aToIczgifyDKxQpjj9XZNCZNwmGWTsPQLeYQgO hHNg== X-Gm-Message-State: AIkVDXKtG6FtaDjINNAMV7TSlx9NO2DyC73z2lMoKuSqSBgASvHP/hBmoLsCEy7KF2y0iXxxbgPza3AXQLkeNg== X-Received: by 10.129.84.66 with SMTP id i63mr4526884ywb.306.1486319599211; Sun, 05 Feb 2017 10:33:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.170.193 with HTTP; Sun, 5 Feb 2017 10:33:18 -0800 (PST) In-Reply-To: <915814F4-0F6C-4DAC-B8E4-A43759331ECD@up4.com> References: <915814F4-0F6C-4DAC-B8E4-A43759331ECD@up4.com> From: Trent Thompson Date: Sun, 5 Feb 2017 11:33:18 -0700 Message-ID: Subject: Re: Thanks To: Vincent Olivier Cc: FreeBSD virtualization Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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, 05 Feb 2017 18:33:20 -0000 Vincent, >have my macOS built-in VNC client working with bhyve (right now, only TigerVNC works) If I recall, this is due to null authentication from bhyve fbuf. There does seem to be a patch in phabricator to add simple authentication to bhyve, I'm sure they'd love some testing! https://reviews.freebsd.org/D7029 >get a vm going with macOS Server with Clover EFI I've tried a few different things with this. In some cases I got it to hang on the Apple loading screen, and in some other cases I got a little bit of kernel output during boot before bhyve crashing. When I did get errors, they were usually with the "3rd party kexts" like "FakeSMC.kext" and the like. https://twitter.com/pr1ntf/status/750574003954352128 From owner-freebsd-virtualization@freebsd.org Sun Feb 5 19:06:49 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 78830CD2AB1 for ; Sun, 5 Feb 2017 19:06:49 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp101.iad3a.emailsrvr.com (smtp101.iad3a.emailsrvr.com [173.203.187.101]) (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 54AD5A75 for ; Sun, 5 Feb 2017 19:06:48 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp29.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp29.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 8AF8824E8E for ; Sun, 5 Feb 2017 13:59:44 -0500 (EST) X-Auth-ID: vincent@up4.tv Received: by smtp29.relay.iad3a.emailsrvr.com (Authenticated sender: vincent-AT-up4.tv) with ESMTPSA id 5B33224E8B for ; Sun, 5 Feb 2017 13:59:44 -0500 (EST) X-Sender-Id: vincent@up4.tv Received: from un.up4.com ([UNAVAILABLE]. [69.55.244.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:465 (trex/5.7.12); Sun, 05 Feb 2017 13:59:44 -0500 From: Vincent Olivier Message-Id: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Thanks Date: Sun, 5 Feb 2017 13:59:43 -0500 References: <915814F4-0F6C-4DAC-B8E4-A43759331ECD@up4.com> To: FreeBSD virtualization In-Reply-To: X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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, 05 Feb 2017 19:06:49 -0000 > Le 5 f=C3=A9vr. 2017 =C3=A0 13:33, Trent Thompson = a =C3=A9crit : >=20 > Vincent,=20 >=20 > >have my macOS built-in VNC client working with bhyve (right now, only = TigerVNC works) >=20 > If I recall, this is due to null authentication from bhyve fbuf. There = does seem to be a patch in phabricator to add simple authentication to = bhyve, I'm sure they'd love some testing! = https://reviews.freebsd.org/D7029 Will look into that, thanks for pointing it out. >=20 > >get a vm going with macOS Server with Clover EFI >=20 > I've tried a few different things with this. In some cases I got it to = hang on the Apple loading screen, and in some other cases I got a little = bit of kernel output during boot before bhyve crashing. When I did get = errors, they were usually with the "3rd party kexts" like "FakeSMC.kext" = and the like.=20 >=20 > https://twitter.com/pr1ntf/status/750574003954352128 = Did you try it with the -v kernel flag (verbose)? What does it say? = FakeSMC.kext is the =C2=AB normal PC =C2=BB emulation of the Apple = firmware, it is open source so maybe we can build a debug version and = see what it says and then ask the bhyve team if it can be done?= From owner-freebsd-virtualization@freebsd.org Sun Feb 5 21:01:04 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 E0E31CD218B for ; Sun, 5 Feb 2017 21:01:04 +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 BF1C81ABD for ; Sun, 5 Feb 2017 21:01:04 +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 v15L01lb016582 for ; Sun, 5 Feb 2017 21:01:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201702052101.v15L01lb016582@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, 05 Feb 2017 21:01:04 +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, 05 Feb 2017 21:01:05 -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 | 212711 | [typo] bhyve: virtio-rnd PCI ID doesn't match vio New | 212820 | FreeBSD 10-STABLE from latest HEAD and 11-RELEASE Open | 212721 | FreeBSD 11.0-RC2/RC3/RELEASE fails on Hyper-V 201 3 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Mon Feb 6 03:52:19 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 21BF9CD2D29 for ; Mon, 6 Feb 2017 03:52:19 +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 10F431978 for ; Mon, 6 Feb 2017 03:52:19 +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 v163qIso085474 for ; Mon, 6 Feb 2017 03:52:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216814] BRAS at FreeBSD 11.0p7 reboots/crash some days (mpd5 vmware esxi 6.0.0) Date: Mon, 06 Feb 2017 03:52:18 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@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 assigned_to 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, 06 Feb 2017 03:52:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216814 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC|freebsd-amd64@FreeBSD.org | Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Feb 6 03:55:26 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 42B76CD2FCE for ; Mon, 6 Feb 2017 03:55:26 +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 3216E1CAF for ; Mon, 6 Feb 2017 03:55:26 +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 v163tPZf063734 for ; Mon, 6 Feb 2017 03:55:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216760] poor performance on QEMU-KVM host Date: Mon, 06 Feb 2017 03:55:26 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@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 short_desc 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: Mon, 06 Feb 2017 03:55:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216760 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org Summary|Memory Management Freebsd |poor performance on |Guest On QEMU-KVM HOst |QEMU-KVM host CC|freebsd-amd64@FreeBSD.org | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Feb 6 03:55:44 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 8DD8ACD1071 for ; Mon, 6 Feb 2017 03:55:44 +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 7CB5B1DA4 for ; Mon, 6 Feb 2017 03:55:44 +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 v163thM9069935 for ; Mon, 6 Feb 2017 03:55:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216759] [kern] Memory speed with small blocks (1K) up to 35 times slower than host system under QEMU emulation Date: Mon, 06 Feb 2017 03:55:44 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@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 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, 06 Feb 2017 03:55:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216759 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Feb 6 10:48:58 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 1A642CD38DB for ; Mon, 6 Feb 2017 10:48:58 +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 09BE21645 for ; Mon, 6 Feb 2017 10:48:58 +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 v16AmvVI015067 for ; Mon, 6 Feb 2017 10:48:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216760] poor performance on QEMU-KVM host Date: Mon, 06 Feb 2017 10:48:58 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rainer@ultra-secure.de 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: Mon, 06 Feb 2017 10:48:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216760 rainer@ultra-secure.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rainer@ultra-secure.de --- Comment #2 from rainer@ultra-secure.de --- Maybe these two are related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212681 How do you debug this? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Feb 6 11:31:25 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 4B929CD3292 for ; Mon, 6 Feb 2017 11:31:25 +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 3B29E102E for ; Mon, 6 Feb 2017 11:31:25 +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 v16BVP6o044331 for ; Mon, 6 Feb 2017 11:31:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216760] poor performance on QEMU-KVM host Date: Mon, 06 Feb 2017 11:31:25 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kvanbiesen@gmail.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: 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, 06 Feb 2017 11:31:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216760 --- Comment #3 from kvanbiesen@gmail.com --- Could be altho the other bug is referring to disk performance and i am reffering to memory performance. Its not a sysbench bug, when i create a memory disk on freebsd-guest and do= 1k reads from that, speeds are the same (low) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Feb 6 11:43:36 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 0CF18CD378E for ; Mon, 6 Feb 2017 11:43:36 +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 D6B791929 for ; Mon, 6 Feb 2017 11:43:35 +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 v16BhZn0079052 for ; Mon, 6 Feb 2017 11:43:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216760] poor performance on QEMU-KVM host Date: Mon, 06 Feb 2017 11:43:36 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rainer@ultra-secure.de 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, 06 Feb 2017 11:43:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216760 --- Comment #4 from rainer@ultra-secure.de --- Oh, I've never tried that. (freebsd11 ) 0 # dc3dd wipe=3D/dev/md0=20 dc3dd 7.2.641 started at 2017-02-06 12:37:44 +0100 compiled options: command line: dc3dd wipe=3D/dev/md0 device size: 8388608 sectors (probed), 4,294,967,296 bytes sector size: 512 bytes (probed) 4294967296 bytes ( 4 G ) copied ( 100% ), 8 s, 507 M/s=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 input results for pattern `00': 8388608 sectors in output results for device `/dev/md0': 8388608 sectors out dc3dd completed at 2017-02-06 12:37:52 +0100 You're right, memory performance is still sufficient on XenServer. This is real hardware: root@bsd1-build-prod:~ # dc3dd wipe=3D/dev/md0 dc3dd 7.2.641 started at 2017-02-06 12:40:58 +0100 compiled options: command line: dc3dd wipe=3D/dev/md0 device size: 8388608 sectors (probed), 4,294,967,296 bytes sector size: 512 bytes (probed) 4294967296 bytes ( 4 G ) copied ( 100% ), 6 s, 656 M/s=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 input results for pattern `00': 8388608 sectors in output results for device `/dev/md0': 8388608 sectors out dc3dd completed at 2017-02-06 12:41:04 +0100 Though one generation later, so faster RAM, faster CPUs. I'd be happy with that kind of disk-performance loss in a DomU :-( --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Feb 6 16:21:44 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 DF017CD31B3 for ; Mon, 6 Feb 2017 16:21:44 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp85.iad3a.emailsrvr.com (smtp85.iad3a.emailsrvr.com [173.203.187.85]) (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 BE92A1292 for ; Mon, 6 Feb 2017 16:21:43 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp27.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp27.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 2603324BF1 for ; Mon, 6 Feb 2017 11:11:58 -0500 (EST) X-Auth-ID: vincent@up4.tv Received: by smtp27.relay.iad3a.emailsrvr.com (Authenticated sender: vincent-AT-up4.tv) with ESMTPSA id 06D9C24BD1 for ; Mon, 6 Feb 2017 11:11:57 -0500 (EST) X-Sender-Id: vincent@up4.tv Received: from un.up4.com ([UNAVAILABLE]. [69.55.244.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:465 (trex/5.7.12); Mon, 06 Feb 2017 11:11:58 -0500 From: Vincent Olivier Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: tap on lagg ? Message-Id: <11A193E5-555F-4733-B192-49A5FEDCFDEA@up4.com> Date: Mon, 6 Feb 2017 11:11:57 -0500 To: FreeBSD virtualization Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) 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, 06 Feb 2017 16:21:45 -0000 Hi, Has anyone succeeded in having a bhyve VM tap interface on an aggregate = interface (lagg)? =46rom what I have read until now, it seems to be a = known problem, and my experience shows that it is still an issue with = FreeBSD 11, so I would like to know if it is because tap/bridging a lagg = is not a reasonable thing to do anyway=E2=80=A6 Regards, Vincent= From owner-freebsd-virtualization@freebsd.org Mon Feb 6 16:36:42 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 7BD50CD35F0 for ; Mon, 6 Feb 2017 16:36:42 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp85.ord1c.emailsrvr.com (smtp85.ord1c.emailsrvr.com [108.166.43.85]) (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 6085F1A07 for ; Mon, 6 Feb 2017 16:36:41 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp11.relay.ord1c.emailsrvr.com (localhost [127.0.0.1]) by smtp11.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 467A6A014A for ; Mon, 6 Feb 2017 11:27:59 -0500 (EST) X-Auth-ID: vincent@up4.tv Received: by smtp11.relay.ord1c.emailsrvr.com (Authenticated sender: vincent-AT-up4.tv) with ESMTPSA id 2CF17A0134 for ; Mon, 6 Feb 2017 11:27:59 -0500 (EST) X-Sender-Id: vincent@up4.tv Received: from un.up4.com ([UNAVAILABLE]. [69.55.244.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:465 (trex/5.7.12); Mon, 06 Feb 2017 11:27:59 -0500 From: Vincent Olivier Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Ubuntu UEFI Won't Reboot Message-Id: Date: Mon, 6 Feb 2017 11:27:58 -0500 To: FreeBSD virtualization Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) 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, 06 Feb 2017 16:36:42 -0000 Hi, I can install Ubuntu (Server LTS 16.04.1) in graphic UEFI mode with the = official ISO install media. But when I restart the machine without the = install media, I get: Boot Failed. EFI DVD/CDROM Boot Failed. EFI Misc Device I=E2=80=99m sure there is an easy modification to a plain text file in = the /boot partition of the block device that will fix this. Anyone knows = how to make this work? If not, where can I get more information (log) on = this? Thanks! Vincent= From owner-freebsd-virtualization@freebsd.org Mon Feb 6 16:48:10 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 B6A00CD385F for ; Mon, 6 Feb 2017 16:48:10 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp93.iad3a.emailsrvr.com (smtp93.iad3a.emailsrvr.com [173.203.187.93]) (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 8AA9071 for ; Mon, 6 Feb 2017 16:48:09 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp28.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp28.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 44A2D51FF for ; Mon, 6 Feb 2017 11:47:59 -0500 (EST) X-Auth-ID: vincent@up4.tv Received: by smtp28.relay.iad3a.emailsrvr.com (Authenticated sender: vincent-AT-up4.tv) with ESMTPSA id 20DE251AF for ; Mon, 6 Feb 2017 11:47:59 -0500 (EST) X-Sender-Id: vincent@up4.tv Received: from un.up4.com ([UNAVAILABLE]. [69.55.244.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:465 (trex/5.7.12); Mon, 06 Feb 2017 11:47:59 -0500 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Ubuntu UEFI Won't Reboot From: Vincent Olivier In-Reply-To: Date: Mon, 6 Feb 2017 11:47:58 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <23FEB7AF-5CE5-4CAA-B920-E4260FDEF4FA@up4.com> References: To: FreeBSD virtualization X-Mailer: Apple Mail (2.3124) 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, 06 Feb 2017 16:48:10 -0000 So after a minute or two, I get the UEFI Shell and when I exit, I get = something that appears to be the bhyve BIOS (?) when I go from there to = the Boot Maintenance Manager, and then =C2=AB Boot =46rom File =C2=BB I = can select the block device, then , then , then grubx64.efi = and then I get the Grub menu from which I can select Ubuntu, which in = turn boots the OS just fine. Now, the question is, can I configure bhyve = to look for that file instead of whatever it is currently looking for = and not finding? Or do I have to modify the ESP? > Le 6 f=C3=A9vr. 2017 =C3=A0 11:27, Vincent Olivier a = =C3=A9crit : >=20 > Hi, >=20 > I can install Ubuntu (Server LTS 16.04.1) in graphic UEFI mode with = the official ISO install media. But when I restart the machine without = the install media, I get: >=20 > Boot Failed. EFI DVD/CDROM > Boot Failed. EFI Misc Device >=20 > I=E2=80=99m sure there is an easy modification to a plain text file in = the /boot partition of the block device that will fix this. Anyone knows = how to make this work? If not, where can I get more information (log) on = this? >=20 > Thanks! >=20 > Vincent From owner-freebsd-virtualization@freebsd.org Mon Feb 6 18:02:49 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 D6AA0CD3BA6 for ; Mon, 6 Feb 2017 18:02:49 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp93.iad3a.emailsrvr.com (smtp93.iad3a.emailsrvr.com [173.203.187.93]) (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 B2EFE10E4 for ; Mon, 6 Feb 2017 18:02:49 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp20.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp20.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 4398C24BFF for ; Mon, 6 Feb 2017 13:02:40 -0500 (EST) X-Auth-ID: vincent@up4.tv Received: by smtp20.relay.iad3a.emailsrvr.com (Authenticated sender: vincent-AT-up4.tv) with ESMTPSA id 1F91F24B7B for ; Mon, 6 Feb 2017 13:02:40 -0500 (EST) X-Sender-Id: vincent@up4.tv Received: from un.up4.com ([UNAVAILABLE]. [69.55.244.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:465 (trex/5.7.12); Mon, 06 Feb 2017 13:02:40 -0500 From: Vincent Olivier Message-Id: <66637AFA-D092-4EBB-B998-1BB2B2EE2CB4@up4.com> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: tap on lagg ? Date: Mon, 6 Feb 2017 13:02:39 -0500 References: <11A193E5-555F-4733-B192-49A5FEDCFDEA@up4.com> To: FreeBSD virtualization In-Reply-To: <11A193E5-555F-4733-B192-49A5FEDCFDEA@up4.com> X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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, 06 Feb 2017 18:02:49 -0000 BTW, I found this a couple of weeks ago and it has just been updated: = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D157182 = > Le 6 f=C3=A9vr. 2017 =C3=A0 11:11, Vincent Olivier a = =C3=A9crit : >=20 > Hi, >=20 > Has anyone succeeded in having a bhyve VM tap interface on an = aggregate interface (lagg)? =46rom what I have read until now, it seems = to be a known problem, and my experience shows that it is still an issue = with FreeBSD 11, so I would like to know if it is because tap/bridging a = lagg is not a reasonable thing to do anyway=E2=80=A6 >=20 > Regards, >=20 > Vincent From owner-freebsd-virtualization@freebsd.org Mon Feb 6 22:23: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 40668CD3E4B for ; Mon, 6 Feb 2017 22:23:33 +0000 (UTC) (envelope-from mail@osfux.nl) Received: from vm1982.vellance.net (vm1982.vellance.net [79.99.187.212]) (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 C460D213 for ; Mon, 6 Feb 2017 22:23:31 +0000 (UTC) (envelope-from mail@osfux.nl) Received: from vm1982.vellance.net (localhost [127.0.0.1]) by vm1982.vellance.net (Postfix) with ESMTP id 5DFCF301D6 for ; Mon, 6 Feb 2017 23:14:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=osfux.nl; s=default; t=1486419281; bh=iPl/RnHAWO2+YPmPWcNG7Mt3Uy5FACIo5fnAdYd6AVI=; h=Subject:To:References:From:Date:In-Reply-To; b=mRvmL5MZMqKEdLsoxwSPcdFBw/rgFwhouFHDARr8ctyPqNuvN/HZoOD76og4SjNQ2 hI1RWwv3uRcpGUYgOQ5fMOFMhi8eOcsTW4qPfQGpHvd7rVaj1Wq3P4796Wsn8JhCEc KObaGb1RkNTBoH88NdEcCx3cOBici7yYEJtwI5BxfYTVulG/YfOcZxeRB/As+ux2ij xG+QdekRbk+DuqNWkCZxBG0gbOgZaFhDi2R7hv788wvM9ZsiRhUHo9DlrBTzVM3ggd rvlFG66hvf3VeNfPQKPWJVJxFOF2huWXSSZnumA3ZeR938vmaem51OCpdjfbHVZBOk BylrelLU7JLSWk5WR0Z7kCeWlqfwfXSo5SPNuwo/ttRXsC97dRqOlPch8kxY5X1Cbo txvsNSbGEnCD7vPbsIwj0G2YL2o1VFIJzpcZhvP1VfkcISSIBVGSawgRgc+kEt8wa/ 6Qg1scGVwrlY1Q8uOvDcZ+0GaA6FgcKZtCaqv6DXZvD9eGd38bKAzKu1/gNAh/J9oq XbMcnElnVz0a9HLZL4L5mtciirCHGtpO9vKNJSm6+SCRnFcc7jimHDvxfI6xhWP3oH Kl1DTasbnm8LLwstBtF6bFnLQ62bmvuD6cgzglMtR8BhcHqeVTQF3HpZAeHqAeoQ0/ T/LNlkQlwTrOvATHXLksWdxo= Received: from rubens-MacBook-Air.local (ip4da7bddc.direct-adsl.nl [77.167.189.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm1982.vellance.net (Postfix) with ESMTPSA id 0B3A4301AF for ; Mon, 6 Feb 2017 23:14:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=osfux.nl; s=default; t=1486419281; bh=iPl/RnHAWO2+YPmPWcNG7Mt3Uy5FACIo5fnAdYd6AVI=; h=Subject:To:References:From:Date:In-Reply-To; b=mRvmL5MZMqKEdLsoxwSPcdFBw/rgFwhouFHDARr8ctyPqNuvN/HZoOD76og4SjNQ2 hI1RWwv3uRcpGUYgOQ5fMOFMhi8eOcsTW4qPfQGpHvd7rVaj1Wq3P4796Wsn8JhCEc KObaGb1RkNTBoH88NdEcCx3cOBici7yYEJtwI5BxfYTVulG/YfOcZxeRB/As+ux2ij xG+QdekRbk+DuqNWkCZxBG0gbOgZaFhDi2R7hv788wvM9ZsiRhUHo9DlrBTzVM3ggd rvlFG66hvf3VeNfPQKPWJVJxFOF2huWXSSZnumA3ZeR938vmaem51OCpdjfbHVZBOk BylrelLU7JLSWk5WR0Z7kCeWlqfwfXSo5SPNuwo/ttRXsC97dRqOlPch8kxY5X1Cbo txvsNSbGEnCD7vPbsIwj0G2YL2o1VFIJzpcZhvP1VfkcISSIBVGSawgRgc+kEt8wa/ 6Qg1scGVwrlY1Q8uOvDcZ+0GaA6FgcKZtCaqv6DXZvD9eGd38bKAzKu1/gNAh/J9oq XbMcnElnVz0a9HLZL4L5mtciirCHGtpO9vKNJSm6+SCRnFcc7jimHDvxfI6xhWP3oH Kl1DTasbnm8LLwstBtF6bFnLQ62bmvuD6cgzglMtR8BhcHqeVTQF3HpZAeHqAeoQ0/ T/LNlkQlwTrOvATHXLksWdxo= Subject: Re: tap on lagg ? To: FreeBSD virtualization References: <11A193E5-555F-4733-B192-49A5FEDCFDEA@up4.com> <66637AFA-D092-4EBB-B998-1BB2B2EE2CB4@up4.com> From: Ruben Message-ID: <1207dbb0-ec86-34fd-9a74-68d70b3b7892@osfux.nl> Date: Mon, 6 Feb 2017 23:14:40 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <66637AFA-D092-4EBB-B998-1BB2B2EE2CB4@up4.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP 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, 06 Feb 2017 22:23:33 -0000 Hi Vincent, > BTW, I found this a couple of weeks ago and it has just been updated: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=157182 > > >> Le 6 févr. 2017 à 11:11, Vincent Olivier a écrit : >> >> Hi, >> >> Has anyone succeeded in having a bhyve VM tap interface on an aggregate interface (lagg)? From what I have read until now, it seems to be a known problem, and my experience shows that it is still an issue with FreeBSD 11, so I would like to know if it is because tap/bridging a lagg is not a reasonable thing to do anyway… >> >> Regards, >> >> Vincent I have multiple machines on which 2 or more nics make up a LACP lagg with vlans on it. Those vlan interfaces are in bridges together with the tap interfaces that are in use by bhyve vms. Works as long as I "up" the nics in a specific fasion ( " -tso4 -lro -vlanhwtag " ) . This works on 10.3 and 11.0 as far as I'm aware and I have never experienced problems with it (Intel / AMD / em driver / bce driver, re driver , all kinds of combinations). I have no experience in comparable setups without the vlan "layer" though. What seems to be your predicament? Regards, Ruben From owner-freebsd-virtualization@freebsd.org Tue Feb 7 00:06:25 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 60180CB4FE4 for ; Tue, 7 Feb 2017 00:06:25 +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 4F04A1781 for ; Tue, 7 Feb 2017 00:06:25 +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 v1706P3k078451 for ; Tue, 7 Feb 2017 00:06:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216814] BRAS at FreeBSD 11.0p7 reboots/crash some days (mpd5 vmware esxi 6.0.0) Date: Tue, 07 Feb 2017 00:06:25 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: FreeBSD@ShaneWare.Biz 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: Tue, 07 Feb 2017 00:06:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216814 Shane changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |FreeBSD@ShaneWare.Biz --- Comment #1 from Shane --- What version is the stable system? UFS or ZFS? Do both have 4G? What varies with the second system - software/settings? The panic relates to a page fault, pointing to out of memory. In general 4G for a system using ZFS is low. Keep an eye on ZFS ARC level, maybe set vfs.zfs.arc_max to keep some ram free for your software. On my desktop I have seen excess "wired" allocations lead to problems. I ge= t a wired reading using `top -d1 | grep Wired | awk '{print $6}'` Any chance you see over 3G wired? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Feb 7 02:22: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 67C39CD46C8 for ; Tue, 7 Feb 2017 02:22:34 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp101.ord1c.emailsrvr.com (smtp101.ord1c.emailsrvr.com [108.166.43.101]) (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 4A9BB19E4 for ; Tue, 7 Feb 2017 02:22:33 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp21.relay.ord1c.emailsrvr.com (localhost [127.0.0.1]) by smtp21.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id AFAF2C0273 for ; Mon, 6 Feb 2017 21:15:59 -0500 (EST) X-Auth-ID: vincent@up4.tv Received: by smtp21.relay.ord1c.emailsrvr.com (Authenticated sender: vincent-AT-up4.tv) with ESMTPSA id 93234C026F for ; Mon, 6 Feb 2017 21:15:59 -0500 (EST) X-Sender-Id: vincent@up4.tv Received: from un.up4.com ([UNAVAILABLE]. [69.55.244.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:465 (trex/5.7.12); Mon, 06 Feb 2017 21:15:59 -0500 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: tap on lagg ? From: Vincent Olivier In-Reply-To: <1207dbb0-ec86-34fd-9a74-68d70b3b7892@osfux.nl> Date: Mon, 6 Feb 2017 21:15:58 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <41619106-86D6-40EF-B84E-DC98A1B54FCD@up4.com> References: <11A193E5-555F-4733-B192-49A5FEDCFDEA@up4.com> <66637AFA-D092-4EBB-B998-1BB2B2EE2CB4@up4.com> <1207dbb0-ec86-34fd-9a74-68d70b3b7892@osfux.nl> To: FreeBSD virtualization X-Mailer: Apple Mail (2.3124) 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, 07 Feb 2017 02:22:34 -0000 Hi Ruben, Thanks for this. > Le 6 f=C3=A9vr. 2017 =C3=A0 17:14, Ruben a =C3=A9crit = : >=20 > Hi Vincent, >=20 > I have multiple machines on which 2 or more nics make up a LACP lagg > with vlans on it. Those vlan interfaces are in bridges together with = the > tap interfaces that are in use by bhyve vms. >=20 > Works as long as I "up" the nics in a specific fasion ( " -tso4 -lro > -vlanhwtag " ) . This works on 10.3 and 11.0 as far as I'm aware and I > have never experienced problems with it (Intel / AMD / em driver / bce > driver, re driver , all kinds of combinations). Didn=E2=80=99t try it it with disabling the tso/lro/vlanhwtagging = features. Will try again with those disabled. > I have no experience in comparable setups without the vlan "layer" = though. My setup didn=E2=80=99t involve vlans, only this: tap <=E2=80=94> bridge = <=E2=80=94> lagg <=E2=80=94> igb0, igb1, igb2, igb3 Do you think that could be it? I have no need for a vlan here, though=E2=80= =A6 > What seems to be your predicament? The tap would fail to =C2=AB up =C2=BB with an error message (that I = forgot to note). I will try to do it again with the aforementioned features disabled (but = without a vlan layer) and report back here. Vincent= From owner-freebsd-virtualization@freebsd.org Tue Feb 7 02:52: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 177E6CD4182 for ; Tue, 7 Feb 2017 02:52:03 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: from mail-yb0-x22f.google.com (mail-yb0-x22f.google.com [IPv6:2607:f8b0:4002:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB170B19 for ; Tue, 7 Feb 2017 02:52:02 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: by mail-yb0-x22f.google.com with SMTP id 123so31333484ybe.3 for ; Mon, 06 Feb 2017 18:52:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=smHs2Q88ywhBbNZtVT+EjnYDKc0V9x7u8ggenCGtiC8=; b=iBmwAKnQysMw1cA4/xDLpO027D/dLCZnyyeLS8dNC+cvnNfOi58pt0sL23fCpyBQuq v9gE4htjWoaoUNg3Qtg4NF8J2vYiBotNdW6OgiYRZ8Og/11ITyYHwSvHO64qePPvds05 qkcsKUEmr4YKwkGaDwJWvmrtSQiiZfFaOeEYF4dJPauRtVHXPCedrQWNLjyjdf2LHQjD TThUVIP0gszGArNmPT4Hj7xBSYvAdY0O77cgmsR5eLTFsYKySI8g9k/4hdf1LV4ucw6l Qu9jKvYMaepQEADW+3bl+a43SeFQtbl5AiQDeRvwaZnlUtlHMjkeViNiaaTUJKJlJhIm /mCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=smHs2Q88ywhBbNZtVT+EjnYDKc0V9x7u8ggenCGtiC8=; b=q1Oqzh4ai5UxZ7Obq1qbgBTDMrRzLALySywDwdy3j2xW7BJqYfF7PSx2jIfhAKutAx XjX+rr61mH73MvgpKf8RI00hW3Lk0M2al4wAVeUznFhZ7KOs+pMYMoecwJO9QkGSxysh YQCGsHOp6XtcdUR8xYYiBgoh0eSaFeqcLltrCj5Xi56EtxB0AZoJQm/3NH2GyUlThnPL HFs07jwPFpgRhm3Q+YF6NNV3vDHqiCojCBpyDB4r8soelbqq9BJvDM36hOJr67NKGM62 6TW8sJJqO4Mx3R0B2gWmAMLf89v67ohpJQwcD1DQGuBDaXSjyNUt07VWwvLjoSvXuE5e XwgA== X-Gm-Message-State: AMke39l/R4mQ9adMeOyIXXEH2FPgOKLcH28FXgnLKRHKKeGRFbYHneShXUe+jl3YpP+vRF8sY3sK0idtWE7v6A== X-Received: by 10.37.49.5 with SMTP id x5mr9320476ybx.150.1486435921495; Mon, 06 Feb 2017 18:52:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.13.231.135 with HTTP; Mon, 6 Feb 2017 18:52:01 -0800 (PST) In-Reply-To: <1207dbb0-ec86-34fd-9a74-68d70b3b7892@osfux.nl> References: <11A193E5-555F-4733-B192-49A5FEDCFDEA@up4.com> <66637AFA-D092-4EBB-B998-1BB2B2EE2CB4@up4.com> <1207dbb0-ec86-34fd-9a74-68d70b3b7892@osfux.nl> From: Dustin Marquess Date: Mon, 6 Feb 2017 20:52:01 -0600 Message-ID: Subject: Re: tap on lagg ? To: Ruben Cc: FreeBSD virtualization Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, 07 Feb 2017 02:52:03 -0000 On Mon, Feb 6, 2017 at 4:14 PM, Ruben wrote: > Hi Vincent, > > > >> BTW, I found this a couple of weeks ago and it has just been updated: ht= tps://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D157182 >> >> >>> Le 6 f=C3=A9vr. 2017 =C3=A0 11:11, Vincent Olivier a = =C3=A9crit : >>> >>> Hi, >>> >>> Has anyone succeeded in having a bhyve VM tap interface on an aggregate= interface (lagg)? From what I have read until now, it seems to be a known = problem, and my experience shows that it is still an issue with FreeBSD 11,= so I would like to know if it is because tap/bridging a lagg is not a reas= onable thing to do anyway=E2=80=A6 >>> >>> Regards, >>> >>> Vincent > > I have multiple machines on which 2 or more nics make up a LACP lagg > with vlans on it. Those vlan interfaces are in bridges together with the > tap interfaces that are in use by bhyve vms. > > Works as long as I "up" the nics in a specific fasion ( " -tso4 -lro > -vlanhwtag " ) . This works on 10.3 and 11.0 as far as I'm aware and I > have never experienced problems with it (Intel / AMD / em driver / bce > driver, re driver , all kinds of combinations). > > I have no experience in comparable setups without the vlan "layer" though= . I've gotten it to work both with and without vlan just by using -vlanhwtag. Leaving lro & tso4 enabled works fine. In fact, everything works fine with vlanhwtag enabled until I throw epair into the mix. This is using cxgbe/cxl. -Dustin From owner-freebsd-virtualization@freebsd.org Tue Feb 7 06:31:47 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 CBBC2CD4343 for ; Tue, 7 Feb 2017 06:31:47 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp133.dfw.emailsrvr.com (smtp133.dfw.emailsrvr.com [67.192.241.133]) (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 AE44037D for ; Tue, 7 Feb 2017 06:31:47 +0000 (UTC) (envelope-from vincent@up4.com) Received: from smtp29.relay.dfw1a.emailsrvr.com (localhost [127.0.0.1]) by smtp29.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id D5DBC401B3 for ; Tue, 7 Feb 2017 01:21:42 -0500 (EST) X-Auth-ID: vincent@up4.tv Received: by smtp29.relay.dfw1a.emailsrvr.com (Authenticated sender: vincent-AT-up4.tv) with ESMTPSA id 91399401A9 for ; Tue, 7 Feb 2017 01:21:42 -0500 (EST) X-Sender-Id: vincent@up4.tv Received: from un.up4.com ([UNAVAILABLE]. [69.55.244.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:465 (trex/5.7.12); Tue, 07 Feb 2017 01:21:42 -0500 From: Vincent Olivier Message-Id: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: tap on lagg ? Date: Tue, 7 Feb 2017 01:21:41 -0500 References: <11A193E5-555F-4733-B192-49A5FEDCFDEA@up4.com> <66637AFA-D092-4EBB-B998-1BB2B2EE2CB4@up4.com> <1207dbb0-ec86-34fd-9a74-68d70b3b7892@osfux.nl> To: FreeBSD virtualization In-Reply-To: X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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, 07 Feb 2017 06:31:47 -0000 >> I have multiple machines on which 2 or more nics make up a LACP lagg >> with vlans on it. Those vlan interfaces are in bridges together with = the >> tap interfaces that are in use by bhyve vms. >>=20 >> Works as long as I "up" the nics in a specific fasion ( " -tso4 -lro >> -vlanhwtag " ) . This works on 10.3 and 11.0 as far as I'm aware and = I >> have never experienced problems with it (Intel / AMD / em driver / = bce >> driver, re driver , all kinds of combinations). >>=20 >> I have no experience in comparable setups without the vlan "layer" = though. >=20 > I've gotten it to work both with and without vlan just by using > -vlanhwtag. Leaving lro & tso4 enabled works fine. In fact, > everything works fine with vlanhwtag enabled until I throw epair into > the mix. This is using cxgbe/cxl. For the sake of exhaustivity: I have Chelsio cxgb devices in the machine = I=E2=80=99m testing this on, but I (am pretty certain) I was only using = the Intel igb devices in the aggregate. I am also pretty sure that was = without the -vlanhwtag flag that I will now test ASAP.= From owner-freebsd-virtualization@freebsd.org Tue Feb 7 08:34:57 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 97290CC6974 for ; Tue, 7 Feb 2017 08:34:57 +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 867292D2 for ; Tue, 7 Feb 2017 08:34:57 +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 v178YvJg075401 for ; Tue, 7 Feb 2017 08:34:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216814] BRAS at FreeBSD 11.0p7 reboots/crash some days (mpd5 vmware esxi 6.0.0) Date: Tue, 07 Feb 2017 08:34:57 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ae@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: Tue, 07 Feb 2017 08:34:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216814 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #2 from Andrey V. Elsukov --- (In reply to Shane from comment #1) > What version is the stable system? UFS or ZFS? Do both have 4G? What vari= es > with the second system - software/settings? >=20 > The panic relates to a page fault, pointing to out of memory. The panic looks unrelated to virtualization. We have a lot of such reports = from netgraph users. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Feb 7 08:45: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 1A65CCC6C8A for ; Tue, 7 Feb 2017 08:45:34 +0000 (UTC) (envelope-from mail@osfux.nl) Received: from vm1982.vellance.net (vm1982.vellance.net [79.99.187.212]) (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 ABD65ADD for ; Tue, 7 Feb 2017 08:45:33 +0000 (UTC) (envelope-from mail@osfux.nl) Received: from vm1982.vellance.net (localhost [127.0.0.1]) by vm1982.vellance.net (Postfix) with ESMTP id 2539C301CE; Tue, 7 Feb 2017 09:45:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=osfux.nl; s=default; t=1486457131; bh=LLjbc9seJ465bsMGG+818/jtilLYMw1JOOyuCEceYNg=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=Jv1BHRs76UKGZXKMSo5uG+19fP3NL2iJ1lZc4ndW7axtXoHa7XYMu38Jd1fJakagU 2ab9iP92OohqrsLoeJMniEgM6oKuN0NyfAsGT8fJutPOgc3lG433GV1/lCDIZQcztL Wd2PzQ/r9gLfWKxEgG6gzPjSkQhJkQ5GOyYHOhIlrqMpqowh/HEDbAvf70ZJoeRiYd HL+ECeskm9msCD+WlakzeFGxxkGrSz1lHuSwrYmR0iUSFmPlbuh6hdnsv57Ijic5D6 cgIN+K8DAIxiF+z2mHVzUVzNS3EeHzG1SJ3dxY0bChh1yW7dIKhJj5QNbYoPozD+Ic PeLgB9PTEa5NCImT4Fydd/pxft/kpch7KkHhnN5RsK4URpy62VDItjm17ltdExs25i Ug56GJL2+WHzo29F8I0b+llyV3CFXOJgnKCAeiy3ZuRKRvwUFs0StRxaMbAdNnEDct fgW5wItyAVciiFRoOsrGh06M5OCayXDjHKYh0iT1hAmT7KHu3h+h1tLjupp2rCCmde LLgp67HbuuL3JgiuVe0pEqYe0ZhjfCx6tZYC+4S/F2vLWmsXUid1qFT4duFxsQ1lIL XWdiV9zqHWEy195izi6kpvaGx9V1k28eH/KUA/aCO3e+6S919R0HyimRDvfm46acxk x75SD2eTGNqUeZF/WYrHs1zU= Received: from quanza-qhq-dhcp103.q (engineering.quanza.net [91.208.87.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm1982.vellance.net (Postfix) with ESMTPSA id BB878301AF; Tue, 7 Feb 2017 09:45:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=osfux.nl; s=default; t=1486457129; bh=LLjbc9seJ465bsMGG+818/jtilLYMw1JOOyuCEceYNg=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=egs+DxfGno95gCAoB9GYbSDZZpaGTQw2c2NX+O8kgE6JS3FSDZKDgGigUwEgOpCsc MuVUkzHhkyv9kQpPjJK9+TvdZsN4zmVXwyIQR7n8fGYj1ouoNAYw2Ot2xfu1jAlu2v us6XWNTx/4aDXGRtRBXOp/2DgeBtAEprN+5AKha3aEDEIQxKj2e9FLaXIZ1gnrsIQt KBySs6HNqzthmCud1zS+LYekQOnCft0fpDYULQXVuVt2xM+B1JxTOOpp7sAsRw9LUZ nrWAqNJE19LGv4EQAYykCsfYMHXNzshC2OnXJBiOsH4q4ueHFhKfMmSYg7l9J9ge+m 2ZTG70bH1/Ft4w/9/1NNbefbkcJXElfZXaCa2iL0lseIJ4kAYwE8/4dAF4+WxRwyDb LujLBg1jEfQ6nQ2yfQRWi6r91vAHHSLEdHC8KypuAlFh08h575tRHeedlFrfo7fNlf kxC7+0XSTfVMwe++C7f8boi6roAdfUpPMuOwMQku8mQXYeAwjeVRya+KYJDk2kEiF3 DwE6h7llKEdqQ5jUm16STigzd8UhgHIv1PPIeV3+0G3oE2yAZOY6+l8RTabGq2wP0J qibcgS0PozWpGwIyGgUJKp1PkQXHnxX/FWm+HmehrU96ZZa/QaBgCm7bjd4K7HgFjK fTUacysKqDcQ3VySku1EsFic= Subject: Re: tap on lagg ? To: Dustin Marquess References: <11A193E5-555F-4733-B192-49A5FEDCFDEA@up4.com> <66637AFA-D092-4EBB-B998-1BB2B2EE2CB4@up4.com> <1207dbb0-ec86-34fd-9a74-68d70b3b7892@osfux.nl> Cc: FreeBSD virtualization From: Ruben Message-ID: <612e3f6b-0040-2ba4-9295-175c8dbabeb2@osfux.nl> Date: Tue, 7 Feb 2017 09:45:30 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP 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, 07 Feb 2017 08:45:34 -0000 Hi Dustin, On 07/02/17 03:52, Dustin Marquess wrote: > On Mon, Feb 6, 2017 at 4:14 PM, Ruben wrote: >> Hi Vincent, >> >> >> >>> BTW, I found this a couple of weeks ago and it has just been updated: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=157182 >>> >>> >>>> Le 6 févr. 2017 à 11:11, Vincent Olivier a écrit : >>>> >>>> Hi, >>>> >>>> Has anyone succeeded in having a bhyve VM tap interface on an aggregate interface (lagg)? From what I have read until now, it seems to be a known problem, and my experience shows that it is still an issue with FreeBSD 11, so I would like to know if it is because tap/bridging a lagg is not a reasonable thing to do anyway… >>>> >>>> Regards, >>>> >>>> Vincent >> I have multiple machines on which 2 or more nics make up a LACP lagg >> with vlans on it. Those vlan interfaces are in bridges together with the >> tap interfaces that are in use by bhyve vms. >> >> Works as long as I "up" the nics in a specific fasion ( " -tso4 -lro >> -vlanhwtag " ) . This works on 10.3 and 11.0 as far as I'm aware and I >> have never experienced problems with it (Intel / AMD / em driver / bce >> driver, re driver , all kinds of combinations). >> >> I have no experience in comparable setups without the vlan "layer" though. > I've gotten it to work both with and without vlan just by using > -vlanhwtag. Leaving lro & tso4 enabled works fine. Interesting Dustin, I will try re-enabling those features in the months to come. > > -Dustin Kind regards, Ruben From owner-freebsd-virtualization@freebsd.org Tue Feb 7 09:51:53 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 9CEB5CD43EF for ; Tue, 7 Feb 2017 09:51:53 +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 866FDA3B for ; Tue, 7 Feb 2017 09:51:53 +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 v179prWR091299 for ; Tue, 7 Feb 2017 09:51:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216814] BRAS at FreeBSD 11.0p7 reboots/crash some days (mpd5 vmware esxi 6.0.0) Date: Tue, 07 Feb 2017 09:51: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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bugs-freebsd-org@bekreyev.ru 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: Tue, 07 Feb 2017 09:51:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216814 --- Comment #3 from Konstantin V Bekreyev --- (In reply to Shane from comment #1) yes, these systems have ZFS and above 4G of memory (4G BRAS, 20G another) I will try to add more then 4G of memory. # sysctl vfs.zfs.arc_max vfs.zfs.arc_max: 3046846464 # top -d1 | grep Wired | awk '{print $6}' 1168M --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Feb 7 18:38:50 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 6936ECD5D56 for ; Tue, 7 Feb 2017 18:38:50 +0000 (UTC) (envelope-from randy@terbush.org) Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 32E33C79 for ; Tue, 7 Feb 2017 18:38:50 +0000 (UTC) (envelope-from randy@terbush.org) Received: by mail-qk0-x234.google.com with SMTP id u25so97274809qki.2 for ; Tue, 07 Feb 2017 10:38:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=terbush.org; s=google; h=mime-version:from:date:message-id:subject:to; bh=cNjMgwjAWvUGxUiyPnns2haBSYv1iPQWkHpOpsOQSG0=; b=anwTBN2HPNcnS3m9xfoRQ50XXlz0k7Z9ARj/plDcS5VOYdcjg8IRgT5LczoH0cTcTe 25IEj5fh3IlZwwnH/RQIXC2lKT+rAEeWyfg8ITxSXOW4xVHZvAF051mKglsRWZ4r9qdH nbFd/k+Ciu1389e+gv3Pya049X3KkPvOMDFnI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cNjMgwjAWvUGxUiyPnns2haBSYv1iPQWkHpOpsOQSG0=; b=LrXBTWSPFC9FZfZ6aJGO4rqPCrQPue41A/6AXlsD+SRe+zk4zOQkAh/fcMlGnbKFXE zkkpOC79zWiNxXzH2oqgNDTPj/u3+qCHeK4CaCvMs6p4kl8KnFMw5+Q9wqnfGa4WZG7v PKce8Y67ThXQc1aW5Xrb+aVlM+RV8Z52qqoyHTGwzpfTbMbJ9sKrUMtadjUT0BshCghI /9wpBaMmADD+t/0cRVuuqvI/ZEjto/k1mV6XhN60XstpcPAiV04DQSSmZocMozY4Nfnb Z6k4s+uJ0ReYd2YhFYuomXIDevVDmz18usdJuPB4i/K1m9CyStFMcXGNvQFl6dtG6LVq fFuA== X-Gm-Message-State: AMke39li5F1L1TnMtsyUhilPqbNi0dpYti9+wXQ+IC8xdoRxTngbcBSqMxaNMdQtzyw7W0hzJsvEIE9kzIF2fQ== X-Received: by 10.55.121.134 with SMTP id u128mr17439395qkc.12.1486492729097; Tue, 07 Feb 2017 10:38:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.3.5 with HTTP; Tue, 7 Feb 2017 10:38:18 -0800 (PST) From: Randy Terbush Date: Tue, 7 Feb 2017 11:38:18 -0700 Message-ID: Subject: Running MacOS on bhyve To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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, 07 Feb 2017 18:38:50 -0000 Saw a comment in last couple of days regarding running MacOS on bhyve. I too would love to see this and wanted to make sure that the following was on the group's radar as some possible hints toward getting this working. I took a stab awhile back and then ran out of time and patience. https://github.com/kholia/OSX-KVM -- Randy From owner-freebsd-virtualization@freebsd.org Tue Feb 7 20:22:53 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 D2740CD5FF3 for ; Tue, 7 Feb 2017 20:22:53 +0000 (UTC) (envelope-from sem@semmy.ru) Received: from sunner.semmy.ru (unknown [IPv6:2a00:14d0:0:20::3]) (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 9749A1917 for ; Tue, 7 Feb 2017 20:22:53 +0000 (UTC) (envelope-from sem@semmy.ru) Received: from 95.108.170.43-red.dhcp.yndx.net ([95.108.170.43] helo=sem33-desktop.ld.yandex.team.ru) by sunner.semmy.ru with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1cbCHp-0006Dc-EE for freebsd-virtualization@freebsd.org; Tue, 07 Feb 2017 23:22:49 +0300 To: freebsd-virtualization@freebsd.org From: Sergey Matveychuk Subject: Can't boot with FreeBSD-11.0-STABLE-amd64.raw Message-ID: <35037502-74e6-e4fe-38ce-86a13537cde4@semmy.ru> Date: Tue, 7 Feb 2017 23:22:49 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; 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: Tue, 07 Feb 2017 20:22:53 -0000 Hi. I'm using FreeBSD 10.0 as a host system. % fetch ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-STABLE/amd64/Latest/FreeBSD-11.0-STABLE-amd64.raw.xz ... % unxz FreeBSD-11.0-STABLE-amd64.raw.xz % sudo sh /usr/share/examples/bhyve/vmrun.sh -d FreeBSD-11.0-STABLE-amd64.raw vm0 Launching virtual machine "vm0" ... Consoles: userboot FreeBSD/amd64 User boot, Revision 1.1 (root@bhyve, Tue Jan 21 04:32:50 MSK 2014) \ can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK What's wrong? Thanks. From owner-freebsd-virtualization@freebsd.org Wed Feb 8 05:39:39 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 EA986CD5F18 for ; Wed, 8 Feb 2017 05:39:39 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.dweimer.net", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9B351303 for ; Wed, 8 Feb 2017 05:39:38 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from www.dweimer.net (opnsense.dweimer.local [10.9.5.1]) (authenticated bits=0) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPSA id v185NSXb015412 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 7 Feb 2017 23:23:29 -0600 (CST) (envelope-from dweimer@dweimer.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dweimer.net; s=2017.01.31; t=1486531409; bh=Io/DrEgOIKDPPTG7DbEVwvS3ZYgfyzgzk3Wx3xcTfvE=; h=Date:From:To:Subject:Reply-To; b=sXFjsF5H1leIyWk1ulFH6Vyyr29T071iYL5KIWnbkCY7yPBdbwPFJyqvLsmLrLiCq aBIoRCtVgwRXMlfYheiubog4BWivK+7d0VsGsiRtE+El1HYMsnfJSmK+LzSdyO0gCD Lhp6tYBCIlYDrbmX0AwyqWJ/R2Ef2yDn6EO8Sl7vmU/5heZ0/ARDMbbW6JLLo1fArB lwYgNuJrOEN8ouWY+xI/MqE39uOyGHtJkjkmpIxuM3+mOzI2OS8vjT2I4LyD5wOM/i /eYNFkJoY8g5X4EQMI/x4AgDJodhq5R2rl9QT+/1sLy/sRjorrfOdu5dALNgFsLSMW xW+yYMAksLVlA== MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 07 Feb 2017 23:23:23 -0600 From: "Dean E. Weimer" To: freebsd-virtualization@freebsd.org Subject: Resizing ZVOL used for bhyve VM. Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.3-beta 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, 08 Feb 2017 05:39:40 -0000 I am trying to resize a secondary data disk on a Debian Linux Virtual machine. The data really isn't all that important, its video from IP security cameras. Since nothing has happened that needs reviewed I could scrap it and start over. However I can't even do that. I tried just setting the volsize to a larger value while the vm is shutdown. zfs excepts the command, I boot up the VM but it is not recognizing the volume properly I can see that its grown, but it errors trying to update the GPT partition table with the new size. I gave up shutdown VM and tried to delete the zvol so I could create a new one. However it believes the zvol is in use and wont let me destroy it. So something funky seems to be going on. oddly enough I set the zvol back to the original size boot up the vm, all the data is intact and functioning just fine. So somehow I can't break it despite doing all kinds of things that could have and probably should have destroyed the data. I am going to guess the only thing I have left to try is disable vms on startup and reboot to see if I can then destroy the zvol and create a new larger one. But I was hoping someone else might have another suggestion to correctly increase the volume size. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-virtualization@freebsd.org Wed Feb 8 06:36:25 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 2472BCC7AF3 for ; Wed, 8 Feb 2017 06:36:25 +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 D53C597D for ; Wed, 8 Feb 2017 06:36:24 +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 092562052E02 for ; Wed, 8 Feb 2017 16:35:55 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 025A82809E1 for ; Wed, 8 Feb 2017 16:35:55 +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 Ewj3Nk9p03J0 for ; Wed, 8 Feb 2017 16:35:54 +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 71C222809D3; Wed, 8 Feb 2017 16:35:52 +1000 (AEST) Subject: Re: Ubuntu UEFI Won't Reboot To: Vincent Olivier References: <23FEB7AF-5CE5-4CAA-B920-E4260FDEF4FA@up4.com> Cc: FreeBSD virtualization From: Peter Grehan Message-ID: <478af3ec-1e22-5031-dce4-36cf8f6c4a0d@freebsd.org> Date: Tue, 7 Feb 2017 22:36:11 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <23FEB7AF-5CE5-4CAA-B920-E4260FDEF4FA@up4.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=YJDv8VOx c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=n2v9WMKugxEA:10 a=6I5d2MoRAAAA:8 a=n7CAqfBY4TCReaRMAVYA:9 a=QEXdDO2ut3YA:10 a=MaZOG54Q8MAA:10 a=IjZwj45LgO3ly-622nXo:22 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: Wed, 08 Feb 2017 06:36:25 -0000 Hi Vincent, > So after a minute or two, I get the UEFI Shell and when I exit, I get > something that appears to be the bhyve BIOS (?) when I go from there > to the Boot Maintenance Manager, and then =C2=AB Boot From File =C2=BB = I can > select the block device, then , then , then grubx64.efi > and then I get the Grub menu from which I can select Ubuntu, which in > turn boots the OS just fine. Now, the question is, can I configure > bhyve to look for that file instead of whatever it is currently > looking for and not finding? Or do I have to modify the ESP? This is a known issue in that UEFI nvvars aren't written to permanent=20 storage (e.g. see=20 https://lists.freebsd.org/pipermail/freebsd-virtualization/2016-September= /004808.html).=20 A number of guest o/s's use nvvars to handle boot order/non-standard=20 boot loader names etc, and expect changes to these to be persistent. There is a fix that just needs to be comitted (to both bhyve and=20 UEFI/bhyve). Hope to get to that soon. later, Peter. From owner-freebsd-virtualization@freebsd.org Wed Feb 8 15:24:23 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 10748CD69B6 for ; Wed, 8 Feb 2017 15:24:23 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (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 CAB9E1D00 for ; Wed, 8 Feb 2017 15:24:22 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 52F3DDE88 for ; Wed, 8 Feb 2017 15:24:21 +0000 (UTC) Subject: Re: Resizing ZVOL used for bhyve VM. To: freebsd-virtualization@freebsd.org References: From: Allan Jude Message-ID: <495d71a8-b4e0-fe9a-401f-a2ef607fbd3d@freebsd.org> Date: Wed, 8 Feb 2017 10:24:14 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NRKki6sE5eHJ51tEDCnfRxLntOKqUXSII" 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, 08 Feb 2017 15:24:23 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NRKki6sE5eHJ51tEDCnfRxLntOKqUXSII Content-Type: multipart/mixed; boundary="ST0430dag10TShac4gS6VI0nca4Xdp1dg"; protected-headers="v1" From: Allan Jude To: freebsd-virtualization@freebsd.org Message-ID: <495d71a8-b4e0-fe9a-401f-a2ef607fbd3d@freebsd.org> Subject: Re: Resizing ZVOL used for bhyve VM. References: In-Reply-To: --ST0430dag10TShac4gS6VI0nca4Xdp1dg Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017-02-08 00:23, Dean E. Weimer wrote: > I am trying to resize a secondary data disk on a Debian Linux Virtual > machine. The data really isn't all that important, its video from IP > security cameras. Since nothing has happened that needs reviewed I coul= d > scrap it and start over. However I can't even do that. >=20 > I tried just setting the volsize to a larger value while the vm is > shutdown. zfs excepts the command, I boot up the VM but it is not > recognizing the volume properly I can see that its grown, but it errors= > trying to update the GPT partition table with the new size. I gave up > shutdown VM and tried to delete the zvol so I could create a new one. > However it believes the zvol is in use and wont let me destroy it. So > something funky seems to be going on. oddly enough I set the zvol back > to the original size boot up the vm, all the data is intact and > functioning just fine. So somehow I can't break it despite doing all > kinds of things that could have and probably should have destroyed the > data. >=20 > I am going to guess the only thing I have left to try is disable vms on= > startup and reboot to see if I can then destroy the zvol and create a > new larger one. But I was hoping someone else might have another > suggestion to correctly increase the volume size. >=20 Make sure you actually destroy the bhyve vm, not just shut it down. You may also be having issues where GEOM on the host has locked the device when it saw the disk resize. You likely want to have the zfs property 'volmode' set to 'dev', instead of the default 'geom', to prevent this when using bhyve. I'd recommend, with the bhyve 'destroyed' (the instance, not your data), gpart recover zvol/path/name To rewrite the backup copy of the GPT table at the new end of the drive. Then try booting the VM again. --=20 Allan Jude --ST0430dag10TShac4gS6VI0nca4Xdp1dg-- --NRKki6sE5eHJ51tEDCnfRxLntOKqUXSII Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJYmzgfAAoJEBmVNT4SmAt+KjgP/1oOk8s0Y8X2F86wJ2/1DkJ9 5gUp0LSKFrkRkf4+YfunUoujJzGkJyelnkwYOASMG6230XJjs7wnPISFIq8WJIwV GOK/PWY1cnNdYhHEDiYJQOtDs9vrXMIFtiSMXcERrlSN2EjPd2qdj6sGZphxRU/g c/Jxak3wxkuLxkHmk+Muh5bvR4ufsf1ogKuTL2+0aIUY8W2M35rUm/3MNbtiT7Cr qJ7cZUcJJSHHlpMpopaLpGuJj0XraqUfUTPI+MMV8WLLgViR7qMBcHTvcIA00qZD EAjg2kLJQB3dNWAGU7bfDXXsK6dKVpn/ZXWmHY0Rk+t3unChS32KYwiLrhOFYmQX Vn55QR3hK1KugmbbiPzJFlCLASYT80FUUUrSeZ/XFdEpZ6qM3t6UQxfI9HKs/8t8 nDanZKzGjripyMR6hjcMInQoqrJaKql1y/LoE+M22xyyHkR+ZCukZaP5RgGJSwmF b1jzhPtaSM+w1AIRc8ziYTijdDAKqFcbiFDwoVNkB9+XIowYQDiLBxsOC4hxME5x PVNFaRXmBLqHxbDluuSVnuT8kZjATXem4qVjmgG/O22mXPAh+ncgPWtIFzPAbkPj ITHjLFRXzbf3fx1BYo15cbkv8gw3GOBRF4jqPzVpONqIXHgWETtF3JX2FJfAF+F9 +kPIw8zEwIKBIYwWhXt/ =lir2 -----END PGP SIGNATURE----- --NRKki6sE5eHJ51tEDCnfRxLntOKqUXSII-- From owner-freebsd-virtualization@freebsd.org Wed Feb 8 16:59:07 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 1B374CD6AA2; Wed, 8 Feb 2017 16:59:07 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.dweimer.net", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E33931FD9; Wed, 8 Feb 2017 16:59:04 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from www.dweimer.net (opnsense.dweimer.local [10.9.5.1]) (authenticated bits=0) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPSA id v18Gx1Ki004364 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 8 Feb 2017 10:59:02 -0600 (CST) (envelope-from dweimer@dweimer.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dweimer.net; s=2017.01.31; t=1486573142; bh=k83mNDH1gCOsZinWl+TJDerw4EEkEL+Z5jQMg3TlTRM=; h=Date:From:To:Cc:Subject:Reply-To:In-Reply-To:References; b=w1FHk3mPC3oIqWsHM+Z/jZ+EHI8em89+Tj1Ft+GrMEjMXro1+ndkXk/P9HO8EQIyk Yt1pQauvIbI1Fu7d5RFIjoaljK/Qr/NXjjbKXtElCJ02XkwEauYNT0FlNElVVpqPBa KFujshIDIZvhP2z7EPsscEGWczQzmRfY9gf32INEWoMd20Lc1iL0pJnLDJAJSGAHyX apuDUVnKxvC6G+mBMrCFds7sYwKuRblhjJNGuDn68aYz1LS6ovfGH8LlsbMgbWhBom pu2+HSy1l0HmOOMHxNIq1iu7opNOjpUAt6SfVjyPTguLmtVcu4Nc/XEUTm4SC4r7Ry xgqVKBQddhMRA== MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 08 Feb 2017 10:58:56 -0600 From: "Dean E. Weimer" To: Allan Jude Cc: freebsd-virtualization@freebsd.org, owner-freebsd-virtualization@freebsd.org Subject: Re: Resizing ZVOL used for bhyve VM. Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <495d71a8-b4e0-fe9a-401f-a2ef607fbd3d@freebsd.org> References: <495d71a8-b4e0-fe9a-401f-a2ef607fbd3d@freebsd.org> Message-ID: <6377c5cd376f0111e0e8e186c4ef4a41@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.3-beta 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, 08 Feb 2017 16:59:07 -0000 On 2017-02-08 9:24 am, Allan Jude wrote: > On 2017-02-08 00:23, Dean E. Weimer wrote: >> I am trying to resize a secondary data disk on a Debian Linux Virtual >> machine. The data really isn't all that important, its video from IP >> security cameras. Since nothing has happened that needs reviewed I >> could >> scrap it and start over. However I can't even do that. >> >> I tried just setting the volsize to a larger value while the vm is >> shutdown. zfs excepts the command, I boot up the VM but it is not >> recognizing the volume properly I can see that its grown, but it >> errors >> trying to update the GPT partition table with the new size. I gave up >> shutdown VM and tried to delete the zvol so I could create a new one. >> However it believes the zvol is in use and wont let me destroy it. So >> something funky seems to be going on. oddly enough I set the zvol back >> to the original size boot up the vm, all the data is intact and >> functioning just fine. So somehow I can't break it despite doing all >> kinds of things that could have and probably should have destroyed the >> data. >> >> I am going to guess the only thing I have left to try is disable vms >> on >> startup and reboot to see if I can then destroy the zvol and create a >> new larger one. But I was hoping someone else might have another >> suggestion to correctly increase the volume size. >> > > Make sure you actually destroy the bhyve vm, not just shut it down. > > You may also be having issues where GEOM on the host has locked the > device when it saw the disk resize. You likely want to have the zfs > property 'volmode' set to 'dev', instead of the default 'geom', to > prevent this when using bhyve. > > I'd recommend, with the bhyve 'destroyed' (the instance, not your > data), > gpart recover zvol/path/name > > To rewrite the backup copy of the GPT table at the new end of the > drive. > > Then try booting the VM again. I was missing the volmode setting as dev. I had it on the virtual machine's system disk zvol but not its secondary data disk. I went ahead and decided to delete the disk and recreate it after all the messing around just in case I had corrupted something. I did verify though that with this setting I was able to shutdown the VM and then delete the new disk and recreate it. So it definately was the dev volmode setting not being there that was causing the lock, and likely causing the resize to fail. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-virtualization@freebsd.org Wed Feb 8 17:09:35 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 0B4B0CD619A for ; Wed, 8 Feb 2017 17:09:35 +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 EE9ABCDB for ; Wed, 8 Feb 2017 17:09:34 +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 v18H9Yie009810 for ; Wed, 8 Feb 2017 17:09:34 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, 08 Feb 2017 17:09:35 +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: aafx0@outlook.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: Wed, 08 Feb 2017 17:09:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203994 Ahmad A. changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aafx0@outlook.com --- Comment #4 from Ahmad A. --- Hi. I thought I'd chime in and mention that bhyve doesn't work nested under Hyper-V either, at least not on my setup; the relevant lines from dmesg rea= d: vmx_init: processor does not support desired basic capabilities module_register_init: MOD_LOAD (vmm, 0xffffffff826344e0, 0) error 22 VirtualBox (with VT-x and all) works fine though. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Feb 9 04:13:14 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 8BDB9CD7422 for ; Thu, 9 Feb 2017 04:13:14 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 169697E3 for ; Thu, 9 Feb 2017 04:13:14 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: by mail-lf0-x243.google.com with SMTP id v186so10999597lfa.2 for ; Wed, 08 Feb 2017 20:13:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=lGyI1hUmjocYX55qDhUMPCb19TF2nLghwfB9400qxs8=; b=MJKtIv3kiDQERNZQP7lCEo3dlj4j94Y37ol5aV6B+GM15Sx9YvWs4CMNixRXqz/nDe S6nnfdzW+uE5ZqUS71xz2ZfmvmvmvOH3raSz7Wrl4SqSSU4vG6JO7UXMSWgYocIjDSN/ /pfDuqRQr+GtMMZixK7NVbTfJIXEQyYDCM4Jgv1l9qaImo8ancjUmJg8LLvgQikJpSyL GnDuc45hj5GR2o6ZoXfL3xwwfAaDtwJhSEESr4+T6nLa4at6yCDcJe960vZQTcBoQJAp 824yeabN47YMs4RT1SnTwnwDGnEgthKElhwhc4ifVFGEtJC83y7NG70bCZrfEZQOsGZB pcZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=lGyI1hUmjocYX55qDhUMPCb19TF2nLghwfB9400qxs8=; b=Zu1OUzohRxwKqIYQLilIGoMqE77D6pOEAuWhsVWkesVWyagg7nkqbyxxBZ5LhgQ+s8 0JWfGwehdesMTbSIucYcthQ9joKa7ZFhR4AzZ1PUkt1ZbovPOYmSSOoFIpmGiIrIWVcL RBhLZQp38Z8GazdzCDCXGbL12tb2+lXsd0SL9DwsWPqDmdVq+XgKOQkHpzdwo3QMBHGj 7HiTzd0YBqLdOS8M6J4+dfgV0vFz1Q4YjTm34P3PXaiv5cAFXKHTgVfoGWE5UtEve+Xn O9tzZyKFjP35pp0tRJTsfeEFED4YGcPJkRp2MMZAt0OTcdHwxxR0FDhS/vJN11S97bL5 HzEA== X-Gm-Message-State: AMke39kz2W+aDqP8SQHtr4b6WaK3VzKjqrlvZDCDPDWFnSOPg/77FgQFR8nsnzCATO095g5Sh+eIf1QzOBwQLg== X-Received: by 10.25.161.208 with SMTP id k199mr239928lfe.165.1486613592023; Wed, 08 Feb 2017 20:13:12 -0800 (PST) MIME-Version: 1.0 Sender: lwhsu.freebsd@gmail.com Received: by 10.25.193.205 with HTTP; Wed, 8 Feb 2017 20:13:11 -0800 (PST) In-Reply-To: References: From: Li-Wen Hsu Date: Thu, 9 Feb 2017 12:13:11 +0800 X-Google-Sender-Auth: -oMs93I8GVGGUtPPT0YqlJTPfBc Message-ID: Subject: Re: VirtualBox won't build from ports To: John Klos Cc: FreeBSD Python Team Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Thu, 09 Feb 2017 12:56:10 +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: Thu, 09 Feb 2017 04:13:14 -0000 On Fri, Jan 27, 2017 at 11:28 AM, John Klos wrote: > Hi, > > I find it a little odd that a clean install of FreeBSD 11.0 on amd64 > followed by: > > portsnap fetch ; portsnap extract > echo "DISABLE_LICENSES=yes" > /etc/make.conf > echo "BATCH=yes" >> /etc/make.conf > cd /usr/ports/emulators/virtualbox-ose > make install clean > > fails. What's the recommended (and non-embarrassing) way to set up a clean > FreeBSD installation with VirtualBox? > > Here's the error: > > ... > /bin/ln -sf python-2.7.pc > /usr/ports/lang/python3/work/stage/usr/local/libdata/pkgconfig/python2.pc > ====> Compressing man pages (compress-man) > ===> Installing for python3-2_3 > ===> Checking if python3 already installed > ===> Registering installation for python3-2_3 as automatic > Installing python3-2_3... > pkg-static: python3-2_3 conflicts with python2-2_3 (installs files into the > same place). Problematic file: /usr/local/bin/2to3-2 > *** Error code 70 > > Stop. > make[6]: stopped in /usr/ports/lang/python3 > *** Error code 1 > > Stop. > ... > (Add freebsd-python@, move freebsd-virtualization@ to BCC) This is not emulators/virtualbox-ose's fault. It's because it needs python2 to build, but it conflictes with python3 which is installed on your system. We might need to check why both python2 and python3 install /usr/local/bin/2to3-2, this should be suffixed. FWIW, if there you have no special requirements, I would suggest you to install pre-built packages with pkg(1). Best, Li-Wen -- Li-Wen Hsu https://lwhsu.org From owner-freebsd-virtualization@freebsd.org Thu Feb 9 13:05:31 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 56600CD6351 for ; Thu, 9 Feb 2017 13:05:31 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27978C4F for ; Thu, 9 Feb 2017 13:05:31 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: by mail-pf0-x22f.google.com with SMTP id y143so731281pfb.0 for ; Thu, 09 Feb 2017 05:05:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=iECfFHvFnvwZaQKjyfsriWr69a0x1KT0ho96l91OnAk=; b=h426rvboHzlORsboLpYx7AfcNpY8apo0a0jratuxbcPebZKykoU+bkUYGpVwwpd8Xu 883CYf3NTiMqC+7D6B4fV7Q1YzPAVzZ/I2KrgkALyzWcfvC9SSZYzYkMItAGO4lucIju IaljvUka6m/wNZSJyexI9UAWPPDVowgPLsO3StCkhxZCnDyYzkoVgOlYUrh5MjQW/D04 RhZHonF47AABdVCIdtWuJ+XdoNn98Ce98Uf+1jHIiS8PE1H8KG7/prIFfs24nJ+E7Qag W4QVmfuWGJmjhNXtnErR9NNv0xtdfLiVbafupO4nSZ+z1UAOcmdU99B3M8RPvsAKXK++ R9DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=iECfFHvFnvwZaQKjyfsriWr69a0x1KT0ho96l91OnAk=; b=Y162PqfuqaspOvb7eL2K8+UkioahjIdhAVlUu586ovnOyAntR+Loj0sF/QD6ocSEt0 eF9ezhRD93wtyPPGUYNfkaKDr9W2Lcot6gKba+hAHRu0XCmFtEt94260MXj5RV1mn8Ap 1sEOQWx5a6hPgTSy14LOCggmHOdl5uGqfGBgOjMhDllvP0agyBVKIG2AAjlUxOyNGxtB kb/kGQ/KyY6RGFDvTLVtHPl9+cVTzti1xIuzyiBK9y7Daz1oE9Eb5L2TjI4cGMA50P9r hDPa8gXiW62loVlIpMGwvlFRLDUyrXQVe2C0R2ahF+p/o83EYokD+9MubVTGI1pQxCZm qR+w== X-Gm-Message-State: AMke39mEKKtxrgsW0TMeNTxulSVi7s3I+bcZwp5mFz47tncD+S2DuJ+1bNxofVyOzMrzCg== X-Received: by 10.99.127.71 with SMTP id p7mr3875246pgn.125.1486645530316; Thu, 09 Feb 2017 05:05:30 -0800 (PST) Received: from ?IPv6:2601:2c2:200:3494:80f1:e008:fad7:b73? ([2601:2c2:200:3494:80f1:e008:fad7:b73]) by smtp.gmail.com with ESMTPSA id b21sm28962991pfl.87.2017.02.09.05.05.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Feb 2017 05:05:29 -0800 (PST) To: freebsd-virtualization@freebsd.org From: Rajil Saraswat Subject: Zvol, Bhyve/Pfsense and config restore Message-ID: <101c40b4-55fe-20ec-6ed0-ff77df9d2618@gmail.com> Date: Thu, 9 Feb 2017 07:04:46 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 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: Thu, 09 Feb 2017 13:05:31 -0000 Hello, I am trying to setup a pfsense instance under bhyve. Until now i had a standalone machine for pfsense but it is going away for RMA so i am trying to replace it with a bhyve instance. The /cf/conf/config.xml file needs to be copied over to the bhyve instance. I created the zvol (zfs create -sV 8G "vmpool/os5") and used this zvol in the bhyve vm. To copy the config.xml, i mounted the zvol on the host which worked. But I am unable to list the contents of the zvol. # mount /dev/zvol/vmpool/os5 /mnt/tst #df /dev/zvol/vmpool/os5 8106716 6992 7451188 0% /mnt/tst #ls -la /mnt/tst ls: /mnt/tst: Bad file descriptor How can i access the vm filesystem on the host? Thanks From owner-freebsd-virtualization@freebsd.org Thu Feb 9 13:22:07 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 2BEEDCD6A5F for ; Thu, 9 Feb 2017 13:22:07 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (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 BE6ED16B6 for ; Thu, 9 Feb 2017 13:22:06 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v19DM2Tn084917; Thu, 9 Feb 2017 14:22:02 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id B937FE13; Thu, 9 Feb 2017 14:22:01 +0100 (CET) Message-ID: <589C6CF9.3020707@omnilan.de> Date: Thu, 09 Feb 2017 14:22:01 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Rajil Saraswat CC: freebsd-virtualization@freebsd.org Subject: Re: Zvol, Bhyve/Pfsense and config restore References: <101c40b4-55fe-20ec-6ed0-ff77df9d2618@gmail.com> In-Reply-To: <101c40b4-55fe-20ec-6ed0-ff77df9d2618@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Thu, 09 Feb 2017 14:22:02 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) 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, 09 Feb 2017 13:22:07 -0000 Bezüglich Rajil Saraswat's Nachricht vom 09.02.2017 14:04 (localtime): > Hello, > > I am trying to setup a pfsense instance under bhyve. Until now i had a > standalone machine for pfsense but it is going away for RMA so i am > trying to replace it with a bhyve instance. The /cf/conf/config.xml file > needs to be copied over to the bhyve instance. > > I created the zvol (zfs create -sV 8G "vmpool/os5") and used this zvol > in the bhyve vm. To copy the config.xml, i mounted the zvol on the host > which worked. But I am unable to list the contents of the zvol. > > # mount /dev/zvol/vmpool/os5 /mnt/tst > > #df > > /dev/zvol/vmpool/os5 > 8106716 6992 7451188 0% /mnt/tst > > #ls -la /mnt/tst > > ls: /mnt/tst: Bad file descriptor > > How can i access the vm filesystem on the host? Which volmode is in use for vmpool/os5 ('zfs get volmode vmpool/os5')? I don't know what patritioning scheme pfsens uses, but 'gpart show /dev/zvol/vmpool/os5' would be of interest. You need volmode "geom" and something like /dev/zvol/vmpool/os5p2 or /dev/zvol/vmpool/os5a for your mount special I guess. -harry From owner-freebsd-virtualization@freebsd.org Thu Feb 9 14:51:57 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 6EBA6CD6743 for ; Thu, 9 Feb 2017 14:51:57 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: from mail-qt0-x22f.google.com (mail-qt0-x22f.google.com [IPv6:2607:f8b0:400d:c0d::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C8FDD2F for ; Thu, 9 Feb 2017 14:51:57 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: by mail-qt0-x22f.google.com with SMTP id v23so5861242qtb.0 for ; Thu, 09 Feb 2017 06:51:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ohoQ+U2UAmdKbE5KB1VN674O53KEJ+xTNAjLXVRfrvM=; b=euA44PMnMsWazoJYkrZcPxQR4fU4mhwoHxKykemA9JOkTVo/gnFEBZB+RlV9m6kiPt zo8Sd548pCswKIvbykF2fmY4K7dsgF2e4LnWrxYvwH7aS5Vj+cnMA6VhhMJnJ3Oyahzt cNaN1UkiYKCTEgyz1ID/Abkm744ogEgnpTnBrePl0j0a4u2iv6zrwUnrU9JEg5X0ZJ3u KgB60aEVAOpqmwyB0TE5nAkGbndRBtuRKwZvR/egr8oQCtFPkiust0pp/JMjp4EMGafD PZI5JVaT9zCVrs+/11O+t27CfUS1rNFDzolcb9NyzbColXeo7DE7MB0o5qdAu4kg/MyL hnIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ohoQ+U2UAmdKbE5KB1VN674O53KEJ+xTNAjLXVRfrvM=; b=TTqsJvKJe5wvbuXI3XgdytISbQtrrT0vHjMXUVtIq/1jyt1QmFyOMyXPqX7FfAIu1R YxH6TLfOZ9n3lPyWhodwBnf5uugN0o2DKAED2VPJhkJE3cgkgSe8Eh1SdvjfxM8tuRqv Y8aQ7+chTEB0pWTPCz/E82Ah9PcaGbq77h1xUKchDa5cMRvi4H4pZHLbwFPu/zrA8gda IqOI6/UsnREj7TwcU5dgWyhOWcNqjVgKUUbOZdGTQVswdBFZURzxa9OTDAtxy4k+Y6fO IdRzB9o+s8WkcUpGRGA2ayXWjxaWwDE/BcNCCXof4b9JjClrAntR8bCibo35+BOx4iX/ 0qXg== X-Gm-Message-State: AMke39mrQLFG4xb3XhCh+vvyS5odvSl5YGeqnOhQ3/AK0KVYScz7OR6pxC/GmNVy3xJFddawQrhxFZJwTUyRBg== X-Received: by 10.200.40.38 with SMTP id 35mr3027988qtq.216.1486651916079; Thu, 09 Feb 2017 06:51:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.157.206 with HTTP; Thu, 9 Feb 2017 06:51:55 -0800 (PST) In-Reply-To: <589C6CF9.3020707@omnilan.de> References: <101c40b4-55fe-20ec-6ed0-ff77df9d2618@gmail.com> <589C6CF9.3020707@omnilan.de> From: Rajil Saraswat Date: Thu, 9 Feb 2017 08:51:55 -0600 Message-ID: Subject: Re: Zvol, Bhyve/Pfsense and config restore To: Harry Schmalzbauer Cc: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 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, 09 Feb 2017 14:51:57 -0000 How can i access the vm filesystem on the host? > > Which volmode is in use for vmpool/os5 ('zfs get volmode vmpool/os5')? > > I don't know what patritioning scheme pfsens uses, but 'gpart show > /dev/zvol/vmpool/os5' would be of interest. > > You need volmode "geom" and something like /dev/zvol/vmpool/os5p2 or > /dev/zvol/vmpool/os5a for your mount special I guess. > > -harry > The volmode was set as default. After changing it to geom, i was able to access the zvol and copy the file. Thanks for the tip! From owner-freebsd-virtualization@freebsd.org Thu Feb 9 15:36:02 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 906DFCD7C26 for ; Thu, 9 Feb 2017 15:36:02 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (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 3162E1103 for ; Thu, 9 Feb 2017 15:36:02 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v19Fa0CC086102; Thu, 9 Feb 2017 16:36:00 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 51494E2E; Thu, 9 Feb 2017 16:36:00 +0100 (CET) Message-ID: <589C8C5F.7060904@omnilan.de> Date: Thu, 09 Feb 2017 16:35:59 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Rajil Saraswat CC: freebsd-virtualization@freebsd.org Subject: Re: Zvol, Bhyve/Pfsense and config restore References: <101c40b4-55fe-20ec-6ed0-ff77df9d2618@gmail.com> <589C6CF9.3020707@omnilan.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Thu, 09 Feb 2017 16:36:00 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) 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, 09 Feb 2017 15:36:02 -0000 Bezüglich Rajil Saraswat's Nachricht vom 09.02.2017 15:51 (localtime): > How can i access the vm filesystem on the host? >> >> Which volmode is in use for vmpool/os5 ('zfs get volmode vmpool/os5')? >> >> I don't know what patritioning scheme pfsens uses, but 'gpart show >> /dev/zvol/vmpool/os5' would be of interest. >> >> You need volmode "geom" and something like /dev/zvol/vmpool/os5p2 or >> /dev/zvol/vmpool/os5a for your mount special I guess. >> >> -harry >> > > The volmode was set as default. After changing it to geom, i was able > to access the zvol and copy the file. > > Thanks for the tip! Glad to hear you got it working. 'default' references "vfs.zfs.vol.mode": sysctl -d vfs.zfs.vol.mode vfs.zfs.vol.mode: Expose as GEOM providers (1), device files (2) or neither It's probably modified unintentionally on your host. On the other hand I remember someone documented that under unclear circumstances, it needs to be set explicitly to 'geom' even with the sysctl beeing still the default "1" (=geom). -harry From owner-freebsd-virtualization@freebsd.org Fri Feb 10 14:26:49 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 434B7CD8726 for ; Fri, 10 Feb 2017 14:26:49 +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 32867127D for ; Fri, 10 Feb 2017 14:26:49 +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 v1AEQmOA012822 for ; Fri, 10 Feb 2017 14:26:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 214518] Extremely slow refresh rate in vt on VMware Fusion (EFI firmware) Date: Fri, 10 Feb 2017 14:26:49 +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: 11.0-RELEASE X-Bugzilla-Keywords: vt X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@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: keywords 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, 10 Feb 2017 14:26:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214518 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |vt CC| |emaste@freebsd.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Feb 10 14:27:19 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 0CF55CD878B for ; Fri, 10 Feb 2017 14:27:19 +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 EE70112F5 for ; Fri, 10 Feb 2017 14:27:18 +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 v1AERISe013676 for ; Fri, 10 Feb 2017 14:27:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 214518] Extremely slow refresh rate in vt on VMware Fusion (EFI firmware) Date: Fri, 10 Feb 2017 14:27:18 +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: 11.0-RELEASE X-Bugzilla-Keywords: vt X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@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: see_also 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, 10 Feb 2017 14:27:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214518 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 036 | |82 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Feb 10 14:27:19 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 981D7CD8790 for ; Fri, 10 Feb 2017 14:27:19 +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 86D7F12FA for ; Fri, 10 Feb 2017 14:27:19 +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 v1AERISm013676 for ; Fri, 10 Feb 2017 14:27:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203682] Slow boot under VMware Fusion w/ UEFI firmware and SMP -- until APs are launched Date: Fri, 10 Feb 2017 14:27:18 +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: emaste@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: see_also 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, 10 Feb 2017 14:27:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203682 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 145 | |18 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Feb 10 14:28:49 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 3D7C5CD88D1 for ; Fri, 10 Feb 2017 14:28:49 +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 2C89315B0 for ; Fri, 10 Feb 2017 14:28:49 +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 v1AESn6t016219 for ; Fri, 10 Feb 2017 14:28:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203682] Slow boot under VMware Fusion w/ UEFI firmware and SMP -- until APs are launched Date: Fri, 10 Feb 2017 14:28:49 +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: emaste@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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, 10 Feb 2017 14:28:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203682 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Feb 10 14:29:55 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 4F2C4CD893A for ; Fri, 10 Feb 2017 14:29:55 +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 3BB421620 for ; Fri, 10 Feb 2017 14:29:55 +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 v1AETt2J018010 for ; Fri, 10 Feb 2017 14:29:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 214518] Extremely slow refresh rate in vt on VMware Fusion (EFI firmware) Date: Fri, 10 Feb 2017 14:29:55 +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: 11.0-RELEASE X-Bugzilla-Keywords: vt X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@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: Fri, 10 Feb 2017 14:29:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214518 --- Comment #2 from Ed Maste --- Can you test with -current after 310177 (EARLY_AP_STARTUP on by default) and see if this is still reproducible? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Feb 10 18:15:17 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 AD9E0CD917E for ; Fri, 10 Feb 2017 18:15:17 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wr0-x230.google.com (mail-wr0-x230.google.com [IPv6:2a00:1450:400c:c0c::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3EF7A11A for ; Fri, 10 Feb 2017 18:15:17 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by mail-wr0-x230.google.com with SMTP id 89so113959506wrr.2 for ; Fri, 10 Feb 2017 10:15:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=aP8lWxyQJBF+Stl2T+v4QA7adhaU/0M9hVdh6E0nH2U=; b=NArdb3Ahf6x34dz+r18C0C9rkct80rP5Jhvm4iRsbRrZKsK424IDpNjh8VPN8wV/CG p7agHDuTvArPC3irbjh+uMyYLiyrwYjsAKebaaGQGMayIs5cbO+rN7Uay9E8NPiNKyXP qIEOVlbCbChADbzebjyJfr7L3809M6D7ug2gLoWsxBbPFFOIFEerY8HMGiFda9IPHQZA JRIZY9gdXdsdCYpjVbctOIlDZi+nBYmnjbT/dDxz3tByMkW6e3TdtFWg5qu+IlSyEUDP 171LWjwVM+F8+ZBN4UEZNob1X1teXZjh3oB5gciDoBorfZUYcFh40J9yGL6l0VLivAWC xtCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=aP8lWxyQJBF+Stl2T+v4QA7adhaU/0M9hVdh6E0nH2U=; b=RG6yaosFS7DeGJiLljMuo5aPN5H8rgxJvn02bYOYKRjAq/L+AKrqbDquhyMKWHAFO+ frEuiDEmN4O36+heIrHj+3N1i5DMA45bWPGkTwvOMONhM9P9mILEZRWDQ5KEgeh9k7Pq xNdPw4jRqAi9vcYnOYgBYyvkA7PIMqqHWQNvxEzq2ZkZbre00wlf2GFJQyPSasPsXHhh +MB6s1QaS38XOARIQ7NzpsWyzYVcxM9Tq7/Zo3sVCi+m7Hsdz7Krm4DgnOj3d4KbxFGM nxwYqseN2Edg0KTs8G3EsnwXoCikWEY4iZbMhcpevuIYQFg8LjEZ94SBiproga0y7DlL jhWg== X-Gm-Message-State: AMke39nVKffS/VAmrfbYNgwyqRgxlDj0WiGFPOaL0ZPrR3lCZNgTZOTr89hVv9JiKHsyxw== X-Received: by 10.223.150.118 with SMTP id c51mr8418878wra.190.1486750515430; Fri, 10 Feb 2017 10:15:15 -0800 (PST) Received: from localhost ([185.86.10.22]) by smtp.gmail.com with ESMTPSA id b51sm3698142wrd.39.2017.02.10.10.15.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Feb 2017 10:15:14 -0800 (PST) Date: Fri, 10 Feb 2017 18:15:13 +0000 From: "C. L. Martinez" To: freebsd-virtualization@freebsd.org Subject: Unable to create OpenBSD 6.0 bhyve guest Message-ID: <20170210181513.vtnq3ph5vmk3sbi4@scotland.uxdom.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) 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, 10 Feb 2017 18:15:17 -0000 Hi all, I am trying to create an OpenBSD 6.0 virtual guest under FreeBSD 11 bhyve server. When I try list cd contents, segmentation faults appears: grub-bhyve -d /data/vms/conf/obsdfwwif -m device.map -r cd0 obsdfwwif GNU GRUB version 2.00 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions. grub>ls Segmentation fault Content of device.map is: (hd0) /dev/zvol/zroot/data/vms/vdsk/obsdfwwifvol (cd0) /data/isoimages/install60.iso My host supports hardware virtualiztion: [1] Structured Extended Features=0x27ab [1] XSAVE Features=0x1 [1] VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID [1] TSC: P-state invariant, performance statistics And all kernel's modules are loaded: Id Refs Address Size Name 1 49 0x0 1f0bcb8 kernel 2 1 0x0 3acce8 zfs.ko 3 2 0x0 d4e0 opensolaris.ko 4 1 0x0 23420 geom_eli.ko 5 1 0x0 abb8 if_tap.ko 6 1 0x0 132e0 if_bridge.ko 7 2 0x0 9750 bridgestp.ko 8 1 0x0 1c0b8 fuse.ko 9 1 0x0 364070 vmm.ko 10 1 0x0 5138 nmdm.ko What am I doing wrong? Thanks -- Greetings, C. L. Martinez From owner-freebsd-virtualization@freebsd.org Fri Feb 10 18:27: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 6077ECD94A8 for ; Fri, 10 Feb 2017 18:27:30 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E1C4952 for ; Fri, 10 Feb 2017 18:27:30 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt0-x236.google.com with SMTP id x49so42667706qtc.2 for ; Fri, 10 Feb 2017 10:27:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version; bh=odPaKMFnxb4R443To0UEY1VvVV9oenBOB1DE19+Ue/Y=; b=P9H01A9aT6Bjzn2wOhULFTKCYpY0i0uNd55V5v5e/6WzpbITG1ipYmlnN1FzmDcs+G +T7W3NJuAulCaOooZlU7o3bT8Ic6VGxEbdXKNoK1uiO5A/YCQOY4e+H1YKgK0m/NoQEM oM8xr4FQSF/svcuoBYnxD8JSjcxfs7Hkvkj2l/epQGP7X80xnF/DbfpgKiN/AnZSrNeH W7sD1sHVgMfPDu+DoZ+tfbBjUZqIIpoa8KCbc6FHKa6nekhEIUUyt0Yx+t2GkTo+DlvH /fXAeWvjXwEMMDyKLuXBozdklmCndXp7lu8E6kNY1soGSEVYPsEAT8r9t7ONSYzQzGOR R0aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version; bh=odPaKMFnxb4R443To0UEY1VvVV9oenBOB1DE19+Ue/Y=; b=Bkn8yRUkT07MHM/P0j9imPel2JHvP6Lg74jA6ooP88EMeIj8AZeiCre4xXuwGO/eKj afCvG0B+Tts+jjzaftWZ+JzrC/GFIRlgCfUcPhPXJXOa5fzyvPDKd6NFXL/dAJPdNMft j8bLPVxXgszRI4RHxNHrfdS3M9qr9k8fyTuV/bsVpO9/UUkXLZAQc0dNl1gWL5aTcWYq uq0EBHsTpLdtobUgKRgoe/4m6gFKn3rfAVuYXyR399/lmVZFmufQPNJj2q3BMekYaPet n/IVeCMQGwamnBx9A/QRy2YCMZhNEokQ/wjcl66rO+Y5Pr/K8ex/j2Z8K8qnSSgsCocA IJgg== X-Gm-Message-State: AMke39n7HteYng274tDpnkuN8mXarpt6N42tSueX3RpDtXUb7Y2kGLHTetMx1rupabHtVx0S4lwh7nQS1synIdfcTyeZfPHKxRFImUFbwZk0OfQ1L2+kbWqRO17wC2BmjOrsVLtnCfiXFBUwCIlRgiuSez89EX7dMPGvQUbNPo9p+i2ErIDUuNcM9RuLgtrYZ7n7qLEZH6zvAd4QIQ== X-Received: by 10.200.44.74 with SMTP id e10mr10022898qta.145.1486751248718; Fri, 10 Feb 2017 10:27:28 -0800 (PST) Received: from hbsd-dev-laptop.localnet ([63.88.83.66]) by smtp.gmail.com with ESMTPSA id r57sm2124778qtr.27.2017.02.10.10.27.27 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Feb 2017 10:27:28 -0800 (PST) From: Shawn Webb To: freebsd-virtualization@freebsd.org Subject: Re: Unable to create OpenBSD 6.0 bhyve guest Date: Fri, 10 Feb 2017 13:27:21 -0500 Message-ID: <1757175.5Lz3SQ4xSy@hbsd-dev-laptop> Organization: HardenedBSD User-Agent: KMail/4.14.10 (FreeBSD/12.0-CURRENT-HBSD; KDE/4.14.10; amd64; ; ) In-Reply-To: <20170210181513.vtnq3ph5vmk3sbi4@scotland.uxdom.org> References: <20170210181513.vtnq3ph5vmk3sbi4@scotland.uxdom.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3870221.ZfbzRfxnRL"; micalg="pgp-sha256"; protocol="application/pgp-signature" 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, 10 Feb 2017 18:27:30 -0000 --nextPart3870221.ZfbzRfxnRL Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" On Friday, 10 February 2017 06:15:13 PM C. L. Martinez wrote: > Hi all, >=20 > I am trying to create an OpenBSD 6.0 virtual guest under FreeBSD 11 = bhyve > server. When I try list cd contents, segmentation faults appears: >=20 > grub-bhyve -d /data/vms/conf/obsdfwwif -m device.map -r cd0 obsdfwwif= >=20 >=20 > = GNU > GRUB version 2.00 >=20 > Minimal BASH-like line editing is supported. For the first word, T= AB > lists possible command completions. Anywhere else TAB lists possible = device > or file completions. >=20 >=20 > grub>ls > Segmentation fault >=20 Hey C.L. Martinez, This is because grub-bhyve creates memory mappings that are both writab= le and=20 executable, something that is disallowed by default on HardenedBSD. You'll need to add a secadm rule to disable pageexec and mprotect restr= ictions=20 for grub-bhyve. You can find a sample rule here: https://github.com/HardenedBSD/secadm-rules/blob/master/grub-bhyve.rule= Thanks, =2D-=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --nextPart3870221.ZfbzRfxnRL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlieBgoACgkQaoRlj1JF bu7UYhAAhJKlLWdK3TdkzL4MpkCGsSOX4wAwgoHgBEMovpFJ+FwylkekfOe+2Ow2 peWQw/tSc0E+eGPJM1GxTde0qa/l3P94MUv44PLDpSSCs7AZGLgLp4CLXwSgKR2P vGRhR2YQFM+s57kH65xbP4sm5svKhbeYkQL0tgcAuyqSv5E//1H1d3UrSSqUB7F+ G9Tgw8vnLCHPWQoy6FhTwozE9s+aRtCxB/RjH6bD+Tj0hkSqp8SOpwI7IXJNUil0 U80hh0nCAiU/EpuhquejhKNFSZiqvoetH/YR+Mj2yNkfpKHIUCgRnu08pwsPTHzA 6qB5FmnQlBcSfzLpK2EQC2umi2mCtQMjAwb9r1/dWDlUYhxG11Afgub8Hkrk9rZx 4lKOSgdXZS4drqwi6+KbBUuynfNmBOUZRS0bmR6uz45xoLyki/kwa6Qid37dzG21 WvvklV4lmP97E6OMPYhcX/7IgR5Xx6GcExSBiuGTUeRNqbsexwtbqNByPcfCrw8r 4CGDCAneXPBpM2rcSvdSrjXonEgJyCXj/XzXg7K0hyOLlH4HnjVr9BHO8cWOfo6E Lz7TfIpYcCHR3XiU1sJdBxlzbFEApD9kPCZHvHrlv4F861WJ1m6+0vFQw4C+KeP2 NduSGgZmS6YkHulvMvDnVZSEhnXyYjloHYAcxDfvW68z5vJnnFM= =TFWr -----END PGP SIGNATURE----- --nextPart3870221.ZfbzRfxnRL-- From owner-freebsd-virtualization@freebsd.org Fri Feb 10 18:35:24 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 6F2D0CD9652 for ; Fri, 10 Feb 2017 18:35:24 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wr0-x22f.google.com (mail-wr0-x22f.google.com [IPv6:2a00:1450:400c:c0c::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F96AC9F for ; Fri, 10 Feb 2017 18:35:23 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by mail-wr0-x22f.google.com with SMTP id k90so114020078wrc.3 for ; Fri, 10 Feb 2017 10:35:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=yfDfmxfhT/N+W9MSFkLGUSn5GR+cidHPRoEgPVaoKVI=; b=VptYoVYTlMHFrrbYbQsuFnADEaDLs0myA5DPAC5cTpbaYbl9OshOSUuDgagsOq5DN7 iHlbKY/51V9m2TWG4zBO2qpOrKCABw7SQNF6EtYmZSNgWB7HGnFSE1LpGz+SNnD0BTdK /pJN8WIRBPo7avc2ZDOEb0vrxCSEAXSS9jah6A4vcRZ5vQYAYzdm58Ee6v0eCeE7SAEt MLYHN4bOZZ49EnxCGHt3OHShh5VEdFMj5X0ilbKHfmsCSsvcOpENuYuknVRs1LlOrwop BjnuXMAhcKbi5jxxslapLIJyzavnuIu0O0OGSs6cOkUMuAc3vCi3U5BWuUxtCO3ICGaZ +Bjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yfDfmxfhT/N+W9MSFkLGUSn5GR+cidHPRoEgPVaoKVI=; b=AV4C/ApNQI3RqNMi4kGwRJVShC1JMYEIe1J5KQDnfMW0fc7EzlxykMnDrST6UYh6u4 7w6dTFDbp+th6+qSR0X9kprrn7joFFd1J9RLrbWiHi8oTptTnUeejLbTAe1ORDuRky6d w4K++4Bp1H+4MqqqOikEHdXcsfG25z0+iFGG+SOumzyuK2Ac65lYMK2BCXdVvaX86uom hkH7NoLUewmpsyZfGniZkq3khnLT1kuicPRZzuUH+TMSMWTh0kjtBhZ4DKu6VwohTYcj zN1BumjS3E6Z79gjyR+5ajQaCzNJQ6JmCtZtVG9+v6nUbwsgUtg0ZbO7aeIjMolNwioU IGug== X-Gm-Message-State: AMke39miRwQHl1M1CoJ004hqw9ARGAoNuPCZSm6MV13d780R/a63F9y4LuLbawWw9xx/hQ== X-Received: by 10.223.154.165 with SMTP id a34mr8768242wrc.193.1486751721139; Fri, 10 Feb 2017 10:35:21 -0800 (PST) Received: from localhost ([185.86.10.22]) by smtp.gmail.com with ESMTPSA id q1sm2567832wmd.6.2017.02.10.10.35.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Feb 2017 10:35:20 -0800 (PST) Date: Fri, 10 Feb 2017 18:35:19 +0000 From: "C. L. Martinez" To: freebsd-virtualization@freebsd.org Subject: Re: Unable to create OpenBSD 6.0 bhyve guest Message-ID: <20170210183519.43f76q3fcfqrgipw@scotland.uxdom.org> References: <20170210181513.vtnq3ph5vmk3sbi4@scotland.uxdom.org> <1757175.5Lz3SQ4xSy@hbsd-dev-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1757175.5Lz3SQ4xSy@hbsd-dev-laptop> User-Agent: NeoMutt/20170113 (1.7.2) 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, 10 Feb 2017 18:35:24 -0000 On Fri, Feb 10, 2017 at 01:27:21PM -0500, Shawn Webb wrote: > On Friday, 10 February 2017 06:15:13 PM C. L. Martinez wrote: > > Hi all, > > > > I am trying to create an OpenBSD 6.0 virtual guest under FreeBSD 11 bhyve > > server. When I try list cd contents, segmentation faults appears: > > > > grub-bhyve -d /data/vms/conf/obsdfwwif -m device.map -r cd0 obsdfwwif > > > > > > GNU > > GRUB version 2.00 > > > > Minimal BASH-like line editing is supported. For the first word, TAB > > lists possible command completions. Anywhere else TAB lists possible device > > or file completions. > > > > > > grub>ls > > Segmentation fault > > > > Hey C.L. Martinez, > > This is because grub-bhyve creates memory mappings that are both writable and > executable, something that is disallowed by default on HardenedBSD. > > You'll need to add a secadm rule to disable pageexec and mprotect restrictions > for grub-bhyve. You can find a sample rule here: > > https://github.com/HardenedBSD/secadm-rules/blob/master/grub-bhyve.rule > > Thanks, > > -- Thanks Shawn, but it is a FreeBSD-11 RELEASE test laptop :( .... But I am doing some tests with linux also, and it seems that it has some problem with memory according memtest says ... -- Greetings, C. L. Martinez From owner-freebsd-virtualization@freebsd.org Fri Feb 10 18:41: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 AC799CD97AB for ; Fri, 10 Feb 2017 18:41:32 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt0-x233.google.com (mail-qt0-x233.google.com [IPv6:2607:f8b0:400d:c0d::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 62729124B for ; Fri, 10 Feb 2017 18:41:32 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt0-x233.google.com with SMTP id w20so42989058qtb.1 for ; Fri, 10 Feb 2017 10:41:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version; bh=otGMyU27jNS8iOdP8R8qfkBv4Y3jGoOCij9xUuA020s=; b=Ba/Ppy66x85nyF/ZSJzZyi3Qul2zaeWvJzeIuGPMVYsMEgRfI9HNgTL5wSAGL2s1/i z0yedZEpQDtouhulEyFb8EW52XSeFX4ZJATfXCDDYmfSIXPJCXPF0gVhKX0mWg63xSbq MN4NGxXeyfsncDr1s0kwWpuLzYt0pqu/TrlKcFhVHLomfvWfYG4zYl1cLzuZHM2n0qrE f2Ct9hkL/3fVTgI2pWmmvcqWx/5tdzdQGINBbeKctyag3kZYX5mweSClH07RZFNqNNsR CSXA7jKaEyw6kR16t5hoc+79vMpyoP326dsExMB9XOWjRR9vUZ5v1HHl7VnZj+8QZgwF fg9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version; bh=otGMyU27jNS8iOdP8R8qfkBv4Y3jGoOCij9xUuA020s=; b=dTnIRK9qeNcwQlFCXYaVvt/KCoUBvFIzRsyhAg9U9rpJvsoWSrWB5araq56pKOz0xX CbfL8j0B1fLGHlrBQHHztlLUFrwaA9D8AiF1gWVQhqgQF3yHRfEu576aY2N/pzbYRa97 4ovhOSpqIv2VwGfJEDEf5XybT+65RJnJTuZr5ucXLcMC0glzKvEeS8a+zXH0mazZ9jHr 5nyv1qDw2E9Zsmf16UrJJndqeqf5MxRP0xzwSfWRIJd5/6fwWCd1OCl72U5fGd5Ugl3L 5If5Xwo8pZEzsR1JxaaQEHVxCUo06H2jW+RPOEXAU3bCVNRNP06Gv0aA0b7qu35Aeucg TvEA== X-Gm-Message-State: AMke39nC7+Bl6NbRWfmv6jOOj/K0X9w3r/Ui4dClWTmEFoOL2QcYSwRrIdLFV2satTO8QNLkfxumKu//w8M72Wvz3cbOhiuiN0Q6lnkX4D726FvqJ9UOlmDvnB4aWd6h/PxDlxjxB3CQyn6cprlnyjbGUgdSzgLsE6kWSLKMRV4Z9m/OEPV1nk8fc+24vnMzoZZUDv8AQ/n0iZcV8g== X-Received: by 10.200.38.102 with SMTP id v35mr10162584qtv.246.1486752091202; Fri, 10 Feb 2017 10:41:31 -0800 (PST) Received: from hbsd-dev-laptop.localnet ([63.88.83.66]) by smtp.gmail.com with ESMTPSA id c41sm2180159qtd.3.2017.02.10.10.41.30 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Feb 2017 10:41:30 -0800 (PST) From: Shawn Webb To: freebsd-virtualization@freebsd.org Subject: Re: Unable to create OpenBSD 6.0 bhyve guest Date: Fri, 10 Feb 2017 13:41:26 -0500 Message-ID: <3078780.Q0Erv8kLWO@hbsd-dev-laptop> Organization: HardenedBSD User-Agent: KMail/4.14.10 (FreeBSD/12.0-CURRENT-HBSD; KDE/4.14.10; amd64; ; ) In-Reply-To: <20170210183519.43f76q3fcfqrgipw@scotland.uxdom.org> References: <20170210181513.vtnq3ph5vmk3sbi4@scotland.uxdom.org> <1757175.5Lz3SQ4xSy@hbsd-dev-laptop> <20170210183519.43f76q3fcfqrgipw@scotland.uxdom.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1825349.tX8Et4uNqX"; micalg="pgp-sha256"; protocol="application/pgp-signature" 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, 10 Feb 2017 18:41:32 -0000 --nextPart1825349.tX8Et4uNqX Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" On Friday, 10 February 2017 06:35:19 PM C. L. Martinez wrote: > On Fri, Feb 10, 2017 at 01:27:21PM -0500, Shawn Webb wrote: > > On Friday, 10 February 2017 06:15:13 PM C. L. Martinez wrote: > > > Hi all, > > >=20 > > > I am trying to create an OpenBSD 6.0 virtual guest under FreeBSD= 11 > > > bhyve > > >=20 > > > server. When I try list cd contents, segmentation faults appears:= > > >=20 > > > grub-bhyve -d /data/vms/conf/obsdfwwif -m device.map -r cd0 obsdf= wwif > > >=20 > > > = =20 G > > > = =20 N > > > = =20 U > > >=20 > > > GRUB version 2.00 > > >=20 > > > Minimal BASH-like line editing is supported. For the first wor= d, TAB > > >=20 > > > lists possible command completions. Anywhere else TAB lists possi= ble > > > device > > > or file completions. > > >=20 > > >=20 > > > grub>ls > > > Segmentation fault > >=20 > > Hey C.L. Martinez, > >=20 > > This is because grub-bhyve creates memory mappings that are both wr= itable > > and executable, something that is disallowed by default on Hardened= BSD. > >=20 > > You'll need to add a secadm rule to disable pageexec and mprotect > > restrictions for grub-bhyve. You can find a sample rule here: > >=20 > > https://github.com/HardenedBSD/secadm-rules/blob/master/grub-bhyve.= rule > >=20 > > Thanks, >=20 > Thanks Shawn, but it is a FreeBSD-11 RELEASE test laptop :( .... But = I am > doing some tests with linux also, and it seems that it has some probl= em > with memory according memtest says ... Your kldstat output leads me to believe you're running HardenedBSD as t= he host=20 OS (the addresses being 0x0). What is the output of `uname -a`? Thanks, =2D-=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --nextPart1825349.tX8Et4uNqX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlieCVYACgkQaoRlj1JF bu5cBw//de+Y1TcIvy2W+GZanvhCKCS6NjhGcNcVVXugHBUNjE/8sVa04kNdsqJT 9AaJ9A2Y3KUzlY3mwtzSK0cv7EqQoiD+LcBRF5NtSYNakIDU59kBMlXr4dHpWBDU zlYJL5Qks4fVt313YPdUARBhTeZ3+wwV/xYbUrTFU5rghGkHADFCZkZ9h8YOHJ30 WSEeILpZjP6rdIP40ExogRNPrpVg5eroPoX+IMR+ENwKbzTBR5FE5a+AvWPburc5 QanUBMuPEBd0lx/0qySYMlj6tpz5l3KVpgZII8qyv9PvTPzWPA7OqTc6V2Up6gJS Zn6mzzZFH/y9WI1LLCIjHZif1nmAgBfSQGBv7wMSaQGCbpoCU7VvUgopPBILOj9C G1Fbjxty41VwNkThSwOWBz7ERFLhGUDahoOoswRY9Ia50g7NKYpm3lOmQz7OX7oD Ol3i04YUaTXxxWYapckl5dD4lZ6wQ7iWfuP7xxZ9clpl79xzn4ZPL83XE4p9yALm 3cYAWD8ojkBGecy3Mk0wVCek42m/ddHB0CQFq6+7E4xvQ145PH5ZNKkfxNKoB36p zds8iQyOaj1aaGlnaTnpkWjnBP3+jjmPkQF/lt5Uk7yOYNVVRkocDbEBELMCDs2g 7QPya2zTh/CeH7Coo4rlYrwdF4YOExjrJQ242PJuRy41UDy7Ij0= =++r7 -----END PGP SIGNATURE----- --nextPart1825349.tX8Et4uNqX-- From owner-freebsd-virtualization@freebsd.org Fri Feb 10 19:38:38 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 D4F15CD9BFF for ; Fri, 10 Feb 2017 19:38:38 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt0-x22c.google.com (mail-qt0-x22c.google.com [IPv6:2607:f8b0:400d:c0d::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8AF38189E for ; Fri, 10 Feb 2017 19:38:38 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt0-x22c.google.com with SMTP id v23so44679261qtb.0 for ; Fri, 10 Feb 2017 11:38:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version; bh=az3PdLlhrvnzWaCoM+TlEKQmm2RGdp2RuFbodiJrIcQ=; b=pvIX5u5h65tVJMK2Y8cwyI7Ilk9jLBJyRLWTye8Vk92fGK1iNh34fu7STM6zf9cAoy QOT7dRbkMvaSd1gH9qqBeZwt+Vym+iYw/16EM6/kUSEZKx+3xBq5tGjiZ+Oex1OhjIP/ mB8v0ocgdeQjx79o3RMtuuNYJXHPSQoxxEeSHiV09iYsWKd9z36AfxXLb2TDhsMYGYad 7Mjgth8XLmRqrW96WpJBFqdt7zRc9ZTw1L1LOSF5RvpD0XTTo7e2ulndeWR8SHOQaUNe FIEdwSwpNDUjIu69ScTVyq50mImuuHYS6czRQUXO+78RCJZbXkyWCiGVyin4m0MEzSTC PgHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version; bh=az3PdLlhrvnzWaCoM+TlEKQmm2RGdp2RuFbodiJrIcQ=; b=SWaY6E8XfRN/eEr56VN0QI+FVonSZKU5Ra4FHuEHo+sakniJNr1A1TURTPr0T93Ete FYDH+Aom/YlVP4d4dc67AYqZ9gsj1rNtfI9PzSUyDIv0bpC+vz2biXGBEwzH1ihLZi+h VzBOpP1SqZ29rO7ozHKI5E4SlqjEJPBda7i/0YYmfR5zo/LpX/EkGJuVfU1iSyvwSGDh fO50yr+jMVfU4TqYYleOqXn4D8EUFmMWhcevghVnYgkaPRK0Cbx+YclId/7Auj0ZN9n6 cjSuNzSqD7uZXMMEGzjlRVuvTnrf5C1Yb0t4y0jy930PRPWAgFAI5KBeMRzaNKWMpIhc t4nw== X-Gm-Message-State: AMke39mkB3pNq5JH7Vks2qHLXs+g/12MI4iykn808Pkt0islifR8C82jQff5aSxf1rU8wTxbH4ixYCD5ABT6h29aeDgBmLze6+qgGigmbw6pX9Io72KjljwTXx2OH5MSrsFTLzVFIlCr6TUKfOMfLXQGxoiBEmhPmOU6PGMZH0GPCbgbMn+UBz4Z+vdyEyLwTEBTQHku7DTZfHgwWw== X-Received: by 10.200.35.250 with SMTP id r55mr9634308qtr.162.1486755517475; Fri, 10 Feb 2017 11:38:37 -0800 (PST) Received: from hbsd-dev-laptop.localnet ([63.88.83.66]) by smtp.gmail.com with ESMTPSA id n42sm513965qtn.58.2017.02.10.11.38.36 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Feb 2017 11:38:36 -0800 (PST) From: Shawn Webb To: freebsd-virtualization@freebsd.org Subject: Re: Unable to create OpenBSD 6.0 bhyve guest Date: Fri, 10 Feb 2017 14:38:32 -0500 Message-ID: <2144273.B4WGz7OOyR@hbsd-dev-laptop> Organization: HardenedBSD User-Agent: KMail/4.14.10 (FreeBSD/12.0-CURRENT-HBSD; KDE/4.14.10; amd64; ; ) In-Reply-To: <3078780.Q0Erv8kLWO@hbsd-dev-laptop> References: <20170210181513.vtnq3ph5vmk3sbi4@scotland.uxdom.org> <20170210183519.43f76q3fcfqrgipw@scotland.uxdom.org> <3078780.Q0Erv8kLWO@hbsd-dev-laptop> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1791637.eIZRMyCSci"; micalg="pgp-sha256"; protocol="application/pgp-signature" 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, 10 Feb 2017 19:38:38 -0000 --nextPart1791637.eIZRMyCSci Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" On Friday, 10 February 2017 01:41:26 PM Shawn Webb wrote: > On Friday, 10 February 2017 06:35:19 PM C. L. Martinez wrote: > > On Fri, Feb 10, 2017 at 01:27:21PM -0500, Shawn Webb wrote: > > > On Friday, 10 February 2017 06:15:13 PM C. L. Martinez wrote: > > > > Hi all, > > > >=20 > > > > I am trying to create an OpenBSD 6.0 virtual guest under FreeB= SD 11 > > > > bhyve > > > >=20 > > > > server. When I try list cd contents, segmentation faults appear= s: > > > >=20 > > > > grub-bhyve -d /data/vms/conf/obsdfwwif -m device.map -r cd0 obs= dfwwif >=20 > G >=20 > N >=20 > U >=20 > > > > GRUB version 2.00 > > > >=20 > > > > Minimal BASH-like line editing is supported. For the first w= ord, > > > > TAB > > > >=20 > > > > lists possible command completions. Anywhere else TAB lists pos= sible > > > > device > > > > or file completions. > > > >=20 > > > >=20 > > > > grub>ls > > > > Segmentation fault > > >=20 > > > Hey C.L. Martinez, > > >=20 > > > This is because grub-bhyve creates memory mappings that are both > > > writable > > > and executable, something that is disallowed by default on Harden= edBSD. > > >=20 > > > You'll need to add a secadm rule to disable pageexec and mprotect= > > > restrictions for grub-bhyve. You can find a sample rule here: > > >=20 > > > https://github.com/HardenedBSD/secadm-rules/blob/master/grub-bhyv= e.rule > > >=20 > > > Thanks, > >=20 > > Thanks Shawn, but it is a FreeBSD-11 RELEASE test laptop :( .... Bu= t I am > > doing some tests with linux also, and it seems that it has some pro= blem > > with memory according memtest says ... >=20 > Your kldstat output leads me to believe you're running HardenedBSD as= the > host OS (the addresses being 0x0). >=20 > What is the output of `uname -a`? >=20 > Thanks, Follow-up to mailing list: issue resolved with reporter privately. =2D-=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --nextPart1791637.eIZRMyCSci Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlieFrkACgkQaoRlj1JF bu6lQxAAsQYULNjWOuB1Y0Hjzz0Rf7kCDUx8WPlkJOHwCQhMcqmLAARVWuLCt07l QYd0+W743d1IWApCIWh6mOe4iZllYBFsiBCqBhDp7v4LwxiQR8F0m3jVkQyr0Ivn FfZsGnujZU8B39o3KHgxhJUUseqAL2+5zalBpDI5exzaGKW+7eXVdrXGjlg1Y1ct VKdImo9ArTZd9z0uCCOUH1ylY4RMSqfwG/M2vawkuZ6o5ta9RGOArum0JSXvxyPN 8JSgj23hJPMjeULZWdaiR68G7kuhtMZOMEELf7mAMf8x4IwR5/lk/o7OLum1Ylt4 KoTQUaoB1xJmIxx6WYBcasX1Jp0yadkqDpBlXk1KT6jBYxOPT7jW+hoqMRCiQbff 1xLXfWJa04JLX5oheEFI358cfxHYQwS0Hg2Z1YB/SJghW76Mi0FPHUC4yJHfTIqz WYTrkSS2/EtXTcwM3d/Y0ZBvo/hH5u5afm3UrsFL6wZTSLW4S/b9rX+PyTbH2wkS T5IR3l3vXZpV1MQidNqmxgZ9tz1GGIY/RBFoUMgYPlz+MKBZsLThD20aXNwmTK7Q V7Qp1zVGZ9MnI0/OFOgZtQolj5/KHD1W0E4kk6VTG1lBuiNNjBA2Gk/au+clO6wf lU4p1aYYNQ62V6fNSSj1F24pg/xToy2e9OTnw5o/MDfz6vg4E9o= =BD43 -----END PGP SIGNATURE----- --nextPart1791637.eIZRMyCSci-- From owner-freebsd-virtualization@freebsd.org Sat Feb 11 02:14:43 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 2344ECDA68C for ; Sat, 11 Feb 2017 02:14:43 +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 12B8A1924 for ; Sat, 11 Feb 2017 02:14:43 +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 v1B2EfVT032358 for ; Sat, 11 Feb 2017 02:14:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 211746] [Hyper-V] UEFI VM can't boot from the iso installation disk Date: Sat, 11 Feb 2017 02:14:42 +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 Only Me X-Bugzilla-Who: decui@microsoft.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: 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: Sat, 11 Feb 2017 02:14:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211746 --- Comment #2 from Dexuan Cui --- By bisecting, I found the first "bad" commit for this bug is: https://github.com/freebsd/freebsd/commit/6471c2fc7c1fced2b5d2073b1629aa765= 88c61e2 (it changed EFI_STAGING_SIZE from 32MB to 48MB). It looks Windows Server 2012 R2 Hypervisor doesn't support UEFI VM boot with the 48MB? Trying to dig into this. Any help is appreciated! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Feb 11 06:44:37 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 46414CDAC48 for ; Sat, 11 Feb 2017 06:44:37 +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 35A2118E5 for ; Sat, 11 Feb 2017 06:44:37 +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 v1B6iY3t045722 for ; Sat, 11 Feb 2017 06:44:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 211746] [Hyper-V] UEFI VM can't boot from the iso installation disk Date: Sat, 11 Feb 2017 06:44:34 +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 Only Me X-Bugzilla-Who: marcel@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: Sat, 11 Feb 2017 06:44:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211746 --- Comment #3 from Marcel Moolenaar --- It looks like AllocatePages() succeeded. Is that correct? If yes, then it's possible that there's a Hyper-V bug.=20 Try to obtain the memory map before the call to AllocatePages and then again after the call to AllocatePages. The memory map should show a difference of exactly the amount of pages being allocated. Some unused memory region shou= ld be smaller by the same amount. Any discrepancy is an indication of a bug in AllocatePages. If the memory map looks fine, then the problem may be later:= at the time the loader is ready to jump into the kernel. The loader calls ExitBootServices around that time for example... HTH, --=20 You are receiving this mail because: You are the assignee for the bug.=