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

Lukasz Majewski
2014-11-14T10:43:46Z

Hi Lukasz,

> On Wed, 12 Nov 2014 11:11:33 -0700
> Stephen Warren <swarren@wwwdotorg.org> wrote:
>
> > 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.
>
> Frankly speaking, I'm personally curious why such things happen. I may
> look into the issue in my "spare :-)" time.
>
> In spite of this, I agree with Stephen:
>
> >
> > 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.
>
> +1
>
> The problem seems to be with long time running linux. The error seems
> to be orthogonal to our u-boot's UMS work.
>
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot at lists.denx.de
> > http://lists.denx.de/mailman/listinfo/u-boot
>
> Best regards,
> Lukasz Majewski

Applied to u-boot-dfu tree. Thanks.

--
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group