Looping sad face following power outage

Hi. Had a power out this afternoon and ever since OSMC/Kodi on the Pi is in a sad face loop…

Can connect in ok via WinSCP and have generated logs here: https://paste.osmc.tv/qixixitude

The looping pattern from that lot seems to be:

Jan 22 19:57:46 KodiBox mediacenter[362]: Starting Kodi…
Jan 22 19:57:47 KodiBox sudo[2251]: root : TTY=unknown ; PWD=/ ; USER=osmc ; ENV=LIRC_SOCKET_PATH=/var/run/lirc/lircd ; COMMAND=/usr/lib/kodi/kodi.bin --standalone -fs
Jan 22 19:57:47 KodiBox sudo[2251]: pam_unix(sudo:session): session opened for user osmc by (uid=0)
Jan 22 19:57:47 KodiBox mediacenter[362]: /usr/lib/kodi/kodi.bin: error while loading shared libraries: /usr/lib/arm-linux-gnueabihf/libasound.so.2: invalid ELF header
Jan 22 19:57:47 KodiBox sudo[2251]: pam_unix(sudo:session): session closed for user osmc
Jan 22 19:57:47 KodiBox mediacenter[362]: Kodi exited with return code 127 after 0 hours, 0 minutes and 1 seconds

Any help appreciated…

Thanks, Mike

Looks like the SD card is corrupted.

Hopefully you have a backup

Thanks for the response. Tried various commands etc scraped from the forums to try and trigger some kind of repair, but nothing seems to have any effect. I guess its time for a new SD card…
Cheers, Mike.

Make it an OSMC SD card for reliability.

SD cards have a limited lifespan. I recommend you change SD card and suspect that issues will no longer persist with a good card. If you would like to be a good quality SD card purpose manufactured for OSMC, then you can find one in the Store.

1 Like