fail to mount MTD (NAND) as root file system

Taeil Um tium at
Wed Dec 4 08:54:06 EST 2002

I succeeded to access and mount NAND flash (JFFS2 on MTD).
But is was not a root file system.

When i tried mount the NAND flash as a root file system, i succeeded for the first time.

But if i reboot the system and mount NAND flash as a root file system again,
i got a KERNEL-OOPS as bellow
VFS: Mounted root (ext2 filesystem).
VFS: Mounted root (jffs2 filesystem).
Unable to handle kernel NULL pointer dereference at virtual address 00000003
pgd = c0024000
*pgd = 00000000, *pmd = 00000000
Internal error: Oops: ffffffff
CPU: 0
pc : [<c0055668>]    lr : [<c0006000>]    Not tainted
sp : c001fe6c  ip : ffffffff  fp : c001fe88
r10: c1d41000  r9 : c017274c  r8 : 00000003
r7 : 60000013  r6 : c020f218  r5 : 000001f0  r4 : c020f210
r3 : ffffffff  r2 : ffffffff  r1 : ffffffff  r0 : ffffffbf

And the jffs2 file systems are corrupted on NAND flash.
Does anybody have same experience?

Followings are my system spec.
	CPU : EP7312
	SDRAM : 32M
	NAND FLASH : 16M (samsung 16bit NAND flash)
	Kernel : 2.4.18-rmk6
	MTD patch : 2002.11.29 from MTD CVS
	Cross Compiler : arm-linux (2.95.3)

Thanks all !

More information about the linux-mtd mailing list