From: Artem Bityutskiy <dedekind@infradead.org>
To: Igor Marnat <marny@rambler.ru>
Cc: linux-mtd@lists.infradead.org
Subject: Re: jffs2_gcd_mtd0 invoked oom-killer
Date: Mon, 12 Mar 2007 15:10:53 +0200 [thread overview]
Message-ID: <1173705053.5493.28.camel@sauron> (raw)
In-Reply-To: <16125243125.20070312152801@rambler.ru>
On Mon, 2007-03-12 at 15:28 +0300, Igor Marnat wrote:
> Dear Sirs!
>
> I work with the embedded system based on PowerPC 405 EP with 16Mb RAM
> and 32 Mb NAND FLASH. Rootfs lives on NAND FLASH and is formatted
> using jffs2.
>
> A few months it worked just fine then suddenly the system became
> unusable. Since root fs locates on NAND flash, system became
> unloadable because of error. Anyway I can boot the
> system, loading the kernel by TFTP and having mounted root fs by NFS.
>
> When the system works with the kernel loaded by tftp and fs mounted by
> NFS, it all seems to be fine until the command
> "mount -t jffs2 /dev/mtdblock0 /mnt" issued. After this command system tells me
> "f: wrong data CRC" and then "jffs2_gcd_mtd0 invoked
> oom-killer". Then it goes to reboot (see the log below). The problem occurs with
> 2.6.18-rc4 kernel and with 2.6.19.2-1 (the latest one I can build for my
> board).
Well, in general it may happen since JFFS2 needs a lot of memory. But
16MiB for 32MiB flash looks enough. Does something else consume much
memory in your system so too few is left for JFFS2? Check how much RAM
do you have for JFFS2.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
next prev parent reply other threads:[~2007-03-12 13:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-12 12:28 jffs2_gcd_mtd0 invoked oom-killer Igor Marnat
2007-03-12 13:10 ` Artem Bityutskiy [this message]
2007-03-19 5:45 ` Igor Marnat
2007-03-19 7:19 ` Thomas Gleixner
2007-03-19 11:48 ` Igor Marnat
2007-03-19 16:50 ` Thomas Gleixner
2007-03-20 21:02 ` Igor Marnat
2007-03-21 8:14 ` Igor Marnat
2007-03-21 9:17 ` Thomas Gleixner
2007-03-21 11:40 ` Igor Marnat
2007-03-28 5:15 ` Igor Marnat
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=1173705053.5493.28.camel@sauron \
--to=dedekind@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=marny@rambler.ru \
/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