Kernel oops in jffs2 mount - any ideas?
Artem Bityutskiy
dedekind at infradead.org
Mon Nov 13 04:54:43 EST 2006
Hi,
On Mon, 2006-11-13 at 16:24 +1300, Robin Gilks wrote:
> [ 13.488115] jffs2_scan_eraseblock(): Node at 0x0004aff8 {0x1985,
> 0xe001, 0x0000002d) has invalid CRC 0xd7218112 (calculated 0x05000000)
> [ 13.514180] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found
> at 0x0004b000: 0xd721 instead
This means you are trying to feed trash to JFFS2. How do you copy JFFS2
image to your flash? Do you erase the partition beforehand?
But nevertheless, JFFS2 should not crash because of this and probably
this is not the reason of the crash.
> [ 23.751790] JFFS2: Erase block at 0x00290000 is not formatted. It
> will be erased
> [ 24.009046] Oops: kernel access of bad area, sig: 11 [#1]
> [ 24.019240] NIP: C01136A0 LR: C0114294 CTR: C01136A0
> [ 24.029096] REGS: c3cabcd0 TRAP: 0300 Not tainted (2.6.18-buildroot)
> [ 24.042200] MSR: 00009032 <EE,ME,IR,DR> CR: 22008028 XER: 0000005F
> [ 24.054824] DAR: FF80101B, DSISR: C0000000
> [ 24.062957] TASK = c036a7c0[280] 'jffs2_gcd_mtd1' THREAD: c3caa000
> [ 24.074859] GPR00: 00000000 C3CABD80 C036A7C0 FF800FFF C3C26678
> 00000000 C034CA44 F82DD7B0
> [ 24.091445] GPR08: 0005CEE4 C01AD99C FF800FFF C01136A0 22008024
> 00000000 C3CABE38 00000000
> [ 24.108034] GPR16: C3CABE24 C01C0000 C3CABDA8 00000000 C3CABE28
> C3C26640 C034CA20 00000000
> [ 24.124624] GPR24: 0005CEE4 C3C26640 00000028 00000000 0005CEE4
> C3C26678 C03F6C14 C3C26678
> [ 24.141559] NIP [C01136A0] put_chip+0xa0/0x2e8
So the crash is somewhere in the CFI code. You should try to dig it and
realize why it oopses.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list