Library update: Seems to crash Volumio on Raspi

Get help for Volumio here!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

Library update: Seems to crash Volumio on Raspi

Postby chsims1 » Sun Apr 16 2017 15:41

Your pi is showing lots of page allocation errors without any indication of why. You're not running anything else on the pi other than volumio? What is gpu_mem set at in /boot/config.txt?
New to Volumio? Please read the Quick Start Guide to get your system up and running :).
User avatar
chsims1
Moderator
 
Posts: 715
Joined: Sat Aug 02 2014 10:44
Location: East Yorkshire, UK

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


Library update: Seems to crash Volumio on Raspi

Postby daniel » Mon Apr 17 2017 09:11

I have problem scanning my library with cubox-i4-pro using latest image form http://oph.mdrjr.net/gkkpch/ (Volumio-debian-mpd-2017-03-31-cuboxi.img)

The log shows that it first scanned around 180 albums all HiRes 24/96 and than crashed with

Code: Select all
Apr 17 08:44:25 volumio mpd[716]: update: added NAS/Music96/Donald Fagen/Kamakiriad/01 - Trans-Island Skyway.flac
Apr 17 08:44:25 volumio systemd[1]: mpd.service: main process exited, code=killed, status=11/SEGV
Apr 17 08:44:25 volumio systemd[1]: Unit mpd.service entered failed state.
Apr 17 08:44:26 volumio systemd[1]: mpd.service holdoff time over, scheduling restart.
Apr 17 08:44:26 volumio systemd[1]: Stopping Music Player Daemon...
Apr 17 08:44:26 volumio systemd[1]: Starting Music Player Daemon...
Apr 17 08:44:26 volumio systemd[1]: Started Music Player Daemon.
Apr 17 08:44:26 volumio mpd[4118]: [146B blob data]


than the system tries to restart the process several times:
Code: Select all
Apr 17 08:44:26 volumio systemd[1]: mpd.service: main process exited, code=exited, status=127/n/a
Apr 17 08:44:26 volumio systemd[1]: Unit mpd.service entered failed state.
Apr 17 08:44:26 volumio systemd[1]: mpd.service holdoff time over, scheduling restart.
Apr 17 08:44:26 volumio systemd[1]: Stopping Music Player Daemon...
Apr 17 08:44:26 volumio systemd[1]: Starting Music Player Daemon...
Apr 17 08:44:26 volumio systemd[1]: Started Music Player Daemon.
Apr 17 08:44:26 volumio mpd[4120]: [146B blob data]


finally it shouts down and tries to do a system restart but failed several times.

Code: Select all
Apr 17 08:44:27 volumio systemd[1]: mpd.service start request repeated too quickly, refusing to start.
Apr 17 08:44:27 volumio systemd[1]: Failed to start Music Player Daemon.
Apr 17 08:44:27 volumio systemd[1]: Unit mpd.service entered failed state.
Apr 17 08:44:28 volumio systemd-journal[4129]: Runtime journal is using 12.0M (max allowed 30.0M, trying to leave 284.2M free of 1.8G available → current limit 30.0M).
Apr 17 08:44:28 volumio systemd[1]: systemd-journald.service has no holdoff time, scheduling restart.
Apr 17 08:44:28 volumio systemd[1]: Stopping Journal Service...
Apr 17 08:44:28 volumio systemd[1]: Starting Journal Service...
Apr 17 08:44:28 volumio systemd[1]: Started Journal Service.
Apr 17 08:44:28 volumio systemd-journal[4129]: Journal started
Apr 17 08:44:28 volumio systemd[1]: systemd-journald.service: main process exited, code=killed, status=11/SEGV
Apr 17 08:44:28 volumio systemd[1]: Unit systemd-journald.service entered failed state.
Apr 17 08:44:28 volumio systemd[1]: Starting Trigger Flushing of Journal to Persistent Storage...
Apr 17 08:44:28 volumio systemd[1]: udisks-glue.service: main process exited, code=killed, status=4/ILL
Apr 17 08:44:28 volumio systemd[1]: Unit udisks-glue.service entered failed state.
Apr 17 08:44:28 volumio systemd[1]: udisks.service: main process exited, code=killed, status=4/ILL
Apr 17 08:44:28 volumio systemd[1]: Unit udisks.service entered failed state.
Apr 17 08:44:28 volumio systemd[1]: volumio.service: main process exited, code=exited, status=1/FAILURE
Apr 17 08:44:28 volumio systemd[1]: Unit volumio.service entered failed state.


finally it lost connection ...in read

Code: Select all
Apr 17 08:44:43 volumio volumio[4224]: info: Cannot initialize  MPD Connection: MPD is not running
Apr 17 08:44:43 volumio sudo[4287]: PAM unable to dlopen(pam_systemd.so): /lib/security/pam_systemd.so: cannot open shared object file: No such file or directory
Apr 17 08:44:43 volumio sudo[4287]: PAM adding faulty module: pam_systemd.so
Apr 17 08:44:43 volumio sudo[4287]: pam_unix(sudo:auth): conversation failed
Apr 17 08:44:43 volumio sudo[4287]: pam_unix(sudo:auth): auth could not identify password for [volumio]
Apr 17 08:44:43 volumio volumio[4224]: info: Cannot read I2C interface or I2C interface not presentError: Command failed: /usr/bin/sudo /usr/sbin/i2cdetect -y 1


scanning some single folders worked but not the entire library. Do I run into some limitations?

Daniel
Random avatar
daniel
Sunday DIYer
Sunday DIYer
 
Posts: 19
Joined: Sun Jul 06 2014 14:35
Location: Zürich, Switzerland


Library update: Seems to crash Volumio on Raspi

Postby Torsten » Tue Apr 18 2017 07:20

Yepp, volumio is allone on all my Rapis.

Here is config text
Code: Select all
initramfs volumio.initrd
gpu_mem=16
max_usb_current=1
dtparam=audio=on
dtparam=i2c_arm=on
disable_splash=1


cheers
T
User avatar
Torsten
Serious Listener
Serious Listener
 
Posts: 62
Joined: Fri Oct 17 2014 16:56


Library update: Seems to crash Volumio on Raspi

Postby chsims1 » Tue Apr 18 2017 08:54

Well I'm really sorry Torsten, but I have to admit defeat here. I have no idea what is causing your problems, and it is difficult to make further suggestions other than purely speculative based on web-searches for "page allocation" errors... for example, playing with the "swappiness". What I do find strange is that these problems are not reported by anyone else on these forums as far as I am aware. It may well be worth your while to try posting to a general RPi forum such as the official one for Raspbian here. When you do find a solution, then please post back, and let us know how you got on. Good luck.

@Daniel

Your problem is completely separate, and you should make a new post with a appropriate topic title. ;)
New to Volumio? Please read the Quick Start Guide to get your system up and running :).
User avatar
chsims1
Moderator
 
Posts: 715
Joined: Sat Aug 02 2014 10:44
Location: East Yorkshire, UK


Library update: Seems to crash Volumio on Raspi

Postby Torsten » Tue Apr 18 2017 15:33

Let's see what I tried now:
Actually you pointed in the right direction with the Raspi config files I did some web search and trial and error . . .
First I wanted to update firmware . . . did no work.

Then I made a change in cmdline.txt
I changed
"smsc95xx.turbo_mode=N"
to
"smsc95xx.turbo_mode=Y"

aaaaand . . . seems to work

I still get a lot of these
Code: Select all
net_ratelimit: 49283 callbacks suppressed
Apr 18 15:59:09 musikzimmer kernel: smsc95xx 1-1.1:1.0 eth0: kevent 2 may have been dropped
Apr 18 15:59:09 musikzimmer kernel: smsc95xx 1-1.1:1.0 eth0: kevent 2 may have been dropped
Apr 18 15:59:09 musikzimmer kernel: smsc95xx 1-1.1:1.0 eth0: kevent 2 may have been dropped
Apr 18 15:59:09 musikzimmer kernel: smsc95xx 1-1.1:1.0 eth0: kevent 2 may have been dropped
Apr 18 15:59:09 musikzimmer kernel: smsc95xx 1-1.1:1.0 eth0: kevent 2 may have been dropped
Apr 18 15:59:09 musikzimmer kernel: smsc95xx 1-1.1:1.0 eth0: kevent 2 may have been dropped
Apr 18 15:59:09 musikzimmer kernel: smsc95xx 1-1.1:1.0 eth0: kevent 2 may have been dropped
Apr 18 15:59:09 musikzimmer kernel: smsc95xx 1-1.1:1.0 eth0: kevent 2 may have been dropped
Apr 18 15:59:09 musikzimmer kernel: smsc95xx 1-1.1:1.0 eth0: kevent 2 may have been dropped
Apr 18 15:59:09 musikzimmer kernel: smsc95xx 1-1.1:1.0 eth0: kevent 2 may have been dropped


at least the Raspi stays alive ( for now ) and populated the library
User avatar
Torsten
Serious Listener
Serious Listener
 
Posts: 62
Joined: Fri Oct 17 2014 16:56


Library update: Seems to crash Volumio on Raspi

Postby Torsten » Tue Apr 18 2017 17:04

Slightly to optimistic . . .
all of a sudden I get ans ALSA error
Code: Select all
Apr 18 18:59:42 musikzimmer mpd[1572]: alsa_output: Failed to open "alsa" [alsa]: Failed to open ALSA device "softvolume": No such device
Apr 18 18:59:42 musikzimmer mpd[1572]: output: Failed to open audio output
Apr 18 18:59:42 musikzimmer mpd[1572]: player: problems opening audio device while playing "NAS/Musik/Alceo Bocchino/Brasiliana no. 1.mp3"
Apr 18 18:59:42 musikzimmer volumio[1094]: info: CoreCommandRouter::servicePushState
Apr 18 18:59:42 musikzimmer volumio[1094]: info: [1492534782284] CoreStateMachine::syncState
Apr 18 18:59:42 musikzimmer volumio[1094]: info: [1492534782287] CorePlayQueue::getTrack 7
Apr 18 18:59:42 musikzimmer volumio[1094]: info: STATE SERVICE {"status":"stop","position":null,"seek":null,"duration":null,"samplerate":null,"bitdepth":null,"channels":null,"random":false,"updatedb":false,"repeat":false,"isStreaming":false,"title":null,"artist":null,"album":null,"uri":null}
Apr 18 18:59:42 musikzimmer volumio[1094]: info: CURRENT POSITION 7


It played ... but I wanted to enable a mixer. The dvice is running with a HiFiBerry DAC ( it worked fin ) but I could not set the volume remotely . . . quick fix I thought. I only changed the mixer type to "software" and got the mess . . .
User avatar
Torsten
Serious Listener
Serious Listener
 
Posts: 62
Joined: Fri Oct 17 2014 16:56


Library update: Seems to crash Volumio on Raspi

Postby Torsten » Tue Apr 18 2017 17:42

ok, got the ALSA part fixed . . . reset ALSA did the trick
User avatar
Torsten
Serious Listener
Serious Listener
 
Posts: 62
Joined: Fri Oct 17 2014 16:56


Library update: Seems to crash Volumio on Raspi

Postby chsims1 » Wed Apr 19 2017 06:14

Well that makes this story even more strange ... that setting in config.txt effects the operation of the network controller. The new errors that you are seeing are allocation errors for the network device. Anyway, if it works, that's great that you have a solution :)

P.S. You don't have anything attached to the usb ports do you?
New to Volumio? Please read the Quick Start Guide to get your system up and running :).
User avatar
chsims1
Moderator
 
Posts: 715
Joined: Sat Aug 02 2014 10:44
Location: East Yorkshire, UK


Library update: Seems to crash Volumio on Raspi

Postby Torsten » Wed Apr 19 2017 10:12

I know that it is the network controller . . . I also do miss the link to the problem

believe it or not even the smaller Pi comes up now with the setting changed
Ok, it needed a couple of rounds to populate the library but once it did it, it is just fine

There is nothing connected to USB ports
User avatar
Torsten
Serious Listener
Serious Listener
 
Posts: 62
Joined: Fri Oct 17 2014 16:56


Library update: Seems to crash Volumio on Raspi

Postby Torsten » Wed Apr 19 2017 10:16

Now I added this to /etc/sysctl.conf

Code: Select all
# rpi tweaks
vm.swappiness=1
vm.min_free_kbytes = 8192

found it in a bit older thread here https://github.com/divergentdave/raspbe ... ysctl.conf
and some others also referring to it . . .

So far even the 256MB Pi is working quite ok
User avatar
Torsten
Serious Listener
Serious Listener
 
Posts: 62
Joined: Fri Oct 17 2014 16:56

PreviousNext

Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest