nda(4) does not work (reliably) in VMware Workstation

Chuck Tuffli chuck at freebsd.org
Mon Dec 10 00:20:49 UTC 2018


On Sat, Dec 8, 2018 at 12:28 PM Yuri Pankov <yuripv at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nda_vmware.patch
Type: text/x-patch
Size: 598 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20181209/64ae8a30/attachment.bin>


More information about the freebsd-current mailing list