Additional info: this problem only concerns the onboard HDMI and SPDIF audio and the Hifi shields.
When using a USB Audio DAC, things appear to work just fine.
I am trying to use a HiFi Shield 2 with Odroid-c2 and I am getting no sound. When I connected to a monitor, I could see i2c kernel token error messages in the logs. I tried reformatting, but still no luck. When I try to choose the dac in Volumio, I only see the option for Shield HiFi, not HiFi-2. The mixer type says only ānoneā and āsoftwareā. Neither options work. Is there a need to edit any files in order to enable on the c2? I saw the instruction for the c4, but the c2 image doesnāt have the file mentioned in the c4 wiki/op.
aplay -l does not list pcm512x
Hopefully someone can help.
volumio@volumio:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ODROIDHDMI [ODROID-HDMI], device 0: I2S dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: ODROIDDAC [ODROID-DAC], device 0: I2S pcm5102-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
There were no previous reports that this is not working, the C2 image already exists for several years.
Let me know the exact version you are using, otherwise there is no chance to help.
The token error messages are āsort ofā ok, it is the result of probing for i2c interrupts addresses, not nice but it it the way the C2 kernel reacts to it. Canāt change that unfortunately. After Volumio has gone through the startup procedure, you should not see anymore of them.
Basically, you will never have a Hifi Shield/Shield+ and a Hifi Shield 2 in Volumio playback options at the same time.
When it only shows Hifi Shield/Shield+ then it means it did not recognize your Hifi Shield 2 (all the probes where nagative).
Sure it is a HiFi Shield 2 or did you install any other hardware which might be conflicting with the i2c bus/interrupt address, which Shield 2 is using?
Please read this IMPORTANT notice!
Iām working on an update for all supported Odroid devices.
They should be available sometime tonight.
New updates are available, either use OTA (System Menu ā System ā Check Updates) or reflash.
Of course, many other changes flowed into this version.
Refer to the changelog on the download page for a detailed list since your last update.
volumio-2.916-2021-10-01-odroidc1
volumio-2.916-2021-10-01-odroidc2
volumio-2.916-2021-10-01-odroidc4
volumio-2.916-2021-10-01-odroidn2
volumio-2.916-2021-10-01-odroidxu4
Hi,
Odroid c1+ owner here.
I have encountered few issues:
-
SSH not working (connection refused) but WebUI up and running (im 100% sure iām not the issue here since with the same history command 30s before the ssh was working properly). The only things i did was manually mount a samba storage (here lies the second issue) and connecting a WiFi dongle without configuring it (i had Ethernet cable in). After resetting via webui the ssh came back (iāll soon test with WiFi dongle again)
-
Canāt mount SMB shares i normally use with other devices. I have the same error (-95) found here
https://github.com/volumio/Volumio2/issues/1517
but when i usesudo mount -t cifs -o guest,ro,dir_mode=0777,file_mode=0666,i ocharset=utf8,noauto,soft,vers=2.1 //192.168.1.52/Disco /mnt/Disco
the share is mounted and i can browse it via ssh but no luck in the webui -
Wifi dongle not recognized with
sudo iwconfig
. The device according to lsusb is a BCM4323, maybe iām missing the driver?
FIXES
- Not yet
- I added
vers=2.1
in the option and it was mounted properly
Any help would be great
- no idea what causes this issue. In the 6 years we support C1 this has never been reported before.
- Adding āvers=ā¦ā to the options is mandatory for all smb servers running a smb version > 1.0
- Broadcom dongles are not supported in Hardkernelās kernel v3.10, there are no drivers for them.
Ouch thank you for the reply.
I do have another question iāve tried to install a driver but most likely it wont work.
When i do factory reset is the system restoring its state and removing all the installed things or is is just a matter of configuration?
Another thing that is driving me mad although it is not strictly related to odroid products is that music library scan stucks on pretty much all my folders.
Iāve seen posts about removing them but I will end up with 10 albums at most.
Could you please help me out on this?
info: CURURI: music-library
info: CoreCommandRouter::volumioGetQueue
info: CoreStateMachine::getQueue
info: CorePlayQueue::getQueue
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , handleBrowseUri
info: CURURI: music-library/NAS
info: CoreCommandRouter::executeOnPlugin: mpd , handleBrowseUri
info: CURURI: music-library/NAS/Audio
info: CoreCommandRouter::executeOnPlugin: mpd , handleBrowseUri
info: CURURI: music-library/NAS/Audio/224 FLAC Albums MASSIVE Collection
info: CoreCommandRouter::executeOnPlugin: mpd , handleBrowseUri
info: CURURI: music-library/NAS/Audio/224 FLAC Albums MASSIVE Collection/Mental Jewelry
error: Failed LSINFO: null
Scanning issues are not C1-specific, I canāt help much with that.
As for the WiFi driver problem, I would advice to use another dongle, manually compiling and installing a driver is impossible without the proper kernel header files. I donāt have them.
I know, RTL8821AU, RTL8188EU and Atheros AR9721 dongles work.
Note, hot-plugging does not work well on a C1, make sure the dongle is fitted before booting.
Which product does contain one of those chip?
Also on my odroid c1+ the media library scanning is taking days, is there away to avoid it or reduce the time it takes? Can i save it?
Ever heard of google?
Try āRTL8188EU dongleā
You can also use Ralink 5370 dongles, some have an antenna.
Scanning a 12ā000 track NAS share takes approx. 30min here.
Iām afraid I canāt help with that, it is not C1-specific
Iāve tried with DSD files and even with DSD Direct the DAC is not reproducing them as DSD64/128/256. Instead they are converted to PCM 384/768Khz
On my Rpi 4 they are correctly reproduced instead (DSD64/128/256 logo on my DAC)
Any idea?
man oh man, could you please gives us some more info instead of us having to drag it out of you.
How am I supposed to know what DAC youāre talking about?
All USB audio devices, capable of DSD direct, need to be registered in the kernelās usb audio driver on the platform you use. Yourās is probably not in.
Start with a full log from the <your-ip/dev> page and post the link you get.
And also give the output from
lsusb
This gives me the DACās āVendorID:ProductIDā to check.
volumio@volumio:~$ lsusb
Bus 001 Device 003: ID 152a:8750 Thesycon Systemsoftware & Consulting GmbH
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The DAC is a Topping D50 DAC and as i said on RPi4 it works.
Ill provide you the startup log as soon as i have access to the HW for more time
yes, this is a DAC with generic Thesycon firmware and is supported on modern kernels.
However, bad news, while checking I just noticed, that the C1 usb audio driver offers no DSD direct support at all and it cannot be patched either. The kernel is way too old, DoP is all you can have.
This also makes your log obsolete, Iām sorry
After reflashing the sdcard and changing HDD on NAS the music library is imported much faster but i have a big issue.
Iām now suffering of unresponsiveness of the system and mpd crashing during music library import.
Basically imports works flawlessly till around 620 tracks (i believe its the total) and then the system become super unresponsive and kswap0 kicks in (i guess killing cifs and mpd process).
top - 08:46:10 up 4 min, 1 user, load average: 1.40, 0.97, 0.43
Tasks: 145 total, 2 running, 143 sleeping, 0 stopped, 0 zombie
%Cpu(s): 23.1 us, 5.9 sy, 0.0 ni, 70.6 id, 0.4 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 823568 total, 712368 used, 111200 free, 1840 buffers
KiB Swap: 0 total, 0 used, 0 free. 35388 cached Mem
533 mpd 20 0 593988 435656 5480 S 100.3 52.9 1:12.24 mpd
44 root 20 0 0 0 0 S 9.6 0.0 0:00.54 kswapd0
1113 shairpo+ 20 0 90956 2048 1224 S 1.0 0.2 0:02.98 shairport-sync
1417 root 20 0 2992 960 588 R 1.0 0.1 0:01.07 top
14 root 20 0 0 0 0 S 0.7 0.0 0:07.24 ksoftirqd/1
67 root 20 0 0 0 0 S 0.3 0.0 0:00.23 kthread_di
895 volumio 20 0 200952 69332 14312 S 0.3 8.4 0:28.44 node
1110 volumio 20 0 109260 2968 1988 S 0.3 0.4 0:00.64 upmpdcli
1 root 20 0 5340 2264 628 S 0.0 0.3 0:06.50 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.08 ksoftirqd/0
4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
6 root 20 0 0 0 0 S 0.0 0.0 0:00.06 kworker/u8:0
7 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
8 root 20 0 0 0 0 S 0.0 0.0 0:00.12 rcu_preempt
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_sched
11 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
12 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/1
13 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/1
top - 08:26:00 up 9 min, 3 users, load average: 13.27, 7.04, 2.96
Tasks: 153 total, 2 running, 151 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.1 us, 12.1 sy, 0.0 ni, 33.3 id, 54.6 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 823568 total, 717576 used, 105992 free, 320 buffers
KiB Swap: 0 total, 0 used, 0 free. 11620 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
44 root 20 0 0 0 0 S 13.0 0.0 0:32.60 kswapd0
76 root -51 0 0 0 0 S 5.5 0.0 0:13.86 irq/110-sdhc
133 root 0 -20 0 0 0 D 4.5 0.0 0:11.05 loop0
1236 volumio 20 0 10628 1240 544 D 3.1 0.2 0:07.34 sshd
520 root 20 0 3104 704 464 D 2.6 0.1 0:01.16 systemd-logind
1 root 20 0 5400 2180 532 D 2.4 0.3 0:11.85 systemd
905 volumio 20 0 200964 56260 1004 D 2.4 6.8 0:33.07 node
2012 root 20 0 30512 1824 116 D 2.3 0.2 0:00.32 smbd
499 volumio 20 0 29772 1032 336 S 2.1 0.1 0:05.39 volumio-remote-
898 root 20 0 18248 1492 304 D 1.9 0.2 0:05.49 nmbd
77 root 20 0 0 0 0 S 1.8 0.0 0:04.49 mmcqd/0
501 root 20 0 2344 504 348 D 1.8 0.1 0:04.85 volumiologrotat
1111 volumio 20 0 101064 1504 508 D 1.3 0.2 0:03.75 upmpdcli
662 ntp 20 0 20120 1888 456 S 0.8 0.2 0:04.06 ntpd
933 root 20 0 30512 2300 592 S 0.7 0.3 0:01.11 smbd
938 root 20 0 30512 2024 316 D 0.7 0.2 0:00.72 smbd
552 avahi 20 0 4636 752 424 S 0.6 0.1 0:00.98 avahi-daemon
1154 volumio 20 0 851216 1684 264 S 0.5 0.2 0:00.71 streaming-daemo
190 root 20 0 0 0 0 S 0.3 0.0 0:01.51 kworker/0:2
120 root 0 -20 0 0 0 S 0.2 0.0 0:00.22 kworker/1:1H
490 root 20 0 7168 3452 396 S 0.2 0.4 0:03.10 haveged
Could this be related to the low RAM available?
I tried volumio@volumio:~$ sudo echo 1 > /proc/sys/vm/drop_caches but nothing changed
Unfortunately when it freezes i canāt send the logs anymore but still journalctl -f has nothing relevant inside.
About the old kernel, have you ever look into this ?
https://armbian.hosthatch.com/dl/_old/odroidc1/
it seems it is based on kernel 5.10
Yes, I know Armbian very well and the great work they do to the community.
However, Armbian dropped regular support for the C1/C1+ a long time ago.
They have started something experimental, it it is without any i2s audio component because mainline support for s805 is very limited. It does not support eMMC, no usb hot-plugging etc.
For us this is useless as a reference.
So, please accept that there will be no more 3.10.y kernel updates, neither from Hardkernel, from Armbian or from us.
I have no intention to invest time to figure out if there is an alternative way to get DSD support to the C1 kernel. As said before, DoP is all you can have.
Iām really sorry, but it is the way it is
I got your point, still i use no i2s audio, i use USB DAC which is always plugged in (hot-plugging not needed) and i do have an SDCard so i just felt it could have been useful.
Can you help me out with the issue iām facing above?
I have the image running here on 2 old C1+ boards and do not experience any problems with a NAS library and approx. 12ā000 tracks.
Not with this image or any of the previous.
Looks a bit like power issues, can you check without the usb dac or any other peripherals connected?
I was able to catch the dmesg
[ 49.650131] i2c i2c-1: [aml_i2c_xfer] error ret = -5 (-EIO) token 1, master_no(1) 100K addr 0x77
[ 49.659020] i2c i2c-1: [aml_i2c_xfer] error ret = -5 (-EIO) token 1, master_no(1) 100K addr 0x77
[ 49.667982] i2c i2c-1: [aml_i2c_xfer] error ret = -5 (-EIO) token 1, master_no(1) 100K addr 0x77
[ 156.544307] _hcd_isoc_complete:Uknown urb status -2
[ 304.568678] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983200 status=-104
[ 304.575219] _hcd_isoc_complete:Uknown urb status -2
[ 304.575240] _hcd_isoc_complete:Uknown urb status -2
[ 309.344706] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983000 status=-104
[ 309.351411] _hcd_isoc_complete:Uknown urb status -2
[ 315.357188] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983100 status=-104
[ 315.364088] _hcd_isoc_complete:Uknown urb status -2
[ 319.800116] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983e00 status=-104
[ 319.807306] _hcd_isoc_complete:Uknown urb status -2
[ 323.089087] [aml_sdhc_data_thread] SDHC_ESTA=0x0
[ 323.392955] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983e00 status=-104
[ 323.398889] _hcd_isoc_complete:Uknown urb status -2
[ 323.398905] _hcd_isoc_complete:Uknown urb status -2
[ 327.556436] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983e00 status=-104
[ 327.564073] _hcd_isoc_complete:Uknown urb status -2
[ 330.113873] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983200 status=-104
[ 330.121720] _hcd_isoc_complete:Uknown urb status -2
[ 331.575877] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983200 status=-104
[ 331.584010] _hcd_isoc_complete:Uknown urb status -2
[ 337.570615] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983300 status=-104
[ 337.578828] _hcd_isoc_complete:Uknown urb status -2
[ 341.159559] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983e00 status=-104
[ 341.167998] _hcd_isoc_complete:Uknown urb status -2
[ 344.310022] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983200 status=-104
[ 344.318762] _hcd_isoc_complete:Uknown urb status -2
[ 350.589448] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983200 status=-104
[ 350.598244] _hcd_isoc_complete:Uknown urb status -2
[ 355.558647] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983e00 status=-104
[ 355.567628] _hcd_isoc_complete:Uknown urb status -2
[ 359.290764] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983b00 status=-104
[ 359.299953] _hcd_isoc_complete:Uknown urb status -2
[ 365.118953] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983e00 status=-104
[ 365.128363] _hcd_isoc_complete:Uknown urb status -2
[ 369.527972] update invoked oom-killer: gfp_mask=0x200da, order=0, oom_score_adj=0
[ 369.532953] update cpuset=/ mems_allowed=0
[ 369.538190] CPU: 3 PID: 1187 Comm: update Not tainted 3.10.104 #10
[ 369.543669] [<c0014eb4>] (unwind_backtrace+0x0/0xec) from [<c0011ea8>] (show_stack+0x10/0x14)
[ 369.552243] [<c0011ea8>] (show_stack+0x10/0x14) from [<c066a78c>] (dump_header+0x80/0x1bc)
[ 369.560714] [<c066a78c>] (dump_header+0x80/0x1bc) from [<c00b068c>] (oom_kill_process+0x74/0x3a4)
[ 369.569759] [<c00b068c>] (oom_kill_process+0x74/0x3a4) from [<c00b0e2c>] (out_of_memory+0x2a8/0x2fc)
[ 369.579066] [<c00b0e2c>] (out_of_memory+0x2a8/0x2fc) from [<c00b4f44>] (__alloc_pages_nodemask+0x858/0xa18)
[ 369.588932] [<c00b4f44>] (__alloc_pages_nodemask+0x858/0xa18) from [<c00cdc10>] (handle_pte_fault+0x180/0x910)
[ 369.599080] [<c00cdc10>] (handle_pte_fault+0x180/0x910) from [<c00ce4d4>] (handle_mm_fault+0x134/0x1e0)
[ 369.608651] [<c00ce4d4>] (handle_mm_fault+0x134/0x1e0) from [<c0019e0c>] (do_page_fault+0x118/0x3c8)
[ 369.617900] [<c0019e0c>] (do_page_fault+0x118/0x3c8) from [<c0008328>] (do_DataAbort+0x38/0x98)
[ 369.626792] [<c0008328>] (do_DataAbort+0x38/0x98) from [<c000dd34>] (__dabt_usr+0x34/0x40)
[ 369.635166] Exception stack(0xda9dbfb0 to 0xda9dbff8)
[ 369.640399] bfa0: 91ff2ff8 b3c87774 00001001 91ff2ff0
[ 369.648720] bfc0: ae100010 00000015 00000010 91ff2ff0 fff00000 000f4000 91f00000 91f00000
[ 369.657075] bfe0: 91ff3000 aea661d8 b3bb8ed4 b3bb8b5c 800d0010 ffffffff
[ 369.663845] Mem-info:
[ 369.667634] Normal per-cpu:
[ 369.671404] CPU 0: hi: 186, btch: 31 usd: 99
[ 369.675313] CPU 1: hi: 186, btch: 31 usd: 73
[ 369.679472] CPU 2: hi: 186, btch: 31 usd: 103
[ 369.684483] CPU 3: hi: 186, btch: 31 usd: 0
[ 369.689386] HighMem per-cpu:
[ 369.693287] CPU 0: hi: 90, btch: 15 usd: 39
[ 369.697360] CPU 1: hi: 90, btch: 15 usd: 14
[ 369.702318] CPU 2: hi: 90, btch: 15 usd: 15
[ 369.707317] CPU 3: hi: 90, btch: 15 usd: 49
[ 369.712226] active_anon:166047 inactive_anon:1133 isolated_anon:0
active_file:1396 inactive_file:6667 isolated_file:0
unevictable:0 dirty:0 writeback:0 unstable:0
free:2460 slab_reclaimable:2067 slab_unreclaimable:4842
mapped:1769 shmem:1484 pagetables:1038 bounce:0
free_cma:1232
[ 369.763625] Normal free:9676kB min:2980kB low:3724kB high:4468kB active_anon:462132kB inactive_anon:156kB active_file:2976kB inactive_file:24028kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:628736kB managed:555928kB mlocked:0kB dirty:0kB writeback:0kB mapped:2276kB shmem:200kB slab_reclaimable:8268kB slab_unreclaimable:19368kB kernel_stack:1736kB pagetables:4152kB unstable:0kB bounce:0kB free_cma:4928kB writeback_tmp:0kB pages_scanned:42327 all_unreclaimable? yes
[ 369.814223] lowmem_reserve[]: 0 1704 1704
[ 369.822756] HighMem free:164kB min:212kB low:504kB high:796kB active_anon:202056kB inactive_anon:4376kB active_file:2608kB inactive_file:2640kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:218112kB managed:218112kB mlocked:0kB dirty:0kB writeback:0kB mapped:4800kB shmem:5736kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:118984kB free_cma:0kB writeback_tmp:0kB pages_scanned:15258 all_unreclaimable? yes
[ 369.868756] lowmem_reserve[]: 0 0 0
[ 369.877233] Normal: 1543*4kB (UEC) 2*8kB (R) 1*16kB (R) 0*32kB 1*64kB (R) 0*128kB 1*256kB (R) 0*512kB 1*1024kB (R) 1*2048kB (R) 0*4096kB = 9596kB
[ 369.889788] HighMem: 5*4kB (UM) 3*8kB (UM) 2*16kB (UR) 3*32kB (UM) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 172kB
[ 369.902010] 9638 total pagecache pages
[ 369.907382] 0 pages in swap cache
[ 369.912779] Swap cache stats: add 0, delete 0, find 0/0
[ 369.918201] Free swap = 0kB
[ 369.923629] Total swap = 0kB
[ 369.939708] 211712 pages of RAM
[ 369.945246] 4666 free pages
[ 369.950709] 5820 reserved pages
[ 369.956182] 4977 slab pages
[ 369.961666] 1044197 pages shared
[ 369.967223] 0 pages swap cached
[ 369.972756] [ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name
[ 369.980735] [ 197] 0 197 1869 566 6 0 0 systemd-journal
[ 369.989699] [ 216] 0 216 2602 175 6 0 -1000 systemd-udevd
[ 369.998542] [ 443] 0 443 921 121 4 0 0 rpcbind
[ 370.006902] [ 453] 103 453 972 153 5 0 0 rpc.statd
[ 370.015403] [ 467] 0 467 594 40 4 0 0 rpc.idmapd
[ 370.024028] [ 469] 0 469 1792 801 6 0 0 haveged
[ 370.032366] [ 473] 1000 473 1634 144 5 0 0 udisks-glue
[ 370.041144] [ 477] 1000 477 7443 224 10 0 0 volumio-remote-
[ 370.050259] [ 478] 0 478 586 139 4 0 0 volumiologrotat
[ 370.059414] [ 491] 0 491 776 110 4 0 0 systemd-logind
[ 370.068509] [ 508] 104 508 1159 173 5 0 0 avahi-daemon
[ 370.077410] [ 509] 110 509 181568 133884 326 0 0 mpd
[ 370.085568] [ 511] 102 511 1272 182 5 0 -900 dbus-daemon
[ 370.094474] [ 561] 65534 561 451 28 3 0 0 thd
[ 370.102861] [ 573] 0 573 354 67 3 0 0 ifplugd
[ 370.112729] [ 614] 104 614 1131 66 5 0 0 avahi-daemon
[ 370.121932] [ 642] 100 642 5030 415 12 0 0 ntpd
[ 370.130284] [ 680] 0 680 1639 181 5 0 -1000 sshd
[ 370.138624] [ 683] 0 683 4091 199 7 0 0 udisks-daemon
[ 370.147780] [ 704] 0 704 1749 78 6 0 0 udisks-daemon
[ 370.156955] [ 720] 0 720 8686 182 11 0 0 polkitd
[ 370.165610] [ 798] 0 798 4563 445 11 0 0 nmbd
[ 370.174011] [ 799] 0 799 4419 288 10 0 0 nmbd
[ 370.182406] [ 800] 0 800 5834 397 13 0 0 winbindd
[ 370.191187] [ 802] 0 802 5831 467 13 0 0 winbindd
[ 370.199973] [ 805] 0 805 422 45 3 0 0 dhcpcd
[ 370.208598] [ 810] 1000 810 50207 14206 128 0 0 node
[ 370.217073] [ 838] 0 838 919 53 4 0 0 agetty
[ 370.225745] [ 839] 0 839 452 66 4 0 0 agetty
[ 370.234424] [ 910] 0 910 7630 524 17 0 0 smbd
[ 370.242953] [ 913] 0 913 5834 411 13 0 0 winbindd
[ 370.251824] [ 914] 0 914 5834 391 12 0 0 winbindd
[ 370.260715] [ 915] 0 915 7630 450 16 0 0 smbd
[ 370.269275] [ 929] 0 929 2657 254 7 0 0 sshd
[ 370.277910] [ 979] 1000 979 1134 179 4 0 0 systemd
[ 370.286797] [ 980] 1000 980 1641 420 5 0 0 (sd-pam)
[ 370.295787] [ 982] 1000 982 2690 210 6 0 0 sshd
[ 370.304423] [ 983] 1000 983 1147 195 4 0 0 bash
[ 370.313067] [ 988] 1000 988 18111 2035 43 0 0 node
[ 370.321703] [ 997] 1000 997 28717 3686 64 0 0 node
[ 370.330366] [ 1002] 1000 1002 28795 3667 63 0 0 node
[ 370.339047] [ 1003] 1000 1003 28740 3748 65 0 0 node
[ 370.347729] [ 1086] 1000 1086 27315 249 21 0 0 upmpdcli
[ 370.356784] [ 1087] 999 1087 22739 232 19 0 0 shairport-sync
[ 370.366385] [ 1129] 1000 1129 212628 529 15 0 0 streaming-daemo
[ 370.377091] [ 1516] 0 1516 2657 254 7 0 0 sshd
[ 370.386816] [ 1541] 1000 1541 2657 194 6 0 0 sshd
[ 370.396542] [ 1542] 1000 1542 1146 91 5 0 0 bash
[ 370.406148] [ 1558] 1000 1558 2148 174 8 0 0 journalctl
[ 370.416237] [ 1795] 0 1795 586 107 3 0 0 volumiologrotat
[ 370.426789] [ 1796] 0 1796 651 190 4 0 0 ls
[ 370.436158] [ 1797] 0 1797 342 59 3 0 0 cut
[ 370.445569] Out of memory: Kill process 509 (mpd) score 651 or sacrifice child
[ 370.454451] Killed process 509 (mpd) total-vm:726272kB, anon-rss:535296kB, file-rss:236kB
[ 370.836433] _hcd_isoc_complete:Uknown urb status -2
it seems like it is indeed a memory issue (i have 1.5Gb files in my library btw)
When this starts
[ 315.364088] _hcd_isoc_complete:Uknown urb status -2
[ 319.800116] WARN::urb_dequeue:964: urb->hcpriv == NULL! urb = da983e00 status=-104
the audio start to stutters probably due to resoruces, the question is why mpd goes so high in memory consumption
So i start to understand whatās the issue here
Previously iāve installed the following mpd
to make volumio-ytcr work better (and apparently no issues were present aside from the scanning).
So what i did was reflash the official image and start the library scan.
It turned out that after 30min the library scanned only 15 songs.
With this new mpd the library scan went so much faster (60 albums in like 5s) but it always ends up eating too much memory and crash at the end.
Iāve also noticed that if i turn off via volumio ui half-way the scan, it always restarts from zero.
Unfortunately i can say for sure that the old version would end up completing the scan properly.