Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Volume issue on moode 8.0.2
#11
There are definitely some suspicious timings in the log. Typically moOde startup which occurs after Linux startup and is recorded in the moOde startup log takes around 30 - 60 seconds.

The log you posted shows that moOde startup took 4 minutes 22 seconds :-0

There are 3 long delays in the log. Two of these delays marked A and B below occur during sections where various files are being updated. The third delay marked C occurs when the watchdog script is launched.

The delays account for around 3 minutes 30 seconds which if subtracted from the total startup time bring it down to around 1 minute. I suspect that Linux startup which is recorded in the dmesg log would also show some unusual delays.

The delays suggest possible slow or malfunctioning boot media (SD Card or USB drive).

Delays are marked in red.

pi@moode:~ $ moodeutl -l
20220802 031041 worker: --
20220802 031041 worker: -- Start moOde 8 series
20220802 031041 worker: --
20220802 031041 worker: Successfully daemonized


A - 2 minutes

20220802 031242 worker: File check (OK)
20220802 031242 worker: Session vacuumed
20220802 031242 worker: Session loaded
20220802 031242 worker: Debug logging (OFF)
20220802 031242 worker: --
20220802 031242 worker: -- Audio debug
20220802 031242 worker: --
20220802 031242 worker: ALSA cards: (0:Boss2 | 1:empty | 2:empty | 3:empty
20220802 031242 worker: MPD config: (0:Allo Boss 2 DAC | mixer(Master) | card:0)
20220802 031242 worker: ALSA mixer actual (Master)
20220802 031242 worker: ALSA Master volume set to (0%)
20220802 031242 worker: --
20220802 031242 worker: -- System
20220802 031242 worker: --
20220802 031244 worker: Host (moode)
20220802 031244 worker: moOde (8.1.2 2022-07-08)
20220802 031244 worker: RaspiOS (11.3)
20220802 031244 worker: Kernel (5.15.32-v8+ #1538)
20220802 031244 worker: Platform (Pi-4B 1.4 4GB)
20220802 031244 worker: ARM arch (aarch64, 64-bit)
20220802 031244 worker: MPD ver (0.23.5)
20220802 031244 worker: CPU gov (ondemand)
20220802 031244 worker: USB boot (enabled)
20220802 031244 worker: File sys (expanded)
20220802 031244 worker: HDMI port (Off)
20220802 031245 worker: Sys LED0 (On)
20220802 031245 worker: Sys LED1 (On)
20220802 031245 worker: --
20220802 031245 worker: -- Network
20220802 031245 worker: --
20220802 031245 worker: eth0 adapter exists
20220802 031245 worker: eth0 check for address (No)
20220802 031245 worker: eth0 address not assigned
20220802 031245 worker: wlan0 adapter exists
20220802 031245 worker: wlan0 country (IN)
20220802 031245 worker: wlan0 connected SSID is (Home-WiFi)
20220802 031245 worker: IP addr (10.0.0.8)
20220802 031245 worker: Netmask (255.255.255.0)
20220802 031245 worker: Gateway (10.0.0.1)
20220802 031245 worker: Pri DNS (10.0.0.1)
20220802 031245 worker: Domain ()
20220802 031246 worker: wlan0 power save disabled
20220802 031246 worker: --
20220802 031246 worker: -- Audio config
20220802 031246 worker: --


B - 1 minute

20220802 031341 worker: MPD conf updated
20220802 031341 worker: ALSA card number (0)
20220802 031341 worker: MPD audio output (Allo Boss 2 DAC)
20220802 031344 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20220802 031344 worker: ALSA mixer name (Master)
20220802 031344 worker: MPD mixer type (software)
20220802 031344 worker: Hdwr volume controller exists
20220802 031344 worker: Max ALSA volume (100%)
20220802 031344 worker: ALSA output mode (Default: plughw)
20220802 031344 worker: ALSA loopback (Off)
20220802 031344 worker: Boss 2 OLED started
20220802 031344 worker: Reset renderer active flags
20220802 031344 worker: CamillaDSP (off)
20220802 031344 worker: --
20220802 031344 worker: -- MPD startup
20220802 031344 worker: --
20220802 031344 worker: MPD started
20220802 031344 worker: MPD accepting connections
20220802 031344 worker: MPD output 1 ALSA Default (On)
20220802 031344 worker: MPD output 2 ALSA Bluetooth (Off)
20220802 031344 worker: MPD output 3 HTTP Server (Off)
20220802 031344 worker: MPD crossfade (off)
20220802 031344 worker: MPD ignore CUE files (yes)
20220802 031344 worker: Default playlist loaded for first boot
20220802 031344 worker: --
20220802 031344 worker: -- Music sources
20220802 031344 worker: --
20220802 031344 worker: USB sources (none attached)
20220802 031344 worker: NAS sources (none configured)
20220802 031344 worker: --
20220802 031344 worker: -- Feature availability
20220802 031344 worker: --
20220802 031344 worker: Source select (available)
20220802 031344 worker: Source select (source: MPD)
20220802 031344 worker: Source select (output: Allo Boss 2 DAC)
20220802 031344 worker: Bluetooth (available)
20220802 031344 worker: Airplay renderer (available: started)
20220802 031344 worker: Spotify renderer (available)
20220802 031344 worker: Squeezelite (available)
20220802 031344 worker: RoonBridge renderer (not installed)
20220802 031344 worker: Multiroom sender (available)
20220802 031344 worker: Multiroom receiver (available)
20220802 031344 worker: UPnP renderer (available)
20220802 031344 worker: DLNA server (available)
20220802 031344 worker: GPIO button handler (available)
20220802 031344 worker: Stream recorder (n/a)
20220802 031344 worker: --
20220802 031344 worker: -- Other
20220802 031344 worker: --
20220802 031344 worker: USB volume knob (Off)
20220802 031344 worker: Shellinabox SSH started
20220802 031344 worker: USB auto-mounter (udisks-glue)
20220802 031344 worker: Saved MPD vol level (0)
20220802 031344 worker: Preamp volume level (0)
20220802 031344 worker: MPD volume level (0) restored
20220802 031344 worker: ALSA Master volume (100%)
20220802 031344 worker: Auto-play (Off)
20220802 031344 worker: CoverView toggle (-off)
20220802 031344 worker: Maintenance interval (120 minutes)
20220802 031344 worker: Screen saver activation (Never)
20220802 031344 worker: Session permissions (OK)
20220802 031438 worker: Watchdog started


C - 25 seconds

20220802 031503 worker: Ready
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#12
(08-03-2022, 11:40 AM)TheOldPresbyope Wrote: There are three mysterious time gaps in your log which total about 3-1/2 minutes. I compare this to an Pi4B on my desk running moOde 8.1.2 which just now took about 20 seconds to complete the file check and no time (in recorded seconds) to complete the other two steps. This makes me wonder if your system memory card (uSD? USB?) is up to snuff.

Code:
20220802 031041 worker: Successfully daemonized
20220802 031242 worker: File check (OK)
...
20220802 031246 worker: -- Audio config
20220802 031246 worker: --
20220802 031341 worker: MPD conf updated
...
20220802 031438 worker: Watchdog started
20220802 031503 worker: Read

Regards,
Kent

PS - have to add the usual caveat that the Pi's power supply and power cable have to be of good quality or all sorts of odd behavior can occur.

PPS - I have a 32GB uSD card on my PI4B. I suppose if one had a vastly bigger card, 256GB say, stuffed full of music tracks it might take two minutes to complete the file-system check even if the card were up to snuff but that wouldn't account for the large variability in boot times you reported (up to 10 minutes and waiting). --- I don't recommend putting moOde on a large memory card for various reasons. This possible time delay is one I hadn't thought of.
ok Kent.mine i guess is a 16/32 gb of sandisk.i dont put any songs on it.the memory card has just the os.its pretty new one,probably some 6-8 months old but hey repeated writes and deletes could have made the card bad.who knows.let me get one more log.i will post here.But you could be write about the sd card.i will purchase a new one probably and check.

The power brick is the allo nirvana and it seems to be ok from the looks of it,and not too old.
Reply
#13
I've been using these WD Purple cards now and no issues.
https://www.amazon.com/gp/product/B088CD...UTF8&psc=1
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#14
Not an endorsement but I've been using SanDisk Ultra and Ultra Plus cards for years and abused them senselessly---writing and rewriting, killing power without shutting down first, etc. I may have had one memory card fail out of dozens but I'm not sure but that may have been a store-branded card instead.

Regards,
Kent
Reply
#15
(08-03-2022, 11:10 PM)TheOldPresbyope Wrote: Not an endorsement but I've been using SanDisk Ultra and Ultra Plus cards for years and abused them senselessly---writing and rewriting, killing power without shutting down first, etc. I may have had one memory card fail out of dozens but I'm not sure but that may have been a store-branded card instead.

Regards,
Kent

Ok.With my allo boss i used to power off without shutting down.That could have been the issue.However the reason i do so nowadays is because if i shut down..then in the next power cycle it doesnt satrt up automatically unless i click and hold the hardware button on the ALLO.It sometimes feels like a hit or miss as sometimes it starts late etc etc.So i went back to power off/on without shutting down.Though before shut down i do disconnect airplay or any streaming to it.Btw in india due to quick power failures etc anyways it switches off without a graceful shutdown.

Mine is the san disk class 10 32GB card.Over the years i have seen both sandisk ultra and samsung evo going bad.I will try WD or HP this time and go for a 16GB/32GB.
Reply
#16
(08-04-2022, 06:54 AM)sand87ch Wrote:
(08-03-2022, 11:10 PM)TheOldPresbyope Wrote: Not an endorsement but I've been using SanDisk Ultra and Ultra Plus cards for years and abused them senselessly---writing and rewriting, killing power without shutting down first, etc. I may have had one memory card fail out of dozens but I'm not sure but that may have been a store-branded card instead.

Regards,
Kent

Ok.With my allo boss i used to power off without shutting down.That could have been the issue.However the reason i do so nowadays is because if i shut down..then in the next power cycle it doesnt satrt up automatically unless i click and hold the hardware button on the ALLO.It sometimes feels like a hit or miss as sometimes it starts late etc etc.So i went back to power off/on without shutting down.Though before shut down i do disconnect airplay or any streaming to it.Btw in india due to quick power failures etc anyways it switches off without a graceful shutdown.

Mine is the san disk class 10 32GB card.Over the years i have seen both sandisk ultra and samsung evo going bad.I will try WD or HP this time and go for a 16GB/32GB.

Pulling the plug typically doesn't cause any issues. Ive done it many times and we also have the occasional power outage and all the electronics seem to be ok. 

Similar to @TheOldPresbyope' I've also used SanDisk Ultra 10's for many years and have only had a couple failures. 

After you re-flash try booting the system up with only an Ethernet connection to give you a baseline for boot time. If it's still really long then try the card on a bare Pi connected via Ethernet to eliminate any issues with the Boss 2 hardware.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#17
(08-04-2022, 11:14 AM)Tim Curtis Wrote:
(08-04-2022, 06:54 AM)sand87ch Wrote:
(08-03-2022, 11:10 PM)TheOldPresbyope Wrote: Not an endorsement but I've been using SanDisk Ultra and Ultra Plus cards for years and abused them senselessly---writing and rewriting, killing power without shutting down first, etc. I may have had one memory card fail out of dozens but I'm not sure but that may have been a store-branded card instead.

Regards,
Kent

Ok.With my allo boss i used to power off without shutting down.That could have been the issue.However the reason i do so nowadays is because if i shut down..then in the next power cycle it doesnt satrt up automatically unless i click and hold the hardware button on the ALLO.It sometimes feels like a hit or miss as sometimes it starts late etc etc.So i went back to power off/on without shutting down.Though before shut down i do disconnect airplay or any streaming to it.Btw in india due to quick power failures etc anyways it switches off without a graceful shutdown.

Mine is the san disk class 10 32GB card.Over the years i have seen both sandisk ultra and samsung evo going bad.I will try WD or HP this time and go for a 16GB/32GB.

Pulling the plug typically doesn't cause any issues. Ive done it many times and we also have the occasional power outage and all the electronics seem to be ok. 

Similar to @TheOldPresbyope' I've also used SanDisk Ultra 10's for many years and have only had a couple failures. 

After you re-flash try booting the system up with only an Ethernet connection to give you a baseline for boot time. If it's still really long then try the card on a bare Pi connected via Ethernet to eliminate any issues with the Boss 2 hardware.
Got the WD purple 32GB delivered and i flashed moode 8.1.2.will try and also paste the logs here
Reply
#18
(08-07-2022, 06:20 PM)sand87ch Wrote:
(08-04-2022, 11:14 AM)Tim Curtis Wrote:
(08-04-2022, 06:54 AM)sand87ch Wrote:
(08-03-2022, 11:10 PM)TheOldPresbyope Wrote: Not an endorsement but I've been using SanDisk Ultra and Ultra Plus cards for years and abused them senselessly---writing and rewriting, killing power without shutting down first, etc. I may have had one memory card fail out of dozens but I'm not sure but that may have been a store-branded card instead.

Regards,
Kent

Ok.With my allo boss i used to power off without shutting down.That could have been the issue.However the reason i do so nowadays is because if i shut down..then in the next power cycle it doesnt satrt up automatically unless i click and hold the hardware button on the ALLO.It sometimes feels like a hit or miss as sometimes it starts late etc etc.So i went back to power off/on without shutting down.Though before shut down i do disconnect airplay or any streaming to it.Btw in india due to quick power failures etc anyways it switches off without a graceful shutdown.

Mine is the san disk class 10 32GB card.Over the years i have seen both sandisk ultra and samsung evo going bad.I will try WD or HP this time and go for a 16GB/32GB.

Pulling the plug typically doesn't cause any issues. Ive done it many times and we also have the occasional power outage and all the electronics seem to be ok. 

Similar to @TheOldPresbyope' I've also used SanDisk Ultra 10's for many years and have only had a couple failures. 

After you re-flash try booting the system up with only an Ethernet connection to give you a baseline for boot time. If it's still really long then try the card on a bare Pi connected via Ethernet to eliminate any issues with the Boss 2 hardware.
Got the WD purple 32GB delivered and i flashed moode 8.1.2.will try and also paste the logs here
Hey @Tim Curtis @TheOldPresbyope yes the WD purple has solved the boot issue.it was the sandisk  ultra that was the culprit.i think samsung evo and sandisk ultra are less reliable for many overwrites probably.its true they are both great in usb storages etc but i have had previous bad experiences with both in terms of pendrives and memory cards.I never had tried WD other than on HDDs.but this is awsome.Thanks for suggesting WD.
I can confirm that the boot issue is now not an issue at all.
Reply
#19
Nice :-)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: