OOPS at mount

David Woodhouse dwmw2 at infradead.org
Thu Apr 26 07:57:34 EDT 2007


On Thu, 2007-04-26 at 13:45 +0200, Joakim Tjernlund wrote:
> searched for the inode's reported above and found:
> ~/jffs2 # find . -inum 9947 -print
> ./tftpboot/download/osappl02a-r8a-070207_1.powerpc.pkg
> ~/jffs2 # find . -inum 9049 -print
> ./tftpboot/download/cuboot01a-r8a-070129_1.ppc_8xx.rpm
> ~/jffs2 # find . -inum 9943 -print
> ./tftpboot/download/tuappl01a-r8a-070207_1.ppc_8xx.rpm
> ~/jffs2 # find . -inum 10580 -print
> ./tftpboot/download/cuappl01a-r8a-070213_10.ppc_8xx.rpm
> ~/jffs2 # find . -inum 11246 -print
> ./tftpboot/download/cuappl02a-r8a-070221_10.powerpc.pkg
> ~/jffs2 # find . -inum 6537 -print 
> ./tftpboot/download/osappl01a-r3b-1.ppc_8xx.rpm
> 
> These all old rpms of ours apps that has been downloaded and installed
> earlier.

Yeah, I'm seeing those.

I'm confused by the node CRC failure. Those nodes shouldn't even end up
in the lists because they should be discarded at scan time -- the reason
the CRC fails is because the 'JFFS2_NODE_ACCURATE' bit has been cleared.
They're obsolete nodes.

Oh. You're not using SUMMARY any more, are you? So you've been writing
to this with a mixture of jffs2_can_mark_obsolete() and 
!jffs2_can_mark_obsolete().  Which means that when I mount with summary
enabled, I expect those nodes to be valid. And you've since obsoleted
them with summaries disabled, and they're not.

I wonder if that's the root cause of the problem you were seeing too?
I'll build without summary and see...

-- 
dwmw2





More information about the linux-mtd mailing list