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

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

 



2013/2/19 Soar Hung <soarhung@xxxxxxxxxxx>:
> Hi all,
>
> I checkout the usb-next branch (on 2/18) and following the https://wiki.ubuntu.com/KernelTeam/GitKernelBuild to build the kernel.
>
> After reboot, the new kernel version is Linux dev 3.8.0-rc5-usbnext #1 SMP Mon Feb 18 18:04:02 CST 2013 i686 i686 i386 GNU/Linux.
>
> 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.
>
> Thanks,
> Soar
>
> -----Original Message-----
> From: Lan Tianyu [mailto:lantianyu1986@xxxxxxxxx]
> Sent: Friday, February 08, 2013 12:57 AM
> To: Soar Hung
> Cc: Alan Stern; Sarah Sharp; linux-usb@xxxxxxxxxxxxxxx
> Subject: Re: Not enough resource for old configuration after USB bus reset
>
> 于 2013/2/7 16:59, Soar Hung 写道:
>> Hi Tianyu,
>>
>> I can produce the issue on the Ubuntu 12.10 (linux 3.5), too.
>>
>> However, could you tell me more detail about what to do or give me some hint for google?
>> Do you mean replacing the usb related source with source from 'usb next', rebuild the kernel, and test again?
>>
> I think you can "git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git" and "git checkout usb-next".
> Compile kernel and test it.
>> Best regards,
>> Soar
>>
>> -----Original Message-----
>> From: Lan Tianyu [mailto:lantianyu1986@xxxxxxxxx]
>> Sent: Thursday, February 07, 2013 4:18 PM
>> To: Soar Hung
>> Cc: Alan Stern; Sarah Sharp; linux-usb@xxxxxxxxxxxxxxx
>> Subject: Re: Not enough resource for old configuration after USB bus
>> reset
>>
>> 2013/2/4 Soar Hung <soarhung@xxxxxxxxxxx>:
>>> Hi Alan, Sarah,
>>>
>>> Thank you for your kindly help.
>>>
>>> Can I do something to provide some help?
>>>
>> You found the issue on the 3.0.30+ kernel. Can you test it on the usb-next branch of usb tree?  Sarah has fixed a lot of bugs since v3.0.
>>> Best regards,
>>> Soar
>>>
>>> -----Original Message-----
>>> From: Alan Stern [mailto:stern@xxxxxxxxxxxxxxxxxxx]
>>> Sent: Friday, February 01, 2013 11:36 PM
>>> To: Soar Hung
>>> Cc: Sarah Sharp; linux-usb@xxxxxxxxxxxxxxx
>>> Subject: RE: Not enough resource for old configuration after USB bus
>>> reset
>>>
>>> On Fri, 1 Feb 2013, [big5]  x R   wrote:
>>>
>>>> Hi,
>>>>
>>>> According to xHCI spec Rev1 page 125, Endpoint context state diagram.
>>>>
>>>> When reset device, the endpoint state transit to disabled state.
>>>>
>>>> Do I make some mistake?
>>>>
>>>> I'll try to figure out the endopint state transitions during the reset flow, and update information later.
>>>>
>>>> Thanks for the direction.
>>>
>>> Ah, now I understand the problem.  The device reset automatically disables the endpoints, so when usb_reset_and_verify_device calls usb_hcd_alloc_bandwidth, and that routine tries to drop the endpoints, it fails because the endpoints are already disabled.
>>>
>>> Sarah is going to to have to figure out the right way to fix this.
>>> She's the maintainer for xhci-hcd.
>>>
>>> Alan Stern
>>>
>>
>>
>>
>> --
>> Best regards
>> Tianyu Lan
>>
>> ------Please consider the environment before printing this e-mail.
>>
>
> --
> Best regards
> Tianyu Lan



-- 
Best regards
Tianyu Lan
--
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