jtjones1001 / nvmetools

Basic tools for working with NVMe SSD on Windows or Linux
MIT License
13 stars 2 forks source link

BSOD with dma_violation_driver_verification when running listnvme #2

Open kirscheGIT opened 1 year ago

kirscheGIT commented 1 year ago

Hi, im trying to run the nvmetools on Windows 11 Enterprise Version 10.0.22000 Build 22000 with activated Kernel DMA Protection. But every call of the nvmetools causes a DRIVER_VERIFIER_DMA_VIOLATION. I think the problem is mentioned here: https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/stop-code-driver-verifier-dma-violation

From my point of view, I can't do anything about it until Microsoft fixes this. Or do you have any idea?

Thanks!

Chris

jtjones1001 commented 1 year ago

Hi Chris, I have to admit I have never heard of this stop code before. The nvmetools app uses the built-in OS drivers to run NVMe admin commands. It doesn't explicitly do any DMA so I'm perplexed as to why there is a DMA violation. The Microsoft documentation also mentions this only occurs with PCI devices and not PCIe devices. I'm not aware of any NVMe devices using PCI so again, this is a little strange. I will check if my workstation supports kernel DMA protection and if so will enable it and see what happens. If I can find something out will let you know.

Thanks Joe