[vfio-users] VFIO device assignment fails for LSI SAS2008 on Xeon E3-1200 v3

Samuel Holland samuel at sholland.org
Tue May 10 22:41:28 UTC 2016


On 05/10/2016 05:15 PM, Alex Williamson wrote:
> On Mon, May 9, 2016 at 4:46 PM, Damon Namod wrote:
>> Hi all,
>>
>> I just tried Linux 4.6.0-rc7 with qemu 2.6.0-rc4. Same error and
>> behaviour. What the heck is this?
>
> Could you post 'sudo lspci -vvvs  01:00.0' from the host system?  I
> found possibly something more similar to your card and it has rather
> poor alignment of the MSI-X structures, I wonder if your issue is
> something similar.  Unfortunately this HBA hosts the root disk on
> the system I found, so I can't assign it unless I can figure out
> something else to run the host from (and I don't have physical
> access to run from USB).

I have a similar piece of hardware (it's the LSI branded card instead of
the IBM, but the chip is the same). Attached is the lspci output from
it, for comparison if nothing else. Unfortunately, this is also hosting
my root filesystem, so I haven't had a chance to use it with a VM yet,
so I can't say if it would work.

--
Regards,
Samuel Holland <samuel at sholland.org>
-------------- next part --------------
14: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] [1000:3020]
        Physical Slot: 1
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 0
        Region 0: I/O ports at 5000 [size=256]
        Region 1: Memory at fbff0000 (64-bit, non-prefetchable) [size=16K]
        Region 3: Memory at fbf80000 (64-bit, non-prefetchable) [size=256K]
        [virtual] Expansion ROM at fbf00000 [disabled] [size=512K]
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [68] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 4096 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
                DevCtl: Report errors: Correctable- Non-Fatal+ Fatal+ Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
                        MaxPayload 256 bytes, MaxReadReq 4096 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 5GT/s, Width x8, ASPM L0s, Exit Latency L0s <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range BC, TimeoutDis+, LTR-, OBFF Not Supported
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [d0] Vital Product Data
                Unknown small resource type 00, will not decode more.
        Capabilities: [a8] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [c0] MSI-X: Enable+ Count=15 Masked-
                Vector table: BAR=1 offset=00002000
                PBA: BAR=1 offset=00003800
        Kernel driver in use: mpt3sas


More information about the vfio-users mailing list