Re: dwc2 - ChHltd set, but reason is unknown

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

 



Hi Anders,

On 10/9/2017 5:15 PM, Anders Montonen wrote:
> Hi,
>
> We have a custom Altera Cyclone V SoCFPGA board, where connecting a
> particular brand of USB memory sticks produces and enless stream of
> console errors messages until it is removed from the system.
>
> On the board, the SoC has a fixed connection to a Microchip LAN9152
> Ethernet/hub device with two downstream ports. Apart from this issue,
> every other device we have connected appears to work fine.
>
> The sticks are "Intenso Rainbow Line"-branded generic memory sticks using
> an Alcor Micro controller with VID/PID 0x058f/0x6387. The device
> descriptor has a bcdDevice field of 1.ff, but otherwise look valid. The
> sticks work fine on every other host I've tried, both Windows and desktop
> and embedded Linux (none with the dwc2 controller though). The stick also
> works with our board if I add another USB hub in between.
>
> I've reproduced this with kernels 4.9.39 and 4.13.5. The controller is
> configured as host-only. Any suggestions on how to proceed? I noticed that
> unusual_devs.h contained an entry for another device with the same VID/PID
> pair, but adding the same quirks for this device did not help.
>
> Regards,
> Anders Montonen
>
> usb 1-1.2: new high-speed USB device number 4 using dwc2
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 13 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_update_urb_state_abn(): trimming xfer length
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 11 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600029
> usb 1-1.2: New USB device found, idVendor=058f, idProduct=6387
> usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 1-1.2: Product: Intenso Rainbow Line
> usb 1-1.2: Manufacturer: 6989
> usb 1-1.2: SerialNumber: 194D3F5F
> usb-storage 1-1.2:1.0: USB Mass Storage device detected
> scsi host0: usb-storage 1-1.2:1.0
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_update_urb_state_abn(): trimming xfer length
> dwc2 ffb40000.usb: dwc2_update_urb_state(): trimming xfer length
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 11 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 12 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 1 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 15 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 14 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 11 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 8 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x06600029
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 11 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 8 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 8 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 10 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 11 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 13 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 10 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 10 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 14 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 10 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> usb 1-1.2: reset high-speed USB device number 4 using dwc2
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 14 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600029
> dwc2 ffb40000.usb: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, but
> reason is unknown
> dwc2 ffb40000.usb: hcint 0x00000002, intsts 0x04600009
> usb 1-1.2: USB disconnect, device number 4
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  https://urldefense.proofpoint.com/v2/url?u=http-3A__vger.kernel.org_majordomo-2Dinfo.html&d=DwIBAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=6z9Al9FrHR_ZqbbtSAsD16pvOL2S3XHxQnSzq8kusyI&m=Sji5JEl0Fz3ynKRxMqhDyG8N7tJoqL2O6D9EXBVl43U&s=7MgwuXdMzbYMizXOXx6sual-qAXrhm0CHfTLQXuesys&e=
>


Could you please provide log with enabled VERBOSE debug messages.

Thanks,
Minas

--
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