[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] SR-IOV VF Passthrough Issues



>>> On 18.08.11 at 23:14, Kaushik Kumar Ram <kaushik@xxxxxxxx> wrote:
> #> sudo lspci -vv -xxx -s 02:10.0 -n
>  
> 02:10.0 0200: 8086:10ed (rev 01)
>       Subsystem: 8086:0003
>       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-
>       Region 0: [virtual] Memory at <unassigned> (64-bit, non-prefetchable)
>       Region 3: [virtual] Memory at <unassigned> (64-bit, non-prefetchable)

This isn't meaningful for VFs. You'd need to also show the lspci output
on the PF...

>       Capabilities: [70] MSI-X: Enable- Count=3 Masked-
>               Vector table: BAR=3 offset=00000000
>               PBA: BAR=3 offset=00002000
>       Capabilities: [a0] Express (v0) Endpoint, MSI 00
>               DevCap: MaxPayload 128 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-
>                       MaxPayload 128 bytes, MaxReadReq 128 bytes
>               DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
> TransPend-
>               LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency 
> L0 <64ns, L1 
> <1us
>                       ClockPM- Surprise- LLActRep- BwNot-
>               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
>                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>               LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- 
> DLActive- BWMgmt- ABWMgmt-
>       Capabilities: [100 v1] Advanced Error Reporting
>               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- 
> RxOF- MalfTLP- ECRC- UnsupReq- 
> ACSViol-
>               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- 
> RxOF- MalfTLP- ECRC- UnsupReq- 
> ACSViol-
>               UESvrt: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- 
> RxOF- MalfTLP- ECRC- 
> UnsupReq- ACSViol-
>               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
>               CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
>               AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
>       Capabilities: [150 v1] Alternative Routing-ID Interpretation (ARI)
>               ARICap: MFVC- ACS-, Next Function: 0
>               ARICtl: MFVC- ACS-, Function Group: 0
>       Kernel driver in use: pciback
> 00: ff ff ff ff 00 00 10 00 01 00 00 02 00 00 00 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 03 00
> 30: 00 00 00 00 70 00 00 00 00 00 00 00 00 00 00 00
> 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 70: 11 a0 02 00 03 00 00 00 03 20 00 00 00 00 00 00
> 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> a0: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>...
> lspci output in the guest after starting the guest.
> 
> #> sudo lspci -vv -xxx -s 02:10.0 -n
> 
> 02:10.0 0200: 8086:10ed (rev 01)
>       Subsystem: 8086:0003
>       Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- 
> FastB2B-
>       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
> <MAbort- >SERR- 
> <PERR-
>       Region 0: Memory at <unassigned> (64-bit, non-prefetchable) [disabled]
>       Region 3: Memory at <unassigned> (64-bit, non-prefetchable) [disabled]

... to determine whether this is caused by a problem in pciback or
Dom0's PCI subsystem. For that, the Dom0 kernel messages would
be relevant (/var/log/boot.msg and/or the respective part of
/var/log/messages, assuming your distro uses the same file names as
mine).

Jan

>       Capabilities: [70] MSI-X: Enable- Mask- TabSize=3
>               Vector table: BAR=3 offset=00000000
>               PBA: BAR=3 offset=00002000
>       Capabilities: [a0] Express Endpoint IRQ 0
>               Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
>               Device: Latency L0s <64ns, L1 <1us
>               Device: AtnBtn- AtnInd- PwrInd-
>               Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
>               Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
>               Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
>               Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
>               Link: Latency L0s <64ns, L1 <1us
>               Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
>               Link: Speed unknown, Width x0
>       Capabilities: [100] Advanced Error Reporting
>       Capabilities: [150] Unknown (14)
> 00: 86 80 ed 10 00 00 10 00 01 00 00 02 00 00 00 00
> 10: 04 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 03 00
> 30: 00 00 00 00 70 00 00 00 00 00 00 00 00 00 00 00
> 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 70: 11 a0 02 00 03 00 00 00 03 20 00 00 00 00 00 00
> 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> a0: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.