Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 4.0.0

2019-06-03 Thread paul-


The Fat partition is only the boot disk.  That dirty bit is very common
and mostly harmless.

Partition 2 is where the extensions reside, and all of the pCP web
interface.  Those messages look like the SD card failed.Try forcing
a fsck on that partition, see what happens.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=109404

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 4.0.0

2019-06-03 Thread Stoker


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
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 4.0.0

2019-06-03 Thread paul-


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.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=109404

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 4.0.0

2019-06-03 Thread Stoker


Hi

Tried to play some music this morning and discovered that LMS is not
running. When I go to the piCore player web interface, in the Main Page
there's a red cross and the text: LMS is not running. 

If I go to the LMS tab of the piCore Player web interface and hit the
start button I get the following messages:

[ INFO ] Starting LMS...
[ INFO ] The following modules failed to load: EV JSON::XS YAML::XS

It was all working fine on Friday but not now! I've rebooted piCore
Player (using web interface reboot button and by power cycling) but
continue to get the same issue.

Version numbers:
piCorePlayer v4.1.2, linux 4.14.81-pcpCore_v7, piCore v9.2pCP,
Squeezelite v1.9.0-1121-pCP

I'm guessing something got corrupted, think there may possibly have been
a power outage over the weekend while I was away.

So far I'm thinking either uninstall/reinstall LMS or wipe SD card and
reinstall piCore Player. Both a bit of a pain, so if anyone has any
suggestions...

I'm happy with command line stuff and SSH etc.

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
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 4.0.0

2019-06-03 Thread jmleglise


Everything is fine now. 
Thank you,



jmleglise's Profile: http://forums.slimdevices.com/member.php?userid=68918
View this thread: http://forums.slimdevices.com/showthread.php?t=109404

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix