VMware Cloud Community
themodem
Contributor
Contributor

ESXI 6.5U1 Finds incorrect PCI ID

I have ESXI 6.5U1 installed and am trying to pass through a USB controller to my windows 10 VM.

I have set it for passthrough:

pastedImage_0.png

pastedImage_1.png

I can then choose it as a new device in my VM config:

pastedImage_2.png

When I try and start the VM i get the following error:

Device 68:0.0 is not a passthrough device

pastedImage_4.png

If I look in the gaming.vmx file i can see that it is indeed trying to use the wrong id

pciPassthru2.id = "00000:068:00.0"

pciPassthru2.deviceId = "0x0014"

pciPassthru2.vendorId = "0x1912"

pciPassthru2.systemId = "5a75a61b-0038-9af5-991e-107b44926fee"

pciPassthru2.present = "TRUE"

If I manually change the ID to 00000:044:00.0 I get an error saying that device 44 cannot be found.

lspci shows correctly too

0000:44:00.0 Serial bus controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller

The highest group i have is 0000:46 Smiley Happy

Am I missing anything or have I hit the wonderful world of threadripper issues?

Cheers

0 Kudos
3 Replies
bluefirestorm
Champion
Champion

hexadecimal 44 = 4 x 16 + 4 = decimal 68

I don't think there is anything wrong with ESXi 65U1. The lspci shows the bus IDs in hexadecimal while most of the ESXi configuration (esx.conf) are in decimal.

Something else is wrong that is causing the PCI passthrough to fail.

You will have to check the prerequisites: does the (Intel) CPU does support VT-d? Does the motherboard support VT-d (although in most cases there isn't a separate option to enable/disable VT-d in the EFI/BIOS). Then there is also the device itself.

0 Kudos
themodem
Contributor
Contributor

Ahh my bad,

Yes the motherboard cpu etc all support passthrough. My GTX1080TI  passes through correctly and works as expected.

After tailing /var/log/* I see the following:

==> /var/log/vmkernel.log <==

2018-02-03T09:31:03.675Z cpu9:70089)VMKPCIPassthru: 3311: Device 0000:44:00.0 not supported by IOMMU hardware.

Is there a certain type which is?

0 Kudos
bluefirestorm
Champion
Champion

You could try what this old post suggests

Re: PCI Passthrough of µPD720201 USB 3.0 Controller w/ ESXi 5.0u2

That old post would also indicate the Renesas USB controller you have supports passthrough as the post indicates it (same model as yours) worked with ESXi 5.0.

So in your case you would put

pciPassthru2.msiEnabled = "FALSE"

in the gaming.vmx

0 Kudos