[U-Boot] Current status of UBI?

Stefan Roese sr at denx.de
Mon May 4 10:01:54 CEST 2009


On Thursday 30 April 2009, Matthew L. Creech wrote:
> On Thu, Apr 30, 2009 at 3:36 PM, Matthew L. Creech <mlcreech at gmail.com> 
wrote:
> It seems like disabling subpage writes might be the right thing to do,
> because once in a while now I _can_ at least attach to a UBI partition
> ("ubi part") without error.  But it usually crashes.  The backtraces
> for the crash vary, but here's a typical example:
>
> 0x00144280 -- 0x00143cd0 + 0x05b0   ubi_read_volume_table
> 0x00143130 -- 0x00142d54 + 0x03dc   ubi_attach_mtd_dev
> 0x001435ec -- 0x001434e4 + 0x0108   ubi_init
> 0x0011ec24 -- 0x0011e9e4 + 0x0240   do_ubi
> 0x00126234 -- 0x00125a9c + 0x0798   run_list_real
> 0x00125754 -- 0x00125198 + 0x05bc   parse_stream_outer
> 0x00125960 -- 0x00125910 + 0x0050   parse_file_outer
> 0x00128854 -- 0x0012874c + 0x0108   main_loop
> 0x001048e0 -- 0x0010470c + 0x01d4   board_init_r
> 0x001035e8 -- 0x001035e8 + 0x0000   trap_init
>
> Nothing special.  ubi_read_volume_table is always in the backtrace,
> though sometimes there's 1 or 2 nested calls above it.  Sometimes the
> crashes are at or around create_empty_lvol() -> create_vtbl() ->
> ubi_scan_find_seb(), so the problem occurs no later than that in the
> call sequence.  And this is always with copy #2 of the volume table.
>
> Anyone familiar with UBI care to chime in?  :)

Which platform are you using? PPC? And which NAND chip?

And again, please make sure that the MTD partition referenced by "ubi part" is 
erased.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list