Problem running vhd through cifs

yavimaya
Posts: 8
Joined: Sun May 24, 2020 8:37 pm
Been thanked: 1 time

Problem running vhd through cifs

Unread post by yavimaya »

Hello,

Last time I used AO486 core was 6 months ago and it worked fine although I played other mister cores several times, almost at least once a week.
I've been running it always though cifs to a shared folder on a synology nas.

Today I was going to play ao486 also through cifs, asl always, but it refused to run.
I've tested it disconnecting cifs and playing by sd card and it worked fine, but not on cifs.
I've deleted shared games/ao486 folder and copied it from sdcard but result is the same.

I've connected usb debug cable to de10nano and I get always this error:

Code: Select all

Switch to core frame buffer
BIOS: games/AO486/boot0.rom
[  185.494325] CIFS: VFS: Couldn't get user pages (rc=-14)
BIOS: games/AO486/boot1.rom
[  185.502691] CIFS: VFS: Couldn't get user pages (rc=-14)

This is also the debug output when cifs foders are mounted at start of Mister Fpga

Code: Select all

Welcome to MiSTer (www.MiSTerFPGA.org)
login: *** reset bt ***
//192.168.1.36/MiSTer mounted
mount: /tmp/cifs_mount: //192.168.1.36/MiSTer already mounted on /tmp/cifs_mount.
//192.168.1.36/MiSTer not mounted
Done!
BIOS mounted
Filters mounted
Gamma mounted
Presets mounted
Shadow_Masks mounted
_Arcade mounted
_Computer mounted
_Console mounted
_Other mounted
_Utility mounted
cache mounted
cheats mounted
docs mounted
filters_audio mounted
font mounted
fonts mounted
games mounted
music mounted
saves mounted
savestates mounted
screenshots mounted
tmp mounted
wallpapers mounted
Done!

And this is the content of cifs_mount.ini

Code: Select all

SERVER="deleted"
SHARE="deleted"
USERNAME="deleted"
PASSWORD="deleted"
LOCAL_DIR="*"
WAIT_FOR_SERVER="true"
MOUNT_AT_BOOT="true"
ADDITIONAL_MOUNT_OPTIONS="vers=3.0"
SINGLE_CIFS_CONNECTION="true"
#Pipe "|" separated list of directories which will never be mounted when LOCAL_DIR="*"
SPECIAL_DIRECTORIES="linux|Scripts|System Volume Information"

I can still play other cores including chd based ones from cifs mount and they run like a charm, the problem is only with vhd imagen on a0486 core.

I have to mention that I've upgraded synology dsm from 6.X to 7.1.1 a month ago if it helps.

Best regards.

pac
Posts: 77
Joined: Mon May 25, 2020 6:11 am
Has thanked: 70 times
Been thanked: 26 times

Re: Problem running vhd through cifs

Unread post by pac »

Iirc you need to have the rights to write, read only won't work for VHDs, so you might want to check that first.

yavimaya
Posts: 8
Joined: Sun May 24, 2020 8:37 pm
Been thanked: 1 time

Re: Problem running vhd through cifs

Unread post by yavimaya »

pac wrote: Tue Jun 06, 2023 9:52 am

Iirc you need to have the rights to write, read only won't work for VHDs, so you might want to check that first.

I've checked x times that user in cifs_mount.ini has rw rights on shared folders on Synology. Any tips where else to look at?

Thanks!

yavimaya
Posts: 8
Joined: Sun May 24, 2020 8:37 pm
Been thanked: 1 time

Re: Problem running vhd through cifs

Unread post by yavimaya »

Solved throwing away SMB / CIFS on synology DSM 7.x and using NFS

pac
Posts: 77
Joined: Mon May 25, 2020 6:11 am
Has thanked: 70 times
Been thanked: 26 times

Re: Problem running vhd through cifs

Unread post by pac »

No other hints beside it's working fine on my end, similar setup (Synology with DSM 7). SMB v3 is configured on the NAS?

yavimaya
Posts: 8
Joined: Sun May 24, 2020 8:37 pm
Been thanked: 1 time

Re: Problem running vhd through cifs

Unread post by yavimaya »

pac wrote: Tue Jun 06, 2023 8:36 pm

No other hints beside it's working fine on my end, similar setup (Synology with DSM 7). SMB v3 is configured on the NAS?

I've tried with SMB2 minimum and SMB3.
I think I've tried all possible configurations... maybe the key one was missed

pac
Posts: 77
Joined: Mon May 25, 2020 6:11 am
Has thanked: 70 times
Been thanked: 26 times

Re: Problem running vhd through cifs

Unread post by pac »

See attachment for "my" configuration (pretty much standard iirc).

Attachments
Screenshot 2023-06-07 at 07.43.15.png
Screenshot 2023-06-07 at 07.43.15.png (137.73 KiB) Viewed 3934 times
Post Reply