[SOLVED ]Passed through NVMe SSD freezes in Win10


Recommended Posts

Hi,

 

So I recently decided to replace my Windows 10 VM with a new one on my unRAID-server as the old one just got worse with every Windows update there was.

 

At first, I wanted to "Dual boot and then boot from the same drive" as Spaceinvader One outlined in a recent video. Technically it did work but here comes the catch: I can use the VM for a few minutes after boot, after which the passed through NVMe SSD "freezes" and just becomes inaccessible. Windows shows the same behaviour as if it ran and suddenly the boot medium crashed meaning everything that you see (which at that point resides in RAM) works fine and buttery smooth but even clicking on something as simple as the Start-Menu doesn't do anything besides the animation.

 

I then decided that I would try (with the identical second SSD in my system) to just install Windows through the VM and call it a day because I thought the whole dual boot thing didn't work right: it didn't help, same behaviour. Even "not stubbing but only passing the SSD through with the managed=yes attribute in the XML" didn't help.

 

If I manage to open Windows TaskManager before the drive freezes everything looks normal. But after the "magic 10 minutes" it shows an "active time" of the disk as 100% with a simultaneous 0kB read and write.It does show some "inverse spikes" from time to time, lasting less than a second, during which drive I/O seems possible (Start would open at this instance if previously pressed for example, after maybe 3 Minutes waiting mind you).

 

Attached are diagnostics and XML.

 

Has anyone even the slightest clue where I could start with elimination testing? Any help is greatly appreciated.

 

 

gamingnas-diagnostics-20181018-2337.zip

Windows10Dump.xml

Edited by eruk2007
SOLVED
Link to comment

Did you installed Windows on that VM bare metall or inside the VM? I had similiar issues at first passing through a Samsung 960 pro. I installed the OS bare metall on the NVME with a couple programs and all the drivers for the board gpu etc. And as soon as i tried to passhtrough the device to a VM it booted fine and i could use it. After a while i had some random "freezes" or lets say the OS doesn't reacted like it should. I than installed the samsung drivers for the NVME and the Samsung Magician software. A couple people reported they saw the same behaviour with Microsofts NVME driver on bare metal where the OS become randomly unresponsive. Maybe that helps you. Try to install the Samsung driver instead of the Windows one.

Edited by bastl
Link to comment
8 hours ago, bastl said:

Did you installed Windows on that VM bare metall or inside the VM? I had similiar issues at first passing through a Samsung 960 pro. I installed the OS bare metall on the NVME with a couple programs and all the drivers for the board gpu etc. And as soon as i tried to passhtrough the device to a VM it booted fine and i could use it. After a while i had some random "freezes" or lets say the OS doesn't reacted like it should. I than installed the samsung drivers for the NVME and the Samsung Magician software. A couple people reported they saw the same behaviour with Microsofts NVME driver on bare metal where the OS become randomly unresponsive. Maybe that helps you. Try to install the Samsung driver instead of the Windows one.

Oh wow it worked. Thanks! Didn't know it would be that easy...

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.