Skip to content

E: volume does not contain lnum #27

@darekpro

Description

@darekpro

Good morning, I have a problem unpacking UBI image, image comming from raw NAND dump and I think I have removed all unnecessary information oob etc...

$ python3 ubidump.py -v -s ubifs ubi2.bin
ubidump.py:20: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
==> ubi2.bin <==
1 named volumes found, 2 physical volumes, blocksize=0x20000
===== block =====
EC: magic=b'UBI#', v1, ec=1, vidhdr=800, data=1000, imgseq=64688d9 VID: magic=b'UBI!', v1, vt=1, cp=0, compat=5, volid=7fffefff, lnum=[0], dsize=0, usedebs=0, datapad=0, datacrc=0, sqnum=3
VREC: rsvpebs=661, align=1, datapad=0, voltype=1, updmark=0, flags=0, name=b'ubi_boot'
volume 7fffefff : 2 lebs
volume 0 : 44 lebs
== volume b'ubi_boot' ==
unknown magic: ffffffff
[000:0x00000-0x01000] SUPER: kh:0, fmt:0, flags=0, minio=2048, lebsize=0x1f000, lebcount=661, maxleb=661, maxbud=3682304, loglebs=4, lptlebs=2, orphlebs=2, jheads=1, fanout=8, lsave=256, fmt=v4, compr=1, rp=0:0, rpsize=4126720, timegran=1000000000, uuid=b'df716d0d979441498f8b022b0f9dd2e6', rocompat=0
[001:0x03000-0x03200] MST: max_inum=00448, cmtno=235, flags=3, loglnum=[006], root=[072:0x02858], rootlen=188, gc_lnum=[013], ihead=[072:0x03000], ixsize=15112, total(free:77832192, dirty:4465984, used:221112, dead:0, dark:3956736), lpt=[008:0x1a051], nhead=[008:0x1a800], ltab=[008:0x1a000], lsave=[000:0x00000], lscan=[072], empty=611, idx=6, nleb=661
E: volume does not contain lnum

Is there anything I can do to solve this problem?
Greetings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions