From owner-freebsd-current@freebsd.org Sun Dec 9 23:43:50 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BC071335B19 for ; Sun, 9 Dec 2018 23:43:50 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 1CC07835F9; Sun, 9 Dec 2018 23:43:47 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id A663BC2B; Sun, 9 Dec 2018 18:43:40 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 09 Dec 2018 18:43:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type; s=fm3; bh=8fplokqTFVaBf/eaVgaS8LCLvEe lq8x0yUncmwCh6nQ=; b=tN+DAzUmT5yyR49WfUtK4UNt92+uIlYYhynzpWu7xOd mtKQzrQAdvnXuc8iIWr0rTf/slGvI8misrbYspeJZSDiLxxV7FyrxnzCov24Bsw0 5BOMk1voVBcWeblAj/b949yGN4LeN5lvf6KyzUQHfsrp/WdsophoNMAlMUvyMZ1f UAnMFCsnLq6/RAHuGFv3Rdvb5k9SaApIbFlQjDj9YT3icSmo7pSahCxIO9RRAOEC cfsmOhif2q/hRRh2bkaUvH2Eikt2o1Hw7K3ZL4aEp+OFN8hKo5vFLDHbPjoahIhR baqD2YXT/u3NMkPomxJ0RapH9C+TJCbPvVA6vWtK1pg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm1; bh=8fplok qTFVaBf/eaVgaS8LCLvEelq8x0yUncmwCh6nQ=; b=FO6c+DhGFi0/vEe0acfYK2 wTQ3SAvIct/qORThRnJBG08qJ0xQMU+SQlUEZyczkMUdJmxyVmCvZfOJr2kbg2KU yJCzkJzlC+sk7RGEFyOzJiBC+MGxUxHuERn2uJ2QCt8z1TO67UDImYpnp6BJmJ4a uaJwh5ofSLUvBAYnL1kwEiOabni5RtCmZaX5JyEZuAmq6//LXfhNZpWUudcySH9v DXx/Y4to3Zc1Y4790rwDa3HoavEWyRZNjoHLjyl/O0eqqAryzKAS3ihmx5gYghNP wEbukidshutveYaFtcXBJjpDtUwgHf5sEX3MDSwndnWQ/B7m0y3V2ZZZ5IQLCcBg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudeggedgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuvfhfhffkff gfgggjtgesghdtrefotdefjeenucfhrhhomhepjghurhhiucfrrghnkhhovhcuoeihuhhr ihhpvheshihurhhiphhvrdhnvghtqeenucffohhmrghinhepfhhrvggvsghsugdrohhrgh enucfkphepleegrddvfeefrddvtdejrdekvdenucfrrghrrghmpehmrghilhhfrhhomhep hihurhhiphhvseihuhhrihhpvhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.2] (unknown [94.233.207.82]) by mail.messagingengine.com (Postfix) with ESMTPA id 8BA8C102DD; Sun, 9 Dec 2018 18:43:38 -0500 (EST) Subject: Re: nda(4) does not work (reliably) in VMware Workstation To: Chuck Tuffli Cc: freebsd-current@freebsd.org References: <015e28d3-3c6f-b5f3-b41a-5f6d367dddbb@yuripv.net> From: Yuri Pankov Openpgp: preference=signencrypt Autocrypt: addr=yuripv@yuripv.net; keydata= xsBNBFu8u6IBCADB11gP0QwnorrHjqAtKLHKHNHskhy0s7jqJKfx0YqXgVBKGLJ9/mjLAz0F CBNvemHSDDTs0mEZ9cBKKi6cmsav6+UQgr//yai6hvXLBJqKchSFO4MhmdvBtsGFq1yKz5Zi uhjmimKyIpgBgvMdbgGbGq6cnSB2uEPmZuJr419SVRODOkXukU+F5WHgaHzDdHAIu1asCt2B +6msxqIqlFWcXyZyTGicTGGvC/PFIsVRUtD1dIJANTC876g7DTb7LZXWiWwJpSJ4GKMXMHVX Ct9BoQ4i3nhKbOxb6Io1wsy+NFyWsTJ9KYrxKKPJP3oG8BWb/cqlFqnE4eNSsiq2q7krABEB AAHNH1l1cmkgUGFua292IDx5dXJpcHZAeXVyaXB2Lm5ldD7CwJcEEwEIAEECGwMFCQWjmoAF CwkIBwMFFQoJCAsFFgMCAQACHgECF4AWIQT4arc+w94tPi0v/3CTi+B/sSrhbAUCW708wAIZ AQAKCRCTi+B/sSrhbPxBB/961alcU091O+yKT5/oReHVc/PX0Tz4sW3V44AcgLfYlrZavCro EFz90qmCrl0xqEwuAKcC4bjmL8SjPWAhSN6IH9nxdw+HeZnAPiHm/q679Bu47+nHBl3qD/9p +t1PkKeKZfaWToFMt1nq06ytSu6VLMCwLdlDNe6DReX0ex/afEqKsuaIZSKL4UYjRwklp8PU Uf98QkrfapyHB67hQMzfI4tPeJaYyv0cTgfq3kUWJx1V6Xi0b6Zxj4ZrB2TXvaMO5g7yhU9E E3WWAvoe4FgB3a7dHe8atnHhq5+Cuvm6+LD4Jh7jvMAE5UMN+xxQpnGpNghHjaCy4vXrLRBZ nhRYzsBNBFu8u6IBCADKih3Q933rDNj4ZA8FhBQ2RlmBgvwOLcDPIL3h0V7h38y3+HisgFSc XACDsdrTlYZ1bRXkD9FHENynBcv0l/3uGJDk8jaGIDE0TP8OQBRp+IaU9/BHnAqrKxTJGIol Dahy2m+yx2yhdc6B4ujWMDqCF1rWOD+ymOWw+VLllOkrHcZa5PJtX9UOGbApZl8ZTM8El4CA NN8F1bg9MWzUi+8LYoGWGc+BwsFS1OUB1c4SPgMu5fD4Wfsr9yRl06fdpEA2YT7B/j5/5RSC 0sE2Zs/tmJ/JRflHJ12ycj59ma2xQMfEJF40hZDpMFQmZvbVqgEg3ocQcltjbxlIKZ/mjC4z ABEBAAHCwHwEGAEKACYWIQT4arc+w94tPi0v/3CTi+B/sSrhbAUCW7y7ogIbDAUJBaOagAAK CRCTi+B/sSrhbIDcCACqAZMcoxUBLZa40a5b24j5i1jplvCYYb3h+Q5lt5+BFJ87kCb4dJuU D3kh2i29BrxWQWa9WNue9ozxeYkbkfXubQYXexVolRsnh64OdGsE8KvorBFBB3zdK/GRt2Jy +jsnTfUWuQllbzMP0MfhCDMk1Mo8WvDH2/cOEP/yLKf20a+cd6nLs7bidjmGXo9pyuBKAtV6 Kv+VRu54AL+A/UBYu/eB3Dtvzcnut+1Zq6KaP++kUwPwINLIk04OBDwN0zRNTiqMAFYYyz2v ZHBB6E1th/l//ZC5b9Dk0ZpFI1bYdL9ymnrZe1MqbGPnDCToQxu00T/pZCm6Z92YrZQYuNwl Message-ID: <9db60b9c-fea0-c5d6-5f8f-eae051c3f92d@yuripv.net> Date: Mon, 10 Dec 2018 02:43:29 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gB9GFwrQqFwzb7gXBqWat0i0I6QmFzSXs" X-Rspamd-Queue-Id: 1CC07835F9 X-Spamd-Result: default: False [-8.96 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[yuripv.net,messagingengine.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[yuripv.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-3.45)[ip: (-8.88), ipnet: 64.147.123.0/24(-4.44), asn: 11403(-3.83), country: US(-0.09)]; DKIM_TRACE(0.00)[yuripv.net:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-0.81)[-0.807,0]; RCVD_IN_DNSWL_LOW(-0.10)[25.123.147.64.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Dec 2018 23:43:50 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gB9GFwrQqFwzb7gXBqWat0i0I6QmFzSXs Content-Type: multipart/mixed; boundary="nB0WzigCvQmac8WhkUckxehP6lPhOCzsB"; protected-headers="v1" From: Yuri Pankov To: Chuck Tuffli Cc: freebsd-current@freebsd.org Message-ID: <9db60b9c-fea0-c5d6-5f8f-eae051c3f92d@yuripv.net> Subject: Re: nda(4) does not work (reliably) in VMware Workstation References: <015e28d3-3c6f-b5f3-b41a-5f6d367dddbb@yuripv.net> In-Reply-To: --nB0WzigCvQmac8WhkUckxehP6lPhOCzsB Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Chuck Tuffli wrote: > On Sat, Dec 8, 2018 at 12:28 PM Yuri Pankov > wrote: >=20 > Hi, >=20 > Running -HEAD in VMware Workstation 15.0.2 VM.=C2=A0 Trying to use = nda(4) > instead of nvd(4) shows the following list of errors, and eventuall= y > panics: >=20 > https://people.freebsd.org/~yuripv/nda1.png > https://people.freebsd.org/~yuripv/nda2.png >=20 > nvd(4) works without issues in this VM.=C2=A0 nda(4) works as well = in VMware > ESXi VMs.=C2=A0 Is this a problem with WS NVMe emulation? >=20 >=20 > Since I don't have access to ESXi, the attached is a speculative fix. I= f > it works, I'll clean this up a bit and get it committed. If not, please= > post the output from: > nvmecontrol identtify nvme0 Thank you, it seems to help (was seeing the issue previously immediately after boot). BTW, the ESXi VM works fine with nda, it's only the Workstation that had the problem. Comparing `nvmecontrol identify` output from both, the only difference is (first is WS, second is ESXi): -Dataset Management Command: Not Supported +Dataset Management Command: Supported --nB0WzigCvQmac8WhkUckxehP6lPhOCzsB-- --gB9GFwrQqFwzb7gXBqWat0i0I6QmFzSXs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE+Gq3PsPeLT4tL/9wk4vgf7Eq4WwFAlwNqKcACgkQk4vgf7Eq 4WxUmAf/YmfErv8eoZQtlpu8lxQgA+OiHGVgK4Q6hSRipAX0/+pQxmET8LgSCHTu 7itx3JvIPYqPj7hRql0k+tM7W4UwK+/VYbv39iEVEKM7PYAreOaB2I/TvSCVi+PY u+XHvdbWKqR3RrW0NIsP298/3cm9HjhoN9E5yfoBY2AHsjf65fIUl7mTisi+VmdC YUFJYf+Ym/L/yHL5Ay8ArE8C4C+9laWbHnmL7g+81q+59b7KqOdWzOrUIGGoiyjb 7TCTCyNZz7Uk48SHbsLXlLaNePxXhyLTemMPEPVIcMSXCWGcYkk8QTfI7ZkBTW7v JYyCME4D1HOeClK5byREEWIUv7BRwQ== =KGiW -----END PGP SIGNATURE----- --gB9GFwrQqFwzb7gXBqWat0i0I6QmFzSXs--