RE: Not enough resource for old configuration after USB bus reset

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

 



>>>> I try the same operation to produce the issue, and it
> also fails.
>>> Please attach the output of dmesg with CONFIG_USB_DEBUG and
>>> XHCI_DEBUG.
>> 
>> With these two debug config on, the dmesg buffer even can not log
>> one reset operation. 
> 
> You can increase your buffer size by setting CONFIG_LOG_BUF_SHIFT=21.
> 
>> What information do we want from these two debug config?
> 
> Everything.  I'd like to understand exactly what's happening
> at the xHCI driver level.  I probably only need to see three
> reset cycles.  Zip up the log file or use pastebin if you
> think the log file is too big.
> 

I will append the dmesg log later.

>> We currently know that the issue is fail at the configure endpoint
>> command after bus reset. 
>> 
>> The failing reason is the reset operation make the endpoint state
>> disabled, and HCD still try to drop the disabled endpoint.
>> 
>> This cause the host can not manage its resouce correctly. As a
>> result, the last configure command fail with not enough bandwidth.
> 
> Are you saying the xHCI driver is trying to issue a Configure
> Endpoint command with the drop flag set for an endpoint that
> was removed by the Reset Device command?
> 
> If so, I would like to see the log files so I can debug why
> that happened.
> 

No. the drop endpoint function will notice the ep state is disabled,

And shows message like "drop endponits with disabled endpoint", 
then  skip the set drop flag.


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