[U-Boot] ubifsmount reports "Error reading superblock", but linux can mount FS

Wolfgang Denk wd at denx.de
Thu Mar 8 19:18:12 CET 2012


Dear Alex,

In message <CANNiwJ+91o+A5Ef6w9V0g=rvj1yA939+ZzTSnKA4DmR67oFe0w at 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!


More information about the U-Boot mailing list