JFFS2-MTD-NAND

Taeil Um tium at mail.palmpalm.com
Sat Jan 4 02:50:34 EST 2003


Hi all ! Happy New Year!

I used jffs2 for My Board which has 16M SAMSUNG nand flash chip.
I succeeded to port JFFS2-MTD-NAND layer in order to use NAND flash.

But sometimes (not always) if i mount NAND chip, the kernel die with following "KERNEL OOPS!"

--------------------------------------------------------------------------------------------------
Checked all inodes but still 0x1dc bytes of unchecked space?
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0024000
*pgd = 00000000, *pmd = 00000000
Internal error: Oops: ffffffff
CPU: 0
pc : [<c0099738>]    lr : [<c00464e0>]    Not tainted
sp : c07c5f0c  ip : c07c5eb8  fp : c07c5f54
r10: c07c4344  r9 : c02be904  r8 : c0166ee8
r7 : c02be8cc  r6 : c02be8cc  r5 : c07c4000  r4 : c07c4000
r3 : 00000000  r2 : 00000001  r1 : 00000001  r0 : 00000040
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: 217F  Table: C1CCC015  DAC: 00000015
Process jffs2_gcd_mtd2 (pid: 16, stackpage=c07c5000)
Stack: (0xc07c5efc to 0xc07c6000)
5ee0:                                                                c00464e0 
5f00: c0099738 60000013 ffffffff c07c4000 c1c50000 00000000 c0152040 00000000 
5f20: 00000000 00000000 00000000 c07c4000 c07c4000 00000000 c02be8cc c07c4334 
5f40: 00000000 c07c4344 c07c5ffc c07c5f58 c009d114 c009969c 7fb4ffef ffffdffd 
5f60: effbff37 edfdffc3 ff4bffbd ffbffbff 7feffffd feed5bff ecf7fdf8 7f7f5fbf 
5f80: fffe5ff7 9eebf6bd fefb7fff ffffeff9 00000013 00000000 00000000 00000000 
5fa0: 00000000 00000000 00000000 c07c5fb8 c003b934 c0042d68 00000000 00000000 
5fc0: 00000600 c009cf28 c02be8cc c1c41560 00000000 c02be8e0 c02be8cc c1c41560 
5fe0: 00000000 c02be8e0 00000000 ffffffea 00000000 c07c6000 c003ccc0 c009cf38 
Backtrace: 
Function entered at [<c009968c>] from [<c009d114>]
Function entered at [<c009cf28>] from [<c003ccc0>]
Code: e59f033c e5961070 ebfeb2c5 e3a03000 (e5833000) 
Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing
----------------------------------------------------------------------------------------------------------

Here is my system environment

CPU : EP7312
KERNEL : 2.4.18-rmk6
NAND : SAMSUNG 16bit 16M 
Cross Compiler : arm-linux-gcc (version : 2.95.3)
MTD : from CVS at December  1st 2002



More information about the linux-mtd mailing list