From owner-freebsd-virtualization@freebsd.org Sun Apr 4 10:52:24 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8DD535D3D0C for ; Sun, 4 Apr 2021 10:52:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCrGJ3CCjz4nfd for ; Sun, 4 Apr 2021 10:52:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6DA055D3AB9; Sun, 4 Apr 2021 10:52:24 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D22A5D3E01 for ; Sun, 4 Apr 2021 10:52:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCrGJ2Qt1z4nXD for ; Sun, 4 Apr 2021 10:52:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4371324352 for ; Sun, 4 Apr 2021 10:52:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 134AqOsd076767 for ; Sun, 4 Apr 2021 10:52:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 134AqOOk076756 for virtualization@FreeBSD.org; Sun, 4 Apr 2021 10:52:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254695] Hyper-V: Kernel Panic: Assertion in_epoch(net_epoch_preempt) failed at netinet/tcp_lro.c:915 Date: Sun, 04 Apr 2021 10:52:24 +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: panic 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: 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.34 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, 04 Apr 2021 10:52:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254695 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |virtualization@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sun Apr 4 21:00:53 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6A5915B50B7 for ; Sun, 4 Apr 2021 21:00:53 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FD5mN64JBz4T4B for ; Sun, 4 Apr 2021 21:00:52 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6DD655B50B3; Sun, 4 Apr 2021 21:00:51 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6C8855B50B2 for ; Sun, 4 Apr 2021 21:00:51 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FD5mL6nBRz4Sl1 for ; Sun, 4 Apr 2021 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 288FF482F for ; Sun, 4 Apr 2021 21:00:48 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 134L0mpv090849 for ; Sun, 4 Apr 2021 21:00:48 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 134L0mPe090848 for virtualization@FreeBSD.org; Sun, 4 Apr 2021 21:00:48 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202104042100.134L0mPe090848@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: virtualization@FreeBSD.org Subject: Problem reports for virtualization@FreeBSD.org that need special attention Date: Sun, 4 Apr 2021 21:00:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 04 Apr 2021 21:00:53 -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 | 247208 | mpt(4): VMWare virtualized LSI controller panics New | 240945 | [hyper-v] [netvsc] hn network driver incorrectly 2 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Mon Apr 5 12:35:08 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F9A65B69B3 for ; Mon, 5 Apr 2021 12:35:08 +0000 (UTC) (envelope-from infoomatic@gmx.at) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FDVVM01qtz4TSV for ; Mon, 5 Apr 2021 12:35:06 +0000 (UTC) (envelope-from infoomatic@gmx.at) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617626104; bh=RQWwux9/2o5Htykhpv8HptdE0dRc4g2EawSazLcQXS8=; h=X-UI-Sender-Class:Subject:From:To:References:Date:In-Reply-To; b=eYaLBPYojyIsqIYC3fA9cVJtTz0BPvFZEx2kdD1TakDk+ZdXkx+tx8ScEZq8pSEOs AvN6Bo8aM267GwILW/tH6b0w77rYYI6bxPfPiUttoYDaDneqLw35AYHW/qK2MplYEB xDZYqGJQ+IxD/dMWojFM/+XnFGTskfqgCbBCR3l4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [10.0.1.209] ([178.114.234.120]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M5fIQ-1lV4CI3DOk-007G08 for ; Mon, 05 Apr 2021 14:35:04 +0200 Subject: Re: bhyve iommu passthru ath0 From: infoomatic To: freebsd-virtualization@freebsd.org References: <275fb099-a036-05fc-bd1f-706e1d01ff98@gmx.at> Message-ID: Date: Mon, 5 Apr 2021 14:35:04 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <275fb099-a036-05fc-bd1f-706e1d01ff98@gmx.at> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Provags-ID: V03:K1:o18bPuoanyi+gHYuZ75Eo2bFBNqrD0A0sItH8FJe6v+Z83Kkqrw gChdKxRPoi6/jIoQnOpg84oUIklI/t7dtp6vdB8W5/+oI/hgPrBpfWkWY005HHoCob/Ryh0 I9n2eatm0I+r/POPJsyqe43B3WuY+oTBx5bmMFzsLKZk07cVKgUCYl/d/yjRs20XQz6esMx Q5OAIcbpYL/pLpz/B2aOw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:EmEV7qw3I9U=:8wSLzIC66ulU7VYkWVwrE4 7X/ZWq/ulRnsAYYXukdmUZ0+NEul+LWxz5jPZo7oe5awd7gcU3STbdI7xLq2r6LKl7V0VKQxh qtu5HhRWD03s54ohYsCg9mX3Ds+nUcm+DIdiJ3mF8EP8/fBU96z7QVPrGb36NeCbfPM4fvUD8 ahhVdQ4//oCA/Sq8hsymoGLCnsH2Y6gZLeYilnSs4qLhChaUQwvMornQoXO11Z+k2hSaTwrbQ UCVX6EwrHW/Lyw8E4VY1s8fQX9akiZDSeJYv6Zfetb9n167AR/HXY73dwPjagCmyF6kwtlsiG rYNUmUKPUAE0yxRFaYRS+mHH6VqZnmjTwVQm30QFwl7pbu1pswKKFsfnWwCva0bhcNwV7WfXx AF+XmKZTodS6r0FtlgIpnWzwBaUfCHjX92P2hFWEZYXha3840WkrwFPpFlniyMtC0DlWkja9C rpUvFx8WIEwPmucXW7LCRsZqdwUmsYXpJLolrca7jakGkbhWbD/aaVEtGcoPrF6taVjaN78pc YLxot4NsrMywmou8XTutBZ/Jw4ga2f/0Ng6VwPBVtf4z9uAp2W949bgt3ktTNWlfnYNzJNaXS z0aPf003SQcVBEuytmm9Wj2HKhpN/T/gtzybsfS9YMoP7A9N+0HfTXP2AFfopkxIDpp9RRx7F 7+k4DstSR2u/cAgYNgMewsCPSmuD6kFwGnUVSLjVGauVKPfLek+vGqCeqIx3Bw/C+s2QOHWCV wR6uOkZg+dRSMphYep6ypoCOCiY+MnOUL+ZI4mKF582WIlVX2je5fv9Dile+eyrhrgTDhNBLs k1wK5L8ld1NXEG6buycigxKUpMLMNwOESBlazhHISOUDmifpme++HYd2P5Ly/KYeiqa7MTUPP w+GVs6uhYRrxR/Vo7njCU0kuLkbzTfojYwkvZXNnRZ24HCNBkV7kPVIPeDwJ0ed+C/wAei75P 1HkBJZwwuAQ0kk9wyHNZcqk6zg7f4ZHBnbNCnVUoZgWBxLxSSt59pY+1XflEz8jsbca36Cb+o WdO3z7MGx0JNLG9270qdBXfnxcLziYDXMQR/c3gzTTdopEDUcI2FUegwQA6kUG1/ofr9M0F2Z Hcw5bAj1oA1pv43fBgdAkeYM4lOmKj1mByKkna1zT/mRckoWtu7xTx52MAajVXzTL+tvfaKIa xAaSPF1U8uKv9zm0PhBs2ZvpYIqom+ZMWAagAyXK+MVV1d1ji6QUDCZy6Z7neAWtoiwfo= X-Rspamd-Queue-Id: 4FDVVM01qtz4TSV X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=eYaLBPYo; dmarc=pass (policy=none) header.from=gmx.at; spf=pass (mx1.freebsd.org: domain of infoomatic@gmx.at designates 212.227.17.21 as permitted sender) smtp.mailfrom=infoomatic@gmx.at X-Spamd-Result: default: False [-4.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[212.227.17.21:from]; FREEMAIL_FROM(0.00)[gmx.at]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; DMARC_POLICY_ALLOW(-0.50)[gmx.at,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.21:from]; FROM_EQ_ENVFROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.17.21:from]; FREEMAIL_ENVFROM(0.00)[gmx.at]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[212.227.17.21:from:127.0.2.255]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 05 Apr 2021 12:35:08 -0000 fyi: I gave 13.0-RC4 a try, but this did not work out neither... On 28.03.21 21:56, infoomatic wrote: > Hi all, > > I own a pcengines apu2e4 where bhyve passthru is working in general. > Passing through the i210AT NICs works fine. However, I bought a Compex > WLE200NX a/b/g/n miniPCI card which is based on the Qualcomm Atheros > AR9280 chip I also want to pass through. > > On the host I am running 12.2-RELEASE-p5. > > my loader.conf: > > hw.vmm.amdvi.enable=3D1 > vmm_load=3D"YES" > pptdevs=3D"1/0/0 3/0/0 4/0/0" > hw.vmm.iommu.enable=3D1 > > > pciconf -lv gives (relevant info; with igb0 used on the host): > > ppt0@pci0:1:0:0:=C2=A0=C2=A0=C2=A0 class=3D0x028000 card=3D0x3099168c ch= ip=3D0x002a168c > rev=3D0x01 hdr=3D0x00 > =C2=A0=C2=A0=C2=A0 vendor=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'Qualcomm Atheros' > =C2=A0=C2=A0=C2=A0 device=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'AR928X Wireless N= etwork Adapter (PCI-Express)' > =C2=A0=C2=A0=C2=A0 class=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D network > igb0@pci0:2:0:0:=C2=A0=C2=A0=C2=A0 class=3D0x020000 card=3D0x00008086 ch= ip=3D0x157b8086 > rev=3D0x03 hdr=3D0x00 > =C2=A0=C2=A0=C2=A0 vendor=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'Intel Corporation= ' > =C2=A0=C2=A0=C2=A0 device=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'I210 Gigabit Netw= ork Connection' > =C2=A0=C2=A0=C2=A0 class=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D network > =C2=A0=C2=A0=C2=A0 subclass=C2=A0=C2=A0 =3D ethernet > ppt1@pci0:3:0:0:=C2=A0=C2=A0=C2=A0 class=3D0x020000 card=3D0x00008086 ch= ip=3D0x157b8086 > rev=3D0x03 hdr=3D0x00 > =C2=A0=C2=A0=C2=A0 vendor=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'Intel Corporation= ' > =C2=A0=C2=A0=C2=A0 device=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'I210 Gigabit Netw= ork Connection' > =C2=A0=C2=A0=C2=A0 class=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D network > =C2=A0=C2=A0=C2=A0 subclass=C2=A0=C2=A0 =3D ethernet > ppt2@pci0:4:0:0:=C2=A0=C2=A0=C2=A0 class=3D0x020000 card=3D0x00008086 ch= ip=3D0x157b8086 > rev=3D0x03 hdr=3D0x00 > =C2=A0=C2=A0=C2=A0 vendor=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'Intel Corporation= ' > =C2=A0=C2=A0=C2=A0 device=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'I210 Gigabit Netw= ork Connection' > =C2=A0=C2=A0=C2=A0 class=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D network > =C2=A0=C2=A0=C2=A0 subclass=C2=A0=C2=A0 =3D ethernet > > > in my vm-bhyve config I have > passthru0=3D"1/0/0" > passthru1=3D"4/0/0" > > > which works nicely with the i210 adapter, but not with the wifi adapter. > The wifi adapter also works when not passing through and using it via > the host. In the VM (tried both the 12.2-RELEASE and 13.0-RC3), I have > tried to load/unload various modules (or e.g. tried > dev.ath.0.hal.force_full_reset=3D1), I do not get any connections, wifi > scans/lists do not work. Other configurations result in "ath0: Device > timeout" or in "wlan0: CTRL-EVENT-SCAN-FAILED ret=3D-1 retry=3D1". > > > Any ideas how to resolve that? > > > Regards, > > Robert > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fre= ebsd.org" From owner-freebsd-virtualization@freebsd.org Mon Apr 5 13:54:40 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6160E5BA0A4 for ; Mon, 5 Apr 2021 13:54:40 +0000 (UTC) (envelope-from khng@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FDXG82Jgcz4bcM for ; Mon, 5 Apr 2021 13:54:40 +0000 (UTC) (envelope-from khng@FreeBSD.org) Received: from Kas-MacBook-Pro.lan (unknown [IPv6:2001:470:f816:0:88c1:d417:34c4:fb7a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: khng/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id CF0DD1A00 for ; Mon, 5 Apr 2021 13:54:39 +0000 (UTC) (envelope-from khng@FreeBSD.org) Subject: Re: bhyve iommu passthru ath0 To: freebsd-virtualization@freebsd.org References: <275fb099-a036-05fc-bd1f-706e1d01ff98@gmx.at> From: Ka Ho Ng Message-ID: Date: Mon, 5 Apr 2021 21:54:37 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 05 Apr 2021 13:54:40 -0000 On 4/5/21 8:35 pm, infoomatic wrote: > fyi: I gave 13.0-RC4 a try, but this did not work out neither... > > > On 28.03.21 21:56, infoomatic wrote: >> Hi all, >> >> I own a pcengines apu2e4 where bhyve passthru is working in general. >> Passing through the i210AT NICs works fine. However, I bought a Compex >> WLE200NX a/b/g/n miniPCI card which is based on the Qualcomm Atheros >> AR9280 chip I also want to pass through. >> >> On the host I am running 12.2-RELEASE-p5. >> >> my loader.conf: >> >> hw.vmm.amdvi.enable=1 >> vmm_load="YES" >> pptdevs="1/0/0 3/0/0 4/0/0" >> hw.vmm.iommu.enable=1 >> >> >> pciconf -lv gives (relevant info; with igb0 used on the host): >> >> ppt0@pci0:1:0:0:    class=0x028000 card=0x3099168c chip=0x002a168c >> rev=0x01 hdr=0x00 >>     vendor     = 'Qualcomm Atheros' >>     device     = 'AR928X Wireless Network Adapter (PCI-Express)' >>     class      = network >> igb0@pci0:2:0:0:    class=0x020000 card=0x00008086 chip=0x157b8086 >> rev=0x03 hdr=0x00 >>     vendor     = 'Intel Corporation' >>     device     = 'I210 Gigabit Network Connection' >>     class      = network >>     subclass   = ethernet >> ppt1@pci0:3:0:0:    class=0x020000 card=0x00008086 chip=0x157b8086 >> rev=0x03 hdr=0x00 >>     vendor     = 'Intel Corporation' >>     device     = 'I210 Gigabit Network Connection' >>     class      = network >>     subclass   = ethernet >> ppt2@pci0:4:0:0:    class=0x020000 card=0x00008086 chip=0x157b8086 >> rev=0x03 hdr=0x00 >>     vendor     = 'Intel Corporation' >>     device     = 'I210 Gigabit Network Connection' >>     class      = network >>     subclass   = ethernet >> >> >> in my vm-bhyve config I have >> passthru0="1/0/0" >> passthru1="4/0/0" >> >> >> which works nicely with the i210 adapter, but not with the wifi adapter. >> The wifi adapter also works when not passing through and using it via >> the host. In the VM (tried both the 12.2-RELEASE and 13.0-RC3), I have >> tried to load/unload various modules (or e.g. tried >> dev.ath.0.hal.force_full_reset=1), I do not get any connections, wifi >> scans/lists do not work. Other configurations result in "ath0: Device >> timeout" or in "wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1". >> >> >> Any ideas how to resolve that? >> >> >> Regards, >> >> Robert >> >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > Could you cherry-pick the follow commits and see if they works? ede14736fd6d74db0374f4a233491ad5dc0e9b1d 74ada297e8978b8efda3dffdd1bb24aee7c5faa4 cf76495e0a30043503ef126f0a485e314730a221 03efa462b2ab3ae8166598363e9e83d4e5cf0398 Ka Ho From owner-freebsd-virtualization@freebsd.org Mon Apr 5 14:00:41 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1E3715BA31C for ; Mon, 5 Apr 2021 14:00:41 +0000 (UTC) (envelope-from khng@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FDXP46ydbz4c1C for ; Mon, 5 Apr 2021 14:00:40 +0000 (UTC) (envelope-from khng@freebsd.org) Received: from Kas-MacBook-Pro.lan (unknown [IPv6:2001:470:f816:0:88c1:d417:34c4:fb7a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: khng/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4821BC78 for ; Mon, 5 Apr 2021 14:00:40 +0000 (UTC) (envelope-from khng@freebsd.org) Subject: Re: bhyve iommu passthru ath0 From: Ka Ho Ng To: freebsd-virtualization@freebsd.org References: <275fb099-a036-05fc-bd1f-706e1d01ff98@gmx.at> Organization: The FreeBSD Project Message-ID: <8c372f06-7f84-d050-0b13-2d0417c5aee0@freebsd.org> Date: Mon, 5 Apr 2021 22:00:38 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 05 Apr 2021 14:00:41 -0000 On 4/5/21 9:54 pm, Ka Ho Ng wrote: > > Could you cherry-pick the follow commits and see if they works? > ede14736fd6d74db0374f4a233491ad5dc0e9b1d > 74ada297e8978b8efda3dffdd1bb24aee7c5faa4 > cf76495e0a30043503ef126f0a485e314730a221 > 03efa462b2ab3ae8166598363e9e83d4e5cf0398 > > Ka Ho A reminder: they should be applied to FreeBSD 13.0-RC5 on the host side. Ka Ho From owner-freebsd-virtualization@freebsd.org Mon Apr 5 16:16:23 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7EFC65BE510 for ; Mon, 5 Apr 2021 16:16:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FDbPg2fZGz4n7j for ; Mon, 5 Apr 2021 16:16:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5AB905BE1DC; Mon, 5 Apr 2021 16:16:23 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A6095BE591 for ; Mon, 5 Apr 2021 16:16:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FDbPg1ccLz4n7h for ; Mon, 5 Apr 2021 16:16:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1F3D41BCA5 for ; Mon, 5 Apr 2021 16:16:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 135GGNiR071193 for ; Mon, 5 Apr 2021 16:16:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 135GGNiv071192 for virtualization@FreeBSD.org; Mon, 5 Apr 2021 16:16:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 251583] FreeBSD/EC2 breakage w/ encrypted EBS volumes Date: Mon, 05 Apr 2021 16:16:23 +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: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pirzyk@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.34 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, 05 Apr 2021 16:16:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251583 --- Comment #10 from Jim Pirzyk --- I will add that I see this issue with the ami-01e92f8c87be32ba5 (us-west-2) which is 12.2-STABLE-2021-04-01 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Apr 5 16:59:34 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5EFDC5C00B0 for ; Mon, 5 Apr 2021 16:59:34 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FDcMT0lCSz4rnp for ; Mon, 5 Apr 2021 16:59:32 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 804255C0073 for ; Mon, 5 Apr 2021 12:59:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 05 Apr 2021 12:59:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:mime-version:content-type; s= fm2; bh=fx2GLCwwc7hzWxj+oW7P7aJ0QMzR8YSuCV7cErEXOBQ=; b=URR9YX+l bZEiHtGKXMCLv4IfEQeqwFAs2Nh7Va9LMbuncl+BUKxT+PouMRCsPvEqhhx4/QJx WqrfxLRoCKC07C5ZkqSacigzUSlJUwLprSQrZSAu6ixn7NCWftQmNHlj9c+4cBnu PF6rsEBK6qn9oY+FGl+ryHoksbTn7vANuvNi4FeVl+kpA5api0DR8j+76gin7cTN crkSii5QNrV+YeRxWvRwq3XBmUVYZVp2O2P020V/R8QgxksRRja4dibOUz3qEE7c gSSwPKTp0TmOMH+32IX/doHrVneP0/uAV5OMOztmTQpez9Z5PgtAXC6LpE48HMCy mJHWJgSZ8++/hw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=fx2GLCwwc7hzWxj+oW7P7aJ0QMzR8 YSuCV7cErEXOBQ=; b=atBBELUfjhdDWG/gZ9Xuf6wWBZ0QOhSsgQwUPEbkgCVOs Lye/a9JwTb5ydAT9ilJWoJMg2Q9SRTv6gfys+2QukOHowGUxEfc6c4JoORryvtZ5 b0vLIVSbVNf7WSfGHgDUUMDN03o+E7Vk21fsFk+DfBqXlHfeNlgLcQEYJHLzKgdE 7N/f8zPolUcLowLgjfKwvvbd+0/4RbpFwRZlJdAXkryvoMvIYq5pvtPSstqGf1s5 hiYJypzqoOOS01vpX/CVCrrRuZcz4cWJrTic7pVaOlWJKidZ/Ju1HR4T/JDVNG4X /Z0n5cLYcOovWFh9VjwDvg+WnDcW2dwV58l5KqjdA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudejvddguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehgtderre dttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshesiiih gihsthdrnhgvtheqnecuggftrfgrthhtvghrnhepkeelheefgfdvtefgfeelgfdvkeeuve evkefgtdegveehuefgkeevieejlefggeegnecuffhomhgrihhnpehfrhgvvggsshgurdho rhhgnecukfhppeekvddrjedtrdeluddruddttdenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthhdqlhhishhtshesiiihgihsthdrnhgv th X-ME-Proxy: Received: from ceres.zyxst.net (ceres.zyxst.net [82.70.91.100]) by mail.messagingengine.com (Postfix) with ESMTPA id 1A87224005C for ; Mon, 5 Apr 2021 12:59:32 -0400 (EDT) Date: Mon, 5 Apr 2021 16:59:30 +0000 From: tech-lists To: freebsd-virtualization@freebsd.org Subject: resizing aarch64 image on arm64 Message-ID: Mail-Followup-To: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="f09M/hhucQqaN7D1" Content-Disposition: inline X-Rspamd-Queue-Id: 4FDcMT0lCSz4rnp X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=URR9YX+l; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=atBBELUf; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.28 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.28:from]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.28]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.28:from]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.28:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.111.4.28:from:127.0.2.255]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 05 Apr 2021 16:59:34 -0000 --f09M/hhucQqaN7D1 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Can anyone tell me how to resize https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RC5/aarch64/Latest= /FreeBSD-13.0-RC5-arm64-aarch64.raw on an amd64 host? thanks, --=20 J. --f09M/hhucQqaN7D1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmBrQeoACgkQs8o7QhFz NAUUDg/8DIWQSxPFF+VRlKooI95vNO3u8l2oXKQJV3WvR3bsLNa6P+Gsj0lf6/qR s4b8hnl2IYRzWo179T8mhdWEQHcwHo0v+QihIhfXpBDyz+EPnMZIePiPPPabKfah uOmmwszblKiURj50zmso7u8eh5aE27aG7tRQbYfxqgDMXgiMBTb+02a7JnUlrDZH bD6Wfqv8mpbIrnlnLP8r5Lz7m31/48yBTrKOi8okRfvlSgPomT79KGAycPpXwNh+ /xmFVu1lxDOkk7qzTu+gSUkY3YcgyoeeHBDOmLOWwhiAv/XorUF0RR68BHa8taLZ CGY9CpCQ4qi6QAjGcIwjS8d63+XsLgrVTC2evs/YBSMrLCxrqeInKqgZ9dWbxYE6 wW5I+pdtBsTj5/JeV9N52jKgpJNcTcPusoE7AnoU5seSf6XbU4MWTjhqZpWZjrJn zXDRwIGfuH1k7kl3JxUEuq0GAD1SWk3CUnXraYhifjBxvXTs3AUDDMZHU2qdE55Q ChveF5mZy2m92wz47ZJAu2Cjg87KD45A83FZHXhCLZ2Hnwuu35RHFe4y7ZEPcOBc sWmKK8xzIyzTrcnJz6l0r8ROemU0VURoIAQ1Q2EwPdzgvwKIcj7tSDfsdCLLdLjn tmpg7TUol2COpodAtGlxi1hGur1zIL4fZ7V3s+oAvfiy1QWt/7I= =Ykw8 -----END PGP SIGNATURE----- --f09M/hhucQqaN7D1-- From owner-freebsd-virtualization@freebsd.org Tue Apr 6 06:19:53 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AD41B5D4E0A for ; Tue, 6 Apr 2021 06:19:53 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FDy6w5ftJz4tm0 for ; Tue, 6 Apr 2021 06:19:52 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id 1366JhpM023358 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 5 Apr 2021 23:19:44 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id 1366JhEY023357 for freebsd-virtualization@freebsd.org; Mon, 5 Apr 2021 23:19:43 -0700 (PDT) (envelope-from jmg) Date: Mon, 5 Apr 2021 23:19:43 -0700 From: John-Mark Gurney To: freebsd-virtualization@freebsd.org Subject: Re: resizing aarch64 image on arm64 Message-ID: <20210406061943.GR14975@funkthat.com> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.3-STABLE amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Mon, 05 Apr 2021 23:19:44 -0700 (PDT) X-Rspamd-Queue-Id: 4FDy6w5ftJz4tm0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of jmg@gold.funkthat.com has no SPF policy when checking 208.87.223.18) smtp.mailfrom=jmg@gold.funkthat.com X-Spamd-Result: default: False [-3.90 / 15.00]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[jmg@funkthat.com,jmg@gold.funkthat.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[208.87.223.18:from]; ASN(0.00)[asn:32354, ipnet:208.87.216.0/21, country:US]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[jmg@funkthat.com,jmg@gold.funkthat.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[jmg]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[208.87.223.18:from:127.0.2.255]; DMARC_NA(0.00)[funkthat.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 06:19:53 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable tech-lists wrote this message on Mon, Apr 05, 2021 at 16:59 +0000: > Can anyone tell me how to resize > https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RC5/aarch64/Late= st/FreeBSD-13.0-RC5-arm64-aarch64.raw >=20 > on an amd64 host? note that this has been unxz'd already. truncate -s 6g FreeBSD-13.0-RC5-arm64-aarch64.raw # enlarge mdconfig -f FreeBSD-13.0-RC5-arm64-aarch64.raw # make device gpart recover md1 # fix up gpt gpart resize -i 3 md1 # expand ufs partition growfs md1p3 # grow ufs Note that mdconfig may output a different md device than md1, use that instead. --=20 John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJga/1+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2MEI1RTRGMTNDNzYyMDZDNjEyMDBCNjAy MDVGMEIzM0REMDA2QURBAAoJECBfCzPdAGraXiYP/R3ND1HGUmyQ4QBJQpH0UJrg DV/APD076wiYu0dwtBkXDb01VMEUGTzBiSCxx0BYK2CHuqM6zF5uDuurg6jNjnPl DjsIVOVkxwYtMs1jW05cysLNpC024Xyv85CpR4aujM1td4ujegw81KIoUNHQf5Iw LoxHbNWBb6tRMgZHbzXOf6ltRfJqFTAHzMCowtf79mnIVDUgavHIJhmBHwdZGQUx AetZ7ihXOXoLgRvHPn3NbuYUxeWKx64fz796O8OGh7AC7JsW1db/SnU06zYUpsv0 QdilsQmfyXVM9X90tumVyntFP5bLHLCasHaz2KpC8ULAVhUg2eo7YBH3k7PXAg9R 4GC8yKPm8Pn734Dvtjvp7ahwE61nK3Qu5/Stu2AgE6Ar265fEZ01fhYjxD2DIvw5 4Ay9leYlkUNauC47Ep1O2eLfwu79Vhsp+LQWUCwdt60QR9QypYM7KJCuXPZ2OBBB 2ljS1RxqB06XIfn3lXbPFyuYAtFLO02yPs9MDMWc/kl2b9Y3z54JfO2K6MQRLzWw M/QbMshJCVFTLm8TDdB3ldsHB6A76aGLzTgzofdH3MUvrqfE1FxIazuS0i8nujPw w2gZFigOz9rwY7maJ51aB3OPrSBRqqWkFl7sohxr5eva7BETOFhLfQBNu2JRJ3n4 j3H/LZvLnEAqDBksjiZ5 =zd4u -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW-- From owner-freebsd-virtualization@freebsd.org Tue Apr 6 11:37:17 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3D9365CCF35 for ; Tue, 6 Apr 2021 11:37:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FF59915Mnz4bkw for ; Tue, 6 Apr 2021 11:37:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 238875CCDDD; Tue, 6 Apr 2021 11:37:17 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 234FF5CCEBE for ; Tue, 6 Apr 2021 11:37:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF5990PT4z4bt1 for ; Tue, 6 Apr 2021 11:37:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ED28A315E for ; Tue, 6 Apr 2021 11:37:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 136BbGFP064609 for ; Tue, 6 Apr 2021 11:37:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 136BbGH3064608 for virtualization@FreeBSD.org; Tue, 6 Apr 2021 11:37:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254813] bhyve, on 12.2 host don't boot FreeBSD guest Date: Tue, 06 Apr 2021 11:37:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dym@afalina.od.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 11:37:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254813 Bug ID: 254813 Summary: bhyve, on 12.2 host don't boot FreeBSD guest Product: Base System Version: 12.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: dym@afalina.od.ua # uname -a FreeBSD test 12.2-RELEASE-p5 FreeBSD 12.2-RELEASE-p5 r369528 HOST amd64 FreeBSD guest no boot on 12.2, but the same guests boot normal on 12.1. After updating from 12.1 to 12.2 (or clean 12.2 install) FreeBSD guests (11= .3, 11.4, 12.1, 12.2) fail to boot. I use for comfort vm-bhyve. Reproduce: Install fresh 12.1, install vm-bhyve, install guest FreeBSD (11.4, 12.1, 12= .2, 13.0 -- no difference). Upgrade 12.1 to 12.2, install into bhyve new FreeBSD guest (or use of previ= ous installing guest). =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # cat testguest.conf loader=3D"bhyveload" cpu=3D1 memory=3D4G disk0_type=3D"ahci-hd" disk0_name=3D"system.img" # vm start guest Starting FreeBSD12.2 * found guest in /mnt/VMs/testguest * booting... # vm console testguest ... Root mount waiting for: CAM ahcich0: SATA connect time=3D0us status=3D00000133 ahcich0: AHCI reset: device found ahcich0: AHCI reset: device ready after 0ms pass0 at ahcich0 bus 0 scbus0 target 0 lun 0 pass0: ACS-2 ATA SATA 3.x device pass0: Serial Number BHYVE-D4AB-EEFF-B53A pass0: 600.000MB/s transfers (SATA 3.x, WDMA2, PIO 8192bytes) pass0: Command Queueing enabled ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ACS-2 ATA SATA 3.x device ada0: Serial Number BHYVE-D4AB-EEFF-B53A ada0: 600.000MB/s transfers (SATA 3.x, WDMA2, PIO 8192bytes) ada0: Command Queueing enabled ada0: 30720MB (6914560 512 byte sectors) GEOM: new disk ada0 Loader variables: Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:zroot/ROOT/default cd9660:/dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> <---------------------------------------------------------- I pressed ENTER panic: mountroot: unable to (re-)mount root. cpuid=3D0 time=3D2 KDB: stack backtrace: #0 0xffffffff80c0a8f5 at kdb_backtrace+0x65 #1 0xffffffff80bbeb1b at vpanic+0x17b #2 0xffffffff80bbe993 at panic+0x43 #3 0xffffffff80c88a95 at vfs_mountrootc+0x19a5 #4 0xffffffff80b57db7 at start_init+0x27 #5 0xffffffff80b8044e at fork_exit+0x7e #6 0xffffffff81067f6e at fork_trampoline+0xe Uptime: 2s =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D If I write any of next string after "mountroot>" ufs:/dev/ada0a ufs:/dev/ada0 ufs:ada0a ufs:ada0 instead of simple press ENTER -- boot normal: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Trying to mount root from ufs:ada0 []... Setting hostuuid: 43693d91-95c3-11eb-a6ca-000000211010. Setting hostid: 0xc8a69a1e. Starting file system checks: /dev/ada0: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0: clean, 6512400 free (1152 frags, 813906 blocks, 0.0% fragmentati= on) Mounting local filesystems:. ... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Apr 6 11:38:47 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 971595CD0CF for ; Tue, 6 Apr 2021 11:38:47 +0000 (UTC) (envelope-from infoomatic@gmx.at) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF5Bt3lzNz4c3l for ; Tue, 6 Apr 2021 11:38:45 +0000 (UTC) (envelope-from infoomatic@gmx.at) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617709123; bh=pZ2bF1QyCpt1mfm5SAmlit/r+QNTbfLMNPFJj+rfWcM=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=SIEzM9R+XWh4A7VUHQcSVIKZnZPKSxfhxSfHRrjoeW9enAbf1LU25BMi4aesHGMLc UjpiQS7YFER1UQ0AeyBfPf5dYzDOtJm1dTg3cBE4xEpPP5UH5QpuHukjPnbUX+X/yC kyX8hv88wsB7MiZLVBxLUlCd3lvGZGM/kWR0ykL0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [10.0.1.209] ([178.114.234.120]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MUXpQ-1l3JCt2g3E-00QQaX for ; Tue, 06 Apr 2021 13:38:43 +0200 Subject: Re: bhyve iommu passthru ath0 To: freebsd-virtualization@freebsd.org References: <275fb099-a036-05fc-bd1f-706e1d01ff98@gmx.at> <8c372f06-7f84-d050-0b13-2d0417c5aee0@freebsd.org> From: infoomatic Message-ID: Date: Tue, 6 Apr 2021 13:38:43 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <8c372f06-7f84-d050-0b13-2d0417c5aee0@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K1:pipRO19RwcMYbXJm8TuR5T6CLYKzfIg1B7S0VKNxdJzlX6i3/5b D9hOHA4KXJvlYmc7KMRLgg0YPLnArbKfYq6BlAZxkyeF10mPeqZKIIxPYrIWoJwHbRWUBxk kqhTw0vZLXntwCDX/soJRCoRa/4A79kH9mk4lz/XBh2Wj0WCWXzMh1kaLXIos7qa/ELzDZW yh29RsLPxJs/r46Yu3cKg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Kp40KNOPWRY=:vdVnh1TSUrVP5MbrUP3KXE UpsQ9mJxNXKPjTgbfqBYoZM8CtNjl9/2A4nYTqhxKuQgMeCNfSZ2iqVxvXOvLPLZ1l31puPwK 5IX8E9svjjrlJBDA4OF/xxDI23nQKkIo3U2hAlrG0l7pjuzX23ynB1TmkmyAHK6Km+qdvfoAR x2Uabz207JReFGTEC2kPe+NkUdOD3Bt3xxbTEJD1DUexqCPugr3SVmArRUawk97o6sWZ4B28T 0sZ+aBeFejacIdMbY8Rn/D8mKTB8z+AoAeMtaRVO0J/CoiOpkgnwnURm4PDomdhzlDShRzKHQ cjGb89jCefzrc04NAZ5b+qqD/JSbGyfgIJHMLEI5e9M/pVVmFB9/YUW9k87hKGKghLthH+ehM x8fF4RhQonAsYMlvp+kdF9c7ZSPRVrQIxvLokWExr7t9nPXQbW/uo7WjOYsK9bQtBBT2Fh+2G UQ1uZDi4PEc8ldwrSNTZ5VQW2vfkKFHOkgb2Z00u44x8AbO5VEtMQ4+ah3zub6Wi0uF+wvSbM EHSp8LOp0Ymq+orH3p+d5W8cozkn6NNkjEmKznOPlq+BAF0AicKj6Eg5BTxhUWkzY843QnvYc NynKL3nULB+Cogw50Qb2Dw5sILnLMiPYDL+C2bv39QC4l1At23aqaoIx/e79eZQaRd5QgqYJ/ xw60OdqacWe0622ryFEgY2DecD8mN7M93VEaDBOW/zZv27f6UD4mh3uLDpHbIqXBSrWR9jVXx /nVhwQc2Aw5ozWngszc0l4GJhVjFoxz90r9RGYmm+7aQtWF3yIjoO8HJmrVVI3ppUUwsMk/fs uV+Q0ijfKpH/BYDdZqgB1J384ZvWpXL5GRgXYSPmepK8JPQQWL5au0JQveifysIBqQKYs5DOQ viNaDsaPdPfgAVtA40R9q0+JVAewM2lPr45pQMTe+DfmjHF2obCxsVWRbs06aOJYz7MCMHz/C bzGMtxWtSqK4d+GJTyv+2LwnHozncAVluyMbcg+VZ0vjZu9S7LykdZ6Phsxb+mTItRPEyUo+e TfsJk4qjz7pu+QZ6sw0PalcbxSVYJngjeTUTMmURTkXjEmMhITUaKNzm2yjR9vWANnaM4IL6V nWMaZfMvxcgSQrJMxBphgpN9QpI+XoBEt0h+Fbk0RctKvU/WBqScXf87yrV3/mNH2K/kAQXDm d9lS++zGlLIlb/a10sQD9gl8NVrIximZqsZOMJzThS1wvmMRFbPuioVLBWLWD1TR7q+IQ= X-Rspamd-Queue-Id: 4FF5Bt3lzNz4c3l X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=SIEzM9R+; dmarc=pass (policy=none) header.from=gmx.at; spf=pass (mx1.freebsd.org: domain of infoomatic@gmx.at designates 212.227.17.22 as permitted sender) smtp.mailfrom=infoomatic@gmx.at X-Spamd-Result: default: False [-4.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmx.at]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; DMARC_POLICY_ALLOW(-0.50)[gmx.at,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.22:from]; FROM_EQ_ENVFROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.17.22:from]; FREEMAIL_ENVFROM(0.00)[gmx.at]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[212.227.17.22:from:127.0.2.255]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.22:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 11:38:47 -0000 On 05.04.21 16:00, Ka Ho Ng wrote: > On 4/5/21 9:54 pm, Ka Ho Ng wrote: >> >> Could you cherry-pick the follow commits and see if they works? >> ede14736fd6d74db0374f4a233491ad5dc0e9b1d >> 74ada297e8978b8efda3dffdd1bb24aee7c5faa4 >> cf76495e0a30043503ef126f0a485e314730a221 >> 03efa462b2ab3ae8166598363e9e83d4e5cf0398 >> >> Ka Ho > > A reminder: they should be applied to FreeBSD 13.0-RC5 on the host side. > Thanks! I tried the patches, the wpa_supplicant.conf from the host does not work inside the VM, and also ifconfig list/scan did not output anything inside the VM. (using the card on the host works as expected) From owner-freebsd-virtualization@freebsd.org Tue Apr 6 11:55:41 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DBBF85CDD06 for ; Tue, 6 Apr 2021 11:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FF5ZP5hFvz4fBl for ; Tue, 6 Apr 2021 11:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C31EE5CDC94; Tue, 6 Apr 2021 11:55:41 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C2E2C5CDA45 for ; Tue, 6 Apr 2021 11:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF5ZP4g04z4fFM for ; Tue, 6 Apr 2021 11:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 92FEF379E for ; Tue, 6 Apr 2021 11:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 136Btf2h075264 for ; Tue, 6 Apr 2021 11:55:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 136Btf8I075263 for virtualization@FreeBSD.org; Tue, 6 Apr 2021 11:55:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254813] bhyve, on 12.2 host don't boot FreeBSD guest Date: Tue, 06 Apr 2021 11:55:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dym@afalina.od.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 11:55:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254813 --- Comment #1 from DYM --- Possibly, maybe it's the same: https://www.mail-archive.com/freebsd-virtualization@freebsd.org/msg08900.ht= ml --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Apr 6 13:01:58 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E8CA5D0B76 for ; Tue, 6 Apr 2021 13:01:58 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF72s3Cdzz4pr9 for ; Tue, 6 Apr 2021 13:01:56 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 136D1tGl005488; Tue, 6 Apr 2021 06:01:55 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 136D1tRk005487; Tue, 6 Apr 2021 06:01:55 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202104061301.136D1tRk005487@gndrsh.dnsmgr.net> Subject: Re: resizing aarch64 image on arm64 In-Reply-To: <20210406061943.GR14975@funkthat.com> To: John-Mark Gurney Date: Tue, 6 Apr 2021 06:01:55 -0700 (PDT) CC: freebsd-virtualization@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4FF72s3Cdzz4pr9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [-1.16 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dnsmgr.net]; RBL_DBL_DONT_QUERY_IPS(0.00)[69.59.192.140:from]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[69.59.192.140:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.06)[-0.057]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-virtualization]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 13:01:58 -0000 > tech-lists wrote this message on Mon, Apr 05, 2021 at 16:59 +0000: > > Can anyone tell me how to resize > > https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RC5/aarch64/Latest/FreeBSD-13.0-RC5-arm64-aarch64.raw > > > > on an amd64 host? > > note that this has been unxz'd already. > > truncate -s 6g FreeBSD-13.0-RC5-arm64-aarch64.raw # enlarge > mdconfig -f FreeBSD-13.0-RC5-arm64-aarch64.raw # make device > gpart recover md1 # fix up gpt > gpart resize -i 3 md1 # expand ufs partition > growfs md1p3 # grow ufs > > Note that mdconfig may output a different md device than md1, use > that instead. NICE! Maybe this could be a second example in growfs(8) as an example for "How to prepare an image for use with emulation"? > John-Mark Gurney Voice: +1 415 225 5579 -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-virtualization@freebsd.org Tue Apr 6 13:47:14 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D7C805D23A5 for ; Tue, 6 Apr 2021 13:47:14 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF8356hBcz4vPF for ; Tue, 6 Apr 2021 13:47:13 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4235B5C00AF for ; Tue, 6 Apr 2021 09:47:13 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 06 Apr 2021 09:47:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=wW6TbAHjOobSqkqt/0pG+ZKNJHf xGDj2lA4fT7QLPkQ=; b=rJqvISeDig8K+AuC3daQqjyMxWyAhiezsaDnmhsHMPs sMGM0tfF1g2WhRK4Z3BJuuUwYQaHpDm1ue61vKA0iseku1aAWAvbWBxNWakccmiW OKbiDWMdsE8n6Mplgh5R+607z9tQOfTWEAAdvkffRB6XQXNE6dcTWt8OelT803ZQ mZ4S6WQUJe4cnv+WCYCn/af+GGnRU1SgFRdJ46qbykHs8A55Qy/HZy9cK480RmOz vQZ+9VIH/z8pkYtPY5m0z8tn74P0xjozN1o049MC1AMa79DuyNo+HzrW4BE77dq6 zlO6N8Z5/uwxZr0ZeoKzV158ZXHbvEcoH815Tjd4H3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=wW6TbA HjOobSqkqt/0pG+ZKNJHfxGDj2lA4fT7QLPkQ=; b=JXN5hoeN7rnGXYOe1R2k9z iXU3ZHtEzrfVJOBnq6eIxOBpkigLjnwlcEk8owf4rOhB9AHSgK+5f924OAbuvaHV rzxn/1pZ2/qNDAujA8kqGS06//+YVGF6kUVsYKt9L00Nl1PNW4OkRUwTUXZIA1tE wr+qN41jPeaABYOGleiNI8tFRdVdMPJlx4tvvwZn+aZ/BdjGjFVIJI6VG7GJgD4s gDN3/Acyn2PtY9RT7GY7ls6ptCbcFdDlKGWii8f6Ld7YpNygfTowGZzcNMdbqk4U rmQY1S3aNlOzTj2P1953PDJs29RTOI8eoVbfVKJtvOa6czLV0qAh2wHXhPTyzd3g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudejhedgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeettddtudeugfeggefhkeekteekje elfeffleehjeffgffftdeffedtjeegueeiffenucffohhmrghinhepfhhrvggvsghsugdr ohhrghenucfkphepkedvrdejtddrledurddutddtnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepthgvtghhqdhlihhsthhsseiihiigshhtrdhn vght X-ME-Proxy: Received: from ceres.zyxst.net (ceres.zyxst.net [82.70.91.100]) by mail.messagingengine.com (Postfix) with ESMTPA id A874B1080063 for ; Tue, 6 Apr 2021 09:47:12 -0400 (EDT) Date: Tue, 6 Apr 2021 13:47:10 +0000 From: tech-lists To: freebsd-virtualization@freebsd.org Subject: Re: resizing aarch64 image on arm64 Message-ID: Mail-Followup-To: freebsd-virtualization@freebsd.org References: <20210406061943.GR14975@funkthat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xjr3lJz/hIb8oJNs" Content-Disposition: inline In-Reply-To: <20210406061943.GR14975@funkthat.com> X-Rspamd-Queue-Id: 4FF8356hBcz4vPF X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=rJqvISeD; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=JXN5hoeN; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.29 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.29:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.111.4.29:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-virtualization]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 13:47:14 -0000 --xjr3lJz/hIb8oJNs Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 05, 2021 at 11:19:43PM -0700, John-Mark Gurney wrote: >tech-lists wrote this message on Mon, Apr 05, 2021 at 16:59 +0000: >> Can anyone tell me how to resize >> https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RC5/aarch64/Lat= est/FreeBSD-13.0-RC5-arm64-aarch64.raw >> >> on an amd64 host? > >note that this has been unxz'd already. > >truncate -s 6g FreeBSD-13.0-RC5-arm64-aarch64.raw # enlarge >mdconfig -f FreeBSD-13.0-RC5-arm64-aarch64.raw # make device >gpart recover md1 # fix up gpt >gpart resize -i 3 md1 # expand ufs partition >growfs md1p3 # grow ufs > >Note that mdconfig may output a different md device than md1, use >that instead. thanks for this. I earlier found something similar with qemu-img resize but with a qcow2 image. i'll write it up. --=20 J. --xjr3lJz/hIb8oJNs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmBsZlYACgkQs8o7QhFz NAUgKg//VuPPi80WQYEF4lOf5yB1mSwEntJVWa7uUgyOQvGz99LwgL/1LQQTq41T AnYsC2RmVf/p0NqWMwg1U6p0px7ABxTYcxZKnMgw0t7gIv0X5zcWju+yBjdXUYs+ x3IcJ9KFVR8slEC8cCy1daPIxB9959p338eoCIEHLQNs+sMiCsRnYEsU+gnFBDMK HWlTxPrxPiQfxTbA+EFquQ+8ftnMj7IGiKITgmvdiyOel8BRtsKBXLlKafIuNG7r aIL+0a9yHegrXH1Ni8fKV3dXJAb+iptMLmIFK+3zi8Yndcdb7Uv3/naB/kwf9Frq eG8rokEKM8HfkLSNhlGQtD7rmvVQWUca70mkmGxMve+kln++KAYvBTo34rCH8zBD NlfERXTi1s4u+ieCWxKM7yp0qx58v8gtdF05GPzudS7J4m6X43pNKGi2UrB3adY1 73FDgYMnaPhw2dc3RzBOkmJPIiaSDrWaIxavGnhiKSzq27EjrMmEYEWUrnD8iypk 4kaFqEXUdDY8B+wtPswOu1RlBkZ7xDUGMptmrEkEBxTfD4PjlmR19Q9lQ/aDa4ej kLfom4cWBFk/10zqItH867EHycog96QtD+LiT+wYp5x+ka+++qCQna7MUN5Ii0BM lJ0ZsJyyXyj6F7kdVKT1wNHLGCA2pd4ZA5Cc5mEBArfp6qXorCU= =jGy2 -----END PGP SIGNATURE----- --xjr3lJz/hIb8oJNs-- From owner-freebsd-virtualization@freebsd.org Tue Apr 6 15:03:54 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 81A5A5D47B0 for ; Tue, 6 Apr 2021 15:03:54 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF9lZ3KY3z3LCZ; Tue, 6 Apr 2021 15:03:54 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1617721434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FdJtjjvPzhx5n7kfojgn186mRKoP145es6bs+3rlC2A=; b=M5fnmiQttnjXWXNLyXEXwyoLR1fsl+2w71/+dCW32OEx/1X4iFG9N5n7FzSZJw74EhVzxW QOP7zoW99M3uaBP5GCrPAqecMYeYph7ZbtfV+QfCTVhd2e7KZ9wcLjClGa8SM6+my6wpBz TOo5J7JgQkaKywvRMZIhM2lWtRMmZ7JX0JyWpJbkO18o1FEmxq+xYuTppUzt771CKXQep1 oE0wIkrT9fGgZlJAr/oRiDzTpupkKoiqdok1vSxAWAJSD3UtmvRSAc/hQyzoa4bvi1ajV4 0kx0bKgEAjsGTgxteI41kDIvxdaaHIuX/J0bNMAkAOJiYBew6noIl7/4pubilQ== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 0397080F8; Tue, 6 Apr 2021 15:03:53 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Tue, 6 Apr 2021 15:03:51 +0000 From: Glen Barber To: John-Mark Gurney Cc: freebsd-virtualization@freebsd.org Subject: Re: resizing aarch64 image on arm64 Message-ID: <20210406150351.GW92026@FreeBSD.org> References: <20210406061943.GR14975@funkthat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sMP3l7aO1Ldl3x+Z" Content-Disposition: inline In-Reply-To: <20210406061943.GR14975@funkthat.com> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1617721434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FdJtjjvPzhx5n7kfojgn186mRKoP145es6bs+3rlC2A=; b=o5UfJRrvFaiEKrbuP63zF34qwJEDcQicYhmK7PcrhOl39nqLT8iq5wGINkvqjUbd4+S2/q Q/6442VVF3IUHVZre+D74n8+svbPmsx8CqHU9wtBc0fc8fqL8shE9NCpQ3ck9a5NOFo6RE zLUxuqHZa7N2NeH2PdOEYwnMxXU6fW6cg5I1mwAa8gbDQ21yvdCkR7B7QL4PSxg83N79ZV doKwcblhDeEQmURsiwPrAsluXWiD8xukAgONr+95YaISKBppX2Sv8lc4UnM5K70f7Fe3rd k2bNe51X5rXdySSRDVyBtGmi+flxi8aii82Mhm4hNx0mktrvvn+UXv5QmVuFTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1617721434; a=rsa-sha256; cv=none; b=ae2X1PHUcsxVORKJ1qyR3gvR8wLPFYQKZEB0pJkjBen+5qi3HFl5Xx2X2z6CLyby18MmzI NE5baeiOVJRXbAZn3tWFS+NNv7GjfBHPIG44iDfASostMfAtTyPSJ81bRQlKwM9Cbb6McQ Nm5gutpjCpC+VlcNIN5JE+pvYkYK7kd9PpQ3HMIjvimMC7UkRg6UmlZQfFhdpo8vqh8IRR 4JVx/09HrVnRd4M0gUBGrlrneml2lUw8wqou4Oa/mf0/JNx4p7pfGHi3Yn+08zuFp4ZaKZ kLhKVNa0IwIsRmchZffNX2x5dqaapTKDiEvck644beuTg5oUcvUdMWnlT4+0Mg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 15:03:54 -0000 --sMP3l7aO1Ldl3x+Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 05, 2021 at 11:19:43PM -0700, John-Mark Gurney wrote: > tech-lists wrote this message on Mon, Apr 05, 2021 at 16:59 +0000: > > Can anyone tell me how to resize > > https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RC5/aarch64/La= test/FreeBSD-13.0-RC5-arm64-aarch64.raw > >=20 > > on an amd64 host? >=20 > note that this has been unxz'd already. >=20 > truncate -s 6g FreeBSD-13.0-RC5-arm64-aarch64.raw # enlarge > mdconfig -f FreeBSD-13.0-RC5-arm64-aarch64.raw # make device > gpart recover md1 # fix up gpt > gpart resize -i 3 md1 # expand ufs partition > growfs md1p3 # grow ufs >=20 > Note that mdconfig may output a different md device than md1, use > that instead. >=20 The growfs(8) automatically runs at firstboot, so only the truncate(1) part is needed. Glen --sMP3l7aO1Ldl3x+Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmBseFcACgkQAxRYpUeP 4pNBWA//Y6aSIBtoTDpfj/eC5pXgKCstqRaFK3ZlVQ0nNr1egKl7LvkubQw9J5X3 FYXZnjcYSHZj5j0k3ZA43AuYeJpxylN+Ahue01ikwUay1TRIrJ5dkSySG5gfi+bb se9CpisBXb/l1RBTXPdopfrO8HkaUk1HD2lapts5BNGgxt3v698dJUDjsMNhVKz4 ckrIZgxeVQtOk7s2nBriYnI/Zfz1loTMiDzGA2r2n2d6vRPEhZ5tMFp/d7/D2edA zyTXU2z71h3+xNKjxc5qi302Pgrp1KbAA/Jpz9DEKZsfchE+IefbAh1Pk0Z9JUP4 /3wxkU//Q8ftJuFla7VhN2KoJp+zfCTeRbwh7pS0ju3Q2uONJlz0JJ7PxrTFV03h 4PL7/2bFBUrT+DK7JIXckkgTvsC0GtczadRQcRJDZ/2sHTNmtDEv2hphpob4TXkm T5Hu1pUHQhCZjtwj7ZLB2tgScXnKK9vBTA113E0loYykRzyDTWWSTJ0oJUztOJO7 BjuGvcqT+6u7hAHbcnWiTK05kHv9UDlscebk5LiyUZ2aVsQKr8khaQPSuyB+BBYb tRFLUO9BB2Nqgtea+AKgEdXR7VqpAkpdPbi8aqsHn/kE5GEcOFzFGDwsI2FtwH4w DENliiOD9s/uODfKdGSzUfU+yZY8C7PSrgGEDY0LUpSnLsZZZww= =pMhV -----END PGP SIGNATURE----- --sMP3l7aO1Ldl3x+Z-- From owner-freebsd-virtualization@freebsd.org Tue Apr 6 15:25:15 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5433B5D52BE for ; Tue, 6 Apr 2021 15:25:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFBDB5jBpz3Nn2 for ; Tue, 6 Apr 2021 15:25:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 73AE65D50FF; Tue, 6 Apr 2021 15:25:13 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 493B55D543E for ; Tue, 6 Apr 2021 15:25:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFBD83sqJz3Npf for ; Tue, 6 Apr 2021 15:25:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1B07F65E1 for ; Tue, 6 Apr 2021 15:25:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 136FPBVG086116 for ; Tue, 6 Apr 2021 15:25:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 136FPBRE086115 for virtualization@FreeBSD.org; Tue, 6 Apr 2021 15:25:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254695] Hyper-V: Kernel Panic: Assertion in_epoch(net_epoch_preempt) failed at netinet/tcp_lro.c:915 Date: Tue, 06 Apr 2021 15:25:12 +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: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 15:25:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254695 --- Comment #1 from Li-Wen Hsu --- btw it looks more like an error in tcp code, this might be related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254725 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Apr 6 16:01:56 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5FCF05D636B for ; Tue, 6 Apr 2021 16:01:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFC2X21l6z3jtf for ; Tue, 6 Apr 2021 16:01:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4529F5D60FB; Tue, 6 Apr 2021 16:01:56 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 44E1D5D61DA for ; Tue, 6 Apr 2021 16:01:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFC2X1CRSz3jfv for ; Tue, 6 Apr 2021 16:01:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1AF6B7160 for ; Tue, 6 Apr 2021 16:01:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 136G1uhf005452 for ; Tue, 6 Apr 2021 16:01:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 136G1uPM005451 for virtualization@FreeBSD.org; Tue, 6 Apr 2021 16:01:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254695] Hyper-V: Kernel Panic: Assertion in_epoch(net_epoch_preempt) failed at netinet/tcp_lro.c:915 Date: Tue, 06 Apr 2021 16:01: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: CURRENT X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gbe@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 16:01:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254695 --- Comment #2 from Gordon Bergling --- (In reply to Li-Wen Hsu from comment #1) Its mainly the call chain from vmbus_chan_task() -> hn_chan_callback() which leads me towards an bug in the Hyper-V implementation, since hn0 is the def= ault network interface on Hyper-V. I got an old kernel from around march 19th booted and will examine the crash dump as soon as I found some free time. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Apr 6 23:30:44 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 74D4F5C2080 for ; Tue, 6 Apr 2021 23:30:44 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFP0M4F0Wz57N7 for ; Tue, 6 Apr 2021 23:30:43 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id 136NUeMX096211 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 6 Apr 2021 16:30:40 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id 136NUej0096208; Tue, 6 Apr 2021 16:30:40 -0700 (PDT) (envelope-from jmg) Date: Tue, 6 Apr 2021 16:30:40 -0700 From: John-Mark Gurney To: "Rodney W. Grimes" Cc: freebsd-virtualization@freebsd.org Subject: Re: resizing aarch64 image on arm64 Message-ID: <20210406233040.GT14975@funkthat.com> Mail-Followup-To: "Rodney W. Grimes" , freebsd-virtualization@freebsd.org References: <20210406061943.GR14975@funkthat.com> <202104061301.136D1tRk005487@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202104061301.136D1tRk005487@gndrsh.dnsmgr.net> X-Operating-System: FreeBSD 11.3-STABLE amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Tue, 06 Apr 2021 16:30:40 -0700 (PDT) X-Rspamd-Queue-Id: 4FFP0M4F0Wz57N7 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of jmg@gold.funkthat.com has no SPF policy when checking 208.87.223.18) smtp.mailfrom=jmg@gold.funkthat.com X-Spamd-Result: default: False [0.20 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[jmg]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[funkthat.com]; RBL_DBL_DONT_QUERY_IPS(0.00)[208.87.223.18:from]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[208.87.223.18:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[jmg@funkthat.com,jmg@gold.funkthat.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:32354, ipnet:208.87.216.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[jmg@funkthat.com,jmg@gold.funkthat.com]; MAILMAN_DEST(0.00)[freebsd-virtualization]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 23:30:44 -0000 Rodney W. Grimes wrote this message on Tue, Apr 06, 2021 at 06:01 -0700: > > tech-lists wrote this message on Mon, Apr 05, 2021 at 16:59 +0000: > > > Can anyone tell me how to resize > > > https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RC5/aarch64/Latest/FreeBSD-13.0-RC5-arm64-aarch64.raw > > > > > > on an amd64 host? > > > > note that this has been unxz'd already. > > > > truncate -s 6g FreeBSD-13.0-RC5-arm64-aarch64.raw # enlarge > > mdconfig -f FreeBSD-13.0-RC5-arm64-aarch64.raw # make device > > gpart recover md1 # fix up gpt > > gpart resize -i 3 md1 # expand ufs partition > > growfs md1p3 # grow ufs > > > > Note that mdconfig may output a different md device than md1, use > > that instead. > > NICE! Maybe this could be a second example in growfs(8) as > an example for "How to prepare an image for use with emulation"? In most/all cases for images, just a truncate is needed as Glen mentioned. The growfs(7) rc script is run at first boot to size up the root fs as needed. It can always be run manually later via: service growfs onestart if/when the size of the disk changes... Hmm, just noticed that growfs(7) isn't linked from growfs(8), guess I need to fix that. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-virtualization@freebsd.org Wed Apr 7 00:01:22 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2609C5C2D09 for ; Wed, 7 Apr 2021 00:01:22 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFPgj1MFHz3By7 for ; Wed, 7 Apr 2021 00:01:20 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 13701HV4007931; Tue, 6 Apr 2021 17:01:17 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 13701H9k007930; Tue, 6 Apr 2021 17:01:17 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202104070001.13701H9k007930@gndrsh.dnsmgr.net> Subject: Re: resizing aarch64 image on arm64 In-Reply-To: <20210406233040.GT14975@funkthat.com> To: John-Mark Gurney Date: Tue, 6 Apr 2021 17:01:17 -0700 (PDT) CC: "Rodney W. Grimes" , freebsd-virtualization@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4FFPgj1MFHz3By7 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [0.07 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dnsmgr.net]; RBL_DBL_DONT_QUERY_IPS(0.00)[69.59.192.140:from]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[69.59.192.140:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.83)[-0.834]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-virtualization]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 07 Apr 2021 00:01:22 -0000 > Rodney W. Grimes wrote this message on Tue, Apr 06, 2021 at 06:01 -0700: > > > tech-lists wrote this message on Mon, Apr 05, 2021 at 16:59 +0000: > > > > Can anyone tell me how to resize > > > > https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RC5/aarch64/Latest/FreeBSD-13.0-RC5-arm64-aarch64.raw > > > > > > > > on an amd64 host? > > > > > > note that this has been unxz'd already. > > > > > > truncate -s 6g FreeBSD-13.0-RC5-arm64-aarch64.raw # enlarge > > > mdconfig -f FreeBSD-13.0-RC5-arm64-aarch64.raw # make device > > > gpart recover md1 # fix up gpt > > > gpart resize -i 3 md1 # expand ufs partition > > > growfs md1p3 # grow ufs > > > > > > Note that mdconfig may output a different md device than md1, use > > > that instead. > > > > NICE! Maybe this could be a second example in growfs(8) as > > an example for "How to prepare an image for use with emulation"? > > In most/all cases for images, just a truncate is needed as Glen > mentioned. The growfs(7) rc script is run at first boot to size > up the root fs as needed. It can always be run manually later via: > service growfs onestart Though that is true, I suspect that running the growfs on the host is much faster than doing so inside of say.. QEMU, and is probably 10x faster than doing it before it ends up on a SD card, though it would increase the dd time to write the now much larger image. Also one may be pre-growing the file system to add a bunch of files to it before booting, I personally shall be using this technique to build sd cards for arm boards now that I know how to do it. > > if/when the size of the disk changes... > > Hmm, just noticed that growfs(7) isn't linked from growfs(8), guess > I need to fix that. > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-virtualization@freebsd.org Wed Apr 7 02:18:21 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8BD555C5DC3 for ; Wed, 7 Apr 2021 02:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFSjn3M9Bz3MTk for ; Wed, 7 Apr 2021 02:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7175B5C5F5F; Wed, 7 Apr 2021 02:18:21 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 713A85C5DC2 for ; Wed, 7 Apr 2021 02:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFSjn2hkPz3MP8 for ; Wed, 7 Apr 2021 02:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4B82216DF4 for ; Wed, 7 Apr 2021 02:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1372ILdp025035 for ; Wed, 7 Apr 2021 02:18:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1372ILQ2025034 for virtualization@FreeBSD.org; Wed, 7 Apr 2021 02:18:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254813] bhyve, on 12.2 host don't boot FreeBSD guest Date: Wed, 07 Apr 2021 02:18:21 +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: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dym@afalina.od.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component 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.34 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, 07 Apr 2021 02:18:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254813 DYM changed: What |Removed |Added ---------------------------------------------------------------------------- Component|bhyve |kern --- Comment #2 from DYM --- Reason for change component from "bhyve" to "kern": bootloader has forgotten how to boot from BSD-labels (without MBR or GPT) on guest. It is reproduced if guest system install on the BSD-label (with all previous conditions). Similar problem has already been: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240364 However, a simple file replacement (on host or on guest) does not solve the problem. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Apr 7 03:45:25 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A3CBC5C7A26 for ; Wed, 7 Apr 2021 03:45:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFVfF42dcz3k7f for ; Wed, 7 Apr 2021 03:45:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 88C9B5C78CE; Wed, 7 Apr 2021 03:45:25 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 875465C7C87 for ; Wed, 7 Apr 2021 03:45:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFVfF37dsz3jpt for ; Wed, 7 Apr 2021 03:45:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5EBA8187A1 for ; Wed, 7 Apr 2021 03:45:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1373jPq5067811 for ; Wed, 7 Apr 2021 03:45:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1373jPZj067810 for virtualization@FreeBSD.org; Wed, 7 Apr 2021 03:45:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254813] bhyve, on 12.2 host don't boot FreeBSD guest Date: Wed, 07 Apr 2021 03:45: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: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dym@afalina.od.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: rep_platform 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.34 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, 07 Apr 2021 03:45:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254813 DYM changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|amd64 |Any --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Apr 7 03:48:30 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EF1545C7972 for ; Wed, 7 Apr 2021 03:48:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFVjp6FRfz3kHb for ; Wed, 7 Apr 2021 03:48:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D48765C7971; Wed, 7 Apr 2021 03:48:30 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D44035C7C97 for ; Wed, 7 Apr 2021 03:48:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFVjp5XBdz3kBb for ; Wed, 7 Apr 2021 03:48:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B10B2187A2 for ; Wed, 7 Apr 2021 03:48:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1373mUX7068478 for ; Wed, 7 Apr 2021 03:48:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1373mUHc068477 for virtualization@FreeBSD.org; Wed, 7 Apr 2021 03:48:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254813] FreeBSD 12.2 bhyve host don't boot guest FreeBSD 12.2 on BSD partition Date: Wed, 07 Apr 2021 03:48:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dym@afalina.od.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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.34 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, 07 Apr 2021 03:48:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254813 DYM changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|bhyve, on 12.2 host don't |FreeBSD 12.2 bhyve host |boot FreeBSD guest |don't boot guest FreeBSD | |12.2 on BSD partition --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Apr 7 03:51:22 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4EFB65C7EC3 for ; Wed, 7 Apr 2021 03:51:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFVn61ZT5z3kbQ for ; Wed, 7 Apr 2021 03:51:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3421A5C7F2B; Wed, 7 Apr 2021 03:51:22 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 33E4B5C7F83 for ; Wed, 7 Apr 2021 03:51:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFVn60vnkz3kjK for ; Wed, 7 Apr 2021 03:51:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1268D1864E for ; Wed, 7 Apr 2021 03:51:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1373pMWH072010 for ; Wed, 7 Apr 2021 03:51:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1373pM6k072009 for virtualization@FreeBSD.org; Wed, 7 Apr 2021 03:51:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254813] FreeBSD 12.2 bhyve host don't boot guest FreeBSD any version on BSD partition Date: Wed, 07 Apr 2021 03:51:22 +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: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dym@afalina.od.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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.34 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, 07 Apr 2021 03:51:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254813 DYM changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|FreeBSD 12.2 bhyve host |FreeBSD 12.2 bhyve host |don't boot guest FreeBSD |don't boot guest FreeBSD |12.2 on BSD partition |any version on BSD | |partition --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Apr 7 06:51:35 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9AC725CD02E for ; Wed, 7 Apr 2021 06:51:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFZn05m4tz4XJm for ; Wed, 7 Apr 2021 06:51:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BC9D05CD213; Wed, 7 Apr 2021 06:51:30 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B12CE5CD14B for ; Wed, 7 Apr 2021 06:51:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFZmv6kCvz4X9Q for ; Wed, 7 Apr 2021 06:51:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F206A1AB3B for ; Wed, 7 Apr 2021 06:51:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1376pPZY064147 for ; Wed, 7 Apr 2021 06:51:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1376pPO0064146 for virtualization@FreeBSD.org; Wed, 7 Apr 2021 06:51:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254695] Hyper-V: Kernel Panic: Assertion in_epoch(net_epoch_preempt) failed at netinet/tcp_lro.c:915 Date: Wed, 07 Apr 2021 06:51: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: CURRENT X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gbe@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.34 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, 07 Apr 2021 06:51:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254695 --- Comment #3 from Gordon Bergling --- The KERNCONF is the following --------------------------------------------------- include GENERIC options RATELIMIT options TCPHPTS options KERN_TLS options ROUTE_MPATH options RANDOM_FENESTRASX --------------------------------------------------- Dump information are --------------------------------------------------- Dump header from device: /dev/da0p3 Architecture: amd64 Architecture Version: 2 Dump Length: 282898432 Blocksize: 512 Compression: none Dumptime: 2021-04-01 13:05:24 +0200 Hostname: fbsd-dev.0xfce3.net Magic: FreeBSD Kernel Dump Version String: FreeBSD 14.0-CURRENT #25 main-n245771-529a2a0f2765: Thu A= pr=20 1 11:36:01 CEST 2021 =20=20=20 root@lion.0xfce3.net:/boiler/nfs/obj/boiler/nfs/src/amd64.amd64/sys/GENERIC= -TCP Panic String: Assertion in_epoch(net_epoch_preempt) failed at /boiler/nfs/src/sys/netinet/tcp_lro.c:915 Dump Parity: 4289937466 Bounds: 3 Dump Status: good --------------------------------------------------- src.conf is --------------------------------------------------- WITH_EXTRA_TCP_STACKS=3D1 WITH_BEARSSL=3D1 WITH_PIE=3D1 WITH_RETPOLINE=3D1 WITH_INIT_ALL_ZERO=3D1 --------------------------------------------------- I upload the dump in a minute. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Apr 7 07:35:26 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AC15D5CDB73 for ; Wed, 7 Apr 2021 07:35:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFblf4Jqpz4b2Q for ; Wed, 7 Apr 2021 07:35:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 940E35CDF02; Wed, 7 Apr 2021 07:35:26 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 93D785CDF01 for ; Wed, 7 Apr 2021 07:35:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFblf3l38z4Zyw for ; Wed, 7 Apr 2021 07:35:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 737091B2FB for ; Wed, 7 Apr 2021 07:35:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1377ZQgk084884 for ; Wed, 7 Apr 2021 07:35:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1377ZQ7X084883 for virtualization@FreeBSD.org; Wed, 7 Apr 2021 07:35:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254695] Hyper-V: Kernel Panic: Assertion in_epoch(net_epoch_preempt) failed at netinet/tcp_lro.c:915 Date: Wed, 07 Apr 2021 07:35: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: CURRENT X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gbe@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.34 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, 07 Apr 2021 07:35:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254695 --- Comment #4 from Gordon Bergling --- The crash dump is too large for the upload. The stacktrace is the following. KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0051761= 840 vpanic() at vpanic+0x181/frame 0xfffffe0051761890 panic() at panic+0x43/frame 0xfffffe00517618f0 tcp_lro_lookup() at tcp_lro_lookup+0xef/frame 0xfffffe0051761920 tcp_lro_rx2() at tcp_lro_rx2+0x7da/frame 0xfffffe00517619f0 hn_chan_callback() at hn_chan_callback+0x1eb/frame 0xfffffe0051761ad0 vmbus_chan_task() at vmbus_chan_task+0x2f/frame 0xfffffe0051761b00 taskqueue_run_locked() at taskqueue_run_locked+0xaa/frame 0xfffffe0051761b80 taskqueue_thread_loop() at taskqueue_thread_loop+0x94/frame 0xfffffe0051761= bb0 fork_exit() at fork_exit+0x80/frame 0xfffffe0051761bf0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0051761bf0 If I can provide more information, just let me know. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Apr 7 07:36:34 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E4F895CDE3A for ; Wed, 7 Apr 2021 07:36:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFbmy5qyqz4ZpZ for ; Wed, 7 Apr 2021 07:36:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C81D65CDE39; Wed, 7 Apr 2021 07:36:34 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C7DDF5CDE38 for ; Wed, 7 Apr 2021 07:36:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFbmy5Cnhz4b3V for ; Wed, 7 Apr 2021 07:36:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A61651B5C5 for ; Wed, 7 Apr 2021 07:36:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1377aYSG085082 for ; Wed, 7 Apr 2021 07:36:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1377aYce085081 for virtualization@FreeBSD.org; Wed, 7 Apr 2021 07:36:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254695] Hyper-V: Kernel Panic: Assertion in_epoch(net_epoch_preempt) failed at netinet/tcp_lro.c:915 Date: Wed, 07 Apr 2021 07:36: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: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gbe@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.34 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, 07 Apr 2021 07:36:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254695 --- Comment #5 from Gordon Bergling --- Backtrace #0 __curthread () at /boiler/nfs/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3Dtextdump@entry=3D1) at /boiler/nfs/src/sys/kern/kern_shutdown.c:399 #2 0xffffffff80c132f0 in kern_reboot (howto=3D260) at /boiler/nfs/src/sys/kern/kern_shutdown.c:486 #3 0xffffffff80c13750 in vpanic (fmt=3D, ap=3D) at /boiler/nfs/src/sys/kern/kern_shutdown.c:919 #4 0xffffffff80c134a3 in panic (fmt=3D) at /boiler/nfs/src/sys/kern/kern_shutdown.c:843 #5 0xffffffff80ded83f in tcp_lro_lookup (lc=3D0xfffffe0057299ad0, le=3D0xfffffe00573a3b48) at /boiler/nfs/src/sys/netinet/tcp_lro.c:915 #6 0xffffffff80dee79a in tcp_lro_rx2 (lc=3D, lc@entry=3D0xfffffe0057299ad0, m=3D, m@entry=3D0xfffff80003956d00, csum=3D, csum@entry=3D0, use_hash=3D, use_hash@entry=3D1) at /boiler/nfs/src/sys/netinet/tcp_lro.c:1946 #7 0xffffffff80def51f in tcp_lro_rx (lc=3D, lc@entry=3D0xfffffe0057299ad0, m=3D, m@entry=3D0xfffff80003956d00, csum=3D, csum@entry=3D0) at /boiler/nfs/src/sys/netinet/tcp_lro.c:2060 #8 0xffffffff8103822b in hn_lro_rx (lc=3D0xfffffe0057299ad0, m=3D0xfffff80003956d00) at /boiler/nfs/src/sys/dev/hyperv/netvsc/if_hn.c:3421 #9 hn_rxpkt (rxr=3D0xfffffe0057298000) at /boiler/nfs/src/sys/dev/hyperv/netvsc/if_hn.c:3722 #10 hn_rndis_rx_data (rxr=3D, data=3D, dlen=3D) at /boiler/nfs/src/sys/dev/hyperv/netvsc/if_hn.c:7392 #11 hn_rndis_rxpkt (rxr=3D, data=3D, dlen=3D<= optimized out>) at /boiler/nfs/src/sys/dev/hyperv/netvsc/if_hn.c:7413 #12 hn_nvs_handle_rxbuf (rxr=3D, chan=3D0xfffff800039f7400, pkthdr=3D) at /boiler/nfs/src/sys/dev/hyperv/netvsc/if_hn.c:7512 #13 hn_chan_callback (chan=3Dchan@entry=3D0xfffff800039f7400, xrxr=3D, xrxr@entry=3D0xfffffe0057298000) at /boiler/nfs/src/sys/dev/hyperv/netvsc/if_hn.c:7604 #14 0xffffffff810454df in vmbus_chan_task (xchan=3D0xfffff800039f7400, pending=3D) at /boiler/nfs/src/sys/dev/hyperv/vmbus/vmbus_chan.c:1381 #15 0xffffffff80c752fa in taskqueue_run_locked (queue=3Dqueue@entry=3D0xfffff800038b9300) at /boiler/nfs/src/sys/kern/subr_taskqueue.c:476 #16 0xffffffff80c76384 in taskqueue_thread_loop (arg=3Darg@entry=3D0xfffffe000428f090) at /boiler/nfs/src/sys/kern/subr_taskqueue.c:793 #17 0xffffffff80bcd540 in fork_exit (callout=3D0xffffffff80c762f0 , arg=3D0xfffffe000428f090, frame=3D0xfffffe0051761c00) at /boiler/nfs/src/sys/kern/kern_fork.c:1077 #18 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Apr 7 11:16:51 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 770035D31F4 for ; Wed, 7 Apr 2021 11:16:51 +0000 (UTC) (envelope-from infoomatic@gmx.at) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFhg63sxXz4sj7 for ; Wed, 7 Apr 2021 11:16:50 +0000 (UTC) (envelope-from infoomatic@gmx.at) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617794207; bh=XgeW8eRCd2AjvKhnKpYm5ITCFxYMNRXeH6DOy09damQ=; h=X-UI-Sender-Class:From:Subject:To:Date; b=CymxsIPzZi6CRZziFA85uazi9QMMSiTqCDmGNT+N76wrs4zHN+781CovDDzzE0P7j 9P+VcVqMyyiLrJ3bqHzl1SA0x/wouqW4BHd4klfjXJTcD9Ul7fvHmNazG5eH4cTmF/ 0Fq+EOuwbd/Hlm/7Olr1eOxt4odUoOAq0a3WNBSc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [10.0.1.209] ([178.114.239.150]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MtOKc-1lisvx2wve-00uoBS for ; Wed, 07 Apr 2021 13:16:47 +0200 From: infoomatic Subject: bhyve + windows unusable To: freebsd-virtualization@freebsd.org Message-ID: <6ae7be3e-b20a-2b67-ed61-b78ca55d8eee@gmx.at> Date: Wed, 7 Apr 2021 13:16:47 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K1:Du27yZWEMmR2ieL1QpqHhX5GvU8a0VL5XHCllDwUhfoV1Y5/+dY OSiKGQjxnPqDHWkxkBhnXIiBP9vAyTzJdhQiAtTJkDLZZv1UoqAEyghbQsyJHCLFvWYY/xj 2jgT1lX9UjVpXZgGoGbtOphdTGiKqUAxvHDb2eqEPTNfDJ+yuY+h5UgiUvTmoywXSB0ourG QrArE1YIbxZINdeGcLEOA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:aR3EfNR21X4=:EgHU7SjucueVRCfxR69ZK+ Btq2+rT7+j3qDHOlY0riqixX4HLHBb2dDrkwTvH3x0yfO/xSHTOwUbzEDUAkWdU4fnx9n2v3d YkjwmZrT1v7tlcjjav90DztWab/rQMfDYED4zWFL5UbprUgYBKJZg2sQ2O6avDLe8ZjmSNvi5 Dn5D4CELZZFrOz0aSTzou0Pa+liH+Q6ox8uRug0ITT9PXt1VfzbjYcWHzyo3pRlKqy657OMOe xOGfxNBWjogXB18/UnlW+5FnaBh4SSz10NbnCjig6Y5Vr300T8v4fUldaH+6kHGLt0FfG48GA v2gRGW4aIlsIgDj06b86hpLvjCeqXW2cuxK8VZbDTbY55j36FeE1cpPGPrVZFTo4NEVTbPdkW FuXrlXN9Bq2x1lXAYOjzf01OAexnynB2v4CSrG2qnepIfoYPfATzFuoj1M5xo1F3NU12vFfyk pSpgbdzC2mWE2jdpUwjh0jY/scs+cwzxLI+vzWNXu8W+RoIlpFX9vAvAOx9Nm6JPvToIJRa/f kng8Td6d/TKCLBb75Ccn6ysrRG2ja+p/RqXucSi8Gz4Jy8b71XZGnzS38eh3ESrLNglvD5ejo kmEtTM2kPln0H2tvjPP7OX6riMfkSk/VnzZ3OmGOE9v7yPO9Rg5ztBwzQvkwn1ougTVS0l3kT gDZ4bodOBx0wGUs69n9ZAv77aiofqooVnu346NG91BvboElKZVaJ0J0yagWBVfKN1W0o90VtL ZZLhIqSgXi51Djw6RjIE/25Bn5em7UCJY0Yi22Nno1eqdrDfFDhXXpORCqc1B85C85jfNFfP2 noxKUCMaofYtJYX/EBQZycPXJtoK9IBOrEpF6fnERsAlTkBNJqBMhbCZyhpePg7OKk8hrk/lJ ZZYF/l2dih+WbIq8xkwJzCCXaYasHYOzh8OiRuAJTxdZi8WONvzYVrYxUPNIjLZ81Tl6mUaBO /UAwxs60ZvQScwAFk46Sex/BEbaW7X67PgGZX7HK0j8eIyA/gk1LrksRpb/SmnOBb9xlWnuZ7 le/U3+ZeXB/VhkstjOyO/vX/eG2QcUGniFaMOvD/LIi8MKSBqoDZquOHwsqDFEDTzc4lB7gll n0E14ZG3he8PtgfUy93YWMAgD/CEuU31hJ2Cd+IdC39HEsjNaGfcnM6TT85bj8qMEENElsmVj isJU9OT51siWc2QheAoktgGLvEkgo2MNEAVxVRPCG6td7GHHEHLLcjCDGZQEVpyL2fzK8= X-Rspamd-Queue-Id: 4FFhg63sxXz4sj7 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=CymxsIPz; dmarc=pass (policy=none) header.from=gmx.at; spf=pass (mx1.freebsd.org: domain of infoomatic@gmx.at designates 212.227.17.21 as permitted sender) smtp.mailfrom=infoomatic@gmx.at X-Spamd-Result: default: False [-0.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmx.at]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; DMARC_POLICY_ALLOW(-0.50)[gmx.at,none]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.21:from]; FROM_EQ_ENVFROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.17.21:from]; FREEMAIL_ENVFROM(0.00)[gmx.at]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[212.227.17.21:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[1.000]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.21:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 07 Apr 2021 11:16:51 -0000 Hi, I just wanted to share my experience with bhyve + windows, maybe someone has had the same experience or wants to instruct me to further debug this, also a comment on why this is not working is welcome ;-) While I run a Windows 10 VM in bhyve successfully on my Ryzen 7 3700X, I tried to install Windows 10 on my oldish Intel i7-2600K. I used vm-bhyve the same way I did on my Ryzen. During installation, the VM crashed a few times, but starting it again recovered everything. I could log in, but as soon as I try to update Windows it starts downloading the updates, after a few minutes the CPU (tried with single core and multi core; on the host: HT is disabled) is at 100%, the mouse does not move (via VNC), and RDP connections to the VM just stall. No matter what I try do, after a few minutes the VM starts this behaviour. I tried various disk configurations (nvme, ahci-hd, and virtio-blk - virtio-blk does work with drivers version 0.1.185, but not with 0.1.190). I have also tried different installation isos - Win10_1909 and the current Win10_20H2_v2. The host is 12.2-RELEASE-p6. Ideas, comments etc. appreciated, thanks! Regards, Robert [1] the vm-bhyve config win.conf: loader="uefi" cpu=2 memory=8G ahci_device_limit="8" network0_type="e1000" network0_switch="public" disk0_type="virtio-blk" disk0_name="disk0.img" utctime="no" uuid="0ecae4ff-96f8-12ab-a7f3-f46d0497f913" network0_mac="58:9c:fc:ff:ab:78" graphics="yes" xhci_mouse="yes" graphics_listen="192.168.1.4" graphics_port="5911" bhyve_options="-w -S -H" From owner-freebsd-virtualization@freebsd.org Wed Apr 7 15:30:39 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 72F3F5BA88A for ; Wed, 7 Apr 2021 15:30:39 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFpHy40Mdz3l6P for ; Wed, 7 Apr 2021 15:30:38 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: by mail-lf1-x133.google.com with SMTP id n138so29227119lfa.3 for ; Wed, 07 Apr 2021 08:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:subject:message-id:mime-version :content-disposition; bh=aJBdBi40lgDS8hUO1xiwTYtn+VFuHCJYugYd5iz0iLw=; b=X/m+GDyl9aEUip9KK/Z1SCypSYFFlYYnm92KJjWIZw37j3s5fdIEk5nCrJxWjeka+Q pUUr8vVP+XT2wM3V0byFF56nTOxoGsaeoPSugjZX+LUYoM1PJvyc7ph5CEd9RwJGdmEt OExgVW5FWM+vWgHMgidtrwNLKjxmsGo+TnQTsyLAkmJlXfJjpd9HmgSLEic01sWC/+vO pEeYtp/WW3bqaX0HGzncCCsQzBWcC0wcY3lIIdzEPw8yzcj0xHyeV415E58cmiPjMTaN 4wAwMVONmP9pxq5u8w7pCUu/dzC6h1vR9sqNWAehho7ikl1TMJ3SD6dHr3PpjWcoYO3u HjNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:subject:message-id :mime-version:content-disposition; bh=aJBdBi40lgDS8hUO1xiwTYtn+VFuHCJYugYd5iz0iLw=; b=LRVVDKaoZfzMTxHd50WlbcUX//4YS83cXL2rx4Rf3jRXbd3vF81rXZHh+KoTkVDjwD XAFzrzaWaJ8mdHanDjelZ6ZGbddNzh0HwqL/M3XUdbc850NfgVRRblcPMCmlJiX70g/S pw+EGvCX488G6gEjqpaGa1TugF1xiWiob4F3hvPlbnX2feV+nGANgety3gKDkWh3fhlR THDQkBlKOoa7oILhdyIId2GCq1EyLiDZl/ynDLQKpmYxq4C6A0vCNia6HSx6yR97XyU0 87fgA6JnV6dSOKzS/HNGIPBSh4+qv97kmfKSh6FlXqg4kvH+nfz8vXLIg8CZU3IE8+b4 bWVg== X-Gm-Message-State: AOAM533QOrkg+7mcvnGW+3Vgjs1qyxdGnwW98RzJotwhUmeOyvwtdixP t1t8lEm9Iismn4TiykDohA/CLbblt8m4nA== X-Google-Smtp-Source: ABdhPJxBPwEZxatf85pqRIRltyTdwSLAUHA/Wap2KsTpAc/vej+nkn9mhrVWEBXdERdiTwVlp1IMtQ== X-Received: by 2002:a05:6512:3132:: with SMTP id p18mr2736001lfd.642.1617809435931; Wed, 07 Apr 2021 08:30:35 -0700 (PDT) Received: from kloomba ([5.227.221.57]) by smtp.gmail.com with ESMTPSA id j22sm2527697lfr.37.2021.04.07.08.30.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Apr 2021 08:30:35 -0700 (PDT) Sender: Roman Bogorodskiy Date: Wed, 7 Apr 2021 19:30:25 +0400 From: Roman Bogorodskiy To: freebsd-virtualization@freebsd.org Subject: bhyve: regression in virtio-9p option parsing Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NM/+hEyntSvwDaB0" Content-Disposition: inline X-Rspamd-Queue-Id: 4FFpHy40Mdz3l6P X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=X/m+GDyl; dmarc=none; spf=pass (mx1.freebsd.org: domain of bogorodskiy@gmail.com designates 2a00:1450:4864:20::133 as permitted sender) smtp.mailfrom=bogorodskiy@gmail.com X-Spamd-Result: default: False [-4.79 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; NEURAL_HAM_SHORT(-0.99)[-0.985]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[novel@freebsd.org,bogorodskiy@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[5.227.221.57:received]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[novel@freebsd.org,bogorodskiy@gmail.com]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::133:from]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::133:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::133:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 07 Apr 2021 15:30:39 -0000 --NM/+hEyntSvwDaB0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I'm noticing a behavior that looks like a regression in virtio-9p option parsing. I have a command line that has been working for me for a while, relevant part is: bhyve ... -s 7:0,virtio-9p,distfiles=/workspace/distfiles ... At some point it started to fail with: virtio-9p: more than one share name given Even though there's only one share name. As I can see, the relevant code for that is: static int pci_vt9p_legacy_config(nvlist_t *nvl, const char *opts) { char *sharename, *tofree, *token, *tokens; if (opts == NULL) return (0); tokens = tofree = strdup(opts); while ((token = strsep(&tokens, ",")) != NULL) { if (strchr(token, '=') != NULL) { if (sharename != NULL) { EPRINTLN( "virtio-9p: more than one share name given"); return (-1); } sharename = strsep(&token, "="); set_config_value_node(nvl, "sharename", sharename); set_config_value_node(nvl, "path", token); } else set_config_bool_node(nvl, token, true); } free(tofree); return (0); } And it fails at the first iteration, likely because the sharename was not initialised and points to some arbitrary non-NULL value. Explicitly setting it to NULL like this: diff --git a/usr.sbin/bhyve/pci_virtio_9p.c b/usr.sbin/bhyve/pci_virtio_9p.c index e27159eb22cb..830e13878a71 100644 --- a/usr.sbin/bhyve/pci_virtio_9p.c +++ b/usr.sbin/bhyve/pci_virtio_9p.c @@ -232,7 +232,7 @@ pci_vt9p_notify(void *vsc, struct vqueue_info *vq) static int pci_vt9p_legacy_config(nvlist_t *nvl, const char *opts) { - char *sharename, *tofree, *token, *tokens; + char *sharename = NULL, *tofree, *token, *tokens; if (opts == NULL) return (0); appears to fall back to the normal behavior: it accepts a single share name just fine, but shows that error if I try to specify more than one share name, e.g.: -s 7:0,virtio-9p,distfiles=/workspace/distfiles,foo=bar It looks like the regression was introduced by the global variables commit (https://reviews.freebsd.org/D26035). The old code had "char *sharename = NULL". Roman Bogorodskiy --NM/+hEyntSvwDaB0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEi6TfKtFPmbY34ABwyW1f/gjCImoFAmBt0A4ACgkQyW1f/gjC ImoPjwf/WUHc/7A2HuZcDNS+V39ZgqvQmGw/3dy7yRqXGY/dNhQJKvcesd1qRF3K 3HXbW6aQ150qXSq86fdI3HVoCuAnqKSaLuEOieKOpu3stMnuyY/We86ewHwiGd5W yDsl6SK2RY0Dgl+NRTBFUxaGOdC9PGSbIYNR+G6Fw5/b7DlpkJWUwQceKIHkj+8O Ow7pjoor9V7UyHttCIIiH+0VIppbte4z0GqNSL7+UzVGh87ghJ0pgWKBPwHtCqkp 3HeU5XuTu+tB7FKet2pe3MsvV4Q9lXsNrX8X6pP6fOCAAb/6H0u2fggS5m8prJ8h u2dN5+I+YPUpZQIPFQrmhbWNIBTY2A== =/aLQ -----END PGP SIGNATURE----- --NM/+hEyntSvwDaB0-- From owner-freebsd-virtualization@freebsd.org Thu Apr 8 00:38:39 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F1E0C5C916D for ; Thu, 8 Apr 2021 00:38:39 +0000 (UTC) (envelope-from SRS0=OThS=JF=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from vito-vars.onthenet.com.au (vito-vars.OntheNet.com.au [203.13.68.24]) (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 4FG2SG6218z3Htx for ; Thu, 8 Apr 2021 00:38:38 +0000 (UTC) (envelope-from SRS0=OThS=JF=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by vito-vars.onthenet.com.au (Postfix) with ESMTPS id 3621520B4BB2 for ; Thu, 8 Apr 2021 10:38:29 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 1E94C209E421 for ; Thu, 8 Apr 2021 10:38:29 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 15E12213EB08 for ; Thu, 8 Apr 2021 10:38:29 +1000 (AEST) Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id R5BjBIuu8gQD for ; Thu, 8 Apr 2021 10:38:29 +1000 (AEST) Received: from MacBook-Air-4.local (unknown [120.29.48.160]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id E353E213EB00; Thu, 8 Apr 2021 10:38:28 +1000 (AEST) Subject: Re: bhyve: regression in virtio-9p option parsing To: Roman Bogorodskiy References: Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: Date: Thu, 8 Apr 2021 10:38:27 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=BZdDLol2 c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=3Ck/IrRnVhCx8hPbmLB4Dw==:17 a=N659UExz7-8A:10 a=3YhXtTcJ-WEA:10 a=3YLw0sGB6tBBMPxcxDoA:9 a=pILNOxqGKmIA:10 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=B/4iLNlM c=1 sm=1 tr=0 a=mJOSnoNX3k71adV6TmU0eQ==:117 a=3Ck/IrRnVhCx8hPbmLB4Dw==:17 a=N659UExz7-8A:10 a=3YhXtTcJ-WEA:10 a=3YLw0sGB6tBBMPxcxDoA:9 a=pILNOxqGKmIA:10 X-Rspamd-Queue-Id: 4FG2SG6218z3Htx X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=OThS=JF=freebsd.org=grehan@iredmail.onthenet.com.au has no SPF policy when checking 203.13.68.24) smtp.mailfrom=SRS0=OThS=JF=freebsd.org=grehan@iredmail.onthenet.com.au X-Spamd-Result: default: False [-1.80 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[203.13.68.24:from]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[freebsd.org]; SPAMHAUS_ZRD(0.00)[203.13.68.24:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[grehan@freebsd.org,SRS0=OThS=JF=freebsd.org=grehan@iredmail.onthenet.com.au]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:9313, ipnet:203.13.68.0/23, country:AU]; FROM_NEQ_ENVFROM(0.00)[grehan@freebsd.org,SRS0=OThS=JF=freebsd.org=grehan@iredmail.onthenet.com.au]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 08 Apr 2021 00:38:40 -0000 Hi Roman, > diff --git a/usr.sbin/bhyve/pci_virtio_9p.c b/usr.sbin/bhyve/pci_virtio_9p.c > index e27159eb22cb..830e13878a71 100644 > --- a/usr.sbin/bhyve/pci_virtio_9p.c > +++ b/usr.sbin/bhyve/pci_virtio_9p.c > @@ -232,7 +232,7 @@ pci_vt9p_notify(void *vsc, struct vqueue_info *vq) > static int > pci_vt9p_legacy_config(nvlist_t *nvl, const char *opts) > { > - char *sharename, *tofree, *token, *tokens; > + char *sharename = NULL, *tofree, *token, *tokens; > > if (opts == NULL) > return (0); This looks fine to commit. later, Peter. From owner-freebsd-virtualization@freebsd.org Thu Apr 8 10:52:37 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 925F25D839B for ; Thu, 8 Apr 2021 10:52:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FGJ4j3TfPz4lQx for ; Thu, 8 Apr 2021 10:52:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 776225D839A; Thu, 8 Apr 2021 10:52:37 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 772815D81CB for ; Thu, 8 Apr 2021 10:52:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FGJ4j1txDz4lTQ for ; Thu, 8 Apr 2021 10:52:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 33C14F1D for ; Thu, 8 Apr 2021 10:52:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 138Aqbsq040210 for ; Thu, 8 Apr 2021 10:52:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 138AqbCB040209 for virtualization@FreeBSD.org; Thu, 8 Apr 2021 10:52:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 218715] e1000 emulation in bhyve will lock up under Windows guests Date: Thu, 08 Apr 2021 10:52:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: spam123@bitbert.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.34 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, 08 Apr 2021 10:52:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218715 --- Comment #2 from rob2g2 --- ran into the same problem on a 12.2-RELEASE-p6 system. Windows sometimes crashes after a few minutes, and bhyve exiting shows: rdmsr to register 0x3a on vcpu 0 e82545: TSO hdrlen too small for vlan insertion (0 vs 12) -- dropped e82545: TSO hdrlen too small for vlan insertion (0 vs 12) -- dropped Assertion failed: (dtype =3D=3D ntype), function e82545_transmit, file /usr/src/usr.sbin/bhyve/pci_e82545.c, line 1137. Abort trap rdmsr to register 0x3a on vcpu 0 Segmentation fault --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Apr 8 10:53:55 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7C1D35D8513 for ; Thu, 8 Apr 2021 10:53:55 +0000 (UTC) (envelope-from infoomatic@gmx.at) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FGJ6B2MnLz4m26 for ; Thu, 8 Apr 2021 10:53:53 +0000 (UTC) (envelope-from infoomatic@gmx.at) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617879232; bh=V/JVd0DjHGZmCqjNj9cumfzAMH1Trh7YdaTz/qTWLPo=; h=X-UI-Sender-Class:Subject:From:To:References:Date:In-Reply-To; b=GRJFE2bnMCgxWwSfbGHEomun+/oN4muV5OnoWdXMGShhPLCj+J4rA9crm8dp5oTAt 8HJmUsiT8rQHxBJzmfxo0PmTcpxJi6UJble8PlbPResHNHLw/7Ft+zJw2DoEyiB6p7 6iu8ZITsdC/mmbs7augIr9XaKrk2barTZuyJzkBA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [10.0.1.209] ([178.114.226.171]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MeU4y-1m2Q4K0KLU-00aXD9 for ; Thu, 08 Apr 2021 12:53:52 +0200 Subject: Re: bhyve + windows unusable From: infoomatic To: freebsd-virtualization@freebsd.org References: <6ae7be3e-b20a-2b67-ed61-b78ca55d8eee@gmx.at> Message-ID: <4576e000-6acf-b547-8177-eb76fc9f4cd5@gmx.at> Date: Thu, 8 Apr 2021 12:53:51 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <6ae7be3e-b20a-2b67-ed61-b78ca55d8eee@gmx.at> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Provags-ID: V03:K1:tp7tmHYJuADUVzp7FUs6rBnACWvrYCt8hCqeKkjmi1UHedDy/gv UVvLBc7OPsKRQQlzt5PdSEsfaXph4ltuBOywI2XH55NX+iuol+GfAnPUw7klE5bvXLddcYZ FI3WJL9oBbNRm/H/YTWbWsjYsjLak7dgSex6BMfeSz0nIFdDNB+bw2k1yTbZoAYIfQNNG3s KSOymW/72St9tPgSOvRKA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:sTJJ8JfChQk=:QQJHzt5zv25LcXVmavTSXA FbqSt6TQz8dBvP5NqIAXpMmTuvuU9f7/mNwXwWEi4EtZADaY+fbbtUEVoN7cWpBUUqnF+YlMn z5pgMWADbsIOjJK1/VYU9rU4v2p3DHHiA/RDb7ngKwxhslbQWa8UdI7qWkO1aGmAAbpOf6gvA 0Ks6OkYaYX6mfkJMyKKG0Uv6o5FWST4rr0gWkoqajFN5tGko8XkkQaDJURxoj85NZsrJfQS8N W4fKCnKg1QNveKV6U7A+3k5wj+bpdsOSUx2cUczymuDuGygTN2pyAyA48xAKhmp6PnlHi3kH2 M/Se1q6H7TOjLSMttpBxT74W8rR+Ve6R79tpvkGl5wn/vDynOU0xkl9yZ9iFGgCtC/euEMDN+ bcGw6Rr3okXzI9hVQkIAYvBpHDCgAvZpkbT2twv5Lh9BB6a7ZplLCRMoRdeULMlPyAriFjP/S VvwY2auldpWhw1Qv+RTclgzsGKK832NzSszLaGrcYHUT2GT6wP8ttKIPe2uOh94yuaYCzJeM5 OV523Zhl5ibcmmrFyPzkHBvW/xN/M+98TvV2GkxzoXdwTm6Zw/Lb7Kv/VY/DTe4qvvSWN9ezm tCmn+jW4oOyzHy9s7aYfoznbdS5T30HQ6CM8UflwtGb4MUTUkXjT8g8LtnLB6rPpwJ7/YEVrt D0bvj3HUSBbSxJVxfPvgyiSokf/s5LczBm84vj+0yjw7OAwinQYSI0V+ZQIViZlAmUtc+Y9my 86KQNfjOanfxYxbhYgMr98YpdRPnmykFiwlB6dDYIfDFVOcokYnLyD3UM//5s4ytBlUZqFsVl rEUi3kBd7uc6/vOJMFEFQro7vnXZzjhhW6bkV8s16VEafW/fiuXyaEd7XF3g2hS28rvNt8drR slXcrSE9z90/n8D81aQMOGmpDz+jXCEXZUozAGPlEJ5mL7TssfIgvnravC12VmBUOvHdUltLK dSJjJuWjDFpjLliPGpqlohB9xmHRTrucZTxTzC2nyLxW4ZZHkNjMxjoOzBNTlPYTHmvriRCBR DhlSNUbMcXdr4vwOYvaCHDkmrwyL9172ft9Lgc2ZVfXZRvUuHR4NSgz8k7BmV0jUr+ViIcfAC pPo0R7jQ5TPJN542bcwHmIW6XvUx6DpKXOVbvZ45mfm9zoH+VinmZWE7YO5e+H2rg6npugZZ/ cP7245u9NfgrVDj2eNpAeBXbXmVG0ZIFSrhQEONCFY3Z2YtrDx2QCBPKYo+DpHWYE14NE= X-Rspamd-Queue-Id: 4FGJ6B2MnLz4m26 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=GRJFE2bn; dmarc=pass (policy=none) header.from=gmx.at; spf=pass (mx1.freebsd.org: domain of infoomatic@gmx.at designates 212.227.17.22 as permitted sender) smtp.mailfrom=infoomatic@gmx.at X-Spamd-Result: default: False [-4.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmx.at]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; DMARC_POLICY_ALLOW(-0.50)[gmx.at,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.22:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmx.at]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.17.22:from]; RWL_MAILSPIKE_NEUTRAL(0.00)[212.227.17.22:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[212.227.17.22:from:127.0.2.255]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 08 Apr 2021 10:53:55 -0000 On 07.04.21 13:16, infoomatic wrote: > but as soon as I try to update Windows it starts downloading the > updates, after a few minutes the CPU (tried with single core and multi > core; on the host: HT is disabled) is at 100%, the mouse does not move > (via VNC), and RDP connections to the VM just stall. No matter what I > try do, after a few minutes the VM starts this behaviour. It seems like there is an issue with the e1000 driver I have used, bhyve aborts with rdmsr to register 0x3a on vcpu 0 e82545: TSO hdrlen too small for vlan insertion (0 vs 12) -- dropped e82545: TSO hdrlen too small for vlan insertion (0 vs 12) -- dropped Assertion failed: (dtype =3D=3D ntype), function e82545_transmit, file /usr/src/usr.sbin/bhyve/pci_e82545.c, line 1137. Abort trap rdmsr to register 0x3a on vcpu 0 Segmentation fault When using virtio-net the VM works without flaws, found the corresponding bug (218715) and commented. From owner-freebsd-virtualization@freebsd.org Thu Apr 8 14:42:28 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4A8815DE40A for ; Thu, 8 Apr 2021 14:42:28 +0000 (UTC) (envelope-from matt.home@userve.net) Received: from smtp-a.userve.net (smtp-outbound.userve.net [217.196.1.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.userve.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FGP9v1xVvz3LxF for ; Thu, 8 Apr 2021 14:42:26 +0000 (UTC) (envelope-from matt.home@userve.net) Received: from webmail.userve.net (unknown [192.168.100.200]) by smtp-a.userve.net (Postfix) with ESMTPA id 6CCAD238420 for ; Thu, 8 Apr 2021 15:42:18 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=userve.net; s=uk1; t=1617892938; bh=IILIoVKu5dRDtuMoD9P8RlBNNji8Zd0QFIkU0I6LcvE=; h=Date:From:To:Subject; b=qQzclPqEpILIbTxvgWUByXcfIVej6WZu4m0dve43nVwOADK67wrowgsO4JMtsWfhF 05R6Me+T/Ut2kWBMgjFrLJi02Lgyu0Hf11rK52gJhLif2rOUEXMjAtzUq7iVd3EwSM pNdV/EPHG6m8CcOq4SGyS4AGrIuk488BJCPCNIyI= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 08 Apr 2021 15:42:18 +0100 From: Matt Churchyard To: freebsd-virtualization@freebsd.org Subject: bhyve current windows status User-Agent: Roundcube Webmail/1.4.0 Message-ID: <7850c18aba62e6150f227f3c1168974c@userve.net> X-Sender: matt.home@userve.net X-Rspamd-Queue-Id: 4FGP9v1xVvz3LxF X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=userve.net header.s=uk1 header.b=qQzclPqE; dmarc=none; spf=pass (mx1.freebsd.org: domain of matt.home@userve.net designates 217.196.1.22 as permitted sender) smtp.mailfrom=matt.home@userve.net X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[217.196.1.22:from]; R_DKIM_ALLOW(-0.20)[userve.net:s=uk1]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.196.1.0/24]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[217.196.1.22:from:127.0.2.255]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[userve.net:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[userve.net]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20652, ipnet:217.196.0.0/20, country:GB]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-Mailman-Approved-At: Thu, 08 Apr 2021 19:16:41 +0000 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 08 Apr 2021 14:42:28 -0000 Hello, I'm after some general information on the current status/best practises for Windows on bhyve. Not entirely the correct place for this but then at the moment no-one else seems to really know the answers. Maybe I can help some of the other people who are just as unclear as me on what is actually the best information at this point. What are the current recommended devices/options for Windows (2019 server in my case) - especially with ZFS. Should I be specifying a 512/4096 sector/block size via bhyve and/or zfs? I assume nvme & virtio-net are the current best options but is there a preferred virtio driver version. Are any of the other virtio drivers of any use to be installed or just the network drivers? Are there any known problems with applications like AD/Exchange? I know that SQL 2012 had massive storage overhead issues on ZFS due to 512 byte writes, but I'm not sure if that still affects newer versions or other applications? The system I am currently using is a Xeon E5-2670, which I know was terrible before the TPR commit. My test system seems to run reasonably on 12.2 (although I'd be intruiged to compare against ESXi if I had the time), but do you think I would expect to see any significant gains by using a CPU with APICv? (not that I expect anyone has done any benchmarking of this) Are there any other changes in being worked on that are likely to have an impact on support or performance? I believe quite a bit of work is being done on the UEFI firmware but I expect that doesn't really affect much other than the boot process. I'm sure I saw reference to the devs having regular bhyve calls, but I have little idea what is currently being worked on. Thanks for any replies, Matt From owner-freebsd-virtualization@freebsd.org Thu Apr 8 21:03:49 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C81175BF888 for ; Thu, 8 Apr 2021 21:03:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FGYdx4yM8z4d5K for ; Thu, 8 Apr 2021 21:03:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A86B15BF5D6; Thu, 8 Apr 2021 21:03:49 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A83685BF5D5 for ; Thu, 8 Apr 2021 21:03:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FGYdx4JWpz4d32 for ; Thu, 8 Apr 2021 21:03:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 86ED2113FD for ; Thu, 8 Apr 2021 21:03:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 138L3nil050748 for ; Thu, 8 Apr 2021 21:03:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 138L3nKx050747 for virtualization@FreeBSD.org; Thu, 8 Apr 2021 21:03:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 251046] bhyve PCI passthrough does not work inside jail Date: Thu, 08 Apr 2021 21:03: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: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: peter@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.34 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, 08 Apr 2021 21:03:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251046 Peter Wemm changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peter@FreeBSD.org --- Comment #5 from Peter Wemm --- Perhaps I'm missing the point, but rather than punching a giant hole in the jail security model (ie: by giving unconstrained ring 0 / kernel privileges= to jailed processes), would it not be better to run these development/testing bhyve userland components in a simple chroot environment? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Apr 9 06:30:17 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F5C15CCC93 for ; Fri, 9 Apr 2021 06:30:17 +0000 (UTC) (envelope-from SRS0=Hk7V=JG=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from vito-vars.onthenet.com.au (vito-vars.OntheNet.com.au [203.13.68.24]) (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 4FGpCW62lJz3sDr for ; Fri, 9 Apr 2021 06:30:14 +0000 (UTC) (envelope-from SRS0=Hk7V=JG=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by vito-vars.onthenet.com.au (Postfix) with ESMTPS id 304DA20B6244 for ; Fri, 9 Apr 2021 16:30:04 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 16FB1209E420 for ; Fri, 9 Apr 2021 16:30:04 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 09D10213F302 for ; Fri, 9 Apr 2021 16:30:04 +1000 (AEST) Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2NbW4khrVnaX for ; Fri, 9 Apr 2021 16:30:03 +1000 (AEST) Received: from MacBook-Air-4.local (unknown [120.29.48.160]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 88076213F301; Fri, 9 Apr 2021 16:30:03 +1000 (AEST) From: Peter Grehan Subject: Re: bhyve current windows status To: Matt Churchyard Cc: freebsd-virtualization@freebsd.org References: <7850c18aba62e6150f227f3c1168974c@userve.net> Message-ID: <4d863f34-6df0-0b0a-f487-e492324e8752@freebsd.org> Date: Fri, 9 Apr 2021 16:30:03 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <7850c18aba62e6150f227f3c1168974c@userve.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=BZdDLol2 c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=3Ck/IrRnVhCx8hPbmLB4Dw==:17 a=IkcTkHD0fZMA:10 a=3YhXtTcJ-WEA:10 a=6I5d2MoRAAAA:8 a=6F8zO02caA3Kob7CTH4A:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=B/4iLNlM c=1 sm=1 tr=0 a=mJOSnoNX3k71adV6TmU0eQ==:117 a=3Ck/IrRnVhCx8hPbmLB4Dw==:17 a=IkcTkHD0fZMA:10 a=3YhXtTcJ-WEA:10 a=6I5d2MoRAAAA:8 a=6F8zO02caA3Kob7CTH4A:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 X-Rspamd-Queue-Id: 4FGpCW62lJz3sDr X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=Hk7V=JG=freebsd.org=grehan@iredmail.onthenet.com.au has no SPF policy when checking 203.13.68.24) smtp.mailfrom=SRS0=Hk7V=JG=freebsd.org=grehan@iredmail.onthenet.com.au X-Spamd-Result: default: False [-1.80 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[203.13.68.24:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[203.13.68.24:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[grehan@freebsd.org,SRS0=Hk7V=JG=freebsd.org=grehan@iredmail.onthenet.com.au]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:9313, ipnet:203.13.68.0/23, country:AU]; FROM_NEQ_ENVFROM(0.00)[grehan@freebsd.org,SRS0=Hk7V=JG=freebsd.org=grehan@iredmail.onthenet.com.au]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 09 Apr 2021 06:30:17 -0000 Hi Matt, > I'm after some general information on the current status/best practises > for Windows on bhyve. Not entirely the correct place for this but then > at the moment no-one else seems to really know the answers. Maybe I can > help some of the other people who are just as unclear as me on what is > actually the best information at this point. This is as good a place as any. > What are the current recommended devices/options for Windows (2019 > server in my case) - especially with ZFS. Should I be specifying a > 512/4096 sector/block size via bhyve and/or zfs? I assume nvme & > virtio-net are the current best options but is there a preferred virtio > driver version. Are any of the other virtio drivers of any use to be > installed or just the network drivers? nvme - yes. I'll leave the sector/block size issues to others. I don't touch any of those params but don't use enough Windows apps to make a qualified call. No need for other virtio drivers. For virtio-net, the recommendation is to use the latest one. > Are there any known problems with applications like AD/Exchange? I know > that SQL 2012 had massive storage overhead issues on ZFS due to 512 byte > writes, but I'm not sure if that still affects newer versions or other > applications? As above, I'll leave it up to others to chime in here. > The system I am currently using is a Xeon E5-2670, which I know was > terrible before the TPR commit. My test system seems to run reasonably > on 12.2 (although I'd be intruiged to compare against ESXi if I had the > time), but do you think I would expect to see any significant gains by > using a CPU with APICv? (not that I expect anyone has done any > benchmarking of this) It's been a long while since I've benchmarked APICv, and have never benched it on Windows, but my expectation is it won't make a lot of difference unless you have a very i/o intensive workload. > Are there any other changes in being worked on that are likely to have > an impact on support or performance? No. The main focus for Windows guests right now is GPU passthru. > I believe quite a bit of work is > being done on the UEFI firmware but I expect that doesn't really affect > much other than the boot process. I'm sure I saw reference to the devs > having regular bhyve calls, but I have little idea what is currently > being worked on. You can always ask here. For interactive response, there's the bhyve office hours which you are most welcome to participate in: https://wiki.freebsd.org/bhyve/OfficeHours later, Peter. From owner-freebsd-virtualization@freebsd.org Fri Apr 9 06:43:17 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 70BA65CD110 for ; Fri, 9 Apr 2021 06:43:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FGpVY2Ylwz3sgZ for ; Fri, 9 Apr 2021 06:43:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 57EB15CCECC; Fri, 9 Apr 2021 06:43:17 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 57B205CCD62 for ; Fri, 9 Apr 2021 06:43:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FGpVY1xp8z3t3x for ; Fri, 9 Apr 2021 06:43:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 360F819619 for ; Fri, 9 Apr 2021 06:43:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1396hH4i045579 for ; Fri, 9 Apr 2021 06:43:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1396hHtI045578 for virtualization@FreeBSD.org; Fri, 9 Apr 2021 06:43:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254695] Hyper-V: Kernel Panic: Assertion in_epoch(net_epoch_preempt) failed at netinet/tcp_lro.c:915 Date: Fri, 09 Apr 2021 06:43:17 +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: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: weh@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.34 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, 09 Apr 2021 06:43:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254695 Wei Hu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |weh@microsoft.com --- Comment #6 from Wei Hu --- It hit this assert in tcp_lro.c 911 tcp_lro_lookup(struct lro_ctrl *lc, struct lro_entry *le) 912 { 913 struct inpcb *inp =3D NULL; 914 915 NET_EPOCH_ASSERT(); <--- panic here 916 switch (le->eh_type) { How often does it occur? I am not familiar to the lro and epoch code. the HyperV hn driver had couple commit since March 12. The commits are about RSC support for packets from same host. Is the NFS server VM running on the same Hyper-V host? If it is easy for your reproduce on the current build, can you try any build before March 12 to see if it is reproducible? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Apr 9 10:30:58 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D6F975D40DE for ; Fri, 9 Apr 2021 10:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FGvYG5M1Jz4Z3b for ; Fri, 9 Apr 2021 10:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B7B875D3DF5; Fri, 9 Apr 2021 10:30:58 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B77B75D3DF2 for ; Fri, 9 Apr 2021 10:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FGvYG4dh5z4ZFW for ; Fri, 9 Apr 2021 10:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 928DE1C4A2 for ; Fri, 9 Apr 2021 10:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 139AUwrT059383 for ; Fri, 9 Apr 2021 10:30:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 139AUwDV059382 for virtualization@FreeBSD.org; Fri, 9 Apr 2021 10:30:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254695] Hyper-V: Kernel Panic: Assertion in_epoch(net_epoch_preempt) failed at netinet/tcp_lro.c:915 Date: Fri, 09 Apr 2021 10:30: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: CURRENT X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gbe@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.34 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, 09 Apr 2021 10:30:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254695 --- Comment #7 from Gordon Bergling --- (In reply to Wei Hu from comment #6) This panic occurs right at boot time when an NFS share is mounted. I have a 12-STABLE system, virtualized also via Hyper-V on the same Windows10 system, which acts as a NFS-server. I can try to bisect this, based on the timeframe from march 12 to april 1, but this will take some time. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Apr 9 13:05:38 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0348F5D7AF6 for ; Fri, 9 Apr 2021 13:05:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FGyzj6VBtz4hhb for ; Fri, 9 Apr 2021 13:05:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DEC0B5D7AF5; Fri, 9 Apr 2021 13:05:37 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD7005B8013 for ; Fri, 9 Apr 2021 13:05:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FGyzj5sChz4hQs for ; Fri, 9 Apr 2021 13:05:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BC3F71E849 for ; Fri, 9 Apr 2021 13:05:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 139D5bPJ040645 for ; Fri, 9 Apr 2021 13:05:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 139D5beP040644 for virtualization@FreeBSD.org; Fri, 9 Apr 2021 13:05:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 251046] bhyve PCI passthrough does not work inside jail Date: Fri, 09 Apr 2021 13:05:37 +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: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: cneirabustos@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.34 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, 09 Apr 2021 13:05:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251046 --- Comment #6 from neirac --- (In reply to Peter Wemm from comment #5) Currently illumos is able to do pci-passthrough with bhyve running inside a zone, that gives you an extra layer of security,if there is escape from the hypervisor then the attacker will land on a jail and not the host system. Here are relevant links on how is used on illumos : https://movementarian.org/blog/posts/2018-10-26-pci-pass-through-support-wi= th-bhyve-and-smartos/ https://www.cyber-tec.org/2019/05/29/using-bhyve-pci-passthrough-on-omnios/ I think it would be nice to have this feature on FreeBSD jails, as Mark sta= ted=20 "better solution would be to extend pci(4) so that bhyve can use it to do everything required for PCI passthrough." I would like to explore this option any pointer on how to start would be re= ally good. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Apr 9 16:11:42 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 792DD5BD18F for ; Fri, 9 Apr 2021 16:11:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FH36Q2qH6z4rV0 for ; Fri, 9 Apr 2021 16:11:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 60BF05BD18E; Fri, 9 Apr 2021 16:11:42 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 607BD5BCCEC for ; Fri, 9 Apr 2021 16:11:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FH36Q2CpVz4rrM for ; Fri, 9 Apr 2021 16:11:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3F5C021104 for ; Fri, 9 Apr 2021 16:11:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 139GBgxi032418 for ; Fri, 9 Apr 2021 16:11:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 139GBgcN032417 for virtualization@FreeBSD.org; Fri, 9 Apr 2021 16:11:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 251583] FreeBSD/EC2 breakage w/ encrypted EBS volumes Date: Fri, 09 Apr 2021 16:11:41 +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: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: a.dark.cloud@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.34 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, 09 Apr 2021 16:11:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251583 --- Comment #11 from Alan Cummings --- (In reply to Billy from comment #6) The workaround works well for me. thanks! A couple other things to note on the workaround: 1. You can save the workaround as a new image, and then deploy new *encrypt= ed* instances from that image. 2. You can also deploy *unencrypted* instances from the encrypted workaround image. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Apr 10 17:59:18 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4251C5D3C5E for ; Sat, 10 Apr 2021 17:59:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FHjS61Cqrz3q4j for ; Sat, 10 Apr 2021 17:59:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2801E5D3F5B; Sat, 10 Apr 2021 17:59:18 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 27C5D5D3F94 for ; Sat, 10 Apr 2021 17:59:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FHjS60ZN8z3q0Q for ; Sat, 10 Apr 2021 17:59:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 05D5215AA7 for ; Sat, 10 Apr 2021 17:59:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 13AHxHla018033 for ; Sat, 10 Apr 2021 17:59:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13AHxHhL018032 for virtualization@FreeBSD.org; Sat, 10 Apr 2021 17:59:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 252445] panics on ESXi triggered by update making devd(8) to load vmci(4) module Date: Sat, 10 Apr 2021 17:59:17 +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: 12.2-STABLE X-Bugzilla-Keywords: panic, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marcus@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.34 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, 10 Apr 2021 17:59:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252445 Joe Marcus Clarke changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marcus@FreeBSD.org --- Comment #14 from Joe Marcus Clarke --- Confirmed this patch worked for me on stable/12 on ESXi...so old I don't re= ally want to tell you (hint: it's still called ESX). Thanks for running this do= wn. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Apr 10 18:22:15 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2980F5D4813 for ; Sat, 10 Apr 2021 18:22:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FHjyb0RzHz3qpk for ; Sat, 10 Apr 2021 18:22:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0F7325D41FC; Sat, 10 Apr 2021 18:22:15 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F37D5D49C9 for ; Sat, 10 Apr 2021 18:22:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FHjyZ6zFlz3rBF for ; Sat, 10 Apr 2021 18:22:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E2BD516024 for ; Sat, 10 Apr 2021 18:22:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 13AIMEsn034700 for ; Sat, 10 Apr 2021 18:22:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13AIMEwO034699 for virtualization@FreeBSD.org; Sat, 10 Apr 2021 18:22:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 252445] panics on ESXi triggered by update making devd(8) to load vmci(4) module Date: Sat, 10 Apr 2021 18:22:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: panic, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.34 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, 10 Apr 2021 18:22:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252445 --- Comment #15 from Marek Zarychta --- I won't be able to help in this case anymore since moved the affected machi= ne from EOLed ESXi to bhyve. After the upgrade to stable/13 even more issues h= ave risen affecting both: stability and reliability of the VM (mostly due to problems with timecounter keeping and PF state table overflowing due to thi= s). The workaround for this bug is very simple, but the bug persistent, so PR w= hile still opened might be useful. The decision about closing it I leave over to= the Committers/Triggers team. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Apr 10 20:31:12 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 42A755D72FC for ; Sat, 10 Apr 2021 20:31:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FHmqN1Cw3z3wNv for ; Sat, 10 Apr 2021 20:31:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 278015D76D5; Sat, 10 Apr 2021 20:31:12 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 274225D72FB for ; Sat, 10 Apr 2021 20:31:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FHmqN0X43z4QlQ for ; Sat, 10 Apr 2021 20:31:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 054E217BD6 for ; Sat, 10 Apr 2021 20:31:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 13AKVB2r098629 for ; Sat, 10 Apr 2021 20:31:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13AKVBOi098628 for virtualization@FreeBSD.org; Sat, 10 Apr 2021 20:31:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 254956] Assertion fails when passing-through PCI device with large memory BAR Date: Sat, 10 Apr 2021 20:31:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: crowston@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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, 10 Apr 2021 20:31:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254956 Bug ID: 254956 Summary: Assertion fails when passing-through PCI device with large memory BAR Product: Base System Version: 13.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: crowston@protonmail.com Passing-through a PCI device with a large BAR (for instance, a GPU) fails w= hen the 0xfff... probe address is assigned to the BAR: bhyve exists with an assertion failed such as Assertion failed: (error =3D=3D 0), function modify_bar_registration, file /usr/src/usr.sbin/bhyve/pci_emul.c, line 501. During boot the system assigns the BAR a temporary address such that addr + size =3D 0xffffffff. It immediately restores the previous address. This is = not a problem for most PCI devices. However, when passing through a GPU, the temporary memory region is large enough to occupy space already taken by the high performance time counter. This causes the assertion to fail at run tim= e. I propose that when a probing address such as this is assigned to the BAR, = we do not attempt to intercept it at all. My proposal is here: https://reviews.freebsd.org/D29698 --=20 You are receiving this mail because: You are the assignee for the bug.=