Re: How to pass through off-chip USB controller
Tzeng, Tonny <tonny.tzeng@...>
Thanks for helping out. The `lspci –s 1:0.0 –vvv’ generates below output:
01:00.0 USB controller: Fresco Logic FL1100 USB 3.0 Host Controller (rev 20) (prog-if 30 [XHCI])
Subsystem: Fresco Logic FL1100 USB 3.0 Host Controller
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 22
Region 0: Memory at 91500000 (64-bit, non-prefetchable) [size=64K]
Region 2: Memory at 91511000 (64-bit, non-prefetchable) [size=4K]
Region 4: Memory at 91510000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
Debugging DM using gdb indicates the program stops at hw/pci/passthrough.c:560. Any idea what could be the cause? I don’t know how to capture the whole screen output from the UOS kernel, the detailed gdb log is attached for your inspection. Thanks.
From: acrn-users@... [mailto:acrn-users@...]
On Behalf Of Zhai, Edwin
The config is ok.
Could you pls. try gdb to catch the seg fault? Just replace the 'acrn-dm' with 'gdb --args acrn-dm...' in your launch script.
Did you paste all your console output when launch UOS? And 'lspci -s 1:0.0 -vvv' in SOS should give some helpful info.
On 2018/7/30 11:21, Tzeng, Tonny wrote: