[BUG] JFFS2 usage of write_begin and write_end functions causes kernel panic
David Woodhouse
dwmw2 at infradead.org
Sat Apr 12 10:48:39 EDT 2008
On Thu, 2008-04-10 at 17:53 +0100, Alexey Korolev wrote:
> The problem is related to introduction of write_begin and write_end
> functions instead of original prepare_write & commit_write. The kernel
> panic has disappeared when we rolled back write_begin and write_end
> changes in JFFS2. We tried to fix it - but it seems problem is bit
> tough for us.
Hm, that's very strange. Are you 100% sure it's related to the
write_begin/write_end changes? How long did you run the test for without
a failure, after reverting those changes? And what was the maximum
length of time you could run it without failure beforehand?
Can you show some of the different panic messages you saw? Was there any
kind of pattern to them at all? I suspect memory corruption of some kind
-- can you enable slab debugging?
The output you show includes strings such as 'readlink - no filename'.
Can you explain those? They don't seem to come from your test program.
--
dwmw2
More information about the linux-mtd
mailing list