• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Raspberry Pi SD Card Maxing Itself Out on Its Own [Retroflag Safe Shutdown Script?]

Scheduled Pinned Locked Moved Help and Support
raspberry piretroflagsafe shutdown
6 Posts 3 Posters 561 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    soten355
    last edited by 29 Mar 2019, 00:50

    Hello!

    I recently put together a Raspberry Pi 3B into a Retroflag NesPi case and installed the safe shutdown script. The installation was successful and the script works with the button inputs.

    However, I'm running into a new issue: the Raspberry Pi is filling it's disk space up on its own. Here are the problems:

    • Disk had roughly 3GB of free space remaining before issue happened
    • Error commands then began to generate saying that Emulationstation couldn't find the gamelist.xml
    • Game saves started to disappear
    • Gamelists disappear
    • Meta data is no longer being saved
    • Disk is now full

    Here's what I trouble shooted so far:

    • Checked disk space on console, it is indeed full.
    • Tried deleting a ROM (~500MB in size), but space never opened up
    • Reinstalled the IMG on the SD card (original IMG had no safeshutdown script), then reinstalled safeshutdown script. Issue began to happen again.
      Anyone have any idea on what is going on? Any solutions?
    1 Reply Last reply Reply Quote 0
    • T
      Thorr69
      last edited by 29 Mar 2019, 02:12

      The error log is filling your drive. It's a common problem with the NesPI case. I think a search of the forum will net a solution.

      RPi 3b
      Official PSU
      Official RetroPie image
      Pandora's Box 5 controller

      S 1 Reply Last reply 29 Mar 2019, 04:32 Reply Quote 0
      • M
        mitu Global Moderator
        last edited by 29 Mar 2019, 04:22

        As @Thorr69 said, the internal USB hub on those cases generates a lot of errors and they end up filling the space.
        There's at least one old topic - https://retropie.org.uk/forum/topic/18066/ - that discussed this, so you can check if you're experiencing the same situation. The linked issue (https://github.com/raspberrypi/linux/issues/2408) on the RPI foundation repository is closed, since the problem seems to be fixed with a later firmware and kernel update - did you update your RetroPie installation since installing the image ?

        1 Reply Last reply Reply Quote 0
        • S
          soten355 @Thorr69
          last edited by 29 Mar 2019, 04:32

          @Thorr69 said in Raspberry Pi SD Card Maxing Itself Out on Its Own [Retroflag Safe Shutdown Script?]:

          The error log is filling your drive. It's a common problem with the NesPI case. I think a search of the forum will net a solution.

          Ah, thank you! This points me in the right direction.

          @mitu said in Raspberry Pi SD Card Maxing Itself Out on Its Own [Retroflag Safe Shutdown Script?]:

          As @Thorr69 said, the internal USB hub on those cases generates a lot of errors and they end up filling the space.
          There's at least one old topic - https://retropie.org.uk/forum/topic/18066/ - that discussed this, so you can check if you're experiencing the same situation. The linked issue (https://github.com/raspberrypi/linux/issues/2408) on the RPI foundation repository is closed, since the problem seems to be fixed with a later firmware and kernel update - did you update your RetroPie installation since installing the image ?

          Thank you! I do have the latest RetroPie installed and the latest OS. I'll read through the topic you posted and reply here if I run into any issues.

          S 1 Reply Last reply 1 Apr 2019, 17:10 Reply Quote 0
          • S
            soten355 @soten355
            last edited by 1 Apr 2019, 17:10

            I wanted to update this thread on my situation:

            Through the linked threads @mitu shared, I was able to solve my problem. Here's what I did:

            • Reloaded the IMG onto the SD card
            • Ran sudo rpi-update in the console
            • Reboot
            • Installed the safe shutdown scripts

            For further clarification, my set up is:

            • Raspberry Pi 3B
            • Retropie 4.4.11 [updated]
            • Microsoft Brand Xbox 360 USB Hub
            • Xbox 360 Wireless Controller
            • Amazon Basics USB Keyboard

            Here are quick notes on what I discovered:

            • The problem only happens with the Xbox 360 USB Hub, as detailed in the shared links from @mitu.
            • The problem, with my particular NesPi case, continues to happen with the USB ports on the exterior cover labeled "1" and "2", both located on the bottom-front-right of the case
            • When connecting to the USB ports located in the "flap", "cover", or "cartridge" portion of the case, I received no error logs
            • Updating Retropie introduced an unrelated problem with the Xbox 360 Controllers, which can be solved here: https://retropie.org.uk/forum/topic/19605/xbox-360-controller-on-stretch-lights-and-mapping
            • There are actual counterfeit NesPi cases, so buyer beware when purchasing them. I recommend visiting the Retrolag website first and then using their provided links for purchase.
            • Counterfeit NesPi cases will lack the quality control and compatibility of the hardware, which can contribute to undervoltage and the problem in this thread.

            I hope this helps! Thank you for helping me @mitu and @Thorr69

            1 Reply Last reply Reply Quote 0
            • M
              mitu Global Moderator
              last edited by 1 Apr 2019, 17:22

              Glad you git it working. One minor niggle - rpi-update is no longer a recommended way to update your kernel/firmware, this is taken care by the normal OS/package updates. For the time when the problem was reported - immediately after the 3B+ launch - I think some improvements w.r.t the 3B+ model were added that were only available through the latest development kernel/firmware versions.
              Anyway, keep an eye on the disk space and happy gaming!

              1 Reply Last reply Reply Quote 0
              2 out of 6
              • First post
                2/6
                Last post

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                This community forum collects and processes your personal information.
                consent.not_received