public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: robin.gilks@tait.co.nz
Cc: MTD mail list <linux-mtd@lists.infradead.org>
Subject: Re: Kernel oops in jffs2 mount - any ideas?
Date: Mon, 13 Nov 2006 11:54:43 +0200	[thread overview]
Message-ID: <1163411683.3925.31.camel@sauron> (raw)
In-Reply-To: <4557E56F.8070100@tait.co.nz>

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 (Битюцкий Артём)

  reply	other threads:[~2006-11-13  9:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-10  0:24 Kernel oops in jffs2 mount - any ideas? Robin Gilks
2006-11-10  8:09 ` Artem Bityutskiy
2006-11-13  3:24   ` Robin Gilks
2006-11-13  9:54     ` Artem Bityutskiy [this message]
2006-11-13 23:00       ` Robin Gilks
2006-11-14  4:08       ` Robin Gilks
2006-11-14  7:59         ` Joakim Tjernlund
2006-11-14 21:17           ` Robin Gilks
2006-11-14 22:59           ` Robin Gilks
2006-11-14 19:46         ` Carlos Munoz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1163411683.3925.31.camel@sauron \
    --to=dedekind@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=robin.gilks@tait.co.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox