From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] ubifsmount reports "Error reading superblock", but linux can mount FS
Date: Thu, 08 Mar 2012 19:18:12 +0100 [thread overview]
Message-ID: <20120308181812.CF4AB202D69@gemini.denx.de> (raw)
In-Reply-To: <CANNiwJ+91o+A5Ef6w9V0g=rvj1yA939+ZzTSnKA4DmR67oFe0w@mail.gmail.com>
Dear Alex,
In message <CANNiwJ+91o+A5Ef6w9V0g=rvj1yA939+ZzTSnKA4DmR67oFe0w@mail.gmail.com> you wrote:
>
> I've now managed to repro this problem and add some debug. It looks
> like u-boot is simply running out of memory whilst trying to mount a
> filesystem that "needs recovery". (Error -12 is -ENOMEM.) The
> partition it is mounting is 240MB, but only about 40MB full.
Can you please try out and test what happens when you increase the
size of the malloc arena? "include/configs/openrd.h" includes
"include/configs/mv-common.h" which sets CONFIG_SYS_MALLOC_LEN to
1 MiB - try changing it to 4 MiB.
BTW: nice to "seeing" you again :-) Hope all is well for you.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Our OS who art in CPU, UNIX be thy name.
Thy programs run, thy syscalls done,
In kernel as it is in user!
next prev parent reply other threads:[~2012-03-08 18:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-07 14:42 [U-Boot] ubifsmount reports "Error reading superblock", but linux can mount FS Alex Zeffertt
2012-03-07 15:14 ` Alex Zeffertt
2012-03-07 15:38 ` Stefan Roese
2012-03-08 9:49 ` Alex Zeffertt
2012-03-08 9:57 ` Stefan Roese
2012-03-08 16:36 ` Alex Zeffertt
2012-03-08 18:18 ` Wolfgang Denk [this message]
2012-03-09 9:39 ` Alex Zeffertt
2012-03-09 14:02 ` Wolfgang Denk
2012-03-09 18:10 ` Alex Zeffertt
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=20120308181812.CF4AB202D69@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/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