* about ubifs question
@ 2009-08-19 4:39 tommy
2009-08-19 5:13 ` Artem Bityutskiy
0 siblings, 1 reply; 6+ messages in thread
From: tommy @ 2009-08-19 4:39 UTC (permalink / raw)
To: dedekind; +Cc: linux-mtd
hi,sir!
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!
After Kernel resume ,i guess my touched file isn't in nand flash but
memory !
My ubifs version is 2.6.24 ,does it is relation with Nand flash or
ubifs ?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: about ubifs question
2009-08-19 4:39 about ubifs question tommy
@ 2009-08-19 5:13 ` Artem Bityutskiy
[not found] ` <1250660141.11476.4.camel@tommy-desktop>
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Artem Bityutskiy @ 2009-08-19 5:13 UTC (permalink / raw)
To: tommy; +Cc: linux-mtd
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.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: about ubifs question
[not found] ` <1250660141.11476.4.camel@tommy-desktop>
@ 2009-08-19 5:51 ` Artem Bityutskiy
0 siblings, 0 replies; 6+ messages in thread
From: Artem Bityutskiy @ 2009-08-19 5:51 UTC (permalink / raw)
To: tommy; +Cc: linux-mtd
On Wed, 2009-08-19 at 13:35 +0800, tommy wrote:
> Halt --->Power on
Then please, find the answers here:
http://www.linux-mtd.infradead.org/doc/ubifs.html#L_writeback
and also take a look here, please:
http://www.infradead.org/~dwmw2/email.html
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: about ubifs question
2009-08-19 5:13 ` Artem Bityutskiy
[not found] ` <1250660141.11476.4.camel@tommy-desktop>
@ 2009-08-19 6:28 ` tommy
2009-08-19 6:35 ` tommy
2009-08-19 10:56 ` tommy
3 siblings, 0 replies; 6+ messages in thread
From: tommy @ 2009-08-19 6:28 UTC (permalink / raw)
To: dedekind; +Cc: linux-mtd
hi,sir !
Can you explain why my ubifs switch to read-only filesystem when it resume from suspend !
Unmounting local filesystems...
mount: can't find /mnt/ram in /proc/mounts
UBIFS error (pid 1201): make_reservation: cannot reserve 160 bytes in jhead 1, error -30
UBIFS error (pid 1201): ubifs_write_inode: can't write inode 135, error -30
UBIFS error (pid 1201): make_reservation: cannot reserve 160 bytes in jhead 1, error -30
UBIFS error (pid 1201): ubifs_write_inode: can't write inode 442, error -30
UBIFS error (pid 1201): make_reservation: cannot reserve 160 bytes in jhead 1, error -30
UBIFS error (pid 1201): ubifs_write_inode: can't write inode 136, error -30
UBIFS: cannot re-mount due to prior errors
mount: mounting ubi0:rootfs on / failed: Read-only file system
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.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: about ubifs question
2009-08-19 5:13 ` Artem Bityutskiy
[not found] ` <1250660141.11476.4.camel@tommy-desktop>
2009-08-19 6:28 ` tommy
@ 2009-08-19 6:35 ` tommy
2009-08-19 10:56 ` tommy
3 siblings, 0 replies; 6+ messages in thread
From: tommy @ 2009-08-19 6:35 UTC (permalink / raw)
To: dedekind; +Cc: linux-mtd
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.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: about ubifs question
2009-08-19 5:13 ` Artem Bityutskiy
` (2 preceding siblings ...)
2009-08-19 6:35 ` tommy
@ 2009-08-19 10:56 ` tommy
3 siblings, 0 replies; 6+ messages in thread
From: tommy @ 2009-08-19 10:56 UTC (permalink / raw)
To: dedekind; +Cc: linux-mtd
hi,sir !
I have fix my error !
it is cause by Nand flash register isn't correct when kernel resume !
it is caused by MCU software area lock!
On 三, 2009-08-19 at 08:13 +0300, Artem Bityutskiy wrote:
> linux-mtd@lists.infradead.org
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-08-19 10:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-19 4:39 about ubifs question tommy
2009-08-19 5:13 ` Artem Bityutskiy
[not found] ` <1250660141.11476.4.camel@tommy-desktop>
2009-08-19 5:51 ` Artem Bityutskiy
2009-08-19 6:28 ` tommy
2009-08-19 6:35 ` tommy
2009-08-19 10:56 ` tommy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox