greenscreenloop beim Start

    • Quellcode

      1. root@dm900:~$ find /tmp/flash -type f -size +10000k
      2. find: /tmp/flash: No such file or directory
      3. root@dm900:~$ apt-get update && apt-get install coreutils
      4. Ign http://feed.newnigma2.to ./ InRelease
      5. Ign http://feed.newnigma2.to ./ InRelease
      6. Ign http://feed.newnigma2.to ./ InRelease
      7. Hit http://feed.newnigma2.to ./ Release.gpg
      8. Hit http://feed.newnigma2.to ./ Release.gpg
      9. Hit http://feed.newnigma2.to ./ Release.gpg
      10. Hit http://feed.newnigma2.to ./ Release
      11. Hit http://feed.newnigma2.to ./ Release
      12. Hit http://feed.newnigma2.to ./ Release
      13. Hit http://feed.newnigma2.to ./ Packages
      14. Hit http://feed.newnigma2.to ./ Packages
      15. Hit http://feed.newnigma2.to ./ Packages
      16. Ign http://feed.newnigma2.to ./ Translation-de_DE
      17. Ign http://feed.newnigma2.to ./ Translation-de
      18. Ign http://feed.newnigma2.to ./ Translation-en
      19. Ign http://feed.newnigma2.to ./ Translation-de_DE
      20. Ign http://feed.newnigma2.to ./ Translation-de
      21. Ign http://feed.newnigma2.to ./ Translation-en
      22. Ign http://feed.newnigma2.to ./ Translation-de_DE
      23. Ign http://feed.newnigma2.to ./ Translation-de
      24. Ign http://feed.newnigma2.to ./ Translation-en
      25. Reading package lists... Done
      26. Reading package lists... Done
      27. Building dependency tree
      28. Reading state information... Done
      29. coreutils is already the newest version.
      30. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      31. root@dm900:~$ df -i /
      32. Filesystem Inodes IUsed IFree IUse% Mounted on
      33. /dev/root 63488 21038 42450 34% /
      34. root@dm900:~$
      Alles anzeigen
      So, da bin ich nochmal. War noch auf nem Geburtstag. Inzwischen hab ich nach den Files >grösser 10000K gesucht.
      Kam aber ne Fehlermeldung im Putty.
      @Fred: die coreutils hab ich installiert und den Putty-Ausgabe wieder anghängt.
      Die Picons hab sind meines Wissens schon im Flash. Das ist glaub bei der dm 900 nicht anderst möglich ausser mitFlashexpander o.ä.
      Da hab ich mich aber bisher noch nicht rangetraut.
      LG Beppo
    • da werden noch nicht mal die Files angezeigt, die Fred gepostet hat?
      1. /tmp/flash/usr/lib/go/pkg/linux_arm_dynlink/libstd.so
      2. /tmp/flash/usr/lib/libavcodec.so.57.24.102
      3. /tmp/flash/usr/lib/libQt5WebKit.so.5.6.2
      4. /tmp/flash/usr/lib/libicudata.so.56.1
    • Quellcode

      1. root@dm900:~$ df -h
      2. Filesystem Size Used Avail Use% Mounted on
      3. /dev/root 961M 923M 0 100% /
      4. devtmpfs 492M 0 492M 0% /dev
      5. tmpfs 500M 0 500M 0% /dev/shm
      6. tmpfs 500M 17M 484M 4% /run
      7. tmpfs 500M 0 500M 0% /sys/fs/cgroup
      8. /dev/mmcblk0p3 2,6G 326M 2,1G 14% /data
      9. tmpfs 500M 12K 500M 1% /tmp
      10. tmpfs 500M 56K 500M 1% /var/volatile
      11. root@dm900:~$ du -sh /tmp/flash/
      12. 0 /tmp/flash/
      13. root@dm900:~$ du -sh /tmp/flash
      14. 0 /tmp/flash
      15. root@dm900:~$
      Alles anzeigen
    • root@dm900:~$ mount -o bind / /tmp/flash
      root@dm900:~$ df -h
      Filesystem Size Used Avail Use% Mounted on
      /dev/root 961M 923M 0 100% /
      devtmpfs 492M 0 492M 0% /dev
      tmpfs 500M 0 500M 0% /dev/shm
      tmpfs 500M 17M 484M 4% /run
      tmpfs 500M 0 500M 0% /sys/fs/cgroup
      /dev/mmcblk0p3 2,6G 326M 2,1G 14% /data
      tmpfs 500M 12K 500M 1% /tmp
      tmpfs 500M 56K 500M 1% /var/volatile
      root@dm900:~$ du -sch /tmp/flash/*
      4,0K /tmp/flash/autofs
      5,3M /tmp/flash/bin
      4,2M /tmp/flash/boot
      4,0K /tmp/flash/data
      4,0K /tmp/flash/dev
      23M /tmp/flash/etc
      4,0K /tmp/flash/home
      22M /tmp/flash/lib
      16K /tmp/flash/lost+found
      2,9M /tmp/flash/media
      4,0K /tmp/flash/misc
      4,0K /tmp/flash/mnt
      4,0K /tmp/flash/net
      2,7M /tmp/flash/picons
      4,0K /tmp/flash/proc
      204K /tmp/flash/root
      4,0K /tmp/flash/run
      2,0M /tmp/flash/sbin
      4,0K /tmp/flash/srv
      4,0K /tmp/flash/sys
      4,0K /tmp/flash/tmp
      408M /tmp/flash/usr
      24M /tmp/flash/var
      493M total
      root@dm900:~$
    • df zeigt 923MB used von 961M

      du zählt 493MB total

      das ist eine Differenz von 430MB !!

      df ist nicht wirklich exact aber eine Abweichung von fast 50% glaube ich nicht, auf meiner Box sieht das so aus:

      Quellcode

      1. root@dm900uhd:~# df -h /
      2. Filesystem Size Used Avail Use% Mounted on
      3. /dev/root 961M 508M 388M 57% /
      4. root@dm900uhd:~# du -sh /tmp/flash/
      5. 501M /tmp/flash/
      6. root@dm900uhd:~#
      used ist fast ident (508m vs. 501m), die Abweichung liegt am df


      Versuchen wir es anders
      den bind mount aus /tmp/flash wieder aushängen (das cd zur Sicherheit eingeben!)

      cd
      umount /tmp/flash
      umount /tmp/flash

      wenn beim 2. umount eine Fehlermeldung kommt ist es gut, wenn nicht, den Befehl solange eingeben bis die Fehlermeldung kommt:
      "umount: can't unmount /tmp/flash: Invalid argument"

      dann mounte den mmc flash direkt - ohne bind mount

      mount /dev/mmcblk0p2 /tmp/flash


      dann poste mal folgende Ausgaben
      df -h /
      df -h /tmp/flash
      du -sch /tmp/flash
      /*
      Gruß Fred

      Die Dreambox ist tot, es lebe die Dreambox

      Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von Fred Bogus Trumper ()

    • Quellcode

      1. root@dm900:~$ mount /dev/mmcblk0p2 /tmp/flash
      2. root@dm900:~$ df -h
      3. Filesystem Size Used Avail Use% Mounted on
      4. /dev/root 961M 923M 0 100% /
      5. devtmpfs 492M 0 492M 0% /dev
      6. tmpfs 500M 0 500M 0% /dev/shm
      7. tmpfs 500M 17M 484M 4% /run
      8. tmpfs 500M 0 500M 0% /sys/fs/cgroup
      9. /dev/mmcblk0p3 2,6G 326M 2,1G 14% /data
      10. tmpfs 500M 12K 500M 1% /tmp
      11. tmpfs 500M 60K 500M 1% /var/volatile
      12. root@dm900:~$ df -h /tmp/flash
      13. Filesystem Size Used Avail Use% Mounted on
      14. /dev/mmcblk0p2 961M 923M 0 100% /tmp/flash
      15. root@dm900:~$ du -sch /tmp/flash/*
      16. 4,0K /tmp/flash/autofs
      17. 5,3M /tmp/flash/bin
      18. 4,2M /tmp/flash/boot
      19. 4,0K /tmp/flash/data
      20. 4,0K /tmp/flash/dev
      21. 23M /tmp/flash/etc
      22. 4,0K /tmp/flash/home
      23. 22M /tmp/flash/lib
      24. 16K /tmp/flash/lost+found
      25. 2,9M /tmp/flash/media
      26. 4,0K /tmp/flash/misc
      27. 4,0K /tmp/flash/mnt
      28. 4,0K /tmp/flash/net
      29. 2,7M /tmp/flash/picons
      30. 4,0K /tmp/flash/proc
      31. 204K /tmp/flash/root
      32. 4,0K /tmp/flash/run
      33. 2,0M /tmp/flash/sbin
      34. 4,0K /tmp/flash/srv
      35. 4,0K /tmp/flash/sys
      36. 4,0K /tmp/flash/tmp
      37. 408M /tmp/flash/usr
      38. 24M /tmp/flash/var
      39. 493M total
      Alles anzeigen
    • die 3. Partiton des mmc flash, mmcblk0p3 wird nach /data gemountet

      mmcblk0p2 ist die 2. mmc Flash Partition in dem das rootfs bzw. das Image liegt und wird nach / gemountet
      das eine ist vom anderen unabhängig vergleichbar miz zwei Festplatten Partitionen

      in mmcblk0p1 liegt soweit ich weiß der kernel von dem gebootet wird


      @Highway-baer

      buh, sehr eigenartig, ich hatte gehoft, dass man etwas findet, wenn der mmc Flash direkt nochmal gemountet ist
      ich kann mir nicht erklären wo die 430MB Differenz herhommen

      was du aber noch versuchen könntest, ist einen filesystem der flash partition check im rescue mode

      box in den rescue-mode booten
      to-the-rescue

      per telnet über die IP im Display verbinden
      user: root
      password wird keines benötigt

      dann den filesystemcheck machen:
      fsck.ext4 -f -v -p /dev/mmcblk0p2

      wenn der durch ist, vielleicht die Ausgabe posten, mit dem Befehl reboot die Box neu starten, wenn dann df -h noch immer 923M used anzeigt weiß ich vorerst auch nicht was man noch versuchen könnte bzw. woraus die 430MB Differenz resultieren
      Gruß Fred

      Die Dreambox ist tot, es lebe die Dreambox

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von Fred Bogus Trumper ()

    • Brainfuck-Quellcode

      1. login as: root
      2. root@dm900:~# fsck.ext4 -f -v -p /dev/mmcblk0p2
      3. dreambox-rootfs: Superblock last write time is in the future.
      4. (by less than a day, probably due to the hardware clock being incorrectly set)
      5. 21000 inodes used (33.08%, out of 63488)
      6. 155 non-contiguous files (0.7%)
      7. 48 non-contiguous directories (0.2%)
      8. # of inodes with ind/dind/tind blocks: 0/0/0
      9. Extent depth histogram: 19619/15
      10. 242683 blocks used (95.56%, out of 253952)
      11. 0 bad blocks
      12. 1 large file
      13. 18365 regular files
      14. 1137 directories
      15. 0 character device files
      16. 0 block device files
      17. 0 fifos
      18. 1019 links
      19. 1486 symbolic links (1355 fast symbolic links)
      20. 3 sockets
      21. ------------
      22. 22010 files
      23. root@dm900:~#
      Alles anzeigen
      So, alles, wie oben beschrieben erledigt. Ausgabe oben eingfügt. Bei df -h werden unter used 916M angezeigt.
    • gestern waren es noch 923M used ..

      Ich hab' jetzt auch keine Idee mehrI Am df liegt es eher nicht, du bekommst ja die selben Werte mit dem df im rescue loader


      Im Grunde sehe ich 3 Möglichkeiten

      1. Du lässt es so wie es ist und guckst mal was passiert, wenn die Box nach einem Update wieder crasht, mit apt-get clean den apt cache löschen, dass ist aber auch keine Dauerlösung
      2. du sicherst das Image zum Test mal mit DBackup und flasht es wieder, dann sollte /dev/mmcblp02 erneut formatiert werden
      3. du flasht komplett neu und spielst nur die settings zurück

      Zumindest nach 3. sollte das Problem behoben sein und df -h wieder richtige Werte zeigen
      Gruß Fred

      Die Dreambox ist tot, es lebe die Dreambox