Can't passthrough a Firewire/SATA PCI card to Windows 7 VM

VictorB

New Member
Oct 12, 2021
1
0
1
24
Romania
Hi!

So as the title says I'm trying to passthrough the PCI card to a Windows 7 VM. This card has both a Firewire controller as well as a SATA one.
I have the two controllers bound to vfio, IOMMU is enable, the drivers for the controller are blacklisted and I have followed the official tutorials on the topics:

https://pve.proxmox.com/wiki/PCI(e)_Passthrough
https://pve.proxmox.com/wiki/Pci_passthrough

When I try to start the VM after attaching the PCI card I get the following error:
kvm: -device vfio-pci,host=0000:03:08.0,id=hostpci0,bus=pci.0,addr=0x10: vfio 0000:03:08.0: Failed to set up TRIGGER eventfd signaling for interrupt INTX-0: VFIO_DEVICE_SET_IRQS failure: Device or resource bus

Running lspci -vvv I get the following for the controllers of interest:



Code:
02:05.0 PCI bridge: Texas Instruments PCI2250 PCI-to-PCI Bridge (rev 02) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32, Cache Line Size: 64 bytes
        IOMMU group: 9
        Bus: primary=02, secondary=03, subordinate=03, sec-latency=32
        I/O behind bridge: 0000d000-0000dfff [size=4K]
        Memory behind bridge: f7d00000-f7dfffff [size=1M]
        Prefetchable memory behind bridge: fff00000-000fffff [disabled]
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
                Bridge: PM- B3+
        Capabilities: [e4] CompactPCI hot-swap <?>

03:08.0 Mass storage controller: Silicon Image, Inc. SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 02)
        Subsystem: Silicon Image, Inc. SiI 3112 SATALink Controller
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 19
        IOMMU group: 9
        Region 0: I/O ports at d040 [size=8]
        Region 1: I/O ports at d030 [size=4]
        Region 2: I/O ports at d020 [size=8]
        Region 3: I/O ports at d010 [size=4]
        Region 4: I/O ports at d000 [size=16]
        Region 5: Memory at f7d81000 (32-bit, non-prefetchable) [size=512]
        Expansion ROM at f7d00000 [virtual] [disabled] [size=512K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D3 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-
        Kernel driver in use: vfio-pci
        Kernel modules: sata_sil

03:09.0 FireWire (IEEE 1394): LSI Corporation FW322/323 [TrueFire] 1394a Controller (rev 61) (prog-if 10 [OHCI])
        Subsystem: LSI Corporation FW322/323 [TrueFire] 1394a Controller
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (3000ns min, 6000ns max), Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 11
        IOMMU group: 9
        Region 0: Memory at f7d80000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: vfio-pci
        Kernel modules: firewire_ohci

If anyone can point me in the right direction your help will be greatly appreciated!
 
Hello VictorB, i'm facing the very same problem, with a PCIe VIA VT6315 firewire card and a Win10 VM.

b4:00.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6315 Series Firewire Controller [1106:3403] (rev 01)
Subsystem: VIA Technologies, Inc. VT6315 Series Firewire Controller [1106:3403]
Kernel driver in use: vfio-pci
Kernel modules: firewire_ohci

Blacklisted, bond to vfio, correctly shown in W10's device panel. The PCIe card should drive a Behringer FCA1616 audio interface (BTW tried the interface with a MacBook Pro and it works as expected, immediately recognized by the machine and MacOS Catalina).

Did you manage to make it work? If yes, would you please be so kind to share your solution?

Thank you so very much in advance!

Davide.
 

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!