* fail to mount MTD (NAND) as root file system
@ 2002-12-04 13:54 Taeil Um
2002-12-04 14:07 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Taeil Um @ 2002-12-04 13:54 UTC (permalink / raw)
To: linux-mtd
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
NOR FLASH : 8M
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 !
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: fail to mount MTD (NAND) as root file system
2002-12-04 13:54 fail to mount MTD (NAND) as root file system Taeil Um
@ 2002-12-04 14:07 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2002-12-04 14:07 UTC (permalink / raw)
To: Taeil Um, linux-mtd
On Wednesday 04 December 2002 14:54, Taeil Um wrote:
> 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
> ------------------------------------------------------------------
>
Please recompile your kernel with debugging enabled and provide a stacktrace
through ksymoops.
--
Thomas
____________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-04 13:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-04 13:54 fail to mount MTD (NAND) as root file system Taeil Um
2002-12-04 14:07 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox