Re: Control message failures kill entire XHCI stack

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

 



On 05.02.2015 00:02, Alistair Grant wrote:
> Hi Mathias,
> 
> On Wed, Feb 4, 2015 at 5:26 PM, Mathias Nyman
> <mathias.nyman@xxxxxxxxxxxxxxx> wrote:
>> On 27.01.2015 00:20, Alistair Grant wrote:
>>> I've come across what appears to be another xHCI issue - attempting to
>>> format a disk with gparted is causing a kernel Oops.  This may not be
>>> related to the issue you're currently investigating, but wanted to
>>> pass it on in case it is (if it isn't let me know and I'll either keep
>>> quiet or raise it separately, whatever you prefer).
>>>
>>> I can easily reproduce the crash running 3.19rc6 with Mathias
>>> additional error and debugging messages (debugging switched off).  I
>>> wasn't able to reproduce the issue with xhci debugging enabled, i.e.:
>>>
>>
>> I got a some new patches to test, added to the same for-usb-next-test
>> branch in git://git.kernel.org/pub/scm/linux/kernel/git/mnyman/xhci.git
>>
>> Alistair, did you manage to Oops the kernel without the debug patches?
>> It might be caused by them (trying to access non-existing ep->ring->td_list pointer).
>>
>> If you are able to reproduce the HDD gparted format oops on a normal (without my testpaches)
>> kernel then I think it should be reported as a separate issue.
> 
> You're correct, the Oops only happened with your original set of
> patches.  After adding the latest patches it no longer occurs.
> 
> However I still get other errors, with vanilla 3.19rc7, your patched
> 3.19rc5 kernel and my 3.19rc7 with all your patches applied.  All of
> the log reports look similar to me.
> 


Got one more patch added to the for-usb-next-branch.
It makes sure we allocate enough scratchpad memory for xhci.

It's one possible cause.
Patch will anyway go to 3.20, but you can try it out first to see if it helps

-Mathias


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