From: Robin Gilks <robin.gilks@tait.co.nz>
To: dedekind@infradead.org
Cc: MTD mail list <linux-mtd@lists.infradead.org>
Subject: Re: Kernel oops in jffs2 mount - any ideas?
Date: Tue, 14 Nov 2006 12:00:16 +1300 [thread overview]
Message-ID: <4558F900.7020103@tait.co.nz> (raw)
In-Reply-To: <1163411683.3925.31.camel@sauron>
Artem Bityutskiy wrote:
> So the crash is somewhere in the CFI code. You should try to dig it and
> realize why it oopses.
>
Refering to standard 2.6.18 kernel...
OK - making progress in sorting bugs in the CFI code but still not fixed
the kernel panic which is looking more & more to be in the depths of the
jffs2 code :-(
1. In cfi_cmdset_0001.c, the fixup table is processed in order top to
bottom. The m28w320cb chip fixup disables buffer write method but the
buffer write fixup has already been executed by then so it tries to do
buffered writes which are not supported! The chip fixups *MUST* be first
in the table for this whole idea to work.
2. The chip ID as defined by ST is 0x88bb and that is what is read (in
my case) in 16 bit mode into cfi->id but the table only has the 8 bit
short code. Should this be masked to 8 bits so the table lookup works or
should the 8 bit probe be extended to get both halves of the ID or
should the table have the full 16 bit codes. In fact this chip only
supports 16 bit mode as far as I can see!!
--
Robin
=======================================================================
This email, including any attachments, is only for the intended
addressee. It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================
next prev parent reply other threads:[~2006-11-13 23:25 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
2006-11-13 23:00 ` Robin Gilks [this message]
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=4558F900.7020103@tait.co.nz \
--to=robin.gilks@tait.co.nz \
--cc=dedekind@infradead.org \
--cc=linux-mtd@lists.infradead.org \
/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