UBIFS fails & crashes on SheevaPlug

Artem Bityutskiy dedekind1 at gmail.com
Fri Jul 24 01:53:00 EDT 2009


On 07/23/2009 09:59 PM, erno at gulp.u--3.com wrote:
> Hello,
>
> I installed Debian on my SheevaPlug following instructions at
> <http://www.cyrius.com/debian/kirkwood/sheevaplug/>  and everything
> seemed to work fine until...
>
> I wanted to try UBIFS on the built-in flash and followed
> the instructions for formatting the internal flash
> at http://www.plugcomputer.org/plugwiki/index.php/Enabling_UBIFS
> except I made an empty image (no -r parameter for mkfs.ubifs).
> After the ubiattach command it complained about a read-only fs
> and some error messages from the kernel had appeared in the log:
>
> [  190.500000] UBI: physical eraseblock size:   131072 bytes (128 KiB)
> [  190.510000] UBI: logical eraseblock size:    129024 bytes
> [  190.520000] UBI: smallest flash I/O unit:    2048
> [  190.520000] UBI: sub-page size:              512
> [  190.530000] UBI: VID header offset:          512 (aligned 512)
> [  190.530000] UBI: data offset:                2048
> [  191.630000] UBI error: ubi_io_write: error -5 while writing 512 bytes
> to PEB 4054:512, written 0 bytes
> [  191.630000] UBI warning: ubi_eba_write_leb: failed to write VID
> header to LEB 2147479551:0, PEB 4054
> [  191.640000] UBI: try another PEB
> [  191.650000] UBI error: ubi_io_write: error -5 while writing 512 bytes
> to PEB 4053:512, written 0 bytes
> [  191.660000] UBI warning: ubi_eba_write_leb: failed to write VID
> header to LEB 2147479551:0, PEB 4053
> [  191.670000] UBI: try another PEB
> [  191.670000] UBI error: ubi_io_write: error -5 while writing 512 bytes
> to PEB 4052:512, written 0 bytes
> [  191.680000] UBI warning: ubi_eba_write_leb: failed to write VID
> header to LEB 2147479551:0, PEB 4052
> [  191.690000] UBI: try another PEB
> [  191.690000] UBI error: ubi_io_write: error -5 while writing 512 bytes
> to PEB 4051:512, written 0 bytes
> [  191.700000] UBI warning: ubi_eba_write_leb: failed to write VID
> header to LEB 2147479551:0, PEB 4051
> [  191.710000] UBI warning: ubi_ro_mode: switch to read-only mode
> [  191.720000] UBI error: autoresize: cannot auto-resize volume 0

http://www.linux-mtd.infradead.org/faq/ubi.html#L_subpage_verify_fail

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)



More information about the linux-mtd mailing list