HBA Passthru issues - Multiple devices same ID


Recommended Posts

Hey everyone,

 

I have UNRAID running with multiple VM's.  I want one of those to have an HBA passed through to it.  

 

I have two HBA (in IT mode) cards in the machine and they both have the same vendor ID, so I am unable to use append vfio-pci.ids= on the flash

 

The two cards are:

IOMMU group 18:[1000:0072] 04:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)

IOMMU group 53:[1000:0072] 42:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)

 

I have created the file /boot/config/vfio-pci.cfg.

Inside of that file I have:

BIND=0000:42:00:0

 

The output of LSPCI -V is 

42:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
        Subsystem: Dell 6Gbps SAS HBA Adapter
        Flags: bus master, fast devsel, latency 0, IRQ 53, NUMA node 1
        I/O ports at 9c00
        Memory at d0ff0000 (64-bit, non-prefetchable)
        Memory at d0f80000 (64-bit, non-prefetchable)
        Expansion ROM at d0000000 [disabled]
        Capabilities: [50] Power Management version 3
        Capabilities: [68] Express Endpoint, MSI 00
        Capabilities: [d0] Vital Product Data
        Capabilities: [a8] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [c0] MSI-X: Enable+ Count=15 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [138] Power Budgeting <?>
        Kernel driver in use: mpt3sas
        Kernel modules: mpt3sas

 

After a reboot, I am unable to see the HBA in the PCI devices when I go to edit the VM.  Is there something else I need to to call that file during boot?  Or did I create the vfio-pci.cfg wrong?

 

Thanks for the help!

 

SYSLOG has been attached from reboot

 

 

syslog.txt

Edited by poopsie
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.