ken-yossy / nvmetool-win

Communicate with NVMe SSD using Windows' inbox device driver
Other
83 stars 48 forks source link

Error while running NVMeTool.exe #24

Closed freeqimmy closed 2 years ago

freeqimmy commented 2 years ago

Hi Ken, First of all, thank you so much for making this amazing tool, it's very helpful for a NVMe beginner like me. But on the first time I try to run NVMeTool.exe it suggests that there is an I/O device error. The error message is: [I] Running on Windows 11 build 22000[E] DeviceIoControl: (error code = 1117) The request could not be performed because of an I/O device error. [E] Getting controller identify data failed, stop.

Environments are as below: CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz 2.80 GHz OS: Windows 11 22000.469 Dependencies: Visual Studio Community 16.8.4 + Windows Driver Kit 10.0.20348.0

Here is my attachment photo: image

Looking forward to your reply, that will be much of help!

Regard, freeqimmy

ken-yossy commented 2 years ago

Hi @freeqimmy,

Thank you for your information.

Well... could you please check the drive '0' is really NVMe drive directly attached to the system or not. Because this tool cannot handle NVMe drives connected via protocol conversion like USB-NVMe enclosures.

If your drive is directly attached to the system, please check the drive number (id) '0' is correct. You can check it with "Disk Management" tool (you can see it in the menu showed by right click on Windows' logo), like following:

disk-management

Kind regards, Ken

freeqimmy commented 2 years ago

Hi Ken, I checked Disk Management page and it looks like this: image

Seems the disk 0 does exist, but somehow it cannot be recognized.

Would this problem be related to the driver which my OS is using? It seems my laptop runs storage driver provided by intel (as shown in the pic below), and i see intel rapid storage technology turned on in BIOS (and unfortunately i cannot turn it off). Maybe if i am using Standard NVM Express Controller Driver this problem would not be happened, but i don't know for sure. image

Thanks for your reply, and may you have a happy tiger year!

Regards, freeqimmy

ken-yossy commented 2 years ago

Hi @freeqimmy

I hope you're also having a happy tiger year! And also thank you for your further information.

Would this problem be related to the driver which my OS is using? It seems my laptop runs storage driver provided by intel (as shown in the pic below), and i see intel rapid storage technology turned on in BIOS (and unfortunately i cannot turn it off).

I think your assumption is almost correct!

Because there are some reports (below is Lenovo's document, as example) that Intel VMD (Volume Management Device) 'hides' PCIe NVMe drives: NVMe SSD PCI device will be invisible when Intel VMD is enabled - Lenovo ThinkSystem

When a system is using Microsoft's inbox NVMe device driver, Device Manager shows the configuration as below (viewed with "devices by connection"):

device-manager-devices-by-connection

I'm afraid that you see "Intel RST VMD (Managed) Controller 9A0B" instead of "Standard NVM Express Controller" in your system.

I have found articles that some mother board vendors will provide new BIOS that makes changeable the configuration of Intel VMD and/or disable it by default.

So I recommend to check the web site of the mother board vendor or manufacture of your system if you can.

I hope it is helpful for you.

Regards, Ken

ken-yossy commented 2 years ago

I forgot one important thing for this tool. This tool only supports Microsoft's inbox NVMe device driver.

Thank you, Ken

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.