Thank you for your donation!


Moode stopping randomly
#1
Hi,
I'm experiencing moode randomly stopping and a buzzing sound when playing music. 
Not sure if this is a faulty pi, power supply or a moode issue.

Using moOde 6.4.1 on Pi-4B 4GB v1.1

When it happens there is no red light on the Pi but I can ssh in to get the logs.
After a reboot everything is fine until the next time this happens. Could be hours or it could be 10 minutes.

Given the red light is off but I can ssh in to the logs I'm wondering if this is a brownout issue. 
However I'm using the official wall wart for the Pi4 so it should supply the required power.

I have tried it with a different SD card and also a different image (non moode) and have not experienced crashing.
I'm repeating one FLAC song on a usb stick and can get the issue to reoccur, but it's random.

I can navigate to the System Info menu option but nothing happens when selected.
Generally the logs are pretty much clean but sometimes I get errors below.

Syslog/kern.log
Code:
Feb  7 18:49:14 moode systemd-timesyncd[304]: Synchronized to time server for the first time 162.159.200.123:123 (2.debian.pool.ntp.org).
Feb  7 18:58:50 moode kernel: [  612.324928] INFO: task kworker/1:3:417 blocked for more than 120 seconds.
Feb  7 18:58:50 moode kernel: [  612.324942]       Tainted: G         C        4.19.83-v7l+ #1277
Feb  7 18:58:50 moode kernel: [  612.324952] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Feb  7 18:58:50 moode kernel: [  612.324964] kworker/1:3     D    0   417      2 0x00000000
Feb  7 18:58:50 moode kernel: [  612.325007] Workqueue: events get_values_poll [raspberrypi_hwmon]
Feb  7 18:58:50 moode kernel: [  612.325050] [<c09c1f24>] (__schedule) from [<c09c2594>] (schedule+0x50/0xa8)
Feb  7 18:58:50 moode kernel: [  612.325072] [<c09c2594>] (schedule) from [<c09c657c>] (schedule_timeout+0x200/0x428)
Feb  7 18:58:50 moode kernel: [  612.325092] [<c09c657c>] (schedule_timeout) from [<c09c3204>] (wait_for_common+0xd4/0x1b0)
Feb  7 18:58:50 moode kernel: [  612.325111] [<c09c3204>] (wait_for_common) from [<c09c3300>] (wait_for_completion+0x20/0x24)
Feb  7 18:58:50 moode kernel: [  612.325131] [<c09c3300>] (wait_for_completion) from [<c0839fe0>] (rpi_firmware_transaction+0x78/0xd0)
Feb  7 18:58:50 moode kernel: [  612.325149] [<c0839fe0>] (rpi_firmware_transaction) from [<c083a178>] (rpi_firmware_property_list+0x140/0x2b0)
Feb  7 18:58:50 moode kernel: [  612.325165] [<c083a178>] (rpi_firmware_property_list) from [<c083a364>] (rpi_firmware_property+0x7c/0xfc)
Feb  7 18:58:50 moode kernel: [  612.325185] [<c083a364>] (rpi_firmware_property) from [<bf19c0c0>] (get_values_poll+0x4c/0x15c [raspberrypi_hwmon])
Feb  7 18:58:50 moode kernel: [  612.325219] [<bf19c0c0>] (get_values_poll [raspberrypi_hwmon]) from [<c023dfc0>] (process_one_work+0x170/0x458)
Feb  7 18:58:50 moode kernel: [  612.325239] [<c023dfc0>] (process_one_work) from [<c023e304>] (worker_thread+0x5c/0x5a4)
Feb  7 18:58:50 moode kernel: [  612.325256] [<c023e304>] (worker_thread) from [<c02445f0>] (kthread+0x138/0x168)
Feb  7 18:58:50 moode kernel: [  612.325274] [<c02445f0>] (kthread) from [<c02010ac>] (ret_from_fork+0x14/0x28)
Feb  7 18:58:50 moode kernel: [  612.325285] Exception stack(0xeb3d9fb0 to 0xeb3d9ff8)
Feb  7 18:58:50 moode kernel: [  612.325298] 9fa0:                                     00000000 00000000 00000000 00000000
Feb  7 18:58:50 moode kernel: [  612.325311] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb  7 18:58:50 moode kernel: [  612.325324] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000


moode.log
Code:
20200207 190053 openMpdSocket(): connection failed (1)
20200207 190053 openMpdSocket(): errorno: 110, Connection timed out
20200207 190053 readMpdResponse(): error: fgets fail due to socket being timed out or PHP/MPD connection failure
20200207 190053 readMpdResponse(): error: $resp[0]=()
20200207 190054 openMpdSocket(): connection failed (1)
20200207 190054 openMpdSocket(): errorno: 110, Connection timed out
20200207 190055 openMpdSocket(): connection failed (1)
20200207 190055 openMpdSocket(): errorno: 110, Connection timed out
20200207 190102 readMpdResponse(): error: fgets fail due to socket being timed out or PHP/MPD connection failure
20200207 190102 readMpdResponse(): error: $resp[0]=()
20200207 190106 readMpdResponse(): error: fgets fail due to socket being timed out or PHP/MPD connection failure
20200207 190106 readMpdResponse(): error: $resp[0]=()
20200207 190106 loadLibrary(): Cache data returned to client, length (32441223)
20200207 190107 readMpdResponse(): error: fgets fail due to socket being timed out or PHP/MPD connection failure
20200207 190107 readMpdResponse(): error: $resp[0]=()
20200207 190108 readMpdResponse(): error: fgets fail due to socket being timed out or PHP/MPD connection failure
20200207 190108 readMpdResponse(): error: $resp[0]=()
20200207 190123 openMpdSocket(): connection failed (2)
20200207 190123 openMpdSocket(): errorno: 110, Connection timed out
20200207 190124 openMpdSocket(): connection failed (2)

System Information - This is from a later boot
Code:
S Y S T E M   P A R A M E T E R S

moOde release        = 6.4.1 2020-01-23
Raspbian OS        = 10.2
Linux kernel        = 4.19.83-v7l+ #1277
Platform        = Pi-4B 4GB v1.1
Architecture        = armv7l (32-bit)
System uptime        = up 0 minutes
Timezone        = Europe/Dublin
Current time        = 2020-02-07 19:35:44

Host name        = moode
Ethernet address    = 192.168.0.200
Ethernet MAC        = dc:a6:32:32:2b:0b
WLAN address        = unassigned
WLAN MAC        = dc:a6:32:32:2b:0d
WLAN country        = US

SoC identifier        = bcm2711
Core count        = 4
Kernel timer freq    = 100 Hz
SDCard freq        = 50 MHz
USB boot        = not available
Warranty        = OK

Root size        = 3.4G
Root used        = 80%
Root available        = 652M
Root expand        = not expanded
Memory free        = 3566 MB
Memory used        = 137 MB
SoC temperature        = 44.8°C

CPU governor        = ondemand
Onboard WiFi        = On
Onboard BT        = On
HDMI output        = On
Eth addr wait        = On
Max USB current        = Off
USB (UAC2) fix        = Off
Pi-3B+ eth fix        = Off
SSH term server        = Off

PHP-FPM version        = 7.3.11
NGINX version        = 1.14.2
SQLite3 version        = 3.27.2
Hostapd version        = 2.8-devel
WiringPi version    = 2.50
RPi.GPIO version    = 0.7.0

A U D I O   P A R A M E T E R S

Audio device        = On-board audio device
Interface        = SoC
Mixer name        = PCM
Hardware volume        = Controller detected
Max ALSA volume        = 100
Audio source        = Local
Output device        = Local
Resume MPD        = No
Volume knob        = 0
Volume mute        = Unmuted
Saved MPD vol        = 0
Preamp volume        = 0
ALSA version        = 1.1.8-1+rpt1
SoX version        = 0.1.2-3

Bluetooth controller    = Off
Pairing agent        = Off
Airplay receiver    = Off
Spotify receiver    = Off
Squeezelite        = Off
UPnP client        = Off
DLNA server        = Off
GPIO button handler    = Off
UPnP browser        = Off

Auto-shuffle        = Off
Autoplay        = Off
Rotary encoder        = Off
Encoder params        = 100 2 3 23 24
Polarity inversion    = Off
Crossfeed        = Off
Crossfade        = Off
Parametric EQ        = Off
Graphic EQ        = Off
MPD httpd        = Off

A P P E A R A N C E   S E T T I N G S

Theme            = Default
Accent color        = Fallenleaf
Alpha blend        = 1.0
Adaptive background    = No
Background image    = No
Cover backdrop        = No
Cover blur        = 20px
Cover scale        = 1.25
CoverView auto-display    = Never
CoverView style        = Animated
Auto-shuffle filter    = None
Extra metadata        = Yes
Playback history    = No

L I B R A R Y   S E T T I N G S

Instant play action    = Clear/Play
Show genres column    = Yes
Album grouping        = by Artist
Compilation identifier    = Various Artists
Recently added        = 1 Month
Ignore articles        = a,an,the
UTF8 character filter    = No
Hi-res thumbs        = Auto
Cover search pri    = Embedded cover
Pixel ratio        = 1

M P D   S E T T I N G S

Version            = 0.21.16
Volume control        = disabled
ALSA device        = hw:0
SoX resampling        = disabled
SoX quality        = very high
SoX multithreading    = off
DSD over PCM (DoP)    = no
Replaygain        = off
Replaygain preamp    = 0
Volume normalization    = No
Audio buffer        = 4096 (kb)
Output buffer size    = 131072 (kb)

B L U E T O O T H   S E T T I N G S

Bluetooth ver        = 5.50
Bluealsa ver        = 2.0.0
Speaker sharing        = No
Resume MPD        = No
PCM buffer time        = 500000 (µs)

A I R P L A Y   S E T T I N G S

Version            = 3.3.5
Friendly name        = Moode Airplay
ALSA device        = hw:0
Interpolation        = soxr
Output bit depth    = S16
Output sample rate    = 44100
Session interruption    = no
Session timeout        = 120 (ms)
Latency offset        = 0.0 (secs)
Audio buffer        = 0.2 (secs)
Resume MPD        = No

S P O T I F Y   S E T T I N G S

Friendly name        = Moode Spotify
ALSA device        = plughw:0
Bit rate        = 160
Initial volume        = 0
Volume curve        = Logarithmic
Volume normalization    = No
Normalization pregain    = 0
Resume MPD        = No

S Q U E E Z E L I T E   S E T T I N G S

Version            = 1.8.7-1052 "DSD/SRC enabled"
Friendly name        = Moode
ALSA device        = hw:0
ALSA params        = 80:4::1
Output buffers        = 40000:100000
Task priority        = 45
Codec list        = flac,pcm,mp3,ogg,aac,alac,dsd
Other options        = -W -D 500 -R E -S /var/local
Resume MPD        = No

L O C A L   D I S P L A Y   S E T T I N G S

Local UI display    = Off
Mouse cursor        = On
Screen blank        = 600 Secs
Wake display on play    = Off
Brightness        = 255
Pixel aspect ratio    = Default
Rotate screen        = 0 Deg

M O O D E   S T A R T U P   L O G

20200207 192305 worker: -- Start
20200207 192305 worker: Successfully daemonized
20200207 192305 worker: Integrity check (passed)
20200207 192305 worker: Session loaded
20200207 192305 worker: Debug logging (on)
20200207 192305 worker: Device raw: (0:ALSA|1:empty|i2s:none)
20200207 192305 worker: Device cfg: (On-board audio device|0|0|PCM|0)
20200207 192305 worker: ALSA volume set to (0%)
20200207 192305 worker: -- System
20200207 192306 worker: Host name     (moode)
20200207 192306 worker: moOde release (6.4.1 2020-01-23)
20200207 192306 worker: Raspbian OS   (10.2)
20200207 192306 worker: Linux kernel  (4.19.83-v7l+ #1277)
20200207 192306 worker: Platform      (Pi-4B 4GB v1.1)
20200207 192306 worker: Architecture  (armv7l)
20200207 192306 worker: MPD version   (0.21.16)
20200207 192306 worker: CPU governor  (ondemand)
20200207 192306 worker: USB boot not available
20200207 192307 worker: File system not expanded yet
20200207 192307 worker: HDMI port on
20200207 192307 worker: File check (OK)
20200207 192307 worker: -- Network
20200207 192307 worker: eth0 exists
20200207 192307 worker: IP addr (192.168.0.200)
20200207 192307 worker: Netmask (255.255.255.0)
20200207 192308 worker: Gateway (192.168.0.1)
20200207 192308 worker: Pri DNS (192.168.0.1)
20200207 192308 worker: Domain  (None)
20200207 192308 worker: wlan0 exists
20200207 192308 worker: wifi country (US)
20200207 192308 worker: wlan0 SSID is blank
20200207 192308 worker: eth0 addr exists, AP mode not started
20200207 192308 worker: wlan0 address not assigned
20200207 192308 worker: -- Audio
20200207 192308 worker: ALSA outputs unmuted
20200207 192308 worker: ALSA card number (0)
20200207 192308 worker: Audio output (On-board audio device)
20200207 192308 worker: Audio formats (U8, S16_LE)
20200207 192309 worker: ALSA mixer name (PCM)
20200207 192309 worker: MPD volume control (disabled)
20200207 192309 worker: Hdwr volume controller exists
20200207 192309 worker: Max ALSA volume (100%)
20200207 192309 worker: -- Services
20200207 192309 worker: Reset renderer active state
20200207 192309 worker: MPD conf updated
20200207 192309 worker: MPD started
20200207 192309 openMpdSocket(): connection failed (1)
20200207 192309 openMpdSocket(): errorno: 111, Connection refused
20200207 192311 worker: MPD accepting connections
20200207 192311 worker: Configure MPD outputs
20200207 192311 worker: MPD output 1 ALSA default (on)
20200207 192311 worker: MPD output 2 ALSA crossfeed (off)
20200207 192311 worker: MPD output 3 ALSA parametric eq (off)
20200207 192311 worker: MPD output 4 ALSA graphic eq (off)
20200207 192311 worker: MPD output 5 ALSA polarity inversion (off)
20200207 192311 worker: MPD output 6 ALSA bluetooth (off)
20200207 192311 worker: MPD output 7 HTTP stream (off)
20200207 192311 worker: MPD crossfade (off)
20200207 192311 worker: Audio source (Local)
20200207 192311 worker: Output device (Local)
20200207 192311 worker: USB auto-mounter (udisks-glue)
20200207 192311 worker: -- Music sources
20200207 192311 worker: USB source (MUSIC)
20200207 192312 sourceMount(): result=()
20200207 192312 worker: NAS and UPnP sources (mountall initiated)
20200207 192312 worker: -- Miscellaneous
20200207 192312 worker: Saved MPD vol level (0)
20200207 192312 worker: Preamp volume level (0)
20200207 192312 worker: MPD volume level (0) restored
20200207 192312 worker: ALSA volume level (100%)
20200207 192312 worker: Auto-play (Off)
20200207 192312 worker: Maintenance interval (3 hrs)
20200207 192312 worker: Screen saver activation (Never)
20200207 192312 worker: Session permissions (OK)
20200207 192312 worker: Watchdog started
20200207 192312 worker: Ready
20200207 192312 waitWorker(): Start (sys-config, w_active=0)
20200207 192312 waitWorker(): End   (sys-config, w_active=0)
20200207 192312 loadLibrary(): Cache data returned to client, length (32441223)
20200207 192312 enhanceMetadata(): coverurl: (/coverart.php/USB%2FMUSIC%2F0010.Michael%20Zager%20Band%20-%20Let%27s%20All%20Chant.flac)
20200207 192312 enhanceMetadata(): Song file
20200207 192312 engine-mpd: Metadata returned to client: Size=(30)
20200207 192318 enhanceMetadata(): coverurl: (/coverart.php/USB%2FMUSIC%2F0010.Michael%20Zager%20Band%20-%20Let%27s%20All%20Chant.flac)
20200207 192318 enhanceMetadata(): Song file
20200207 192318 engine-mpd: Metadata returned to client: Size=(33)
20200207 193538 waitWorker(): Start (sys-config, w_active=0)
20200207 193538 waitWorker(): End   (sys-config, w_active=0)
20200207 193539 enhanceMetadata(): coverurl: (/coverart.php/USB%2FMUSIC%2F0010.Michael%20Zager%20Band%20-%20Let%27s%20All%20Chant.flac)
20200207 193539 enhanceMetadata(): Song file
20200207 193539 engine-mpd: Metadata returned to client: Size=(32)

Any ideas what could be causing this? 

Thanks
Reply
#2
(02-07-2020, 08:09 PM)Schaffer Wrote: Hi,
I'm experiencing moode randomly stopping and a buzzing sound when playing music. 
Not sure if this is a faulty pi, power supply or a moode issue.

Using moOde 6.4.1 on Pi-4B 4GB v1.1

When it happens there is no red light on the Pi but I can ssh in to get the logs.
After a reboot everything is fine until the next time this happens. Could be hours or it could be 10 minutes.

Given the red light is off but I can ssh in to the logs I'm wondering if this is a brownout issue. 
However I'm using the official wall wart for the Pi4 so it should supply the required power.

I have tried it with a different SD card and also a different image (non moode) and have not experienced crashing.
I'm repeating one FLAC song on a usb stick and can get the issue to reoccur, but it's random.

I can navigate to the System Info menu option but nothing happens when selected.
Generally the logs are pretty much clean but sometimes I get errors below.

Code:
*** snip logs ****

Any ideas what could be causing this? 

Thanks

@Schaffer, did you get it to work?

Anyone else have this issue?

I have a Rpi3B+ with digione signature and shanti psu and latest version. 6.4.2. I use it with radiostreams, spotify and airplay. I have the usual 10 favorite radiostreams on a playlist.

This have become a real issue for me lately, cant say in what version it started. It can play on same radio station for weeks, but whenever I try to change radiostation it freezes - no sound (same errors as above). A simple reboot or "moodeutl -r" command solves the problem. And I can change radio station again. I can also wait it out.. Havent figured out the correct time when it starts playing again, but within a few hours.

It works ok for a awhile after a reboot or restart of servers, and I can change radio stations without any issue, but after a 10m - 60min listening to same radion station, I cant change radiostation without rebooting/restarting servers. It havent always been like this, and its the same setup I've used for 1 year. 

I tried with new build, replace psu, same issue. (right now I'm trying another software which seems to work without issues - only run for a little more than 4 hours)

Regards
Reply


Forum Jump: