Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

unmounting jffs2 hangs

Altera_Forum
Honored Contributor II
910 Views

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
0 Kudos
0 Replies
Reply