paul- wrote: > Is your LMS set to save the cache on the SD card? > > Can you go to the diagnostics page and look at the Boot Log. See if > there is anything odd in dmesg too. If the partition has errors on it, > the easiest way to fix them would be to stick the SD card in another > Linux based machine and run a repair on it.
I'm pretty sure the cache is on a USB drive connected directly to my piCore Player machine, although I'm not 100% sure. On the USB drive there is a slimeserver/Cache directory with files that were modified as recently as yesterday which might indicate that the cache is on the USB drive and not the SD card. I had a look at the dmesg section on the Diagnostics page and there is something odd (Thanks for the pointer). Here's an extract: [ 22.396236] random: sshd: uninitialized urandom read (32 bytes read) [ 22.807451] random: crng init done [ 22.899838] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [ 24.547839] SQUASHFS error: zlib decompression failed, data probably corrupt [ 24.547856] SQUASHFS error: squashfs_read_data failed to read block 0x848f4d [ 24.547863] SQUASHFS error: Unable to read fragment cache entry [848f4d] [ 24.547869] SQUASHFS error: Unable to read page, block 848f4d, size 67ae [ 24.547887] SQUASHFS error: Unable to read fragment cache entry [848f4d] ... many similar lines. [ 1632.536204] SQUASHFS error: Unable to read page, block 848f4d, size 67ae [ 1632.544770] SQUASHFS error: Unable to read fragment cache entry [848f4d] [ 1632.544782] SQUASHFS error: Unable to read page, block 848f4d, size 67ae [11467.797351] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. It looks like something did indeed get corrupted, probably when the power went down. I put the SD card into my Ubuntu system, it got automatically mounted as /dev/sdc, I unmounted the 2 partitions (sdc1 and sdc2) and then ran $ sudo fsck /dev/sdc1 which gave the following output: fsck from util-linux 2.31.1 fsck.fat 4.1 (2017-01-24) 0x25: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt. 1) Remove dirty bit 2) No action Should I select option 1 to remove the dirty bit? Will this fix the corruption or just reset the flag? fsck reported /dev/sdc2 as clean Cheers --ian ------------------------------------------------------------------------ Stoker's Profile: http://forums.slimdevices.com/member.php?userid=8264 View this thread: http://forums.slimdevices.com/showthread.php?t=109404 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
