Re: about ubifs question

tommy
2009-08-19T06:36:10Z

hi,sir!

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

root@localhost:/# cp 1.ko 2.ko
root@localhost:/# sync
root@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@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.
>