Moode Forum
[SOLVED] Mount error - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [SOLVED] Mount error (/showthread.php?tid=4024)

Pages: 1 2


Mount error - winnor - 07-15-2021

Hi*,

Maybe sombody can help, after upgrade to 7.3.0 I get :

20210715 134133 sourceMount(): Mount error: (mount error(13): Permission denied

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))
20210715 134246 worker: Job sourcecfg
20210715 134252 sourceMount(): Mount error: (mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))
20210715 135434 worker: Job sourcecfg
20210715 135441 sourceMount(): Mount error: (mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))


during startup on the RAspberry Pi Zero W, then obvoiusly my NAS is not mounted...
Setting for the NAS:




with my other Moode installations on RAspbaerry Zero W the mouting still works.


thanks for any help!
Norbert


RE: Mount error - winnor - 07-15-2021

sorry I pasted a screenshot of the setting in the wrong way...


RE: Mount error - Tim Curtis - 07-15-2021

Reboot then post output from the Moode and Update logs

Code:
# Update log
cat /var/local/www/update-r721.log

# Moode startup log
moodeutl -l



RE: Mount error - winnor - 07-15-2021

(07-15-2021, 12:36 PM)Tim Curtis Wrote: Reboot then post output from the Moode and Update logs

Code:
# Update log
cat /var/local/www/update-r721.log

# Moode startup log
moodeutl -l


no update log found, guess this is because my "update" was a complete new image...so better New install then update...

boot log:

Code:
20210715 150759 worker: -- Start
20210715 150759 worker: Successfully daemonized
20210715 150800 worker: Integrity check (passed)20210715 150759 worker: -- Start
20210715 150759 worker: Successfully daemonized
20210715 150800 worker: Integrity check (passed)
20210715 150804 worker: File check (OK)
20210715 150806 worker: Session vacuumed
20210715 150806 worker: Session loaded
20210715 150806 worker: Debug logging (OFF)
20210715 150806 worker: -- Audio debug
20210715 150806 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20210715 150806 worker: MPD config: (0:HiFiBerry DAC+ | mixer:(Digital) | card:0)
20210715 150807 worker: ALSA mixer actual (Digital)
20210715 150807 worker: ALSA Digital volume set to (0%)
20210715 150807 worker: -- System
20210715 150811 worker: Host     (moodeWohn)
20210715 150811 worker: moOde    (7.3.0 2021-06-25)
20210715 150811 worker: RaspiOS  (10.6)
20210715 150811 worker: Kernel   (5.4.77+ #1371)
20210715 150811 worker: Platform (Pi-Zero W 1.1 512MB)
20210715 150811 worker: ARM arch (armv6l, 32-bit kernel)
20210715 150811 worker: MPD ver  (0.22.8_p0x3)
20210715 150811 worker: CPU gov  (ondemand)
20210715 150811 worker: USB boot not available
20210715 150812 worker: File system not expanded yet
20210715 150812 worker: HDMI port on
20210715 150812 worker: -- Network
20210715 150812 worker: eth0 does not exist
20210715 150812 worker: eth0 address not assigned
20210715 150812 worker: wlan0 exists
20210715 150812 worker: wifi country (AT)
20210715 150812 worker: wlan0 trying SSID (UnserNetz)
20210715 150812 worker: IP addr (192.168.188.30)
20210715 150812 worker: Netmask (255.255.255.0)
20210715 150812 worker: Gateway (192.168.188.1)
20210715 150812 worker: Pri DNS (192.168.188.1)
20210715 150812 worker: Domain  (fritz.box)
20210715 150813 worker: Pi integrated wlan0 power save disabled
20210715 150813 worker: -- Audio config
20210715 150814 worker: MPD conf updated
20210715 150814 worker: ALSA card number (0)
20210715 150814 worker: MPD audio output (HiFiBerry DAC+)
20210715 150828 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20210715 150828 worker: ALSA mixer name (Digital)
20210715 150828 worker: MPD volume control (software)
20210715 150829 worker: Hdwr volume controller exists
20210715 150829 worker: Max ALSA volume (100%)
20210715 150829 worker: ALSA output mode (Default: plughw)
20210715 150829 worker: ALSA loopback (Off)
20210715 150829 worker: Reset renderer active flags
20210715 150829 worker: CamillaDSP (off)
20210715 150829 worker: -- MPD startup
20210715 150829 worker: MPD started
20210715 150831 worker: MPD accepting connections
20210715 150831 worker: MPD output 1 ALSA Default (on)
20210715 150831 worker: MPD output 2 ALSA Bluetooth (off)
20210715 150831 worker: MPD output 3 HTTP Server (off)
20210715 150831 worker: MPD crossfade (off)
20210715 150831 worker: MPD ignore CUE files (yes)
20210715 150831 worker: -- Feature availability
20210715 150831 worker: Source select (available)
20210715 150831 worker: Source select (source: MPD)
20210715 150831 worker: Source select (output: HiFiBerry DAC+)
20210715 150832 worker: Bluetooth (available)
20210715 150832 worker: Airplay renderer (available)
20210715 150832 worker: Spotify renderer (available: started)
20210715 150832 worker: Squeezelite (available)
20210715 150832 worker: RoonBridge renderer (not installed)
20210715 150832 worker: UPnP renderer (available)
20210715 150832 worker: DLNA server (available)
20210715 150832 worker: UPnP browser (available)
20210715 150832 worker: GPIO button handler (available)
20210715 150832 worker: Stream recorder (n/a)
20210715 150832 worker: -- Music sources
20210715 150832 worker: USB sources (none attached)
20210715 150838 sourceMount(): Mount error: (mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))
20210715 150838 worker: NAS and UPnP sources (mountall initiated)
20210715 150838 worker: -- Other
20210715 150838 worker: USB volume knob (Off)
20210715 150838 worker: USB auto-mounter (udisks-glue)
20210715 150839 worker: LED0 (On)
20210715 150839 worker: LED1 (sysclass does not exist)
20210715 150839 worker: Saved MPD vol level (0)
20210715 150839 worker: Preamp volume level (0)
20210715 150839 worker: MPD volume level (0) restored
20210715 150839 worker: ALSA Digital volume (100%)
20210715 150839 worker: Auto-play (Off)
20210715 150839 worker: Maintenance interval (3 hours)
20210715 150839 worker: Screen saver activation (Never)
20210715 150839 worker: Session permissions (OK)
20210715 150839 worker: Watchdog started
20210715 150839 worker: Ready
pi@moodeWohn:~ $



RE: Mount error - winnor - 07-15-2021

(07-15-2021, 01:12 PM)winnor Wrote:
(07-15-2021, 12:36 PM)Tim Curtis Wrote: Reboot then post output from the Moode and Update logs

Code:
# Update log
cat /var/local/www/update-r721.log

# Moode startup log
moodeutl -l


no update log found, guess this is because my "update" was a complete new image...so better New install then update...

boot log:

Code:
20210715 150759 worker: -- Start
20210715 150759 worker: Successfully daemonized
20210715 150800 worker: Integrity check (passed)20210715 150759 worker: -- Start
20210715 150759 worker: Successfully daemonized
20210715 150800 worker: Integrity check (passed)
20210715 150804 worker: File check (OK)
20210715 150806 worker: Session vacuumed
20210715 150806 worker: Session loaded
20210715 150806 worker: Debug logging (OFF)
20210715 150806 worker: -- Audio debug
20210715 150806 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20210715 150806 worker: MPD config: (0:HiFiBerry DAC+ | mixer:(Digital) | card:0)
20210715 150807 worker: ALSA mixer actual (Digital)
20210715 150807 worker: ALSA Digital volume set to (0%)
20210715 150807 worker: -- System
20210715 150811 worker: Host     (moodeWohn)
20210715 150811 worker: moOde    (7.3.0 2021-06-25)
20210715 150811 worker: RaspiOS  (10.6)
20210715 150811 worker: Kernel   (5.4.77+ #1371)
20210715 150811 worker: Platform (Pi-Zero W 1.1 512MB)
20210715 150811 worker: ARM arch (armv6l, 32-bit kernel)
20210715 150811 worker: MPD ver  (0.22.8_p0x3)
20210715 150811 worker: CPU gov  (ondemand)
20210715 150811 worker: USB boot not available
20210715 150812 worker: File system not expanded yet
20210715 150812 worker: HDMI port on
20210715 150812 worker: -- Network
20210715 150812 worker: eth0 does not exist
20210715 150812 worker: eth0 address not assigned
20210715 150812 worker: wlan0 exists
20210715 150812 worker: wifi country (AT)
20210715 150812 worker: wlan0 trying SSID (UnserNetz)
20210715 150812 worker: IP addr (192.168.188.30)
20210715 150812 worker: Netmask (255.255.255.0)
20210715 150812 worker: Gateway (192.168.188.1)
20210715 150812 worker: Pri DNS (192.168.188.1)
20210715 150812 worker: Domain  (fritz.box)
20210715 150813 worker: Pi integrated wlan0 power save disabled
20210715 150813 worker: -- Audio config
20210715 150814 worker: MPD conf updated
20210715 150814 worker: ALSA card number (0)
20210715 150814 worker: MPD audio output (HiFiBerry DAC+)
20210715 150828 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20210715 150828 worker: ALSA mixer name (Digital)
20210715 150828 worker: MPD volume control (software)
20210715 150829 worker: Hdwr volume controller exists
20210715 150829 worker: Max ALSA volume (100%)
20210715 150829 worker: ALSA output mode (Default: plughw)
20210715 150829 worker: ALSA loopback (Off)
20210715 150829 worker: Reset renderer active flags
20210715 150829 worker: CamillaDSP (off)
20210715 150829 worker: -- MPD startup
20210715 150829 worker: MPD started
20210715 150831 worker: MPD accepting connections
20210715 150831 worker: MPD output 1 ALSA Default (on)
20210715 150831 worker: MPD output 2 ALSA Bluetooth (off)
20210715 150831 worker: MPD output 3 HTTP Server (off)
20210715 150831 worker: MPD crossfade (off)
20210715 150831 worker: MPD ignore CUE files (yes)
20210715 150831 worker: -- Feature availability
20210715 150831 worker: Source select (available)
20210715 150831 worker: Source select (source: MPD)
20210715 150831 worker: Source select (output: HiFiBerry DAC+)
20210715 150832 worker: Bluetooth (available)
20210715 150832 worker: Airplay renderer (available)
20210715 150832 worker: Spotify renderer (available: started)
20210715 150832 worker: Squeezelite (available)
20210715 150832 worker: RoonBridge renderer (not installed)
20210715 150832 worker: UPnP renderer (available)
20210715 150832 worker: DLNA server (available)
20210715 150832 worker: UPnP browser (available)
20210715 150832 worker: GPIO button handler (available)
20210715 150832 worker: Stream recorder (n/a)
20210715 150832 worker: -- Music sources
20210715 150832 worker: USB sources (none attached)
20210715 150838 sourceMount(): Mount error: (mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))
20210715 150838 worker: NAS and UPnP sources (mountall initiated)
20210715 150838 worker: -- Other
20210715 150838 worker: USB volume knob (Off)
20210715 150838 worker: USB auto-mounter (udisks-glue)
20210715 150839 worker: LED0 (On)
20210715 150839 worker: LED1 (sysclass does not exist)
20210715 150839 worker: Saved MPD vol level (0)
20210715 150839 worker: Preamp volume level (0)
20210715 150839 worker: MPD volume level (0) restored
20210715 150839 worker: ALSA Digital volume (100%)
20210715 150839 worker: Auto-play (Off)
20210715 150839 worker: Maintenance interval (3 hours)
20210715 150839 worker: Screen saver activation (Never)
20210715 150839 worker: Session permissions (OK)
20210715 150839 worker: Watchdog started
20210715 150839 worker: Ready
pi@moodeWohn:~ $

the Mount point is there:


Code:
pi@moodeWohn:~ $ ls /var/lib/mpd/music/
NAS  RADIO  SDCARD  USB
pi@moodeWohn:~ $ ls /var/lib/mpd/music/NAS/



RE: Mount error - Tim Curtis - 07-15-2021

Log looks ok except for some odd duplicated lines at the start but that could just be due to some oddness in the terminal window.

It's not obvious to me why your NAS mount is failing. Try removing it and then creating it again, maybe using userid=Guest and a blank password??

Also, the NAS should show up in the SCAN and you should be able to ping the NAS host from the Pi. If either of these fail then it would suggest some sort of network issue.


RE: Mount error - winnor - 07-15-2021

Thank you, I think I will restart with a new SD Card an image,


RE: Mount error - winnor - 07-16-2021

Hi Tim,

Here are some observations to my "Mounting" Topic:

I tested the 7.3.0 on 3 differnet PIs, all of them show the same behaviour:

mounting of the NAS does not work at startup only after some "remount" trials it works.
The NAS is always responding on PING, but does not show up in scan.

The 6.7.1 version does not show this behaviour, and mounting works flawless...

was there a change in the mounting mechanism?

were is the the mounting implemented?

maybe I can write a script which "tries monuting until it works"

Netwerk connection via WLAN is stable and good (link quality 93%, -40 dB signal level)


Regards,
Norbert


RE: Mount error - Tim Curtis - 07-16-2021

You can look through the release notes for the 7 series releases and see several items that could affect SMB and Samba.

- UPD: Automatically detect SMB protocol version
- UPD: Bump to RaspiOS 10.6
- UPD: Bump to Linux kernel 5.4.77 build #1371

Empty SCAN results suggests a network issue thats causing the SMB discovery protocol to be blocked and this would also prolly block the automatic detection of SMB protocol version.

You could try specifying vers= in the mount flags.


RE: Mount error - TheOldPresbyope - 07-16-2021

@winnor

What Tim said. 

In my experience, the presence of certain hosts/services on my LAN can block the SMB scan function but does not in any way prevent success with a manually entered  <hostname or IP>/<sharename>,

For 90 percent of users, the library mounting scheme in moOde (which is really just the standard LInux scheme) is painless. For the rest, the negotiation of security protocol version (aka dialect) has often been the sticking point. 

When the negotiation fails, it becomes necessary to set a mutually agreeable level manually (yes, even "vers=1.0" might need to be set manually because of changes in RaspiOS/Debian/Linux over the years). The mount.cifs messages in your first post reinforce my belief that yours may be a dialect problem.

I'm in a hotel room without LAN or NAS so I just told my free-standing moOde player to mount a fictitious SAMBA share. Here's what got logged to /var/log/syslog. Note what it says about dialect

Code:
Jul 10 08:31:23 moode kernel: [215252.115516] CIFS: Attempting to mount //172.24.1.2/Music
Jul 10 08:31:23 moode kernel: [215252.115606] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
Jul 10 08:31:30 moode kernel: [215258.393158] CIFS VFS: Error connecting to socket. Aborting operation.
Jul 10 08:31:30 moode kernel: [215258.393195] CIFS VFS: cifs_mount failed w/return code = -2

I don't know why multiple retries succeed in your situation when the initial mount fails. This suggests some strangeness unrelated to moOde/RaspbiOS.

By the way, what is your SAMBA server? Be specific to be terrific...make/version/configuration.

Regards,
Kent