dm900 UHD: Gelbes Ausrufezeichen und Rescue geht nicht

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • dm900 UHD: Gelbes Ausrufezeichen und Rescue geht nicht

      Ich habe gestern auf meiner dm900 eine Aufzeichnung angesehen. dann
      "Stop" und "Exit" auf der Fernbedienung gedrückt und das war's dann. Es
      kam ein "Green screen". Das Crashlog habe ich angehängt. Die Box
      startete dann nur noch im Rescue-Mode und zeigte mir beim Versuch, aus
      dem Netz die Firmware neu zu laden, Folgendes:


      | Downloading
      'dreamboxupdate.com/download/re…m900/release/recovery.sig'
      Downloading
      'dreamboxupdate.com/download/recovery/dm900/release/recovery'
      Verifying signature of 'recovery' gpgv: Signature made Wed Dec 21
      02:02:08 2016 UTC using RSA key ID 7DA27561 gpgv: Good signature from
      "Dreambox DM900 Recovery <dm900@recovery.dreambox.de>" Running
      './recovery' Options '-v' Warning: Could not read CA! Warning:
      Please consider updating your rescue loader! Warning: Could not read CA!
      Warning: Please consider updating your rescue loader! Downloading
      'dreamboxupdate.com/download/re…ox-image-dm900.tar.xz.sig'
      Downloading
      'dreamboxupdate.com/download/re…eambox-image-dm900.tar.xz'
      Verifying signature of 'dreambox-image-dm900.tar.xz' gpgv: Signature
      made Tue Apr 24 10:06:12 2018 UTC using RSA key ID 7DA27561 gpgv: Good
      signature from "Dreambox DM900 Recovery <dm900@recovery.dreambox.de>"
      Creating partition table GPT data structures destroyed! You may now
      partition the disk using fdisk or other utilities. Setting name! partNum
      is 0 REALLY setting name! Setting name! partNum is 1 REALLY setting
      name! Setting name! partNum is 2 REALLY setting name! Unable to save
      backup partition table! Perhaps the 'e' option on the experts' menu will
      resolve this problem. Warning! An error was reported when writing the
      partition table! This error MIGHT be harmless, or the disk might be
      damaged! Checking it is advisable. Fatal: Failed to partition disk
      Fatal: Failed to execute './recovery'

      Die Festplatte ist von Linux aus im PC ganz normal lesbar, zeigt keine Smart-Fehler und ist laut HD-Tune pro fehlerfrei lesbar.

      Was ist denn da los? Ist der Flashspeicher hin?

      Vielen Dank

      im Voraus für jede Hilfe!

      Grüße
      Burkhard Schultheis |
      Dateien
    • Mausi schrieb:

      „Read-only file system“
      Schau mal da
      DM900UHD root write protect, Filesystem read only gemountet

      Und dein rescue-loader sollte auch mal aktualisiert werden... ;) , dann klappt es auch wieder mit dem Flashen
      Ich habe mich jetzt mal per ssh angemeldet. Sieht komisch aus:
      "fdisk -l" zeigt mir die Festplatte. Aber wieso ist die Datei /etc/fstab vom November und enthält keine Zeile für die Festplatte? Da müsste doch so etwas ähnliches wie bei meiner dm800 drinstehen:

      /dev/disk/by-uuid/1917e993-9da8-42fd-866d-71a3483d712b /media/hdd auto auto 0 0

      Aber die ganze Datei auf der dm900 sieht so aus:

      rootfs / rootfs rw,relatime 0 1
      proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
      sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
      devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
      tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
      tmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
      tmpfs /tmp tmpfs rw,relatime 0 0
      tmpfs /var/volatile tmpfs rw,relatime,mode=755 0 0

      Soll ich einfach die Daten-Partition (und evtl. die Swap-Partition) in die fstab eintragen und es dann noch mal probieren?

      Grüße
      Burkhard
    • Ich komme als alter Linux-Administrator mit den Einträgen in der fstab auf der dm900 nicht klar. Wie müsste denn der Eintrag für die Platte aussehen? Oder müsste die automatisch ohne Eintrag in der fstab angehängt werden? Das würde ja erklären, dass die fstab alt ist und keinen Eintrag für die Festplatte enthält. Dann frage ich mich nur, warum sie nicht angehängt wird und der blöde Fehler kommt, obwohl nichts von readonly in der fstab zu sehen ist!

      Kann hier bitte mal jemand seine /etc/fstab von einer dm900 posten? Das fände ich prima!

      Grüße
      Burkhard

      Mausi schrieb:

      Hast du dich im Rescue-Mode eingeloggt oder wenn die Box „normal“ bootet ?
      Im Rescue-Mode. Sehe ich da eine andere fstab?
    • Ja, natürlich. Der RescueMode ist ein komplett vom eigentlichen Image unabhängig laufendes System.
      Boote das normale Image, mounte root rw wie in der Anleitung beschrieben, kontrolliere die fstab.

      Wenn das normale System dann wieder läuft, kannst du auch den RescueLoader mal aktualisieren - aber wirklich aus dem laufenden System raus, nicht im RL selbst.
    • Dem Crashlog nach wird lediglich E2 beendet und der Unterbau startet. Ohne Bootlog kann ich dir nicht sagen was im Moment wirklich Sache ist. Wie es aussieht, hast du beim Recoveryversuch die Haken "Backup current settings before flashing" und "Restore settings after flashing" nicht ausgemacht und dir die zerschossene Konfig wieder eingespielt.
    • Joey schrieb:

      Dem Crashlog nach wird lediglich E2 beendet und der Unterbau startet. Ohne Bootlog kann ich dir nicht sagen was im Moment wirklich Sache ist. Wie es aussieht, hast du beim Recoveryversuch die Haken "Backup current settings before flashing" und "Restore settings after flashing" nicht ausgemacht und dir die zerschossene Konfig wieder eingespielt.
      Wo steht das bootlog? /var/volatile/log/dmesg? Hänge ich an.
      Dateien
      • dmesg.txt

        (42,38 kB, 266 mal heruntergeladen, zuletzt: )
    • Hier das Log von der Online-Recovery:

      [*] Downloading 'http://dreamboxupdate.com/download/recovery/dm900/release/recovery.sig'[*] Downloading 'http://dreamboxupdate.com/download/recovery/dm900/release/recovery'[*] Verifying signature of 'recovery'gpgv: Signature made Wed Dec 21 02:02:08 2016 UTC using RSA key ID 7DA27561gpgv: Good signature from "Dreambox DM900 Recovery <dm900@recovery.dreambox.de>"[*] Running './recovery'[*] Options '-v'Warning: Could not read CA!Warning: Please consider updating your rescue loader!Warning: Could not read CA!Warning: Please consider updating your rescue loader![*] Downloading 'http://dreamboxupdate.com/download/recovery/dm900/release/dreambox-image-dm900.tar.xz.sig'[*] Downloading 'http://dreamboxupdate.com/download/recovery/dm900/release/dreambox-image-dm900.tar.xz'[*] Verifying signature of 'dreambox-image-dm900.tar.xz'gpgv: Signature made Tue Apr 24 10:06:12 2018 UTC using RSA key ID 7DA27561gpgv: Good signature from "Dreambox DM900 Recovery <dm900@recovery.dreambox.de>"[*] Creating partition tableWarning! Read error 0! Misbehavior now likely!Warning! Error 5 reading partition table for CRC check!Warning! One or more CRCs don't match. You should repair the disk!****************************************************************************Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but diskverification and recovery are STRONGLY recommended.****************************************************************************Warning! GPT main header not overwritten! Error is 5GPT data structures destroyed! You may now partition the disk using fdisk orother utilities.Setting name!partNum is 0REALLY setting name!Setting name!partNum is 1REALLY setting name!Setting name!partNum is 2REALLY setting name!Unable to save backup partition table! Perhaps the 'e' option on the experts'menu will resolve this problem.Warning! An error was reported when writing the partition table! This errorMIGHT be harmless, or the disk might be damaged! Checking it is advisable.Fatal: Failed to partition diskFatal: Failed to execute './recovery'


      Kommt mir so vor, als gäbe es keinen Zugriff auf die Festplatte, die ja vollkommen in Ordnung ist! Was kann ich denn da nun noch tun?
    • Firmwareupload geht auch nicht:

      Creating partition tableWarning! Read error 5; strange behavior now likely!Warning! Read error 5; strange behavior now likely!Creating new GPT entries.Warning! GPT main header not overwritten! Error is 5GPT data structures destroyed! You may now partition the disk using fdisk orother utilities.Setting name!partNum is 0REALLY setting name!Setting name!partNum is 1REALLY setting name!Setting name!partNum is 2REALLY setting name!Unable to save backup partition table! Perhaps the 'e' option on the experts'menu will resolve this problem.Warning! An error was reported when writing the partition table! This errorMIGHT be harmless, or the disk might be damaged! Checking it is advisable.Fatal: Failed to partition disk

      Immer derselbe Fehler! Wie kann ich ihn abstellen?
    • Man könnte den RL updaten und dann die Partition (gleich mit 2GB) neu schreiben.
      Das Updaten des RLs, wenn kein funktionierendes System auf der Box ist, ist allerdings Risiko da man am Rettungsboot arbeitet während man gerade drin sitzt. Deshalb macht man das eigentlich nicht.

      2 GB Flash (root) für DM9x0, DM820, DM7080

      Ob update-rescue -v aus dem RL heraus geht, weiß ich nicht aus Kopf. Falls nicht, dann evtl. den neuen RL manuell auf die Box laden und per flash-rescue zImage-rescue-3.14-r0-dm900-20190426.bin flashen. Link zum neuen RL und Befehle im verlinkten Thread

      Sollte dabei der RL sterben, gibt es auch noch Möglichkeiten: Dreambox OE2.5 Recovery DM520/525 DM820 DM900 DM920 DM7080 (+ USB Recovery)
    • Ich habe jetzt mal die Seite "Device information" im Rescue Mode aufgerufen. Und da gibt's nur Infos unter "Product name", "Rescue Loader version" und "Flashsize". Alle übrigen Felder sind leer (Production date, mID, Serial number, MAC address und Printed serial number). Das ist doch wohl gar nicht normal! Wie kann man das beheben?
    • Ich habe jetzt den Rescue-Loader erfolgreich geflasht und konnte nach mehreren Versuchen auch wieder den Rescue-Mode aufrufen. Jetzt kommen auch tatsächlich alle Informationen, aber das übrige Verhalten scheint unverändert zu sein. Die Online-Recovery hat jedenfalls wieder nicht funktioniert.
    • Ich denke, hier liegt der Hund begraben:

      root@dm900:~# mount /dev/mmcblk0p3 /mnt
      mount: /dev/mmcblk0p3: can't read superblock

      Das müsste doch gehen, oder? Und wenn ja, was kann ich machen, um das wieder hinzubiegen?
    • Joey schrieb:

      Ich hab doch eben geschrieben was du machen kannst.
      Das hat sich überschnitten. ;)

      Zuerst gab's ein paar Warnungen, die wohl nicht so ganz harmlos sind:

      root@dm900:~# sgdisk /dev/mmcblk0 -z -n 1:2048:65535 -c 1:kernel -t 1:8301 -n 2:65536:41943
      03 -c 2:rootfs -t 2:8307 -n 3:4194304: -c 3:data -t 3:8300
      Warning! Read error 5; strange behavior now likely!
      Caution: invalid backup GPT header, but valid main header; regenerating
      backup header from main header.

      Warning! Read error 5! Misbehavior now likely!
      Warning! Error 5 reading partition table for CRC check!
      Warning! One or more CRCs don't match. You should repair the disk!

      ****************************************************************************
      Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
      verification and recovery are STRONGLY recommended.
      ****************************************************************************
      Warning! GPT main header not overwritten! Error is 5
      GPT data structures destroyed! You may now partition the disk using fdisk or
      other utilities.
      Setting name!
      partNum is 0
      REALLY setting name!
      Setting name!
      partNum is 1
      REALLY setting name!
      Setting name!
      partNum is 2
      REALLY setting name!
      Unable to save backup partition table! Perhaps the 'e' option on the experts'
      menu will resolve this problem.
      Warning! An error was reported when writing the partition table! This error
      MIGHT be harmless, or the disk might be damaged! Checking it is advisable.

      Und die Online-Recovery geht ein bisschen besser, aber noch nicht wirklich:

      [*] Downloading 'http://dreamboxupdate.com/download/recovery/dm900/release/recovery.sig'
      [*] Downloading 'http://dreamboxupdate.com/download/recovery/dm900/release/recovery'
      [*] Verifying signature of 'recovery'
      gpgv: Signature made Wed Dec 21 02:02:08 2016 UTC using RSA key ID 7DA27561
      gpgv: Good signature from "Dreambox DM900 Recovery <dm900@recovery.dreambox.de>"
      [*] Verifying signature of '/data/.recovery/recovery'
      [*] Running './recovery'
      [*] Options '-v'
      [*] Downloading 'http://dreamboxupdate.com/download/recovery/dm900/release/dreambox-image-dm900.tar.xz.sig'
      [*] Downloading 'http://dreamboxupdate.com/download/recovery/dm900/release/dreambox-image-dm900.tar.xz'
      [*] Verifying signature of 'dreambox-image-dm900.tar.xz'
      gpgv: Signature made Tue Apr 24 10:06:12 2018 UTC using RSA key ID 7DA27561
      gpgv: Good signature from "Dreambox DM900 Recovery <dm900@recovery.dreambox.de>"
      [*] Creating partition table
      Warning! Read error 5; strange behavior now likely!
      Warning! Read error 5; strange behavior now likely!
      Creating new GPT entries.
      Warning! GPT main header not overwritten! Error is 5
      Warning: The kernel is still using the old partition table.
      The new table will be used at the next reboot or after you
      run partprobe(8) or kpartx(8)
      GPT data structures destroyed! You may now partition the disk using fdisk or
      other utilities.
      Setting name!
      partNum is 0
      REALLY setting name!
      Setting name!
      partNum is 1
      REALLY setting name!
      Setting name!
      partNum is 2
      REALLY setting name!
      Unable to save backup partition table! Perhaps the 'e' option on the experts'
      menu will resolve this problem.
      Warning! An error was reported when writing the partition table! This error
      MIGHT be harmless, or the disk might be damaged! Checking it is advisable.
      Fatal: Failed to partition disk
      Fatal: Failed to execute './recovery'