about ubifs question

tommy jiujin.hong at mid-fun.com
Wed Aug 19 02:35:56 EDT 2009


hi,sir!

when i resume form suspend,i try to do following:

root at localhost:/# cp 1.ko 2.ko
root at localhost:/# sync
root at localhost:/# ls
UBIFS error (pid 1107): ubifs_read_node: bad node type (255 but expected
2)
UBIFS error (pid 1107): ubifs_read_node: bad node at LEB 502:7224
UBIFS error (pid 1107): ubifs_readdir: cannot find next direntry, error
-22
root at localhost:/# ls 
UBIFS error (pid 1108): ubifs_read_node: bad node type (255 but expected
2)
UBIFS error (pid 1108): ubifs_read_node: bad node at LEB 502:7224
UBIFS error (pid 1108): ubifs_readdir: cannot find next direntry, error
-22


can't access !

why ?
On 三, 2009-08-19 at 08:13 +0300, Artem Bityutskiy wrote:
> On Wed, 2009-08-19 at 12:39 +0800, tommy wrote:
> > about ubifs work under Kernel suspend and resume
> > 
> > When Kernel resume from suspend by apm -s ,
> > 
> > i touch file in nand flash and sync,but when Kernel restart ,my touched
> > file didn't occur!
> 
> How do you restart your kernel? Do you unmount cleanly?
> 
> > After Kernel resume ,i guess my touched file isn't in nand flash but
> > memory !
> 
> Try typing sync before restarting.
> 




More information about the linux-mtd mailing list