LibreElec 7.0.0 and HifiBerry Failing on 2nd boot
#1
Guys
I could not seem to geth libreELEC site to email mr the confirmation e-mail so posting here....

to reprpduce:

I downloaded the LibreElec 7.0.0. image and put it on a card.
edited the config adding to the end of the file only:
dtoverlay=hifiberry-digi
dtdebug=1

Installed it into my RPI-2 with HifBerry-digi and booted.
It boots and then resizes, and reboots.

First boot I see the card and can select it and here sound!
Then reboot again, gone, no card can be seen.

==================
What was intertersting is the the /flash area changes each boot:
First boot as seen on image, of course, the 2 boot I see the /flash looks like:
LibreELEC:/flash # ls -la /flash/overlays/
total 0
LibreELEC:/flash # ls -l /flash
total 126616
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0000.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0001.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0002.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0003.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0004.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0005.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0006.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0007.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0008.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0009.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0010.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0011.REC
-rwxr-xr-x 1 root root 49152 Jan 1 1980 FSCK0012.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0013.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0014.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0015.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0016.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0017.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0018.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0019.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0020.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0021.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0022.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0023.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0024.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0025.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0026.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0027.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0028.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0029.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0030.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0031.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0032.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0033.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0034.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0035.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0036.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0037.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0038.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0039.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0040.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0041.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0042.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0043.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0044.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0045.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0046.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0047.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0048.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0049.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0050.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0051.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0052.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0053.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0054.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0055.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0056.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0057.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0058.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0059.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0060.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0061.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0062.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0063.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0064.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0065.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0066.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0067.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0068.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0069.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0070.REC
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0071.REC
-rwxr-xr-x 1 root root 119304192 Apr 25 15:41 SYSTEM
-rwxr-xr-x 1 root root 48 Apr 25 15:41 SYSTEM.md5
-rwxr-xr-x 1 root root 12728 Apr 25 15:41 bcm2709-rpi-2-b.dtb
-rwxr-xr-x 1 root root 13398 Apr 25 15:41 bcm2710-rpi-3-b.dtb
-rwxr-xr-x 1 root root 17924 Apr 25 15:41 bootcode.bin
-rwxr-xr-x 1 root root 47 Apr 25 15:41 cmdline.txt
-rwxr-xr-x 1 root root 4938 May 2 2016 config.txt
-rwxr-xr-x 1 root root 9729 Apr 25 15:41 fixup.dat
-rwxr-xr-x 1 root root 5756432 Apr 25 15:41 kernel.img
-rwxr-xr-x 1 root root 48 Apr 25 15:41 kernel.img.md5
drwxr-xr-x 0 root root 0 Apr 25 15:41 overlays
-rwxr-xr-x 1 root root 3844392 Apr 25 15:41 start.elf
LibreELEC:/flash #

============================================================
Then the next boot when it fails to see the card (confimed in dmesg) I have:

LibreELEC (official) Version: 7.0.0
LibreELEC:~ # ###3rd reboot -- sound card should have gone...
LibreELEC:~ # ls /flash
FSCK0000.REC FSCK0010.REC FSCK0020.REC FSCK0030.REC FSCK0040.REC FSCK0050.REC FSCK0060.REC FSCK0070.REC kernel.img
FSCK0001.REC FSCK0011.REC FSCK0021.REC FSCK0031.REC FSCK0041.REC FSCK0051.REC FSCK0061.REC FSCK0071.REC kernel.img.md5
FSCK0002.REC FSCK0012.REC FSCK0022.REC FSCK0032.REC FSCK0042.REC FSCK0052.REC FSCK0062.REC SYSTEM start.elf
FSCK0003.REC FSCK0013.REC FSCK0023.REC FSCK0033.REC FSCK0043.REC FSCK0053.REC FSCK0063.REC SYSTEM.md5
FSCK0004.REC FSCK0014.REC FSCK0024.REC FSCK0034.REC FSCK0044.REC FSCK0054.REC FSCK0064.REC bcm2709-rpi-2-b.dtb
FSCK0005.REC FSCK0015.REC FSCK0025.REC FSCK0035.REC FSCK0045.REC FSCK0055.REC FSCK0065.REC bcm2710-rpi-3-b.dtb
FSCK0006.REC FSCK0016.REC FSCK0026.REC FSCK0036.REC FSCK0046.REC FSCK0056.REC FSCK0066.REC bootcode.bin
FSCK0007.REC FSCK0017.REC FSCK0027.REC FSCK0037.REC FSCK0047.REC FSCK0057.REC FSCK0067.REC cmdline.txt
FSCK0008.REC FSCK0018.REC FSCK0028.REC FSCK0038.REC FSCK0048.REC FSCK0058.REC FSCK0068.REC config.txt
FSCK0009.REC FSCK0019.REC FSCK0029.REC FSCK0039.REC FSCK0049.REC FSCK0059.REC FSCK0069.REC fixup.dat
LibreELEC:~ #

####NOTE overlay directory has vanished completely this time!

All this works ok on openelec 7.0 beta 2

So looks like something strange with the boot process??

regards
JB
Reply
#2
Just confirmed this all works ok on OpenELEC 7 beta 3 ok.

and the flash area looks better to me :-)

Lounge-RPI-kodi:/flash # ls /flash
SYSTEM bcm2710-rpi-3-b.dtb cmdline.txt config.txt kernel.img start.elf
bcm2709-rpi-2-b.dtb bootcode.bin config-orig.txt fixup.dat overlays
Lounge-RPI-kodi:/flash #
Reply
#3
This amount of file system corruption suggests a hardware issue - insufficient power, an incompatible/fake SD card, or an SD card that is dying. If you upload your dmesg for the LE system I'd expect there to be several mmc-related errors. Try a different SD card.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
LibreElec 7.0.0 and HifiBerry Failing on 2nd boot00