[SOLVED] SAS PCIE Passthrough Not working -DL380p g8

djkay2637

New Member
Apr 4, 2024
11
0
1
Good afternoon All,

I have been frantically attempting to resolve an issue that, i have to admit, has been keeping me away at night. Like lots of people, i have been migrating away from ESXI and over to PM VE. So far so good with my homelab server.

I have a fresh install of the latest 8.2.2 on a ZFS SSD, set iOMMU to on, followed every tutorial i can find but when i attempt to pass my HBA card thorough to a VM, i get the error below. It did work fine in ESXI so i know the bios is set correctly.


This is the error:
Code:
kvm: -device vfio-pci,host=0000:07:00.0,id=hostpci0,bus=pci.0,addr=0x10: vfio 0000:07:00.0: failed to setup container for group 50: Failed to set group container: Invalid argument
TASK ERROR: start failed: QEMU exited with code 1

There are no other devices on Group 50. I have backlisted the mpt3sas driver, however when PM boots, the disks from the SAS card are visible within Proxmox VE. ( not sure if this is relevant) When the VM starts, they do disappear.

Server is a HP DL380e G8. PCIE device:
Code:
07:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
        DeviceName: Storage Controller
        Subsystem: Broadcom / LSI 9211-8i
        Kernel driver in use: vfio-pci
        Kernel modules: mpt3sas

The VM is a q35 type, RAM ballooning off and i am using the same settings as i did for my SuperMicro server which worked as expected.

Does anybody have any suggestions i could try?

Thank you in advance,
Kind regards,
Dan.
 
Hi, I have the same issue with a HP DL380G8 and a HP H221 / SAS2308-IT HBA running with Linux 6.8.4-3-pve.
maybe you can point me into the right direction if the method above is still valid?
(sry I am quite new to proxmox and I have no clue what to do next..)

device:
Code:
07:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2308 PCI-Express Fusion-MPT SAS-2 (rev 05)
        DeviceName: Storage Controller
        Subsystem: Hewlett Packard Enterprise H221 / 9207-8e
        Physical Slot: 2
        Flags: fast devsel, IRQ 115, NUMA node 0, IOMMU group 52
        I/O ports at 7000 [size=256]
        Memory at f7ff0000 (64-bit, non-prefetchable) [size=64K]
        Memory at f7f80000 (64-bit, non-prefetchable) [size=256K]
        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=16 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [1e0] Secondary PCI Express
        Capabilities: [1c0] Power Budgeting <?>
        Capabilities: [190] Dynamic Power Allocation <?>
        Capabilities: [148] Alternative Routing-ID Interpretation (ARI)
        Kernel driver in use: vfio-pci
        Kernel modules: mpt3sas


Code:
kvm: -device vfio-pci,host=0000:07:00.0,id=hostpci0,bus=pci.0,addr=0x10: vfio 0000:07:00.0: failed to setup container for group 52: Failed to set group container: Invalid argument
TASK ERROR: start failed: QEMU exited with code 1
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!