Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2018 15:18:58 -0800
From:      Chuck Tuffli <chuck@freebsd.org>
To:        yuripv@yuripv.net
Cc:        freebsd-current@freebsd.org
Subject:   Re: nda(4) does not work (reliably) in VMware Workstation
Message-ID:  <CAKAYmM%2BRqymn0DXD6O43GFGMMsh790gDT95c3oQX43iaYFXVBA@mail.gmail.com>
In-Reply-To: <015e28d3-3c6f-b5f3-b41a-5f6d367dddbb@yuripv.net>
References:  <015e28d3-3c6f-b5f3-b41a-5f6d367dddbb@yuripv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000b1b872057c9f145f
Content-Type: text/plain; charset="UTF-8"

On Sat, Dec 8, 2018 at 12:28 PM Yuri Pankov <yuripv@yuripv.net> wrote:

> Hi,
>
> Running -HEAD in VMware Workstation 15.0.2 VM.  Trying to use nda(4)
> instead of nvd(4) shows the following list of errors, and eventually
> panics:
>
> https://people.freebsd.org/~yuripv/nda1.png
> https://people.freebsd.org/~yuripv/nda2.png
>
> nvd(4) works without issues in this VM.  nda(4) works as well in VMware
> ESXi VMs.  Is this a problem with WS NVMe emulation?
>

Since I don't have access to ESXi, the attached is a speculative fix. If it
works, I'll clean this up a bit and get it committed. If not, please post
the output from:
nvmecontrol identtify nvme0

--chuck

--000000000000b1b872057c9f145f
Content-Type: text/x-patch; charset="US-ASCII"; name="nda_vmware.patch"
Content-Disposition: attachment; filename="nda_vmware.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_jphiel8y0>
X-Attachment-Id: f_jphiel8y0

ZGlmZiAtciAxZmJiMjAyNWIyNjMgc3lzL2NhbS9udm1lL252bWVfZGEuYwotLS0gYS9zeXMvY2Ft
L252bWUvbnZtZV9kYS5jCVN1biBEZWMgMDkgMjE6NTM6NDUgMjAxOCArMDAwMAorKysgYi9zeXMv
Y2FtL252bWUvbnZtZV9kYS5jCVN1biBEZWMgMDkgMTU6MTg6MDggMjAxOCAtMDgwMApAQCAtNzk4
LDcgKzc5OCw3IEBACiAJZGlzay0+ZF9tZWRpYXNpemUgPSAob2ZmX3QpKGRpc2stPmRfc2VjdG9y
c2l6ZSAqIG5zZC0+bnN6ZSk7CiAJZGlzay0+ZF9kZWxtYXhzaXplID0gZGlzay0+ZF9tZWRpYXNp
emU7CiAJZGlzay0+ZF9mbGFncyA9IERJU0tGTEFHX0RJUkVDVF9DT01QTEVUSU9OOwotLy8JaWYg
KGNkLT5vbmNzLmRzbSkgLy8gWFhYIGJyb2tlbj8KKwlpZiAoKGNkLT5vbmNzID4+IE5WTUVfQ1RS
TFJfREFUQV9PTkNTX0RTTV9TSElGVCkgJiBOVk1FX0NUUkxSX0RBVEFfT05DU19EU01fTUFTSykK
IAkJZGlzay0+ZF9mbGFncyB8PSBESVNLRkxBR19DQU5ERUxFVEU7CiAJdndjX3ByZXNlbnQgPSAo
Y2QtPnZ3YyA+PiBOVk1FX0NUUkxSX0RBVEFfVldDX1BSRVNFTlRfU0hJRlQpICYKIAkJTlZNRV9D
VFJMUl9EQVRBX1ZXQ19QUkVTRU5UX01BU0s7Cg==
--000000000000b1b872057c9f145f--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKAYmM%2BRqymn0DXD6O43GFGMMsh790gDT95c3oQX43iaYFXVBA>