Hm... what does "no longer have the rom" mean? Where can i find the right rom and how do i flash it (probably there is a manual for that)?
It is a onboard Controller... The result of "Flash without rom" is IT-Mode?
If you dig through this thread you will find a number of links pointing you in the correct direction. If you are worried about bricking the card then I would be a bit leary as your unit can't be replaced without pulling the MB. Tough call, you can also try digging into pointing to the rom file but I am unsure if that can be done. PCI passthrough is a tough one.I have the LSI SAS2308... hopefully there is a solution for this card? *pray*Do you mean IT-Mode flash?Thank you!
Hi,
i flashed to IR-Mode today (Version P16) and now it seems to work. There are some issues with spin-down i have to fix but so far its working. Thanks for your help anyway!
machine: q35
hostpci0: xx:xx.0,driver=vfio,pcie=1,rombar=off
I know I'm commenting on an old thread, but this thread came up in my Google searches and hopefully this will help someone out in the future...
I had the same mpt bios error as the OP trying to passthough two LSI 9211i (m1015) and one LSI 1068 (br10i) IT mode JBOD controllers. What worked for me was switching to q35, vfio and using the rombar option.
add to /etc/pve/qemu-server/<vmid>.conf:
Code:machine: q35 hostpci0: xx:xx.0,driver=vfio,pcie=1,rombar=off
This stops the error from showing up at VM start, and the card gets reinitialized when the guest starts. I can see all 24 drives attached to the cards, and ZFS (installed in the guest OS) runs beautifully.
Daniel
I finally had to give Up trying.Greetings Helle:
Were you ever able to achieve HBA passthrough to FreeNAS?
That is awesome. Unfortunately I cannot do this unsupported reflashing of the embedded sas controllers on my fairly expensive Huawei servers.. I would rather solve the issue the software way and that doesn't include switching to esx or other supposedly working hypervisors.Greetings Helle:
I have been working 12 hour days on an extended 4th of July shutdown schedule at my day job, so have had little spare time to work on my PCI passthrough issue at home. However, I am happy to report that I have just figured it out during a break. I now have access to all of my SAS drives via my Dell H710 HBA flashed with IT firmware from within FreeNAS running on a VM under PVE - YES!!! I am super excited as now I can move forward with my project. I know exactly what stumped me, but want to go back and document the steps for those attempting the same. I plan to complete a fresh install of PVE, fresh install of FreeNAS, and will post my CLI steps that got me to this point soon...
I know I'm commenting on an old thread, but this thread came up in my Google searches and hopefully this will help someone out in the future...
I had the same mpt bios error as the OP trying to passthough two LSI 9211i (m1015) and one LSI 1068 (br10i) IT mode JBOD controllers. What worked for me was switching to q35, vfio and using the rombar option.
add to /etc/pve/qemu-server/<vmid>.conf:
Code:machine: q35 hostpci0: xx:xx.0,driver=vfio,pcie=1,rombar=off
This stops the error from showing up at VM start, and the card gets reinitialized when the guest starts. I can see all 24 drives attached to the cards, and ZFS (installed in the guest OS) runs beautifully.
Daniel
01:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)
Subsystem: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (9210-8i) [1000:3040]
Kernel driver in use: vfio-pci
Kernel modules: mpt3sas
02:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)
Subsystem: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (9210-8i) [1000:3040]
Kernel driver in use: vfio-pci
Kernel modules: mpt3sas
cpu: qemu64
hostpci0: 01:00,pcie=1,romfile=mptsas2.rom
hostpci1: 02:00,pcie=1,romfile=mptsas2.rom
machine: q35
memory: 8192
/sys/kernel/iommu_groups/11/devices/0000:01:00.0
/sys/kernel/iommu_groups/12/devices/0000:02:00.0
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction"
options kvm ignore_msrs=1
blacklist mpt3sas
options vfio-pci ids=1000:0072
options vfio_iommu_type1 allow_unsafe_interrupts=1
I also got two M1015 flashed to IT mode which I want to pass through, I tried everything, but my virtual machine doesn't want to recognize the controllers..
lspci -nnk:
Code:01:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03) Subsystem: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (9210-8i) [1000:3040] Kernel driver in use: vfio-pci Kernel modules: mpt3sas 02:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03) Subsystem: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (9210-8i) [1000:3040] Kernel driver in use: vfio-pci Kernel modules: mpt3sas
vm-100.conf
Code:cpu: qemu64 hostpci0: 01:00,pcie=1,romfile=mptsas2.rom hostpci1: 02:00,pcie=1,romfile=mptsas2.rom machine: q35 memory: 8192
If I don't pass the romfile or don't set rombar to off, then the VM will take forever to boot because it's trying to load the MPT BIOS which also fails with the fault code 2667h.
iommu groups are separate:
Code:/sys/kernel/iommu_groups/11/devices/0000:01:00.0 /sys/kernel/iommu_groups/12/devices/0000:02:00.0
/etc/default/grub
Code:GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction"
/etc/modprobe.d/*
Code:options kvm ignore_msrs=1 blacklist mpt3sas options vfio-pci ids=1000:0072 options vfio_iommu_type1 allow_unsafe_interrupts=1
But when I execute lspci in FreeNAS, the controllers won't appear, neither does sas2flash/sas3flash recognize any LSI adapters.
It's a completely fresh install of Proxmox VE 6.1 without any additional kernel patches.
Hardware:
Intel Xeon E3-1230v3
ASRock Rack E3C222D4U
For the life of me I don't wanna use ESXi anymore, but if I can't even pass through some SAS controllers I can't really trust in the stability of the system overall...
pcie is only available in q35, but you can passthrough pcie devices as pci devices using i440fx, and since the pci hardware is all virtual there should be no noticable speed impact