ESXi USB PCIe Passthrough Failing to Connect Connected Devicesblu-ray archiving in vmware ESXi 4Disable ESXi passthrough on SATA controllerFreeBSD ixgbe driver not workingHow can I setup PCI passthrough for my HighPoint 1144A USB 3.0 card under ESXi 5.1?ESXi 5.5 crash on passthroughESXi PCI passthrough on HP DL360 G5Cannot remove passthrough setup on ESXiESXI PCIe GPU Passthrough does not allow for CUDANVIDIA QUADRO M4000 vGPU - ESXI 6.0.3 - GPU PassthroughESXi Tesla passthrough enabled but not assignable

Array initialization optimization

How large would a mega structure have to be to host 1 billion people indefinitely?

What was the Shuttle Carrier Aircraft escape tunnel?

What's currently blocking the construction of the wall between Mexico and the US?

What did River say when she woke from her proto-comatose state?

Drawing people along with x and y axis

If I wouldn't want to read the story, is writing it still a good idea?

Suggested order for Amazon Prime Doctor Who series

Can you find x?

How to draw this center trajectory of rolling ball?

Why do even high-end cameras often still include normal (non-cross-type) AF sensors?

Output of "$OSTYPE:6" on old releases of Mac OS X

Greeting with "Ho"

Can Ogre clerics use Purify Food and Drink on humanoid characters?

Why is it recommended to mix yogurt starter with a small amount of milk before adding to the entire batch?

Why do textbooks often include the solutions to odd or even numbered problems but not both?

Should I prioritize my 401k over my student loans?

Is a single radon-daughter atom in air a solid?

Find the C-factor of a vote

Why do all the teams that I have worked with always finish a sprint without completion of all the stories?

How can I politely work my way around not liking coffee or beer when it comes to professional networking?

Why do some professors with PhDs leave their professorships to teach high school?

Hot coffee brewing solutions for deep woods camping

"How can you guarantee that you won't change/quit job after just couple of months?" How to respond?



ESXi USB PCIe Passthrough Failing to Connect Connected Devices


blu-ray archiving in vmware ESXi 4Disable ESXi passthrough on SATA controllerFreeBSD ixgbe driver not workingHow can I setup PCI passthrough for my HighPoint 1144A USB 3.0 card under ESXi 5.1?ESXi 5.5 crash on passthroughESXi PCI passthrough on HP DL360 G5Cannot remove passthrough setup on ESXiESXI PCIe GPU Passthrough does not allow for CUDANVIDIA QUADRO M4000 vGPU - ESXI 6.0.3 - GPU PassthroughESXi Tesla passthrough enabled but not assignable






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have a fresh install of ESXi 6.7U2 up and running on which I can successfully start VMs. To this setup I've added a StarTech.com 4 Port USB 3.0 Card Adapter (PEXUSB3S44V). This has been configured for pass through following https://kb.vmware.com/s/article/1010789. This can be configured for passthrough to a VM:



VM Configuration



The USB PCIe controllers are detected here as uPD720202 USB 3.0 Host Controller. A single PCIe adaptor has 4 independent controllers and I've chosen to pass then all through for simplicity while trying to debug this issue.



I have tried using both Amazon Linux 2 (on prem) and Ubuntu Server 18.04.2 for the VMs, what follows appears to be equivalent in both of them.



lspci output shows the expected pass through devices:



00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
00:11.0 PCI bridge: VMware PCI bridge (rev 02)
00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.1 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.2 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.3 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.4 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.7 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.1 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.2 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.3 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.4 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.7 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.1 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.2 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.3 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.4 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.7 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.1 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.2 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.3 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.4 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.7 PCI bridge: VMware PCI Express Root Port (rev 01)
02:01.0 SATA controller: VMware SATA AHCI controller
03:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
04:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
13:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
1b:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)


lsusb output before connecting a device to the adaptor:



Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Viewing dmesg output when trying to connect a device, depending on device (USB hub, USB data drive etc.), I either get no additional output or:



[ 818.213414] xhci_hcd 0000:04:00.0: Abort failed to stop command ring: -110
[ 818.213435] xhci_hcd 0000:04:00.0: xHCI host controller not responding, assume dead
[ 818.213453] xhci_hcd 0000:04:00.0: HC died; cleaning up
[ 818.213467] xhci_hcd 0000:04:00.0: WARNING: Host System Error
[ 818.213497] xhci_hcd 0000:04:00.0: Error while assigning device slot ID
[ 818.213511] xhci_hcd 0000:04:00.0: Max number of devices this xHCI host supports is 32.
[ 818.213526] usb usb4-port1: couldn't allocate usb_device
[ 818.213538] xhci_hcd 0000:04:00.0: Error while assigning device slot ID
[ 818.213551] xhci_hcd 0000:04:00.0: Max number of devices this xHCI host supports is 32.
[ 818.213565] usb usb3-port1: couldn't allocate usb_device


Clearly a device is being detected in the VM but something is preventing it from connecting successfully.



Things I tried (Ref https://bbs.archlinux.org/viewtopic.php?id=236536):



  1. Setting the kernel parameters iommu=soft pci=nomsi

  2. Setting the kernel parameter intel_iommu=off

  3. Different VMs (as mentioned above)

  4. Ensuring the USB devices are connected on VM boot

  5. Setting the ESXi host power management to 'High performance'

To confirm I wasn't dealing with a hardware/power issue I ditched the hypervisor on the same hardware by performing a boot from USB (LinuxMint). Here the PCIe adaptor worked correctly with all connected devices so I think that can be ruled out.



At the moment my suspicions are:



  1. This uPD720202 chipset isn't compatible with ESXi, even though many posts exist online suggesting it should work fine (which is why I bought it).

  2. I'm missing some critical configuration within the ESIx host.

If anyone spots anything obvious that I could try, or would like additional output that would be greatly appreciated.










share|improve this question




























    0















    I have a fresh install of ESXi 6.7U2 up and running on which I can successfully start VMs. To this setup I've added a StarTech.com 4 Port USB 3.0 Card Adapter (PEXUSB3S44V). This has been configured for pass through following https://kb.vmware.com/s/article/1010789. This can be configured for passthrough to a VM:



    VM Configuration



    The USB PCIe controllers are detected here as uPD720202 USB 3.0 Host Controller. A single PCIe adaptor has 4 independent controllers and I've chosen to pass then all through for simplicity while trying to debug this issue.



    I have tried using both Amazon Linux 2 (on prem) and Ubuntu Server 18.04.2 for the VMs, what follows appears to be equivalent in both of them.



    lspci output shows the expected pass through devices:



    00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
    00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
    00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
    00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
    00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
    00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)
    00:0f.0 VGA compatible controller: VMware SVGA II Adapter
    00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
    00:11.0 PCI bridge: VMware PCI bridge (rev 02)
    00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:15.1 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:15.2 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:15.3 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:15.4 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:15.5 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:15.6 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:15.7 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:16.0 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:16.1 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:16.2 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:16.3 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:16.4 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:16.5 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:16.6 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:16.7 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:17.0 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:17.1 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:17.2 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:17.3 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:17.4 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:17.5 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:17.6 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:17.7 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:18.0 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:18.1 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:18.2 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:18.3 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:18.4 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:18.5 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:18.6 PCI bridge: VMware PCI Express Root Port (rev 01)
    00:18.7 PCI bridge: VMware PCI Express Root Port (rev 01)
    02:01.0 SATA controller: VMware SATA AHCI controller
    03:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
    04:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
    0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
    13:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
    1b:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)


    lsusb output before connecting a device to the adaptor:



    Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    Viewing dmesg output when trying to connect a device, depending on device (USB hub, USB data drive etc.), I either get no additional output or:



    [ 818.213414] xhci_hcd 0000:04:00.0: Abort failed to stop command ring: -110
    [ 818.213435] xhci_hcd 0000:04:00.0: xHCI host controller not responding, assume dead
    [ 818.213453] xhci_hcd 0000:04:00.0: HC died; cleaning up
    [ 818.213467] xhci_hcd 0000:04:00.0: WARNING: Host System Error
    [ 818.213497] xhci_hcd 0000:04:00.0: Error while assigning device slot ID
    [ 818.213511] xhci_hcd 0000:04:00.0: Max number of devices this xHCI host supports is 32.
    [ 818.213526] usb usb4-port1: couldn't allocate usb_device
    [ 818.213538] xhci_hcd 0000:04:00.0: Error while assigning device slot ID
    [ 818.213551] xhci_hcd 0000:04:00.0: Max number of devices this xHCI host supports is 32.
    [ 818.213565] usb usb3-port1: couldn't allocate usb_device


    Clearly a device is being detected in the VM but something is preventing it from connecting successfully.



    Things I tried (Ref https://bbs.archlinux.org/viewtopic.php?id=236536):



    1. Setting the kernel parameters iommu=soft pci=nomsi

    2. Setting the kernel parameter intel_iommu=off

    3. Different VMs (as mentioned above)

    4. Ensuring the USB devices are connected on VM boot

    5. Setting the ESXi host power management to 'High performance'

    To confirm I wasn't dealing with a hardware/power issue I ditched the hypervisor on the same hardware by performing a boot from USB (LinuxMint). Here the PCIe adaptor worked correctly with all connected devices so I think that can be ruled out.



    At the moment my suspicions are:



    1. This uPD720202 chipset isn't compatible with ESXi, even though many posts exist online suggesting it should work fine (which is why I bought it).

    2. I'm missing some critical configuration within the ESIx host.

    If anyone spots anything obvious that I could try, or would like additional output that would be greatly appreciated.










    share|improve this question
























      0












      0








      0








      I have a fresh install of ESXi 6.7U2 up and running on which I can successfully start VMs. To this setup I've added a StarTech.com 4 Port USB 3.0 Card Adapter (PEXUSB3S44V). This has been configured for pass through following https://kb.vmware.com/s/article/1010789. This can be configured for passthrough to a VM:



      VM Configuration



      The USB PCIe controllers are detected here as uPD720202 USB 3.0 Host Controller. A single PCIe adaptor has 4 independent controllers and I've chosen to pass then all through for simplicity while trying to debug this issue.



      I have tried using both Amazon Linux 2 (on prem) and Ubuntu Server 18.04.2 for the VMs, what follows appears to be equivalent in both of them.



      lspci output shows the expected pass through devices:



      00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
      00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
      00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
      00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
      00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
      00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)
      00:0f.0 VGA compatible controller: VMware SVGA II Adapter
      00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
      00:11.0 PCI bridge: VMware PCI bridge (rev 02)
      00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.1 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.2 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.3 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.4 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.5 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.6 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.7 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.0 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.1 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.2 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.3 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.4 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.5 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.6 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.7 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.0 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.1 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.2 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.3 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.4 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.5 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.6 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.7 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.0 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.1 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.2 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.3 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.4 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.5 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.6 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.7 PCI bridge: VMware PCI Express Root Port (rev 01)
      02:01.0 SATA controller: VMware SATA AHCI controller
      03:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
      04:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
      0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
      13:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
      1b:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)


      lsusb output before connecting a device to the adaptor:



      Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


      Viewing dmesg output when trying to connect a device, depending on device (USB hub, USB data drive etc.), I either get no additional output or:



      [ 818.213414] xhci_hcd 0000:04:00.0: Abort failed to stop command ring: -110
      [ 818.213435] xhci_hcd 0000:04:00.0: xHCI host controller not responding, assume dead
      [ 818.213453] xhci_hcd 0000:04:00.0: HC died; cleaning up
      [ 818.213467] xhci_hcd 0000:04:00.0: WARNING: Host System Error
      [ 818.213497] xhci_hcd 0000:04:00.0: Error while assigning device slot ID
      [ 818.213511] xhci_hcd 0000:04:00.0: Max number of devices this xHCI host supports is 32.
      [ 818.213526] usb usb4-port1: couldn't allocate usb_device
      [ 818.213538] xhci_hcd 0000:04:00.0: Error while assigning device slot ID
      [ 818.213551] xhci_hcd 0000:04:00.0: Max number of devices this xHCI host supports is 32.
      [ 818.213565] usb usb3-port1: couldn't allocate usb_device


      Clearly a device is being detected in the VM but something is preventing it from connecting successfully.



      Things I tried (Ref https://bbs.archlinux.org/viewtopic.php?id=236536):



      1. Setting the kernel parameters iommu=soft pci=nomsi

      2. Setting the kernel parameter intel_iommu=off

      3. Different VMs (as mentioned above)

      4. Ensuring the USB devices are connected on VM boot

      5. Setting the ESXi host power management to 'High performance'

      To confirm I wasn't dealing with a hardware/power issue I ditched the hypervisor on the same hardware by performing a boot from USB (LinuxMint). Here the PCIe adaptor worked correctly with all connected devices so I think that can be ruled out.



      At the moment my suspicions are:



      1. This uPD720202 chipset isn't compatible with ESXi, even though many posts exist online suggesting it should work fine (which is why I bought it).

      2. I'm missing some critical configuration within the ESIx host.

      If anyone spots anything obvious that I could try, or would like additional output that would be greatly appreciated.










      share|improve this question














      I have a fresh install of ESXi 6.7U2 up and running on which I can successfully start VMs. To this setup I've added a StarTech.com 4 Port USB 3.0 Card Adapter (PEXUSB3S44V). This has been configured for pass through following https://kb.vmware.com/s/article/1010789. This can be configured for passthrough to a VM:



      VM Configuration



      The USB PCIe controllers are detected here as uPD720202 USB 3.0 Host Controller. A single PCIe adaptor has 4 independent controllers and I've chosen to pass then all through for simplicity while trying to debug this issue.



      I have tried using both Amazon Linux 2 (on prem) and Ubuntu Server 18.04.2 for the VMs, what follows appears to be equivalent in both of them.



      lspci output shows the expected pass through devices:



      00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
      00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
      00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
      00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
      00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
      00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)
      00:0f.0 VGA compatible controller: VMware SVGA II Adapter
      00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
      00:11.0 PCI bridge: VMware PCI bridge (rev 02)
      00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.1 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.2 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.3 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.4 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.5 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.6 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:15.7 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.0 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.1 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.2 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.3 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.4 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.5 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.6 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:16.7 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.0 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.1 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.2 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.3 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.4 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.5 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.6 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:17.7 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.0 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.1 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.2 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.3 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.4 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.5 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.6 PCI bridge: VMware PCI Express Root Port (rev 01)
      00:18.7 PCI bridge: VMware PCI Express Root Port (rev 01)
      02:01.0 SATA controller: VMware SATA AHCI controller
      03:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
      04:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
      0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
      13:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
      1b:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)


      lsusb output before connecting a device to the adaptor:



      Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


      Viewing dmesg output when trying to connect a device, depending on device (USB hub, USB data drive etc.), I either get no additional output or:



      [ 818.213414] xhci_hcd 0000:04:00.0: Abort failed to stop command ring: -110
      [ 818.213435] xhci_hcd 0000:04:00.0: xHCI host controller not responding, assume dead
      [ 818.213453] xhci_hcd 0000:04:00.0: HC died; cleaning up
      [ 818.213467] xhci_hcd 0000:04:00.0: WARNING: Host System Error
      [ 818.213497] xhci_hcd 0000:04:00.0: Error while assigning device slot ID
      [ 818.213511] xhci_hcd 0000:04:00.0: Max number of devices this xHCI host supports is 32.
      [ 818.213526] usb usb4-port1: couldn't allocate usb_device
      [ 818.213538] xhci_hcd 0000:04:00.0: Error while assigning device slot ID
      [ 818.213551] xhci_hcd 0000:04:00.0: Max number of devices this xHCI host supports is 32.
      [ 818.213565] usb usb3-port1: couldn't allocate usb_device


      Clearly a device is being detected in the VM but something is preventing it from connecting successfully.



      Things I tried (Ref https://bbs.archlinux.org/viewtopic.php?id=236536):



      1. Setting the kernel parameters iommu=soft pci=nomsi

      2. Setting the kernel parameter intel_iommu=off

      3. Different VMs (as mentioned above)

      4. Ensuring the USB devices are connected on VM boot

      5. Setting the ESXi host power management to 'High performance'

      To confirm I wasn't dealing with a hardware/power issue I ditched the hypervisor on the same hardware by performing a boot from USB (LinuxMint). Here the PCIe adaptor worked correctly with all connected devices so I think that can be ruled out.



      At the moment my suspicions are:



      1. This uPD720202 chipset isn't compatible with ESXi, even though many posts exist online suggesting it should work fine (which is why I bought it).

      2. I'm missing some critical configuration within the ESIx host.

      If anyone spots anything obvious that I could try, or would like additional output that would be greatly appreciated.







      vmware-esxi passthrough






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 5 at 18:00









      MarcFMarcF

      15819




      15819




















          1 Answer
          1






          active

          oldest

          votes


















          1














          Looks like it was option 1, hardware compatibility.



          I swapped the StarTech.com 4 Port USB 3.0 Card Adapter (PEXUSB3S44V) for a 4 Port HighPoint RocketU RU1144D which now works as expected.






          share|improve this answer























          • MANY PCIe devices aren't compatible, in fact there's a HCL for just that reason - that said we had similar needs for USB and chose to use a USB-over-IP server which worked great and also allowed for vMotions/DRS.

            – Chopper3
            Jun 7 at 15:00











          • The HCL is TERRRIBBLEE! I tried to find a section in it for USB PCIe cards and couldn't. If you can highlight how to locate this it will most likely help others in future.

            – MarcF
            Jun 7 at 15:05











          • vmw keep changing the urls or I would have.

            – Chopper3
            Jun 9 at 8:35













          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "2"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f970264%2fesxi-usb-pcie-passthrough-failing-to-connect-connected-devices%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Looks like it was option 1, hardware compatibility.



          I swapped the StarTech.com 4 Port USB 3.0 Card Adapter (PEXUSB3S44V) for a 4 Port HighPoint RocketU RU1144D which now works as expected.






          share|improve this answer























          • MANY PCIe devices aren't compatible, in fact there's a HCL for just that reason - that said we had similar needs for USB and chose to use a USB-over-IP server which worked great and also allowed for vMotions/DRS.

            – Chopper3
            Jun 7 at 15:00











          • The HCL is TERRRIBBLEE! I tried to find a section in it for USB PCIe cards and couldn't. If you can highlight how to locate this it will most likely help others in future.

            – MarcF
            Jun 7 at 15:05











          • vmw keep changing the urls or I would have.

            – Chopper3
            Jun 9 at 8:35















          1














          Looks like it was option 1, hardware compatibility.



          I swapped the StarTech.com 4 Port USB 3.0 Card Adapter (PEXUSB3S44V) for a 4 Port HighPoint RocketU RU1144D which now works as expected.






          share|improve this answer























          • MANY PCIe devices aren't compatible, in fact there's a HCL for just that reason - that said we had similar needs for USB and chose to use a USB-over-IP server which worked great and also allowed for vMotions/DRS.

            – Chopper3
            Jun 7 at 15:00











          • The HCL is TERRRIBBLEE! I tried to find a section in it for USB PCIe cards and couldn't. If you can highlight how to locate this it will most likely help others in future.

            – MarcF
            Jun 7 at 15:05











          • vmw keep changing the urls or I would have.

            – Chopper3
            Jun 9 at 8:35













          1












          1








          1







          Looks like it was option 1, hardware compatibility.



          I swapped the StarTech.com 4 Port USB 3.0 Card Adapter (PEXUSB3S44V) for a 4 Port HighPoint RocketU RU1144D which now works as expected.






          share|improve this answer













          Looks like it was option 1, hardware compatibility.



          I swapped the StarTech.com 4 Port USB 3.0 Card Adapter (PEXUSB3S44V) for a 4 Port HighPoint RocketU RU1144D which now works as expected.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 7 at 14:49









          MarcFMarcF

          15819




          15819












          • MANY PCIe devices aren't compatible, in fact there's a HCL for just that reason - that said we had similar needs for USB and chose to use a USB-over-IP server which worked great and also allowed for vMotions/DRS.

            – Chopper3
            Jun 7 at 15:00











          • The HCL is TERRRIBBLEE! I tried to find a section in it for USB PCIe cards and couldn't. If you can highlight how to locate this it will most likely help others in future.

            – MarcF
            Jun 7 at 15:05











          • vmw keep changing the urls or I would have.

            – Chopper3
            Jun 9 at 8:35

















          • MANY PCIe devices aren't compatible, in fact there's a HCL for just that reason - that said we had similar needs for USB and chose to use a USB-over-IP server which worked great and also allowed for vMotions/DRS.

            – Chopper3
            Jun 7 at 15:00











          • The HCL is TERRRIBBLEE! I tried to find a section in it for USB PCIe cards and couldn't. If you can highlight how to locate this it will most likely help others in future.

            – MarcF
            Jun 7 at 15:05











          • vmw keep changing the urls or I would have.

            – Chopper3
            Jun 9 at 8:35
















          MANY PCIe devices aren't compatible, in fact there's a HCL for just that reason - that said we had similar needs for USB and chose to use a USB-over-IP server which worked great and also allowed for vMotions/DRS.

          – Chopper3
          Jun 7 at 15:00





          MANY PCIe devices aren't compatible, in fact there's a HCL for just that reason - that said we had similar needs for USB and chose to use a USB-over-IP server which worked great and also allowed for vMotions/DRS.

          – Chopper3
          Jun 7 at 15:00













          The HCL is TERRRIBBLEE! I tried to find a section in it for USB PCIe cards and couldn't. If you can highlight how to locate this it will most likely help others in future.

          – MarcF
          Jun 7 at 15:05





          The HCL is TERRRIBBLEE! I tried to find a section in it for USB PCIe cards and couldn't. If you can highlight how to locate this it will most likely help others in future.

          – MarcF
          Jun 7 at 15:05













          vmw keep changing the urls or I would have.

          – Chopper3
          Jun 9 at 8:35





          vmw keep changing the urls or I would have.

          – Chopper3
          Jun 9 at 8:35

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f970264%2fesxi-usb-pcie-passthrough-failing-to-connect-connected-devices%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

          Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

          Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020