[U-Boot] [PATCH v2] test: ums: Add sleep before unmount directory

Stephen Warren
2014-11-12T18:11:33Z

On 11/12/2014 09:45 AM, Wolfgang Denk wrote:
> Dear Lukasz,
>
> In message <20141112152949.1fe6ce3c@amdc2363> you wrote:
>>
>>> But this is a bug. Papering over is not a good idea. It should be
>>> analyzed, reported, and finally fixed.
>>
>> I've debugged the script with strace.
>
> Thanks a lot for that!
>
>> The problem is with umount() syscall:
> ...
>> I need to debug the syscall in the kernel.
>
> I have a gut feeling that this might be a problem somewhere with the
> USB stuff that is involved here. Maybe enabling some degug messages
> for the USB subsystem gives some more information?

If this really is related to USB only, it may be worth asking on the
linux-usb mailing list to see if anyone already unerstands the issue.

Irrespective of all this though, even if there is a kernel issue and it
can be fixed, I still think we should apply this patch, because the
issue currently affects people. At the very least it will until some
kernel fix is rolled out to everyone's distro, which will be a while no
matter what.