Stop error 0xE6: DRIVER_VERIFIER_DMA_VIOLATION after repeatedly disabling and enabling a wireless device driver if DMAr is enabled

Applies to: Windows 10, version 2004, all editionsWindows 10, version 1909, all editionsWindows 10, version 1903, all editions

Symptoms


You are stress testing or troubleshooting a wireless device driver for an OEM version of Windows 10. The driver uses direct memory access remapping (DMAr).

As part of your testing, you repeatedly disable and enable the wireless driver (for example, in Device Manager). After several such cycles, you notice that the system operations slow down. After 30 minutes of continuously disabling and enabling the driver, the device runs out of memory and stops responding completely.

If you try to use the Driver Verifier tool to analyze the problem, the Windows 10 device experiences a Stop error (also known as a bugcheck or blue screen error). The error code is 0xE6: DRIVER_VERIFIER_DMA_VIOLATION.

Cause


This problem occurs because the DMA adapter allocates memory that is not deallocated correctly when DMA remapping is enabled.

Workaround


To work around this issue, disable DMA remapping by following these steps:

  1. Restart the computer, and access the BIOS settings by pressing F10 (or whatever key is designated by the manufacturer) during startup.

  2. Select Advanced System Options, and then clear the DMA Protection setting.

Status


This is a known problem. Microsoft is developing a fix that is scheduled to be included in a future Windows release.