xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 46 forks source link

xbmc service stopped working, boot drops to terminal #914

Closed Sjoerd82 closed 2 years ago

Sjoerd82 commented 2 years ago

As per today, and having done no updates whatsoever, the xbmc service fails to start. Symptoms are:

( ..to fast to copy.. )

root 2781 inode 95920 errors 2001, no inode item, link count wrong unresolved ref dir 44288 index 12 namelen 11 name pycache filetype 2 errors 4, no inode ref root 2781 inode 95921 errors 2001, no inode item, link count wrong unresolved ref dir 44291 index 52 namelen 11 name pycache filetype 2 errors 4, no inode ref ERROR: errors found in fs roots found 3807178752 bytes used, error(s) found total csum bytes: 3593668 total tree bytes: 95879168 total fs tree bytes: 86654976 total extent tree bytes: 4489216 btree space waste bytes: 22463612 file data blocks allocated: 4853329920 referenced 4830142464

Now, this looks bad, or is it because the FS was mounted. Any assistance would be greatly appreciated! :-)

mkreisl commented 2 years ago

1) enable initramfs in /boot/config.txt (remove # from already existing line initramfs initramfs.gz followkernel) 2) add rescue to /boot/cmdline.txt (should look like rescue telnet zswap.enabled=1 ....) 3) boot into rescue and run btrfs check from there

Then you can see if your file system is broken (which I assume is the case).

If you don't have an image backup, reinstall completely from a new image, because in my opinion it's not worth the effort to fix it.

Sjoerd82 commented 2 years ago

thx, will try that

Sjoerd82 commented 2 years ago

Yup, SD card was f**. RPi likes to eat those like they're going out of fashion :-(

mkreisl commented 2 years ago

That's why I switched all my development systems to sd-card-less operation years ago.