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

    SD Card full - log files

    Scheduled Pinned Locked Moved Help and Support
    helplog filessd card
    19 Posts 6 Posters 4.1k 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.
    • A
      Amigadude
      last edited by Amigadude

      Just removed the top of the case and plugged the Xbox 360 wireless dongle into 1 of the RPi3 USB sockets and the messages file isn't getting any bigger... seems like it's a combination of the NESPi hub and the dongle :(

      mituM C 2 Replies Last reply Reply Quote 1
      • mituM
        mitu Global Moderator @Amigadude
        last edited by

        @amigadude said in SD Card full - log files:

        seems like it's a combination of the NESPi hub and the dongle :(

        Thanks for testing this out.

        1 Reply Last reply Reply Quote 0
        • A
          Amigadude
          last edited by Amigadude

          Solved it the old fashioned way and cut a hole in the left side of the case just big enough to allow access to one of the RPi3's USB sockets :)

          I will test the hub with a few other controllers when I can.

          A 1 Reply Last reply Reply Quote 0
          • A
            Amigadude @Amigadude
            last edited by Amigadude

            @amigadude said in SD Card full - log files:

            I will test the hub with a few other controllers when I can.

            Checked using my MS wireless keyboard and with it plugged into the same port as the dongle was the logs and messages files do grow slowly... same messages but only a few kb per minute.

            If I plug the same keyboard dongle into the USB ports hidden under the flap the files don't grow at all... so the problem only seems to affect the 2 USB ports on the front right of the case.

            C 1 Reply Last reply Reply Quote 0
            • C
              chris3lx @Amigadude
              last edited by

              @amigadude this is exactly what i have been seeing.

              1 Reply Last reply Reply Quote 0
              • C
                chris3lx @Amigadude
                last edited by

                @amigadude said in SD Card full - log files:

                @amigadude said in SD Card full - log files:

                I will test the hub with a few other controllers when I can.

                Checked using my MS wireless keyboard and with it plugged into the same port as the dongle was the logs and messages files do grow slowly... same messages but only a few kb per minute.

                If I plug the same keyboard dongle into the USB ports hidden under the flap the files don't grow at all... so the problem only seems to affect the 2 USB ports on the front right of the case.

                interesting that it doesn't occur when plugging into the usb ports under the flap. I need to try this out

                1 Reply Last reply Reply Quote 0
                • G
                  GingerKanye
                  last edited by

                  It's been six months since you were all discussing this, but I've just run into this issue myself. Same deal: rp3b+, most recent retropie image, nespi case, third party xbox 360 usb hub coming out of the front right ports. My logs called "messages", "kern.log" and "syslog" all constantly grow at the same rate with the exact same error message.

                  I read all of your discussion and then tried switching the usb hub to one of the ports under the flap. At first, it simply wasn't recognizing the controller, so I tried reconfiguring it. This didn't work: the controller's buttons would only register sporadically, and sometimes the whole screen would lock up. Logging into the pi from my computer I was able to run sudo reboot now, but then emulationstation wouldn't load and instead I'd get a totally unresponsive command line that says "segmentation fault" at the top. Unplugging the hub, re-plugging in one of the front right ports, and rebooting, I was returned to emulationstation with a functioning controller. However, I'm right back to having three log files that grow infinitely.

                  Did anyone find a solution to this?

                  FYI, I'm running a pretty stock rp3b+. I'm not running any overclocking, the only change is I have bluetooth disabled with dtoverlay=pi3-disable-bt in config.txt, and my roms load off a usb thumb drive that's directly plugged into the pi itself (no hub).

                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by

                    @GingerKanye said in SD Card full - log files:

                    Did anyone find a solution to this?

                    Returning the NesPI case and getting a proper case would be a solution. There's nothing here that RetroPie (or Linux) can do if the hardware is faulty.

                    For workarounds - you can see how people have been coping with this problem in this topic. If you have the proper experience and tools, you can attempt to fix the hardware (see here for an example).

                    1 Reply Last reply Reply Quote 0
                    • F
                      forktong
                      last edited by forktong

                      I'm having the same issue on a Pi 3B+ built into a Picade. No NESPi, no USB hub. The only hardware is a Picade (Picade X Hat installed on the pi) and occasionally I connect a USB keyboard. I used the Retropie 4.4 image.

                      In /var/log, the files syslog, messages, kern.log were all 1.5G

                      Upon inspection, most common message was also the dwc_otg_handle_mode_mismatch_intr line. After I used sudo truncate --size 0 [FILENAME] to clear them, they immediately started growing again with that message.

                      I'm now upgrading everything, hoping that the logging spam has been fixed in the meanwhile, cause the 4.4 image is from April 2018. Otherwise I'll have to try and find a way to suppress it or to automatically clean the logs, but I don't really know where/how.

                      Update: the update helped, the log files are no longer flooded and I actually gained a whopping 4.5GB by cleaning them. Working with 16GB sdcards will make you care about filesizes again. And I had an epiphany: the USB keyboard I use also has 2 USB ports (to connect a mouse to it for instance) so it is also some sort of USB hub!

                      Update 2: lost all keybindings and videos are starting to turn blue (vlc). Probably going to go back to an image backup... Hmgrmpf.

                      Update 3: tl;dr version: I ended up reverting to a backup image, cleared the logs, ran sudo rpi-update to get new firmware and the logs are no longer growing when I connect my keyboard-with-hub.

                      1 Reply Last reply Reply Quote 0
                      • R
                        Retroraspin
                        last edited by

                        I also have the same condition with the Pi 3B+ and NESPi+ case running most recent RetroPie 4.4 release. It seems to happen with all wireless dongles connected in to the NESPi case ports (wireless Keyboard, and Xbox 360 adapter for sure). I found a couple different threads in the forum about it and I believe they found the reason, https://github.com/raspberrypi/linux/issues/2408, and I believe they were working on a fix, but I have not seen the true fix anywhere.
                        (If anyone has it and a step-by-step, I'd be grateful)

                        **I did find a temporary workaround though, without having to revert to previous Pi versions-
                        Use another USB hub (like a laptop 4-port) to connect to the NESPi case, and then connect your devices in to that. It appears to cancel out whatever mismatch there is between the pi and NESPi USB hub.

                        It's a bit unsightful but it prevents a lot of re-imaging and reversion to a previous release. Hopefully a solution will be embedded in to the next release as the NESPi case is great!

                        *I have been successful using either an Insignia 4 port USB2.0 Hub (N5-PCH5420) and also with a Sabrent 4 port USB3.0 Hub (HB-MNBW). Not sure if a powered USB hub will do the same but worth a try before frustrating yourself to no avail looking for a solution.

                        My devices connected were a Microsoft Xbox 360 Wireless adapter, and Logitech K400r wireless USB keyboard.

                        Good luck out there..

                        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.