Re: Continuous stream of small bulk transfers hangs on OHCI-based system

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

 



On Sun, Aug 5, 2012 at 5:36 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> Build a kernel with CONFIG_USB_DEBUG enabled (and also
> CONFIG_DEBUG_FS).  When the hang occurs, go into the subdirectory of
> /sys/kernel/debug/usb/ohci/ corresponding to the bus the device is
> plugged into (0000:00:04.0 if your setup hasn't changed), and post
> copies of the "registers" and "async" files.

Thanks for the input, Alan.

Here's the "registers", before plugging my device in:
-----------------------------------------------------
bus pci, device 0000:00:04.0
OHCI Host Controller
ohci_hcd
OHCI 1.0, NO legacy support registers, rh state running
control 0x68f RWE RWC HCFS=operational IE PLE CBSR=3
cmdstatus 0x00000 SOC=0
intrstatus 0x00000024 FNO SF
intrenable 0x8000005a MIE RHSC UE RD WDH
ed_controlhead c781f000
hcca frame 0xcca2
fmintvl 0xa7782edf FIT FSMPS=0xa778 FI=0x2edf
fmremaining 0x80001500 FRT FR=0x1500
periodicstart 0x2a2f
lsthresh 0x0700
hub poll timer off
roothub.a 01001206 POTPGT=1 NOCP NPS NDP=6(6)
roothub.b 00000000 PPCM=0000 DR=0000
roothub.status 00008000 DRWE
roothub.portstatus [0] 0x00000100 PPS
roothub.portstatus [1] 0x00000100 PPS
roothub.portstatus [2] 0x00000303 LSDA PPS PES CCS
roothub.portstatus [3] 0x00000100 PPS
roothub.portstatus [4] 0x00000100 PPS
roothub.portstatus [5] 0x00000100 PPS
-----------------------------------------------------

Here's after plugging in, but before the hang:
-----------------------------------------------------
bus pci, device 0000:00:04.0
OHCI Host Controller
ohci_hcd
OHCI 1.0, NO legacy support registers, rh state running
control 0x68f RWE RWC HCFS=operational IE PLE CBSR=3
cmdstatus 0x00000 SOC=0
intrstatus 0x00000024 FNO SF
intrenable 0x8000005a MIE RHSC UE RD WDH
ed_controlhead c781f0a0
hcca frame 0x0db6
fmintvl 0xa7782edf FIT FSMPS=0xa778 FI=0x2edf
fmremaining 0x80000296 FRT FR=0x0296
periodicstart 0x2a2f
lsthresh 0x0700
hub poll timer off
roothub.a 01001206 POTPGT=1 NOCP NPS NDP=6(6)
roothub.b 00000000 PPCM=0000 DR=0000
roothub.status 00008000 DRWE
roothub.portstatus [0] 0x00000100 PPS
roothub.portstatus [1] 0x00000103 PPS PES CCS
roothub.portstatus [2] 0x00000303 LSDA PPS PES CCS
roothub.portstatus [3] 0x00000100 PPS
roothub.portstatus [4] 0x00000100 PPS
roothub.portstatus [5] 0x00000100 PPS
-----------------------------------------------------

And finally the one after the USB is hung:
-----------------------------------------------------
bus pci, device 0000:00:04.0
OHCI Host Controller
ohci_hcd
OHCI 1.0, NO legacy support registers, rh state running
control 0x68f RWE RWC HCFS=operational IE PLE CBSR=3
cmdstatus 0x00000 SOC=0
intrstatus 0x00000020 FNO
intrenable 0x8000005e MIE RHSC UE RD SF WDH
ed_controlhead c781f0a0
ed_bulkhead c781f140
hcca frame 0x2b5d
fmintvl 0xa7782edf FIT FSMPS=0xa778 FI=0x2edf
fmremaining 0x800024e2 FRT FR=0x24e2
periodicstart 0x2a2f
lsthresh 0x0700
hub poll timer off
roothub.a 01001206 POTPGT=1 NOCP NPS NDP=6(6)
roothub.b 00000000 PPCM=0000 DR=0000
roothub.status 00008000 DRWE
roothub.portstatus [0] 0x00000100 PPS
roothub.portstatus [1] 0x00000103 PPS PES CCS
roothub.portstatus [2] 0x00000303 LSDA PPS PES CCS
roothub.portstatus [3] 0x00000100 PPS
roothub.portstatus [4] 0x00000100 PPS
roothub.portstatus [5] 0x00000100 PPS
-----------------------------------------------------

The "async" pseudofile yields nothing, every time .


-- 
Tomas J. Sokorai Sch.
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux