VirtualBox

Opened 8 years ago

Last modified 7 years ago

#16079 new defect

Windows guest freezes when partitioning/formatting NVMe drive

Reported by: Sven Owned by:
Component: other Version: VirtualBox 5.1.8
Keywords: Cc:
Guest type: Windows Host type: other

Description

Windows 10 1607 guest freezes when trying to partition/format a blank NVMe drive. This happens if the VM has only n=1 processor. If the VM has n=4 processors, then the guest does not freeze. Other values for n have not been tried.

Change History (4)

comment:1 by aeichner, 7 years ago

Can you please upload a VBox.log from a single CPU and 4 CPU VM?

comment:2 by aeichner, 7 years ago

At the moment this looks like a bug in the Microsoft NVMe driver in the inerrrupt handling when MSIs are not available which is the case with the PIIX3 chipset. You can switch to ICH9 which gets rid of the hang here. Not using MSIs was probably never tested because real hardware has it for a long time already and all real NVMe drives use PCI express which mandates the use of MSI.

comment:3 by Sven, 7 years ago

I will test whether using ICH9 improved the situation. How does it fit in that n=4 works but n=1 doesn't? (APIC was enabled in both cases)

comment:4 by Sven, 7 years ago

I can still reproduce the problem with PIIX3 and I can confirm that the bug is gone when switching to ICH9. If you can exclude that the bug is not in the virtual NVMe controller code, then I guess it must be in the NVMe drivers.

Then maybe the usage of NVMe together with PIIX3 should result in a warning?

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use