VOLUMIO on VIM3L, impossible to boot

Hi Philippe,

I have been sick since a week now, hence the delay in the response. Please accept my apologies for the same.

I have gone throught the code of getMyCollectionStats function in volumio and it seems it deals with the metadata of the songs. IIRC you had mentioned in the past that you had tried to set language as French. I wonder if your song filenames or metadata contains some French characters and the issue is due to some missing character set support.

Would it be possible for you to share some of your songs to help me try reproduce the issue on my side?

Hello Viraniac,

I tried to scan my music library in a different repertory where I copied my files in many batches. WhenI reached around 17000 files, then I got a first spontaneous reboot from the VIM3, but I could go back within Volumio. When I tried to copy more files, then I lost completely access to Volumio…

As you said a significant part of the files I copied and scanned contain French characters. I use the software SongKong to tag them.

May I remind you that using the PC version from Volumio, I did not face any issue when scanning my music library: this means to me that there is something specific with your version that leads to this phenomenon

@philippe_kertesz Can you try this image - Volumio--2025-03-09-kvim3.zip - Google Drive

Its based on upstream volumio code which uses older 4.9 kernel. Only change I have made is to update u-boot binaries to match that of fenix 1.5.2 release

I know that. The thing is every device platform in volumio is using a different kernel and its not clear whats the common base kernel config volumio needs. So that leaves me with only one choice which is to try toggling bunch of kernel configs and share the image and see if that solved your issue. If you can share some sample music files that can help replicate the issue on my side, then I can do this iteration a lot faster and only have to share the final working image with you.

I know you are getting frustated. But please also think from my perspective, I am trying to troubleshoot an issue that I cannot reproduce on my side.

Hello Viraniac,

Sorry for being a bit rude to you: I understand clearly that it is difficult to work out something that you cannot reproduce. As you said my library mixes files whose metada are if different languages. But what I do not understand is that my music library works quite well with moode or volumio but not with your porting to the khadas vim system: my raspberry has 2 gb of memory, so has the vim3 (maybe more). My feeling is that there is some overflow somewhere… (The scanning worked well until a certain amount of files and then the system seemed to loose it stability).
Thank you anyway for your support.

@philippe_kertesz Please do try the below image that I shared today. This is not based on my changes, Instead its based on the upstream volumio kernel that runs on their rivo and similar devices which uses VIM3L. So I am hoping you won’t face the issue on this one.

Hello Viraniac,

I flashed your image on the mSD and put it in my VIM3: it does not boot (the led lights at the start and stop to light after…).

I did tested before uploading. Maybe I uploaded wrong zip file. Let me recheck and get back to you

Boots fine for me. The zip file contains 2 files inside i.e. image file and its checksum. Make sure that you had extracted the zip file and selected image file for flashing.

Once I mistakenly gave the zip file to Raspberry pi imager and it dd-ed it as it is to the sdcard. Your booting issue kind of reminds me of the same.

Hello Viraniac,

I extracted the zip before flashing using the Raspberry Imager. Looking at the “title” of our exchanges I noticed that it is talking about VIM3L, but my VIM is a VIM3 one. Is this the problem ?

The image is of VIM3 and i have also tested it on vim3.

If you have some image flashed to emmc, try wiping it down from oowow. IIRC, option should be under Advanced > EMMC options

What is the version of your VIM3?

My Vim3 has only 2GB: how can I get its version ?

I eventually erased the VIM3 emmc flash and it booted ! But now, I am unable to mount my network library: volumio says that it cannot detect my drives…

Its printed on the PCB. Also you might be able to get it from the kernel commandline

Does it still not able to detect your NAS if you manually specify its URI? As I understand the volumio has two mode for detecting NAS. In auto mode you wont have to give any details. But in manual mode you give the uri some thing like whats shown here - How to add music from a shared folder on a Synology NAS?

Hello Viraniac,

I tried both possibilities (network’s names and IP) without success…

As I put a fan on the VIM3 board, it is a bit difficult to read: I used OOWOW to display the Hardware revision. It is V12 (I hope that this info will be useful to you)

Interesting…Its same software that they ship on their rivo, integro and primo device only without myvolumio support. Only thing I did was to update u-boot assuming older one will have boot issues on newer revisions as mentioned in the first post of the thread. The bootloader that was in there was having creation date of 2020.

Maybe we can try this.

  • Open volumio.local in a browser and go to the NAS settings page.
  • Open another tab and go to volumio.local/dev in a browser and start livelog.
  • Now switch back to first tab and try to enter your NAS details again and see if it detects.

If it doesn’t, then we should have some kind of log in the text area near the livelog button. You can share that with me and I can try to look if there was some error.

Hello Viraniac,

Please find what I got. I tried to connect two times using NFS (using cifs was leading to reboot…):

Starting Live Log…
serial-getty@ttyS0.service: Current command vanished from the unit file, execution of the command list won’t be resumed.
Reloading.
/lib/systemd/system/winbind.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/winbindd.pid → /run/samba/winbindd.pid; please update the unit file accordingly.
Reloading.
/lib/systemd/system/winbind.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/winbindd.pid → /run/samba/winbindd.pid; please update the unit file accordingly.
pam_unix(sudo:session): session closed for user root
info: enable SSH service success
info: CALLMETHOD: system_controller system enableLiveLog true
info: CoreCommandRouter::executeOnPlugin: system , enableLiveLog
info: Launching a new LiveLog session
info: CoreCommandRouter::executeOnPlugin: system , getPrivacySettings
info: CALLMETHOD: system_controller my_volumio retreiveBackendEventStates undefined
info: CoreCommandRouter::executeOnPlugin: my_volumio , retreiveBackendEventStates
error: Could not retrieve plugin system_controller my_volumio
info: Received Get System Version
info: CoreCommandRouter::executeOnPlugin: system , getSystemVersion
info: Received Get System Info
info: CoreCommandRouter::executeOnPlugin: system , getSystemInfo
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , getThisDevice
info: Discovery: Getting this device information
info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::executeOnPlugin: network , getCachedIPAddresses
info: CoreCommandRouter::getUIConfigOnPlugin
error: Could not retrieve plugin music_service streaming_services
info: CoreCommandRouter::executeOnPlugin: system , getAdvancedSettingsStatus
info: CoreCommandRouter::executeOnPlugin: albumart , getConfigParam
info: CoreCommandRouter::executeOnPlugin: albumart , getConfigParam
info: CoreCommandRouter::executeOnPlugin: albumart , getConfigParam
info: CoreCommandRouter::executeOnPlugin: mpd , getConfigParam
info: CoreCommandRouter::executeOnPlugin: mpd , getConfigParam
info: CoreCommandRouter::executeOnPlugin: mpd , getConfigParam
info: CoreCommandRouter::executeOnPlugin: mpd , getConfigParam
info: CoreCommandRouter::volumioGetBrowseSources
info: CoreCommandRouter::volumioGetBrowseSources
info: CoreCommandRouter::volumioGetBrowseSources
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: networkfs , listShares
info: CoreCommandRouter::executeOnPlugin: networkfs , discoverShares
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , browseForService
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: networkfs , addShare
info: Adding a new share
info: No correspondence found in configuration for share music on IP 192.168.2.3
volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/mount -t cifs -o guest,ro,dir_mode=0777,file_mode=0666,iocharset=utf8,noauto,soft //192.168.2.3/music /mnt/NAS/music
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
CIFS VFS: cifs_mount failed w/return code = -95
info: Error mounting music on IP 192.168.2.3 : (95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
info: CoreCommandRouter::executeOnPlugin: networkfs , listShares
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: networkfs , discoverShares
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , browseForService
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
[2025/03/13 18:18:12.691952, 0] …/source3/libsmb/nmblib.c:917(send_udp)
Packet send failed to 169.254.255.255(138) ERRNO=Network is unreachable
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: networkfs , addShare
info: Adding a new share
info: Checking key NasMounts.4479311e-3156-49de-af4f-d18f43e0f4d3
info: Found correspondence in configuration
info: Share music has already been configured, with uuid 4479311e-3156-49de-af4f-d18f43e0f4d3
info: CoreCommandRouter::executeOnPlugin: networkfs , listShares
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::getUIConfigOnPlugin
error: Could not retrieve plugin music_service streaming_services
info: CoreCommandRouter::executeOnPlugin: system , getAdvancedSettingsStatus
info: CoreCommandRouter::executeOnPlugin: albumart , getConfigParam
info: CoreCommandRouter::executeOnPlugin: albumart , getConfigParam
info: CoreCommandRouter::executeOnPlugin: albumart , getConfigParam
info: CoreCommandRouter::executeOnPlugin: mpd , getConfigParam
info: CoreCommandRouter::executeOnPlugin: mpd , getConfigParam
info: CoreCommandRouter::executeOnPlugin: mpd , getConfigParam
info: CoreCommandRouter::volumioGetBrowseSources
info: CoreCommandRouter::volumioGetBrowseSources
info: CoreCommandRouter::volumioGetBrowseSources
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: networkfs , listShares
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: networkfs , deleteShare
info: CoreCommandRouter::executeOnPlugin: networkfs , listShares
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: networkfs , discoverShares
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , browseForService
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: networkfs , addShare
info: Adding a new share
info: No correspondence found in configuration for share music on IP 192.168.2.3
volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/mount -t nfs -o ro,soft,noauto 192.168.2.3:/music /mnt/NAS/music
pam_unix(sudo:session): session opened for user root by (uid=0)
FS-Cache: Netfs ‘nfs’ registered for caching
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
/lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
Starting Preprocess NFS configuration…
Reached target Host and Network Name Lookups.
nfs-config.service: Succeeded.
Started Preprocess NFS configuration.
Starting NFS status monitor for NFSv2/3 locking…
Starting Notify NFS peers of a restart…
Version 1.3.3 starting
rpc-statd-notify.service: Succeeded.
Started Notify NFS peers of a restart.
Version 1.3.3 starting
Flags: TI-RPC
Started NFS status monitor for NFSv2/3 locking…
pam_unix(sudo:session): session closed for user root
info: Error mounting music on IP 192.168.2.3 : exec error Error: Command failed: /usr/bin/sudo /bin/mount -t nfs -o ro,soft,noauto ‘192.168.2.3:/music’ ‘/mnt/NAS/music’
mount.nfs: access denied by server while mounting 192.168.2.3:/music
info: CoreCommandRouter::executeOnPlugin: networkfs , listShares
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats

I see two attempts in the log. For samba/cifs share where the mounting seems to be failed, but no reason is specified. Probably this might help for that - I’m getting an error adding a CIFS network drive on my NAS, what do I have to do?

For NFS, it says access denied by server. My guess is may be there were issues with credentials or something else. Not sure. Probably you can get more information in logs of your NAS