ESXI 6.0 Passthrough onboard SATA

Discussion in 'VMware, VirtualBox, Citrix' started by T_Minus, Mar 4, 2016.

  1. T_Minus

    T_Minus Moderator

    Joined:
    Feb 15, 2015
    Messages:
    6,255
    Likes Received:
    1,254
    #1
  2. ehfortin

    ehfortin Member

    Joined:
    Nov 1, 2015
    Messages:
    56
    Likes Received:
    5
    If you are to do pass-through to the VM, VMware doesn't need to have a driver for the card. It is your guest OS that will have to support it. If you want to do RDM (Raw Device Mapping) where the AHCI controller stays Under the ESXI control, then yes, you are right, you need a driver at this level.

    As you refered to pass-through, I would say you should be good with the driver from the OS in your VM.
     
    #2
  3. T_Minus

    T_Minus Moderator

    Joined:
    Feb 15, 2015
    Messages:
    6,255
    Likes Received:
    1,254
    How would I pass it through if it's not on the 'pass through' list then ?
     
    #3
  4. ehfortin

    ehfortin Member

    Joined:
    Nov 1, 2015
    Messages:
    56
    Likes Received:
    5
    If in the DirectPath I/O Configuration screen you are unable to mark a device for passthrough, it means your server is not doing vt-d. You have to make sure you chipset can do it, your processor support it, your bios is allowing it and then, in the directpath I/O configuration, if you click on edit (on the right of the screen while in VSphere Client), you should be able to mark the devices you want to set as passthrough.

    This feature is working at the hardware level so it is a PCI address that you are passing to the VM. That's why you don't need a driver at the virtualization level.

    I guess you will have some setup to check.
     
    #4
  5. T_Minus

    T_Minus Moderator

    Joined:
    Feb 15, 2015
    Messages:
    6,255
    Likes Received:
    1,254
    Thanks, I think there may be some confusion. I know how to pass through a device is vsphere... the onboard chipset for SATA is not listed, that's why I made this thread.

    I can pass-through my onboard LSI 3008 controller, USB, etc... the motherboard/bios/cpu def. support it :)

    Any other ideas?
     
    #5
  6. ehfortin

    ehfortin Member

    Joined:
    Nov 1, 2015
    Messages:
    56
    Likes Received:
    5
    I was not sure if it was the case or not. I asked myself a few times after seeing "it's not on the pass-through list" and I figure it was better to repeat Something you already knew then not saying it and looking for the wrong thing.

    Sorry, I don't know for the SATA. I just checked on my server and I don't see the SATA either. Maybe it can't be adressed independantly or it depend of the actual implantation?

    Good luck
     
    #6
  7. namike

    namike Member

    Joined:
    Sep 2, 2014
    Messages:
    60
    Likes Received:
    16
    #7
    T_Minus likes this.
  8. Kal G

    Kal G Active Member

    Joined:
    Oct 29, 2014
    Messages:
    133
    Likes Received:
    36
    I'm not positive on the C610 chipset, but, as ehfortin mentioned in his thread, you'll need to add the Wellsburg controller to /etc/vmware/passthru.map.

    You'll need the vendor and device id. Run lspci at the ESXi command line. Look for the line pertaining to your mass storage controller. It will likely be "0000:00:XX.X Mass Storage Controller: Intel Corporation Wellsburg AHCI Controller".

    Make a note of the hex prefix (0000:00:XX.X) and then run 'lspci -n'.

    Find the line corresponding to the prefix, it'll look something like '0000:00:1f.2 Class 0106: 8086:8d62 [vmhba2]'. That last part, "8086:8d62" in this case, are the vendor and device id.

    Then add them to your passthru.map file like so:

    # INTEL Wellsburg AHCI
    8086 8d62 d3d0 false

    VMware reference for VT-D passthrough.
     
    #8
    monte1299, nev_neo, sth and 3 others like this.
  9. T_Minus

    T_Minus Moderator

    Joined:
    Feb 15, 2015
    Messages:
    6,255
    Likes Received:
    1,254
    Thanks! Will give that a try.
     
    #9
  10. Eric Faden

    Eric Faden Member

    Joined:
    Dec 5, 2016
    Messages:
    97
    Likes Received:
    6
    Did you ever get this working?... I'm trying to do this myself.
     
    #10
  11. dswartz

    dswartz Member

    Joined:
    Jul 14, 2011
    Messages:
    325
    Likes Received:
    24
    This worked for me as documented. A Supermicro X10DRL-i.
     
    #11
  12. Middge

    Middge New Member

    Joined:
    Mar 5, 2017
    Messages:
    1
    Likes Received:
    1
    I literally created an account just to thank you for this. Concise and educated, this solution worked perfectly. Thank you!
     
    #12
    Kal G likes this.
  13. mouse

    mouse Member

    Joined:
    Mar 3, 2016
    Messages:
    44
    Likes Received:
    1
    Sorry I won't open a new thread for this
    I've a X10SRH-CLN4F (C612), I would to pass the SATA controller to use my 8 HDD directly on my xpenology building VM on ESXI 6.5
    It seems I wasn't able to passtrough them (confirmed?), so my question is: if I connect them to the onboard LSI 3008 SAS controller it's possible to pass them?
    Really thanks in advance
     
    #13
  14. AndroidCat

    AndroidCat New Member

    Joined:
    Mar 3, 2015
    Messages:
    4
    Likes Received:
    1
    Kal G,
    thanks, this worked like a charm on Supermicro X10SRM-TF (C612). Passed 4 ports (exposed via SFF-8087) out of 10 to FreeNAS.
    On this motherboard you can separately pass 4 ports and 6 ports, visible as two independent Wellsburg controllers.
     
    #14
  15. zir_blazer

    zir_blazer Active Member

    Joined:
    Dec 5, 2016
    Messages:
    108
    Likes Received:
    35
    I think no one mentioned it and is worth saying, but LGA 2011/2011-3 Chipsets got TWO independent SATA Controllers, one that has 6 Ports and another 4. You may want to make sure that your disks are in the correct one, if you're only passing one of them. In manuals they are called sSATA and iSATA if I recall correctly, or something like that.
     
    #15
  16. AndroidCat

    AndroidCat New Member

    Joined:
    Mar 3, 2015
    Messages:
    4
    Likes Received:
    1
    My experience exactly.
     
    #16
  17. monte1299

    monte1299 New Member

    Joined:
    May 2, 2018
    Messages:
    2
    Likes Received:
    0
    Hello! I'm trying the exact instructions that Kal G provided in this thread, but I'm not having luck with my C610 controller. My system is a Supermicro X10SRM-F. I have two onboard AHCI controllers (you can see them in the screenshots of my PCI list), as well as another ASMedia SATA controller that I added through a PCI slot. The onboard Intel Wellsburg AHCI Controllers (C610) have 10 total drives attached and I want to pass all 10 to a VM running FreeNAS. ESXi and the FreeNAS VM will run off of the 120GB SSD I have connected to the ASMedia SATA controller. Once FreeNAS is up, I'll expose additional storage from there.

    Everything with this setup hinges on getting the Intel AHCI controllers to pass through to the VM. I'm hitting a wall with my troubleshooting efforts. Do you have any ideas?
    passthru map.PNG PCI List 1.PNG PCI List 2.PNG
     
    #17
    Last edited: May 2, 2018
  18. Sisyphe

    Sisyphe New Member

    Joined:
    Nov 20, 2017
    Messages:
    2
    Likes Received:
    0
    Are you using ESXi 6.5 and 6.7? It seems that editing passthru.map is not working anymore with 6.7, I have the same issue with an Intel Lynx AHCI controller that was working fine with 6.5.
     
    #18
  19. monte1299

    monte1299 New Member

    Joined:
    May 2, 2018
    Messages:
    2
    Likes Received:
    0
    I was attempting this on 6.7. If I had seen your comment earlier, I would have tried 6.5. I've decided to build a separate server for ESXi. It will cost a bit more, but overall I think it will be a cleaner solution. If you do get this working on 6.7, please post your solution though in case anyone else is having this problem.
     
    #19
  20. Sonner

    Sonner New Member

    Joined:
    Jan 20, 2016
    Messages:
    7
    Likes Received:
    7
    Try this. It worked for me.
    How to passthrough SATA drives directly on VMWare ESXI 6.5 as RDMs
     
    #20
Similar Threads: ESXI Passthrough
Forum Title Date
VMware, VirtualBox, Citrix ESXI 6.7 GPU PassThrough and "Expose hardware assisted virtualization to the guest OS" not working. Tuesday at 1:55 PM
VMware, VirtualBox, Citrix ESXI 6.0 usb card Passthrough -> unrecoverable NMI May 14, 2018
VMware, VirtualBox, Citrix ESXi 6.7 can't change settings, don't survive reboot (passthrough issues, too!) May 1, 2018
VMware, VirtualBox, Citrix Help: ESXI 6.5U1 passthrough GTX560ti successfully, but fail on... Mar 18, 2018
VMware, VirtualBox, Citrix AMD Vega 64 ESXI 6.5 passthrough (problems) Jan 20, 2018

Share This Page