Re: Linux xHCI driver problems (URB cancellation)

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

 



Hi Sarah,

Were you able to look into this more?  Of the few problems that I've
encountered and reported thus far, this one seems the most critical.
Please also note that I see this URB cancellation problem even on the
Intel host controller (not just the ASMedia one for which I have
kernel debugging turned on).

Thanks,
Yuliya

On Tue, Oct 2, 2012 at 5:09 PM, Yuliya T <yuliyat001@xxxxxxxxx> wrote:
> Hi Sarah,
>
>>> Re: URB Cancellation for USB 2.0 device on xHCI host
>>
>> Which host controller are you running under?  Please send the output of
>> `sudo lspci -vvv` and `sudo lspci -vvv -n`.
>
> I have a "ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller."
>
>> Also, which version of libusb are you using?  Is it libusb or libusb-x?
>
> I am using libusb but that is only to open the device.  After that,
> all the URB management for the EP that is having problems is done
> directly through the ioctls.  Sorry if this wasn't clear from before.
>
>> What kind of endpoints are being used by your device?  There was a
>> problem with the bulk continuation flag under USB 3.0 devices, but I'm
>> not sure if that was fixed in libusb/libusbx yet.
>
> They are bulk endpoints, but as I mentioned before, the device is a
> USB 2.0 device, simply attached to a USB 3.0 capable port (xHCI port).
>  The same code has no problem on the Linux EHCI stack, or on Windows
> or OS X.
>
>> Which kernel version are you using?  Have you tested with the latest
>> stable kernel (currently 3.5.4)?  If so, can you recompile your kernel
>> with CONFIG_USB_DEBUG and CONFIG_USB_XHCI_HCD_DEBUGGING and send me the
>> dmesg from one of the runs when the program hangs?
>
> See attached.  The dmesg_while_hanging is when the usermode app in the
> host has hung.  Then, in the same session I kill the process and took
> another dmesg dump (dmesg_after_kill).  Therefore, there is overlap
> between the two dmesg dump files.
>
> Please let me know if you have any further suggestions on how to track
> this down.
>
> Thanks,
> Yuliya
--
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