From: Wolfgang Denk Date: Wed, 12 Nov 2014 17:45:38 +0100 Subject: [U-Boot] [PATCH v2] test: ums: Add sleep before unmount directory In-Reply-To: <20141112152949.1fe6ce3c@amdc2363> 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> Message-ID: <20141112164538.17607380133@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The universe is all a spin-off of the Big Bang.