* question about placement of JFFS2_SB_FLAG_MOUNTING flag.
@ 2004-12-20 14:15 Per Hedblom
2004-12-20 14:34 ` David Woodhouse
0 siblings, 1 reply; 3+ messages in thread
From: Per Hedblom @ 2004-12-20 14:15 UTC (permalink / raw)
To: linux-mtd
My jffs2 stops running during mount at "pass 2a" in jffs2_build_filesystem
at the first call to jffs2_mark_node_obsolete .
The D1 printout is:
------------------------------------
<7>Pass 2: ino #91, nlink 1, ic 0x02247af8, nodes 0x022360c8
<7>Pass 2: ino #92, nlink 0, ic 0x022476f0, nodes 0x02224338
<7>JFFS2: Removing ino #92 with nlink == zero.
<7>obsoleting node at 0x0007b720
<7>Obsoleting node at 0x0007b720 of len 30: Wasting
<7>obliterating obsoleted node at 0x0007b720
------------------------------------
My question is if it correct that this "Pass 2a" should be executed with the
JFFS2_SB_FLAG_MOUNTING flag off. I can make the code run by moving the place
were JFFS2_SB_FLAG_MOUNTING is turned off to after Pass 2a.
I am using eCos with mtd cvs updated jffs2 source code.
/Per
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: question about placement of JFFS2_SB_FLAG_MOUNTING flag.
2004-12-20 14:15 question about placement of JFFS2_SB_FLAG_MOUNTING flag Per Hedblom
@ 2004-12-20 14:34 ` David Woodhouse
2004-12-20 15:14 ` Per Hedblom
0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2004-12-20 14:34 UTC (permalink / raw)
To: Per Hedblom; +Cc: linux-mtd
On Mon, 2004-12-20 at 15:15 +0100, Per Hedblom wrote:
> My question is if it correct that this "Pass 2a" should be executed with the
> JFFS2_SB_FLAG_MOUNTING flag off. I can make the code run by moving the place
> were JFFS2_SB_FLAG_MOUNTING is turned off to after Pass 2a.
No, you're just masking another problem. Where and why did it stop?
--
dwmw2
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: question about placement of JFFS2_SB_FLAG_MOUNTING flag.
2004-12-20 14:34 ` David Woodhouse
@ 2004-12-20 15:14 ` Per Hedblom
0 siblings, 0 replies; 3+ messages in thread
From: Per Hedblom @ 2004-12-20 15:14 UTC (permalink / raw)
To: 'David Woodhouse'; +Cc: linux-mtd
> From: David Woodhouse [mailto:dwmw2@infradead.org]
> Sent: Monday, December 20, 2004 3:35 PM
>
> No, you're just masking another problem. Where and why did it stop?
>
The mount goes into an endless loop at
nodemgmt.c, line 586 , ic = jffs2_raw_ref_to_ic(ref);
The comments in the jffs2_mark_node_obsolete made me think that the flag was
wrong.
I have the D1 log so some hints on what I should look for would be helpful.
/Per
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-20 15:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-20 14:15 question about placement of JFFS2_SB_FLAG_MOUNTING flag Per Hedblom
2004-12-20 14:34 ` David Woodhouse
2004-12-20 15:14 ` Per Hedblom
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox