From owner-freebsd-virtualization@freebsd.org Sun Aug 30 08:41:10 2020 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 A79153AACC3 for ; Sun, 30 Aug 2020 08:41:10 +0000 (UTC) (envelope-from ypankov@xsmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BfRd233fKz4vLt for ; Sun, 30 Aug 2020 08:41:10 +0000 (UTC) (envelope-from ypankov@xsmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 68FC63AB1C1; Sun, 30 Aug 2020 08:41:10 +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 68BF93AB203 for ; Sun, 30 Aug 2020 08:41:10 +0000 (UTC) (envelope-from ypankov@xsmail.com) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 4BfRd14Z3Nz4vZF for ; Sun, 30 Aug 2020 08:41:09 +0000 (UTC) (envelope-from ypankov@xsmail.com) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 496AF5C0108 for ; Sun, 30 Aug 2020 04:41:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 30 Aug 2020 04:41:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xsmail.com; h= subject:from:to:references:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=u jKxFukIPbkOm2mOp3ogcFWOrCaQdlzZ5qCeZb6uNsA=; b=lRlXnoEd7GyAUebz3 dboSliuPWh4qIxpQ+F6JtW2T/4ntLgpsFy83keY95/9XLi26zhpwYPDKSvaZnddC AyLwZfHF+s540MKJUIx7FKx8FpIFefxNovQvEOMNOW8p4fGhYLCL+K1sUpOA9jSO OCYjGm0/uuYI4Gdg1OCYkv9mOhFKguClFOGxKOpww51dOaWdDMrALAwEIhVYZF6f HmHoPTSwNTXEl+LZ7ZxKq09eMFRcBaoNH/vCz9/2lYevvJ6JogXyXAjbZ705PbkX IhARcc7HoXD9tIVKKrxHVFejoJ+WmM81LSmpocs8QkgmsCC8yeiicFNZiupUTMRh JSjzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding: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=fm3; bh=ujKxFukIPbkOm2mOp3ogcFWOrCaQdlzZ5qCeZb6uN sA=; b=rhOTyv3zswfW+kUhlY7J9MtCIonVC6YGCXOqK5XUNJ92Id2wXhAEUvzlF +3xpTWEicpd4U94sqPpZOS6X0Rl+qPPAaBg8H23YOz/y57FzCFRO9pYlOLHBgOx6 JLcMIywLZooO3ICm7taKFD+rer7TakRSuYOJ0490GUL39+uP4qGwhyGKTgZz9hhV tXjYMJJIZ3NrE81gqKww0FgzHOl9K84eq19tn+khQTGf/c5TG5l/F9nTFMDXtdkD vjIsGLejpk/Ysk7K5TS3OJkJL+rrEL/10z3NkIBlWVL8f1A8QlMkYcBxXlNCRuNH oiKWiWmbph9rXv55F5kuSSafVJgcw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeffedgtdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuhffvfhfkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpegjuhhrihcurfgrnhhkohhvuceohihprghnkhhovhesgihs mhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpefhtdfhveeggeegjeevffejleevke ffieehjeehgfelteetueffveejhfdvveevvdenucfkphepledurddvgedtrdduvdegrddu ledtnecuufhprghmkfhppfgvthifohhrkhepledurddvgedtrdduvdegrdduledtnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephihprghnkhho vhesgihsmhgrihhlrdgtohhm X-ME-Proxy: Received: from mercury.lan (unknown [91.240.124.190]) by mail.messagingengine.com (Postfix) with ESMTPA id AD631306005E for ; Sun, 30 Aug 2020 04:41:08 -0400 (EDT) Subject: Re: bhyve/e1000: Assertion failed: (dtype == ntype), function e82545_transmit with win10 guest From: Yuri Pankov To: virtualization@freebsd.org References: <82d1db05-2454-a045-62cb-e62117e3cb22@xsmail.com> Message-ID: <1efa232f-e9ba-869c-381f-fe1a45e961b7@xsmail.com> Date: Sun, 30 Aug 2020 11:41:07 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <82d1db05-2454-a045-62cb-e62117e3cb22@xsmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BfRd14Z3Nz4vZF X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=xsmail.com header.s=fm3 header.b=lRlXnoEd; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=rhOTyv3z; dmarc=pass (policy=none) header.from=xsmail.com; spf=pass (mx1.freebsd.org: domain of ypankov@xsmail.com designates 66.111.4.26 as permitted sender) smtp.mailfrom=ypankov@xsmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.26:from]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.26:c]; FREEMAIL_FROM(0.00)[xsmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[xsmail.com:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[xsmail.com,none]; NEURAL_HAM_SHORT(-0.82)[-0.823]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.26:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[xsmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.06)[-1.064]; R_DKIM_ALLOW(-0.20)[xsmail.com:s=fm3,messagingengine.com:s=fm3]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.009]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MAILMAN_DEST(0.00)[virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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, 30 Aug 2020 08:41:10 -0000 Yuri Pankov wrote: > I'm getting the following periodically when Windows 10 (2004) guest is > booting: > > Assertion failed: (dtype == ntype), function e82545_transmit, file > /usr/src/usr.sbin/bhyve/pci_e82545.c, line 1139. > Abort trap > > It's especially unhelpful when booting the guest first time after > installation as it completely breaks it and requires reinstall. > > Running -current r364965. Adding a WPRINTF() instead of assert() gives me the following: e82545: dtype=540016640 ntype=0 e82545: dtype=540016640 ntype=0 e82545: dtype=552599552 ntype=0 e82545: dtype=540016640 ntype=0 e82545: dtype=552599552 ntype=0 e82545: dtype=540016640 ntype=0 e82545: dtype=552599552 ntype=0 Segmentation fault