ubifs image file confusion!

Artem Bityutskiy dedekind at infradead.org
Wed May 14 09:23:44 EDT 2008


On Thu, 2008-05-08 at 17:56 +0800, Nancy wrote:
> #ubiupdate /dev/ubi0_0 ubifs.dp   (generated by ubidumpvol)
> 
> # mount -t ubifs ubi0:ubifs /mnt/1
> UBIFS: mounted UBI device 0, volume 0
> UBIFS: minimal I/O unit size:   2048 bytes
> UBIFS: logical eraseblock size: 258048 bytes (252 KiB)
> UBIFS: file system size:        102445056 bytes (100044 KiB, 97 MiB, 397 LEBs)
> UBIFS: journal size:            9420800 bytes (9200 KiB, 8 MiB, 37 LEBs)
> UBIFS: data journal heads:      1
> UBIFS: default compressor:      LZO
> UBIFS error (pid 598): ubifs_check_node: bad magic 0xffffffff, expected 0x610181
> UBIFS error (pid 598): ubifs_check_node: bad node at LEB 143:189920

This looks like you have not flashed UBIFS image properly or it was not
generated properly. UBIFS index refers a node, but the node is not there
and there are 0xFFs instead.

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




More information about the linux-mtd mailing list