MiSTer-devel / Main_MiSTer

Main MiSTer binary and Wiki
GNU General Public License v3.0
3.02k stars 325 forks source link

Save States Do Not Work with CIFS Mounted Network Storage #413

Open sirbryank opened 3 years ago

sirbryank commented 3 years ago

Issue Outline w Setup:

  1. Use "cifs_mount.ini" to map a network drive, using IP address instead of NAS name
  2. Network drive is assigned a static IP address and is connected to a Synology DS1815+. Specific drive is a usb 3.1 256gb thumb drive, though has been replicated wtih micro SD cards attached to a usb adapter and same static ip address
  3. Behavior for GB, GBA, and NES cores is set to write save states to SD card
  4. Observe via both windows explorer and mac finder that save states write to the usb drive with a size of 0kb
  5. Observe save states will work as long as MiSTer is powered on and can be cycled 1-4
  6. When MiSTer is powered off, the save states persist on the network storage, but will not load anything when the MiSTer is powered back on, cifs_mount script is ran, the relevant core is loaded, and the relevant rom is loaded. Core does not crash or glitch. Nothing just gets loaded and the game continues as usual. Saving state will over write the 0kb file currently on network storage.
  7. Occurs with GB, GBA, and NES cores
yavimaya commented 1 year ago

Hi. I have the same problem on the latest MiSTer version.

sorgelig commented 1 year ago

It may depend on access rights to network storage. It may also depend on availability of that storage. Core may start before storage is mounted. And so on.. Main use of MiSTer is local storage.

aminta commented 8 months ago

Same problem here

birdybro commented 8 months ago

Specific drive is a usb 3.1 256gb thumb drive, though has been replicated wtih micro SD cards attached to a usb adapter

Regarding this, do you mean that you have a usb thumb drive attached to your Synology NAS? Is that what you are using as the MiSTer CIFS target?