From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Wed, 12 Nov 2014 11:11:33 -0700 Subject: [U-Boot] [PATCH v2] test: ums: Add sleep before unmount directory In-Reply-To: <20141112164538.17607380133@gemini.denx.de> References: <1415269420-6528-1-git-send-email-l.majewski@samsung.com> <1415365555-9790-1-git-send-email-l.majewski@samsung.com> <20141107215404.3580138334A@gemini.denx.de> <545D40E1.2030700@wwwdotorg.org> <20141107230307.791553833CD@gemini.denx.de> <20141112152949.1fe6ce3c@amdc2363> <20141112164538.17607380133@gemini.denx.de> Message-ID: <5463A2D5.1030906@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.