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

    Retropie freezes when transferring files

    Scheduled Pinned Locked Moved Help and Support
    wificrashfreeze
    15 Posts 4 Posters 4.0k 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.
    • Sage FrekeS
      Sage Freke
      last edited by

      Hi, I had a Raspberry Pi 1 B+ sitting around and I just installed retropie (details on hardware used and retropie version at end of the post).
      Everything works as intended except that the pi freezes at any attempt to transfer files from my PC, It becomes completely unresponsive and the only thing I can do is a hard reset.
      I tried samba shares and filezilla (sftp), it freezes with either method.

      If I do the file transfer attempt in command line mode (F4) I get a lot of gibberish which end up with "Kernel Panic - not syncyng : Fatal exception in interrupt" (I posted a screenshot, I hope that it shows up).
      What could be the problem? I know for sure that it's not a screensaver issue, I turned it off and without file transfers I can leave the Pi sitting in the menu for hours, the problem seems to happen only when transferring files over the LAN: I left the pi cover-scraping the entire SNES library (trough WiFi) and it didn't froze. It took a while, maybe an hour or two.

      Screenshot

      Details:
      My raspberry pi is a model 1 B+ with the following USB devices attached:
      a WiFi USB adapter (I don't remember the manufacturer, but I bought it specifically for the Pie).
      an iBuffalo SNES-style USB controller
      a Trust mini wireless keyboard with trackball (Adura)

      My power source is a Vultech 2A charger, I've never seen any rainbow on the upper right side of the screen.

      Retropie version 4.2 (took from the installer screen)
      Emulation station V2.1.5RP
      Built From: pre made SD Image on RetroPie website and transferred with Win32 Disk Imager

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by

        Try another PSU. Make sure you are not overclocking. You can also try another dongle or ethernet to rule out the usb device.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        Sage FrekeS 1 Reply Last reply Reply Quote 0
        • Sage FrekeS
          Sage Freke @BuZz
          last edited by

          @BuZz It was mildly overclocked (800 Mhz), I reverted to stock and I connected the pi to a USB 3.0 port od my PC (900 mAh should be enough), but the problem persists.

          When I move files trough ethernet a strange thing happens: the files do transfer but every 12/15 seconds the transfer speed goes to zero, it stays there for a couple of seconds, then it goes back to normal for another 12/15 seconds, then re-drops to zero and so on, it goes on like this until the transfer is complete.

          And when I try to scrape game covers I get this message: "Error saving resized image: out of memory? Disk full?" it's tue that the SD was full before, but I copied the contents on a bigger SD card with Win32 Disk imager, and then I expanded the filesystem with raspi-config (df now says that I have 50GB of free space).

          I think that this error is tied to the poor and intermittent file transfer speed, what could be causing it?

          Screenshot

          BuZzB 1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @Sage Freke
            last edited by BuZz

            @Sage-Freke Your pc USB port is not sufficient either to reliably power the rpi and the WiFi. Ethernet speed goes like that due to buffering and sdcard write speed (A faster SDCard could help).

            What's the output of df -h from terminal? Perhaps you have a permissions issue or something if you have the free space. The /opt/retropie/configs/all/emulationstation/es_log.txt log might give more information

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            Sage FrekeS 1 Reply Last reply Reply Quote 0
            • Sage FrekeS
              Sage Freke @BuZz
              last edited by Sage Freke

              @BuZz This is the result of df: df

              Now I'm using a Samsung 2A tablet charger (the one that came with the device, not a knockoff).

              Could the quantity of the files have something to do with the freezes? The Amiga folder I'm trying to transfer has almost 100.000 files in it, I tried to transfer them in separated batches: the first batch of 11.000 files was copied successfully, while the second of 45.000 crashed the pi.

              I noticed that the problem seems to occur when the transfer speed reaches 0 KB/s: if the pi's on ethernet, after a while the transfer continues. While it if it's on wifi, as soon as it reaches 0 KB/s Retropie crashes.

              BuZzB 1 Reply Last reply Reply Quote 0
              • CodeDrawerC
                CodeDrawer
                last edited by

                Hey @Sage-Freke I was wondering is you tried moving the files from the USB directly to the pi... it might make it work.

                N64 emulation is the next step :)

                Sage FrekeS 1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators @Sage Freke
                  last edited by BuZz

                  @Sage-Freke I suspect it's related to the wifi dongle, but it sounds like your sdcard may be a bit slow. Which one are you using ? I have had terrible write performance from some cheaper class 10 cards. I would definitely try another card to rule out the sdcard also.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 0
                  • Sage FrekeS
                    Sage Freke @CodeDrawer
                    last edited by

                    @CodeDrawer I'm not familiar with retropie's file manager so I didn't try yet, I'll try and report (however, I wanted to use the WiFi manly for the convenience of making changes without having to move the pi).

                    @BuZz The previous card was an old 8gb that I'm sure is as slow as a class 10 can get, but the new one (a seldom used before Samsung 64GB card that I had laying around) while not one of the fastest, it' s not slow either: during the image flashing in Windows it maintained a writing speed of around 20 MB/s.

                    I'll post the log you requested as soon as I get close to the pi.

                    1 Reply Last reply Reply Quote 0
                    • CodeDrawerC
                      CodeDrawer
                      last edited by

                      @Sage-Freke I just use command line after pressing f4 on the keyboard.

                      N64 emulation is the next step :)

                      Sage FrekeS 1 Reply Last reply Reply Quote 0
                      • Sage FrekeS
                        Sage Freke @CodeDrawer
                        last edited by Sage Freke

                        @CodeDrawer I hate moving files with the command line, I used the retropie file manager and it worked ok (although I wish there was a "select all" option instead of having to select thousand of files/folders manually).

                        @BuZz Here's the content of es_log.txt

                        # code block
                        lvl2: 	EmulationStation - v2.1.5rp, built Mar 19 2017 - 18:15:20
                        lvl2: 	Creating surface...
                        lvl2: 	Created window successfully.
                        lvl2: 	Added known joystick USB,2-axis 8-button gamepad   (instance ID: 0, device index: 0)
                        lvl2: 	Checking available OpenGL extensions...
                        lvl2: 	 ARB_texture_non_power_of_two: MISSING
                        lvl2: 	Loading system config file /etc/emulationstation/es_systems.cfg...
                        lvl1: 	System "amstradcpc" has no games! Ignoring it.
                        lvl1: 	System "arcade" has no games! Ignoring it.
                        lvl1: 	System "atari2600" has no games! Ignoring it.
                        lvl1: 	System "atari7800" has no games! Ignoring it.
                        lvl1: 	System "atarilynx" has no games! Ignoring it.
                        lvl2: 	Parsing XML file "/home/pi/RetroPie/roms/c64/gamelist.xml"...
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/$100,000 Pyramid, The (USA).D64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/10th Frame (USA).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/19 Part One - Boot Camp (Europe).D64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/2D Tennis Game (Europe).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/2K-Fighter (Germany).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/3-D Glooper (Europe).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/3-D Man (USA).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/3-D Pinball - Pinball Power (Europe).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/3-D Skramble (Europe).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/3D Construction Kit (Europe).D64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/3D Golf (Europe).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/3D Hypermaths (Europe).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/3D Pool (Europe).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/3D Scacchi Simulator (Italy).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/3D Speed Duel (Europe).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/3D Stock Cars II (Europe).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/3D Tanx (Europe).T64"" does not exist! Ignoring.
                        lvl1: 	File ""/home/pi/RetroPie/roms/c64/International Karate Plus.tap"" does not exist! Ignoring.
                        lvl1: 	  Unknown platform for system "daphne" (platform "daphne" from list "daphne")
                        lvl1: 	System "daphne" has no games! Ignoring it.
                        lvl1: 	System "fba" has no games! Ignoring it.
                        lvl1: 	  Unknown platform for system "fds" (platform "fds" from list "fds")
                        lvl1: 	System "fds" has no games! Ignoring it.
                        lvl1: 	System "gamegear" has no games! Ignoring it.
                        lvl1: 	System "gb" has no games! Ignoring it.
                        lvl1: 	System "gba" has no games! Ignoring it.
                        lvl1: 	System "gbc" has no games! Ignoring it.
                        lvl1: 	System "mame-libretro" has no games! Ignoring it.
                        lvl1: 	System "mastersystem" has no games! Ignoring it.
                        lvl1: 	System "megadrive" has no games! Ignoring it.
                        lvl1: 	System "n64" has no games! Ignoring it.
                        lvl1: 	System "neogeo" has no games! Ignoring it.
                        lvl1: 	System "nes" has no games! Ignoring it.
                        lvl1: 	System "ngp" has no games! Ignoring it.
                        lvl1: 	System "ngpc" has no games! Ignoring it.
                        lvl1: 	System "pcengine" has no games! Ignoring it.
                        lvl2: 	Parsing XML file "/home/pi/.emulationstation/gamelists/ports/gamelist.xml"...
                        lvl1: 	System "psx" has no games! Ignoring it.
                        lvl2: 	Parsing XML file "/home/pi/.emulationstation/gamelists/retropie/gamelist.xml"...
                        lvl1: 	System "sega32x" has no games! Ignoring it.
                        lvl1: 	System "segacd" has no games! Ignoring it.
                        lvl1: 	  Unknown platform for system "sg-1000" (platform "sg-1000" from list "sg-1000")
                        lvl1: 	System "sg-1000" has no games! Ignoring it.
                        lvl2: 	Parsing XML file "/home/pi/.emulationstation/gamelists/snes/gamelist.xml"...
                        lvl1: 	  Unknown platform for system "vectrex" (platform "vectrex" from list "vectrex")
                        lvl1: 	System "vectrex" has no games! Ignoring it.
                        lvl1: 	System "zxspectrum" has no games! Ignoring it.
                        lvl2: 	 req sound [detailed.launch]
                        lvl2: 	   (missing)
                        
                        Sage FrekeS 1 Reply Last reply Reply Quote 0
                        • Sage FrekeS
                          Sage Freke @Sage Freke
                          last edited by Sage Freke

                          P.S. I screw-up the code formatting but I cannot change it because Akismet detects it as "spam".

                          1 Reply Last reply Reply Quote 0
                          • CodeDrawerC
                            CodeDrawer
                            last edited by

                            I can write the code needed for you. So all you need to do is copy/paste @Sage-Freke It also could be worth it.

                            N64 emulation is the next step :)

                            Sage FrekeS 1 Reply Last reply Reply Quote 0
                            • Sage FrekeS
                              Sage Freke @CodeDrawer
                              last edited by

                              @CodeDrawer I just wanted to format the log that I posted as a code block. If you can do it, go ahead. Thanks.

                              AlexMurphyA 1 Reply Last reply Reply Quote 0
                              • AlexMurphyA
                                AlexMurphy Banned @Sage Freke
                                last edited by AlexMurphy

                                @Sage-Freke Your log is totally useless. I know you may not be a Linux wizz but even you could see there is nothing of interest in that. Do you have the full log? Try launching a game and then check /dev/shm/runcommand.log

                                Sage FrekeS 1 Reply Last reply Reply Quote 0
                                • Sage FrekeS
                                  Sage Freke @AlexMurphy
                                  last edited by

                                  @AlexMurphy I had noticed that there was nothing interesting, however, the log was requested to me and I'm not so confident to think that I know better.

                                  Here's runcommand.log, it seems that there's nothing here too.

                                  # code block
                                  Parameters: 
                                  Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-snes9x2002/snes9x2002_libretro.so --config /opt/retropie/configs/snes/retroarch.cfg "/home/pi/RetroPie/roms/snes/RoboCop 3 (USA).zip" --appendconfig /dev/shm/retroarch.cfg
                                  Found ROM file header (and ignored it).
                                  "ROBOCOP 3" [checksum ok] LoROM, 8Mbits, Type: ROM only, Mode: 20, TV: NTSC, S-RAM: 0Kb, ROMId: ???? Company: ??
                                  Failed to open /opt/retropie/emulators/retroarch/shader/shaders/scanline.glsl: No such file or directory
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    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.