From owner-freebsd-virtualization@freebsd.org Sun Oct 25 13:28:29 2015 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 54F818FAC for ; Sun, 25 Oct 2015 13:28:29 +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 413111F9E for ; Sun, 25 Oct 2015 13:28:29 +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 t9PDSTsq045457 for ; Sun, 25 Oct 2015 13:28:29 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: Sun, 25 Oct 2015 13:28:29 +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-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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.20 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, 25 Oct 2015 13:28:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203994 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@freebsd.org Sun Oct 25 21:00:41 2015 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 5BBFE8889 for ; Sun, 25 Oct 2015 21:00:41 +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 34ED91DCE for ; Sun, 25 Oct 2015 21:00:41 +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 t9PL0fVc057275 for ; Sun, 25 Oct 2015 21:00:41 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201510252100.t9PL0fVc057275@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 X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 25 Oct 2015 21:00:41 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 25 Oct 2015 21:00:41 -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 ------------+-----------+--------------------------------------------------- In Progress | 202321 | [bhyve,patch] More verbose error reporting in bhy New | 202322 | [bhyve,patch] add option to have bhyve write its 2 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Tue Oct 27 14:19:47 2015 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 BF64AA1EFD7 for ; Tue, 27 Oct 2015 14:19:47 +0000 (UTC) (envelope-from doublef.mobile@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (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 5F08E192F for ; Tue, 27 Oct 2015 14:19:47 +0000 (UTC) (envelope-from doublef.mobile@gmail.com) Received: by wicfx6 with SMTP id fx6so161805603wic.1 for ; Tue, 27 Oct 2015 07:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=WA+NEVFHmC/zR08ewur4FF5G8rKqerBRIOmFUKJlX6A=; b=zlYVUHXLXRJWeq7rBFONaowpqyV+efoo1qMgCN7Ft4/3TJs+orpQMKDDObH6vWeLT6 jw6iT7nWp4Pwwxd8CyJnDphFpRY9yP8EMRruZ2T8oDhXuZ55dw+A3KKdIcQkT57sJ2Of H8IjZdq0hwyLaum8o7tPC9XwFBZztefy/V2WZH9doLaCSPbePdkRZd1PoHWcgkeo9tS2 Wil/R3pVK4tpkEkuO67z8S8ilSgM8bfwh6NuDuQxLWAyUa/F9o4ayqnyqIhkZxRUqLdv axtRtD7Kx1e3wtwXLPeI4cgAqOcstDvS53Q88sk11Vgs6Nck371xK36dlO4Z+wx81Ilp jl4A== X-Received: by 10.194.61.13 with SMTP id l13mr33524657wjr.76.1445955585695; Tue, 27 Oct 2015 07:19:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.178.3 with HTTP; Tue, 27 Oct 2015 07:19:26 -0700 (PDT) From: Sergey Zakharchenko Date: Tue, 27 Oct 2015 17:19:26 +0300 Message-ID: Subject: Docker: jail: name cannot be numeric fix To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 27 Oct 2015 14:19:47 -0000 Hello, This is just a quick note that the problem mentioned in the Docker wiki https://wiki.freebsd.org/Docker : > {{{ > docker run -t -i centos /bin/bash > jail: name cannot be numeric (unless it is the jid > }}} > > Unknown: Noticed when re-running a container. is not of an 'unknown' origin: it lies in sys/kern/kern_jail.c 's detection of numeric JIDs, which dates back to 2009: https://svnweb.freebsd.org/base/head/sys/kern/kern_jail.c?revision=285685&view=markup else if (*namelc == '0' || (strtoul(namelc, &p, 10) != jid && *p == '\0'))) It thinks everything that starts with a '0' is numeric, and doesn't check that it's the only character, e.g. namelc[1] == '\0'. This check is incorrect for some of the hex jail names that Docker generates. This is demonstrated by e.g. the following: ---> Running in 062a4f391fd9 jail: name cannot be numeric (unless it is the jid) Should I send a PR? Best regards, -- DoubleF From owner-freebsd-virtualization@freebsd.org Tue Oct 27 14:50:39 2015 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 BDA12A1F771 for ; Tue, 27 Oct 2015 14:50:39 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::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 572531D1D for ; Tue, 27 Oct 2015 14:50:39 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by wijp11 with SMTP id p11so217602176wij.0 for ; Tue, 27 Oct 2015 07:50:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=gxCMBavmH6ceY9M9hd267ASsnxjRJCnfPhRj9LNcn8s=; b=zk1iarfaJXO5HJ0dY1iuLhm+VLQdyU6uLaDg9SceJrMzd6XtSgp+ZyYAr/AxeV/kC1 8OZY6PlrVkPMGApqNHW23mTZTNKbN3QtYZNB4kB/1NeyxrFTXKmop6e3q4XBgAHiNVGb bnpWG1d0st7KPFIu6EvXgUjdu8V45nwrk50sVtl9zcASWDm+5rz7MUT+IrYsHxBXAmo4 v8SVCFwYYk1FcM4KyoFkwBeBW6o/6hlaRfyOLqdx8OO4lCusVMYscjcon8SrOoaED2P1 atAQDEPIdL5aB5kwqiUytmZkt2jj/r1eXfeUROspOLc41yUpf8i1uW8zvY/U6UAZvGcB orBQ== X-Received: by 10.194.2.5 with SMTP id 5mr55193027wjq.153.1445957437801; Tue, 27 Oct 2015 07:50:37 -0700 (PDT) Received: from dft-labs.eu (n1x0n-1-pt.tunnel.tserv5.lon1.ipv6.he.net. [2001:470:1f08:1f7::2]) by smtp.gmail.com with ESMTPSA id i10sm18043344wij.9.2015.10.27.07.50.35 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 27 Oct 2015 07:50:36 -0700 (PDT) Date: Tue, 27 Oct 2015 15:50:34 +0100 From: Mateusz Guzik To: Sergey Zakharchenko Cc: freebsd-virtualization@freebsd.org Subject: Re: Docker: jail: name cannot be numeric fix Message-ID: <20151027145033.GA24588@dft-labs.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 27 Oct 2015 14:50:39 -0000 On Tue, Oct 27, 2015 at 05:19:26PM +0300, Sergey Zakharchenko wrote: > Hello, > > This is just a quick note that the problem mentioned in the Docker > wiki https://wiki.freebsd.org/Docker : > > > {{{ > > docker run -t -i centos /bin/bash > > jail: name cannot be numeric (unless it is the jid > > }}} > > > > Unknown: Noticed when re-running a container. > > is not of an 'unknown' origin: it lies in sys/kern/kern_jail.c 's > detection of numeric JIDs, which dates back to 2009: > > https://svnweb.freebsd.org/base/head/sys/kern/kern_jail.c?revision=285685&view=markup > > else if (*namelc == '0' || (strtoul(namelc, &p, 10) != jid && *p == '\0'))) > > It thinks everything that starts with a '0' is numeric, and doesn't > check that it's the only character, e.g. namelc[1] == '\0'. This check > is incorrect for some of the hex jail names that Docker generates. > This is demonstrated by e.g. the following: > > ---> Running in 062a4f391fd9 > jail: name cannot be numeric (unless it is the jid) > > Should I send a PR? > What's the significance of said names? The issue here is that said id may contain to letters, effectivley looking like a number and that cannot be allowed due to jid/name confusion. While arbitrary names would be desirable, we are not going to get them without some weird effort. As such, the right fix would e.g. prefix all names with a letter and/or re-generated a name if it does not contain any non-numeric characters. The bogus check with 0 is only a side issue, which may or may not make sense to be addressed. -- Mateusz Guzik From owner-freebsd-virtualization@freebsd.org Tue Oct 27 16:12:13 2015 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 43ECBA1EDBA for ; Tue, 27 Oct 2015 16:12:13 +0000 (UTC) (envelope-from doublef.mobile@gmail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c: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 D20A51944 for ; Tue, 27 Oct 2015 16:12:12 +0000 (UTC) (envelope-from doublef.mobile@gmail.com) Received: by wicfv8 with SMTP id fv8so169814620wic.0 for ; Tue, 27 Oct 2015 09:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+eUYrngjxEm32X/JXMBEMdb7iXIfm5AQN+5RBz1iAxk=; b=LtxmDCBxLqcDZXJzqlajt2QwIdJ7VdaILDiVxjaSU032XNJBEb5NwH14Cpbp56Qudp FGOE00ztGfv8jFxT2rprV4SXZbfndUqsYecZ+NcN1btzTOSQQ8Em3vykjgOjPB0/zMpS AZxbeBgExpOiMofCqL2llIKDeJBhaOyGcK8RDRWvvTzw8NVz0j5pbFyqdBM+eWmnyYnr LZfue+oENlKb69njujEcs8fGWK+BC9pDxsAR478hR8L2ns5QqBlF5znYrmx90ZsnFdMQ SsBIr5Ecgcqu3detRoGw/mszosIACTBvRMrdDd6EcpXWlekAb9XwDJuJRFXJeGwftLst SN+A== MIME-Version: 1.0 X-Received: by 10.194.61.13 with SMTP id l13mr34301776wjr.76.1445962331279; Tue, 27 Oct 2015 09:12:11 -0700 (PDT) Received: by 10.28.178.3 with HTTP; Tue, 27 Oct 2015 09:12:11 -0700 (PDT) Received: by 10.28.178.3 with HTTP; Tue, 27 Oct 2015 09:12:11 -0700 (PDT) In-Reply-To: <20151027145033.GA24588@dft-labs.eu> References: <20151027145033.GA24588@dft-labs.eu> Date: Tue, 27 Oct 2015 19:12:11 +0300 Message-ID: Subject: Re: Docker: jail: name cannot be numeric fix From: Sergey Zakharchenko To: Mateusz Guzik Cc: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 27 Oct 2015 16:12:13 -0000 Mateusz, > What's the significance of said names? None that I know of; I'm new to Docker so I might be wrong though. > The issue here is that said id may contain to letters, effectivley > looking like a number ..the probability of that being (10/16)^12, which isn't too high but still significant... > and that cannot be allowed due to jid/name > confusion. True; were it possible, I'd suggest naming them e.g. dkrXXX instead of XXX to make it easier to understand that those are Docker-created jails and not some abomination. In other words, seconded. But I suspect there could be some reasons why that wasn't done this (obviously better) way... > The bogus check with 0 is only a side issue, which may or may not make sense to be addressed. Well, it doesn't do what it's supposed to, so it should be fixed but I agree it's definitely not urgent if Docker can be fixed to name jails more appropriately. Best regards, -- DoubleF From owner-freebsd-virtualization@freebsd.org Wed Oct 28 17:06:22 2015 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 E0D31A1E724 for ; Wed, 28 Oct 2015 17:06:22 +0000 (UTC) (envelope-from lab@gta.com) Received: from mailgate.gta.com (gb-ha.orl.gta.com [209.208.105.194]) by mx1.freebsd.org (Postfix) with ESMTP id B3770148F for ; Wed, 28 Oct 2015 17:06:22 +0000 (UTC) (envelope-from lab@gta.com) Received: (qmail 62908 invoked by uid 1000); 28 Oct 2015 16:59:38 -0000 Date: Wed, 28 Oct 2015 12:59:38 -0400 From: Larry Baird To: freebsd-virtualization@freebsd.org Subject: Xyperv and multitude of disk devices Message-ID: <20151028165938.GA61420@gta.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 28 Oct 2015 17:06:23 -0000 Can anybody explain why FreeBSD 10.2 has so many bogus disk drives when run using HyperV on Windows 10. I defined two SATA hard drives but I have 19 da devices (da0-da18). Must oft hese devices have 0 heads, 0 sectors, and 0 cylinders. Is the issue with the FreeBSD hv_storvsc(4) driver or with the underlying HyperV? Thanks for your insight, Larry -- ------------------------------------------------------------------------ Larry Baird Global Technology Associates, Inc. 1992-2012 | http://www.gta.com Celebrating Twenty Years of Software Innovation | Orlando, FL Email: lab@gta.com | TEL 407-380-0220 From owner-freebsd-virtualization@freebsd.org Wed Oct 28 21:18:45 2015 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 A677BA2032F for ; Wed, 28 Oct 2015 21:18:45 +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 92A9E1F69 for ; Wed, 28 Oct 2015 21:18:45 +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 t9SLIjju093200 for ; Wed, 28 Oct 2015 21:18:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 196243] [bhyve] vmrun.sh spurious warning using zvol diskdev Date: Wed, 28 Oct 2015 21:18:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: amvandemore@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 28 Oct 2015 21:18:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196243 amvandemore@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amvandemore@gmail.com --- Comment #3 from amvandemore@gmail.com --- Ping -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@freebsd.org Fri Oct 30 00:20:58 2015 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 B4741A1FCE6 for ; Fri, 30 Oct 2015 00:20: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 A046B1F35 for ; Fri, 30 Oct 2015 00:20: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 t9U0Kwrj072867 for ; Fri, 30 Oct 2015 00:20:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203820] kernel panic when trying to unload vmm(4) and VirtualBox VMs are running Date: Fri, 30 Oct 2015 00:20: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: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: junovitch@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Oct 2015 00:20:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203820 Jason Unovitch changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org CC| |junovitch@freebsd.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@freebsd.org Fri Oct 30 03:45:44 2015 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 DB738A20347 for ; Fri, 30 Oct 2015 03:45:44 +0000 (UTC) (envelope-from lab@gta.com) Received: from mailgate.gta.com (gb-ha.orl.gta.com [209.208.105.194]) by mx1.freebsd.org (Postfix) with ESMTP id 9476B19B2 for ; Fri, 30 Oct 2015 03:45:43 +0000 (UTC) (envelope-from lab@gta.com) Received: (qmail 24136 invoked by uid 1000); 30 Oct 2015 03:45:35 -0000 Date: Thu, 29 Oct 2015 23:45:35 -0400 From: Larry Baird To: freebsd-virtualization@freebsd.org Cc: Larry Baird Subject: Issues gatewaying through Hyper-V Message-ID: <20151030034535.GA19514@gta.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 30 Oct 2015 03:45:45 -0000 I have two identical setups on Hyper-V 2012R2 and Hype-V windows 10. I have two FreeBSD 10.2-RELEASE-p6 Hyper-V hosts in both cases. The first FreeBSD host (client) has one NIC configured to use a Private network. The second (gateway) has two nics. One private and one external. The gateway box has the gateway_enable option set to YES in its rc.conf. The boxes otherwize of very vanilla. I get failures forwarding thru gateway on both versions of Hyper-V. But they fail in different ways. On both configurations, I can ping thru the gateway from the client to reach the internet. For the 2012r2 configuration I can do DNS looks. The command "host www.google.com 8.8.8.8" works on the client. For the Windows 10 configuration the "host" command fails. For the 2012r2, "curl http://www.goggle.com" times out on client. Under Windows 10, I can successfuly do curl requests by IP address. Using tcpdump on the client for the failure cases, I see bad checksums in the responses retunred to the failing commands. I tried turning off rxcsum, txcsum, tso4 and tso6 on all interfaces. This did not effect the results. Using tcpdup on the gateway on either interface shows valid checksums. They are getting corrupted after they leave FreeBSD on their way to the client. I assume this means this is an internal HyperV issue. I wonder if there anything the FreeBSD hn(4) driver can do? Anybody else seeing this issue? Larry -- ------------------------------------------------------------------------ Larry Baird Global Technology Associates, Inc. 1992-2012 | http://www.gta.com Celebrating Twenty Years of Software Innovation | Orlando, FL Email: lab@gta.com | TEL 407-380-0220 From owner-freebsd-virtualization@freebsd.org Fri Oct 30 04:10:40 2015 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 D8C61A207DB for ; Fri, 30 Oct 2015 04:10:40 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (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 79ADB1111 for ; Fri, 30 Oct 2015 04:10:40 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wicfx6 with SMTP id fx6so2611206wic.1 for ; Thu, 29 Oct 2015 21:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1qXuMI7QfPu2kqKvus3Q4zTY+ZgKSXpIhxh8Buo6QYQ=; b=qVu4/4mQQt1Lge44QhB+PPnc9Yk3ZleI9M8/KJuwKQ7Nli8YIMZ8J1hOEflpLRymBL 5b1Zwd6lyoO7BK4b+u826qDdDGt5IPV1O3w9YPMCQpL+612bIlhZ5i/CF6/hdC++eedL u3RVD/OwIzHJeVO+BxJCGsA6fWUMYBjvX8s1fm8Eh/SDtAassbUfxC4h5voTccd6x6dW a02fnXbrxTUQkMzfJVItJEXOCYDPFCYLHCSPGcWmg0Eux6GwZzqatLtSAJ8nPqZ0oAKB yvOgh7THadtO6K41N9kCCVUwfRiitf7ZhD9kns7y5orDA0moPH70Aic/Ft98arIX0YZK uOmQ== MIME-Version: 1.0 X-Received: by 10.194.86.98 with SMTP id o2mr6573335wjz.142.1446178238813; Thu, 29 Oct 2015 21:10:38 -0700 (PDT) Received: by 10.194.16.231 with HTTP; Thu, 29 Oct 2015 21:10:38 -0700 (PDT) In-Reply-To: <20151030034535.GA19514@gta.com> References: <20151030034535.GA19514@gta.com> Date: Thu, 29 Oct 2015 23:10:38 -0500 Message-ID: Subject: Re: Issues gatewaying through Hyper-V From: Adam Vande More To: Larry Baird Cc: FreeBSD virtualization Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 30 Oct 2015 04:10:41 -0000 On Thu, Oct 29, 2015 at 10:45 PM, Larry Baird wrote: > I have two identical setups on Hyper-V 2012R2 and Hype-V windows 10. > > I have two FreeBSD 10.2-RELEASE-p6 Hyper-V hosts in both cases. > The first FreeBSD host (client) has one NIC configured to use a Private > network. The second (gateway) has two nics. One private and one external. > The gateway box has the gateway_enable option set to YES in its rc.conf. > The boxes otherwize of very vanilla. > > I get failures forwarding thru gateway on both versions of Hyper-V. But > they fail in different ways. > There was a similar issue w/ PF resolved earlier and I'm pretty sure the fix wasn't in 10.2. If PF is in use, does switching to ipfw fix it? I know nothing of HyperV, but I also saw similar behavior on KVM. Switching the VM NIC away from virtio to intel was a successful workaround. -- Adam From owner-freebsd-virtualization@freebsd.org Sat Oct 31 15:21:25 2015 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 C6271A223EB for ; Sat, 31 Oct 2015 15:21: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 AD0621502 for ; Sat, 31 Oct 2015 15:21: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 t9VFLPHn094610 for ; Sat, 31 Oct 2015 15:21:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203820] kernel panic when trying to unload vmm(4) and VirtualBox VMs are running Date: Sat, 31 Oct 2015 15:21: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: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: junovitch@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 31 Oct 2015 15:21:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203820 --- Comment #4 from Jason Unovitch --- Forums cross reference: https://forums.FreeBSD.org/threads/kernel-panic-when-trying-to-unload-vmm.53697/ -- You are receiving this mail because: You are the assignee for the bug.