[ELDK] umount on jffs2 file system some times hangs
wd at denx.de
Tue Jan 26 10:03:15 CET 2010
Dear Yigal Goldberger,
In message <672684.29335.qm at web38902.mail.mud.yahoo.com> you wrote:
> My system is a powerpc based board .(freescale QUICC2) .
> My kernel is 22.214.171.124 with Xenomai - 2.4.8 .
> To Update my firmware I perform the following operations :
> busybox mount -t jffs2 /dev/mtdblock8 /mnt/mtd -o sync
> busybox tar -zxvf /mnt/temp/xxx.tar.gz -C /mnt/mtd/ >/dev/null 2>&1
Unrelated remark: Why do you add the "verbose" option ('-v') when you
just throw away the output later ("> /dev/null") ? This is just
wasting CPU cycles.
> busybox umount /mnt/mtd
> The problem is with the last command - it sometimes hangs (never returns) .
Does it really never return, or just take very long?
How big is your JFFS2 partition? Is this on NAND or on NOR flash?
What does "ps axf" (or equivalent) show while the mount is hanging?
What does "strace umount /mnt/mtd" show in the same situation?
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
Emotions are alien to me. I'm a scientist.
-- Spock, "This Side of Paradise", stardate 3417.3
More information about the eldk