Flashen nicht möglich

  • Hallo zusammen,


    ich kann leider mein DM nicht flashen und bekomme sowohl bei online recovery und firmware update option, folgende fehlermeldung:



    [*] Downloading 'http://dreamboxupdate.com/download/recovery/dm820/release/recovery.sig'
    [*] Downloading 'http://dreamboxupdate.com/download/recovery/dm820/release/recovery'
    [*] Verifying signature of 'recovery'
    gpgv: Signature made Wed Dec 21 02:01:58 2016 UTC using RSA key ID 79E2C0CF
    gpgv: Good signature from "Dreambox DM820 Recovery <recovery@dm820.com>"
    [*] Verifying signature of '/data/.recovery/recovery'
    [*] Running './recovery'
    [*] Options '-v'
    [*] Downloading 'http://dreamboxupdate.com/download/recovery/dm820/release/dreambox-image-dm820.tar.xz.sig'
    [*] Downloading 'http://dreamboxupdate.com/download/recovery/dm820/release/dreambox-image-dm820.tar.xz'
    [*] Verifying signature of 'dreambox-image-dm820.tar.xz'
    gpgv: Signature made Thu Nov 14 16:41:31 2019 UTC using RSA key ID 79E2C0CF
    gpgv: Good signature from "Dreambox DM820 Recovery <recovery@dm820.com>"
    [*] Creating partition table
    Warning! Read error 5; strange behavior now likely!
    Creating new GPT entries.
    Warning! GPT backup partition table not overwritten! Error is 5
    GPT data structures destroyed! You may now partition the disk using fdisk or
    other utilities.
    Could not create partition 1 from 147456 to 2097151
    Setting name!
    partNum is 0
    REALLY setting name!
    Unable to set partition 1's name to 'rootfs'!
    Could not change partition 1's type code to 8307!
    Could not create partition 2 from 2097152 to 62654
    Setting name!
    partNum is 1
    REALLY setting name!
    Unable to set partition 2's name to 'data'!
    Could not change partition 2's type code to 8300!
    Error encountered; not saving changes.
    Fatal: Failed to partition disk
    Fatal: Failed to execute './recovery'


    Weiß vielleicht jemand was genau diese Fehlermeldungen bedeuten?


    Bin für jede hilfe sehr dankbar!!!


    lg
    keno

  • Nicht so gut, vermutlich bad sectors im flash bzw. ist die GPT Partitonstabelle hinüber.


    Beim Flashen wird das root Dateisystem (/dev/mmcblk0p1) mit ext4 neu formatiert. Aber /dev/mmcblk0p1 wird nicht mehr gefunden, weil die Partition nicht mehr vorhanden ist.


    Du könntest versuchen im resuce-mode /dev/mmcblk0 zu überprüfen bzw. manuell neu zu partitonieren. Solange der Flashbaustein iO. ist könnte das funktionieren.


    Solange der kernel noch geflasht werden kann bzw. die Bootpartition noch vorhanden ist könnte man die Box auch von USB booten lassen, was man vermutlich in dem Zustand der Box manuell einrichten müsste.


    Im OoZooN board findet man die Befehle um den flash neu zu partitonieren bzw. das Plugin Mr.Big mit dem man das über die GUI erledigen kann. Allerdings ist das Board derzeit offline

    Gruß Fred


    Die Dreambox ist tot, es lebe die Dreambox


  • Hallo Fred,


    vielen Dank für die Antwort.


    wie kann ich /dev/mmcblk0 neu partitionieren?


    Wenn ich die Partionen aufliste wird folgendes angezeigt:


    root@dm820:~# fdisk -lu
    Found valid GPT with protective MBR; using GPT


    Disk /dev/sda: 1953525168 sectors, 3597M
    Logical sector size: 512
    Disk identifier (GUID): 3481021b-512e-4149-952a-8b110d3b3b0d
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 1953525134


    Number Start (sector) End (sector) Size Code Name
    1 2048 1951428015 930G 0700 dreambox-storage
    2 1951428016 1953523215 1023M 0700 dreambox-swap


    Disk /dev/mtdblock0: 16 MB, 16777216 bytes
    255 heads, 63 sectors/track, 2 cylinders, total 32768 sectors
    Units = sectors of 1 * 512 = 512 bytes


    Disk /dev/mtdblock0 doesn't contain a valid partition table


    Disk /dev/mtdblock1: 1 MB, 1048576 bytes
    255 heads, 63 sectors/track, 0 cylinders, total 2048 sectors
    Units = sectors of 1 * 512 = 512 bytes


    Disk /dev/mtdblock1 doesn't contain a valid partition table


    Disk /dev/mtdblock2: 15 MB, 15728640 bytes
    255 heads, 63 sectors/track, 1 cylinders, total 30720 sectors
    Units = sectors of 1 * 512 = 512 bytes


    Disk /dev/mtdblock2 doesn't contain a valid partition table


    Disk /dev/mmcblk0: 32 MB, 32096256 bytes
    4 heads, 16 sectors/track, 979 cylinders, total 62688 sectors
    Units = sectors of 1 * 512 = 512 bytes


    Disk /dev/mmcblk0 doesn't contain a valid partition table


    DANKE!

  • Am besten im rescue-loder im Terminal (seriell oder telnet/ssh) mit dem command-line tool sgdisk. Das interacitive gdisk ist im rescue-loader nicht verfügbar



    edit


    sollte so aussehen


    Gruß Fred


    Die Dreambox ist tot, es lebe die Dreambox


    Einmal editiert, zuletzt von Fred Bogus Trumper ()