Bug 247944 - nvme missing interrupt on ESXi 6.7 PCIe passthrough
Summary: nvme missing interrupt on ESXi 6.7 PCIe passthrough
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.2-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Warner Losh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-13 06:17 UTC by Vincent Milum Jr
Modified: 2024-01-24 01:31 UTC (History)
1 user (show)

See Also:


Attachments
missing interrupt (14.28 KB, image/png)
2020-07-13 06:17 UTC, Vincent Milum Jr
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Milum Jr 2020-07-13 06:17:36 UTC
Created attachment 216411 [details]
missing interrupt

I'm using Intel Optane NVMe drives on a Dell R720 server running vSphere ESXi 6.7 using PCIe passthrough to FreeBSD guests. In my particular case, I'm just trying to boot the amd64.iso installer images.


12.1-RELEASE:
crashes due to a bug in the NVMe driver that has since been fixed.


12.1-STABLE 2020-07-09 snapshot:
produces the screen shot listed below. console flooded with "nvme0: Missing interrupt" messages and a few other error messages. Having let it run for a length of time, the messages just cycle over and over again in that exact pattern. Never fully boots into the FreeBSD installer.


12.1-STABLE 2020-07-09 snapshot (workaround):
pciPassthru0.msiEnabled = "FALSE"

setting that value in the .vmx file for the passthrough device allows it to work. so there appears to be some other bug effecting MSI-X interrupts between ESXi and FreeBSD 12.1-STABLE. I've been trying to play around with the info in bug #203874 with no luck either way so far.


11.4-RELEASE and 11.4-STABLE 2020-07-09 snapshot:
same as 12.1-STABLE


13.0-CURRENT:
no issue at all. works exactly as expected.


Intel ARK:
https://ark.intel.com/content/www/us/en/ark/products/135581/intel-optane-memory-m10-series-16gb-m-2-80mm-pcie-3-0-20nm-3d-xpoint.html

Boot messages:
https://vincerants.com/public/freebsd/nvme-missing-interrupt.png

Workaround found at:
https://redmine.ixsystems.com/issues/26508#note-68

Possibly related:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203874
Comment 1 Warner Losh freebsd_committer freebsd_triage 2021-07-10 22:04:24 UTC
Do you know if stable/12 fixes this issue?
Comment 2 Vincent Milum Jr 2021-07-11 01:30:56 UTC
12-STABLE 20200708 still breaks.

13.0-RELEASE works as expected.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2024-01-24 01:31:23 UTC
^Triage: now appears to work on all supported FreeBSD versions.