Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 8 of 8
  1. #1

    Mount worked on PiCorePlayer (lms) version 5, but now doesn't on version 8...

    I've been running lms on PiCorePlayer v5 for yonks. My music is on a WD MyCloud share, and I mounted it using cifs. As I said, it's been working absolutely fine.

    However, I was only using a 4G SD on my rpi, and I was running into space issues. So I got an 8G card and decided to upgrade to the latest PCP - version 8.2.0

    Starts up fine, LMS working fine. But can I persuade the mount to work? Can I @*&!*

    I've got this setup:-
    Name:  Screenshot 2022-11-22 20.29.42.png
Views: 184
Size:  37.7 KB

    and it just doesn't work.

    I've tried ssh-ing to the PiCorePlayer, and doing the mount by hand. This is the result:-

    tc@piCoreLMS:~$ sudo mount -v -t cifs -o username=music,password="music",uid=1001,gid=50 //192.168.1.45/"music" /mnt/mediaserver
    mount: /mnt/mediaserver: special device //192.168.1.45/music does not exist.

    I tried installing the PCP extensions for cifs - cifs-utils and cifs-utils-dev.

    Now, when I try the mount, I get the following:-

    tc@piCoreLMS:~$ sudo mount -v -t cifs -o username=music,password="music",uid=1001,gid=50 //192.168.1.45/"Music" /mnt/mediaserver
    mount.cifs kernel mount options: ip=192.168.1.45,unc=\\192.168.1.45\Music,uid=1001, gid=50,user=music,pass=********
    mount error(2): No such file or directory
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

    And when I do a dmesg, I get

    [ 1480.044962] CIFS: Attempting to mount \\192.168.1.45\Music
    [ 1480.081123] CIFS: VFS: Could not allocate crypto hmac(sha256)
    [ 1480.207413] CIFS: VFS: Could not allocate crypto hmac(sha256)
    [ 1480.245551] CIFS: VFS: Could not allocate crypto hmac(sha256)
    [ 1480.279685] CIFS: VFS: Could not allocate crypto hmac(sha256)
    [ 1480.313811] CIFS: VFS: Could not allocate crypto hmac(md5)
    [ 1480.313872] CIFS: VFS: Error -2 during NTLMSSP authentication
    [ 1480.313915] CIFS: VFS: \\192.168.1.45 Send error in SessSetup = -2
    [ 1480.314105] CIFS: VFS: cifs_mount failed w/return code = -2


    It's really frustrating. I can't see anything different from any of my other machines, which mount the disk fine; and it worked perfectly on the older version of piCorePlayer.

    Just to confirm - here's a different linux machine on the same network, mounting the disk fine.

    bensonm@lenovomint:~$ sudo mount -v -t cifs -o username=music,password="music",uid=bensonm,gid=be nsonm //192.168.1.45/Music /mnt/music
    mount.cifs kernel mount options: ip=192.168.1.45,unc=\\192.168.1.45\Music,uid=1000, gid=1000,user=music,pass=********

    Works fine - no errors. So whatever the issue is, it ain't my WD share - that's fine.

    I've run out of ideas. I'd really appreciate some help.

    Thanks.

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    6,260
    Try telling pCP to use an older version of SMB (CIFS) by adding
    ,vers=2.0
    into the end of the Options field
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  3. #3
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,947
    Never got to the bottom of this, as there is some soft dependency that I was unable to trace, since I could not repeat the error on my end. Read this and see it this helps you out.

    https://forums.slimdevices.com/showt...=1#post1029399
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  4. #4
    Senior Member kidstypike's Avatar
    Join Date
    Feb 2007
    Location
    Forton PR3
    Posts
    5,390
    Quote Originally Posted by Martin_z View Post
    I've been running lms on PiCorePlayer v5 for yonks. My music is on a WD MyCloud share, and I mounted it using cifs. As I said, it's been working absolutely fine.

    However, I was only using a 4G SD on my rpi, and I was running into space issues. So I got an 8G card and decided to upgrade to the latest PCP - version 8.2.0

    Starts up fine, LMS working fine. But can I persuade the mount to work? Can I @*&!*

    I've got this setup:-
    Name:  Screenshot 2022-11-22 20.29.42.png
Views: 184
Size:  37.7 KB

    and it just doesn't work.

    I've tried ssh-ing to the PiCorePlayer, and doing the mount by hand. This is the result:-

    tc@piCoreLMS:~$ sudo mount -v -t cifs -o username=music,password="music",uid=1001,gid=50 //192.168.1.45/"music" /mnt/mediaserver
    mount: /mnt/mediaserver: special device //192.168.1.45/music does not exist.

    I tried installing the PCP extensions for cifs - cifs-utils and cifs-utils-dev.

    Now, when I try the mount, I get the following:-

    tc@piCoreLMS:~$ sudo mount -v -t cifs -o username=music,password="music",uid=1001,gid=50 //192.168.1.45/"Music" /mnt/mediaserver
    mount.cifs kernel mount options: ip=192.168.1.45,unc=\\192.168.1.45\Music,uid=1001, gid=50,user=music,pass=********
    mount error(2): No such file or directory
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

    And when I do a dmesg, I get

    [ 1480.044962] CIFS: Attempting to mount \\192.168.1.45\Music
    [ 1480.081123] CIFS: VFS: Could not allocate crypto hmac(sha256)
    [ 1480.207413] CIFS: VFS: Could not allocate crypto hmac(sha256)
    [ 1480.245551] CIFS: VFS: Could not allocate crypto hmac(sha256)
    [ 1480.279685] CIFS: VFS: Could not allocate crypto hmac(sha256)
    [ 1480.313811] CIFS: VFS: Could not allocate crypto hmac(md5)
    [ 1480.313872] CIFS: VFS: Error -2 during NTLMSSP authentication
    [ 1480.313915] CIFS: VFS: \\192.168.1.45 Send error in SessSetup = -2
    [ 1480.314105] CIFS: VFS: cifs_mount failed w/return code = -2


    It's really frustrating. I can't see anything different from any of my other machines, which mount the disk fine; and it worked perfectly on the older version of piCorePlayer.

    Just to confirm - here's a different linux machine on the same network, mounting the disk fine.

    bensonm@lenovomint:~$ sudo mount -v -t cifs -o username=music,password="music",uid=bensonm,gid=be nsonm //192.168.1.45/Music /mnt/music
    mount.cifs kernel mount options: ip=192.168.1.45,unc=\\192.168.1.45\Music,uid=1000, gid=1000,user=music,pass=********

    Works fine - no errors. So whatever the issue is, it ain't my WD share - that's fine.

    I've run out of ideas. I'd really appreciate some help.

    Thanks.
    Try vers=1.0,uid=1001,gid=50 in the options field.

    Name:  vers.jpg
Views: 64
Size:  13.7 KB
    Server - LMS 8.3.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)

    Lounge - DAC32 - AudioEngine B2
    Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier D12
    Bedroom - Echo Show 8

    Spares - 1xSB Touch, 1xSB3, 3xRPi, 1xCORE32, AVI DM5 speakers

  5. #5
    Nope - I tried vers=2.0, vers=2.1 and even vers=1.0

    Tried on the command line too. The "vers" is working, as when I tried 1.0, the dmesg complained that I shouldn't use it because it's insecure. But it still whinged about "could not allocate crypto".

  6. #6
    Senior Member kidstypike's Avatar
    Join Date
    Feb 2007
    Location
    Forton PR3
    Posts
    5,390
    Quote Originally Posted by Martin_z View Post
    Nope - I tried vers=2.0, vers=2.1 and even vers=1.0

    Tried on the command line too. The "vers" is working, as when I tried 1.0, the dmesg complained that I shouldn't use it because it's insecure. But it still whinged about "could not allocate crypto".
    Sorry, can't help further, mines a WD MyCloud, works no problem, pCP v8.2.0.
    Server - LMS 8.3.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)

    Lounge - DAC32 - AudioEngine B2
    Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier D12
    Bedroom - Echo Show 8

    Spares - 1xSB Touch, 1xSB3, 3xRPi, 1xCORE32, AVI DM5 speakers

  7. #7
    Quote Originally Posted by paul- View Post
    Never got to the bottom of this, as there is some soft dependency that I was unable to trace, since I could not repeat the error on my end. Read this and see it this helps you out.

    https://forums.slimdevices.com/showt...=1#post1029399
    Well, nothing worked. So I've changed to a newer rPi - and now everything is just working.

    It's a mystery. But heigh-ho - at least I've got my music back now.

  8. #8
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,947
    Newer pies have different crypto chains. So itĺs not a huge mystery. Just a mystery as how to fix the older one.

    Youĺll be happier running LMS on the newer pi anyway
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •