Hi list,
Linux kernel (3.12.8) fails to setup EHCI debug port on my Sandy Bridge
server. This seems to be a normal thing as I tried on other machines and
got the same result.
This is the EHCI host controller information (printed by lspci -vvv)
00:1a.0 USB controller: Intel Corporation C600/X79 series chipset USB2
Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
Subsystem: Intel Corporation Device 3584
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: 0
Interrupt: pin B routed to IRQ 22
Region 0: Memory at d0c20000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-
Kernel driver in use: ehci-pci
This is the Linux kernel log (printed by dmesg)
[0.000000] dbgp_num: 0
[0.000000] Found EHCI debug port on 00:1a.0
[0.000000] bar: 10 offset: 0a0
[0.000000] bar_val: d0c20000 offset: 0a0
[0.000000] ehci_bar: ffffffffff5fb000
[0.000000] dbgp: ehci BIOS state 00010001
[0.000000] dbgp: BIOS handoff
[0.000000] debug_port: 2
[0.000000] n_ports:2
[0.000000] dbgp:
[0.000000]Debug control: 00000000ehci cmd: 00080000ehci conf flg: 00000000
[0.000000]ehci status: 00001000ehci portsc: 00003000
[0.000000] portstatus1: 00003000
[0.000000] portstatus2: 00003000
[0.000000] dbgp: ehci reset done
[0.000000]Debug control: 00000000ehci cmd: 00080000ehci conf flg: 00000000
[0.000000]ehci status: 00001000ehci portsc : 00003000
[0.000000] dbgp: EHCI startup
[0.000000]Debug control: 40000000ehci cmd: 00080000ehci conf flg: 00000000
[0.000000]ehci status: 00001000ehci portsc: 00003000
[0.000000] ehci started
[0.000000] dbgp: reset port
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 00000004ehci portsc: 00001000
[0.000000] dbgp: Trying to force debug port online
[0.000000]Debug control: 40000000ehci cmd: 00080000ehci conf flg: 00000001
[0.000000]ehci status: 00001004ehci portsc: 00041005
[0.000000] dbgp: ehci reset done
[0.000000]Debug control: 00000000ehci cmd: 00080000ehci conf flg: 00000000
[0.000000]ehci status: 00001000ehci portsc: 00003000
[0.000000] dbgp: EHCI startup
[0.000000]Debug control: 40000000ehci cmd: 00080000ehci conf flg: 00000000
[0.000000]ehci status: 00001000ehci portsc: 00003000
[0.000000] ehci started
[0.000000] dbgp: reset port
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 00000004ehci portsc: 00001000
[0.000000] dbgp: EHCI startup
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 00000004ehci portsc: 00001000
[0.000000] ehci started
[0.000000] dbgp: reset port
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 00000004ehci portsc: 00001000
[0.000000] No device found in debug port
[0.000000] debug_port: 2
[0.000000] n_ports:2
[0.000000] dbgp:
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 0000000cehci portsc: 00001000
[0.000000] portstatus1: 00001803
[0.000000] portstatus2: 00001000
[0.000000] debug_port: 2
[0.000000] n_ports:2
[0.000000] dbgp:
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 0000000cehci portsc: 00001000
[0.000000] portstatus1: 00001803
[0.000000] portstatus2: 00001000
[0.000000] dbgp: ehci skip - already configured
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 0000000cehci portsc: 00001000
[0.000000] dbgp: EHCI startup
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 0000000cehci portsc: 00001000
[0.000000] ehci started
[0.000000] dbgp: reset port
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 0000000cehci portsc: 00001000
[0.000000] dbgp: Trying to force debug port online
[0.000000]Debug control: 40000000ehci cmd: 00080000ehci conf flg: 00000001
[0.000000]ehci status: 0000100cehci portsc: 00041005
[0.000000] dbgp: ehci reset done
[0.000000]Debug control: 00000000ehci cmd: 00080000ehci conf flg: 00000000
[0.000000]ehci status: 00001000ehci portsc: 00003000
[0.000000] dbgp: EHCI startup
[0.000000]Debug control: 40000000ehci cmd: 00080000ehci conf flg: 00000000
[0.000000]ehci status: 00001000ehci portsc: 00003000
[0.000000] ehci started
[0.000000] dbgp: reset port
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 00000004ehci portsc: 00001000
[0.000000] dbgp: EHCI startup
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 00000004ehci portsc: 00001000
[0.000000] ehci started
[0.000000] dbgp: reset port
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 00000004ehci portsc: 00001000
[0.000000] No device found in debug port
[0.000000] debug_port: 2
[0.000000] n_ports:2
[0.000000] dbgp:
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 0000000cehci portsc: 00001000
[0.000000] portstatus1: 00001803
[0.000000] portstatus2: 00001000
[0.000000] debug_port: 2
[0.000000] n_ports:2
[0.000000] dbgp:
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 0000000cehci portsc: 00001000
[0.000000] portstatus1: 00001803
[0.000000] portstatus2: 00001000
[0.000000] dbgp: ehci skip - already configured
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 0000000cehci portsc: 00001000
[0.000000] dbgp: EHCI startup
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 0000000cehci portsc: 00001000
[0.000000] ehci started
[0.000000] dbgp: reset port
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 0000000cehci portsc: 00001000
[0.000000] dbgp: Trying to force debug port online
[0.000000]Debug control: 40000000ehci cmd: 00080000ehci conf flg: 00000001
[0.000000]ehci status: 0000100cehci portsc: 00041005
[0.000000] dbgp: ehci reset done
[0.000000]Debug control: 00000000ehci cmd: 00080000ehci conf flg: 00000000
[0.000000]ehci status: 00001000ehci portsc: 00003000
[0.000000] dbgp: EHCI startup
[0.000000]Debug control: 40000000ehci cmd: 00080000ehci conf flg: 00000000
[0.000000]ehci status: 00001000ehci portsc: 00003000
[0.000000] ehci started
[0.000000] dbgp: reset port
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 00000004ehci portsc: 00001000
[0.000000] dbgp: EHCI startup
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 00000004ehci portsc: 00001000
[0.000000] ehci started
[0.000000] dbgp: reset port
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 00000004ehci portsc: 00001000
[0.000000] No device found in debug port
[0.000000] debug_port: 2
[0.000000] n_ports:2
[0.000000] dbgp:
[0.000000]Debug control: 40000000ehci cmd: 00080001ehci conf flg: 00000001
[0.000000]ehci status: 0000000cehci portsc: 00001000
[0.000000] portstatus1: 00001803
[0.000000] portstatus2: 00001000
[0.000000] ehci_setup failed
[0.000000] Malformed early option 'kgdbdbgp'
Is this a known issue? Is there any fix there for it?
Thanks,
baolu
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html