Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

unmounting jffs2 hangs

Hi,

On kernel 2.6.11 on a NIOSII,

I have mounted /usr as jffs2 with the following command in rc script:

/bin/mount -t jffs2 /dev/mtdblock3 $RWDIR -n

The /usr fs works fine, but when I go to unmount it:

# umount -v /usr -n
mount: could not open /etc/mtab - using /proc/mounts instead

The session hangs http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif

From another session, I can see it is still running..

# ps
  PID PORT STAT SIZE SHARED %CPU COMMAND
   11      S      0K     0K  0.0 mtdblockd
   23      S      0K     0K  0.0 jffs2_gcd_mtd3
   47   S0 D    151K     0K  0.0 umount -v /usr -n

And the process cannot be killed. How can I get this to unmount correctly?

Thanks,

Dave
No RepliesBe the first to reply