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

    "Illegal Instruction" on previously working RP

    Scheduled Pinned Locked Moved Help and Support
    boot problemillegal
    13 Posts 4 Posters 5.3k 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.
    • C
      choogar
      last edited by

      Hi all,

      I'll start by saying that I tried my darnedest to search the forums for an existing post with this issue. It appears that people typically see this error when they first configure their RetroPie, usually due to the incorrect image being loaded, but that isn't my issue (I don't think)

      I was able to correctly get everything running and it has been flawlessly working for months. Recently I was watching a movie in Kodi and the image froze, unresponsive. After rebooting, and every reboot since, I was given the "illegal instruction" error including the joystick ASCII and system info.

      I was going to simply re-image my device to get it going again, but I was hoping that I could avoid doing that so I don't have to reconfigure everything.

      Info:
      Raspberry Pi 3
      Retropie 4.2
      PSU: 2.5A Canakit adapter
      Peripherals: USB Wireless Keyboard & USB Xbox360 wireless adapter

      Let me know your thoughts. Thanks!

      H 1 Reply Last reply Reply Quote 0
      • C
        choogar
        last edited by

        Anybody?

        1 Reply Last reply Reply Quote 0
        • H
          HoustoneD @choogar
          last edited by

          @choogar I am having the same issue. I have multiple Rpi2 and Rpi3's. I use a master image for both, and have never had any problems. For some reason this issue has manifested itself in this load. I have not tried to reimage the SD card yet, but will try soon.

          Did you ever find a solution? Anyone?

          1 Reply Last reply Reply Quote 0
          • J
            jimbo27
            last edited by jimbo27

            I have the same issue. I had a working RPi2 with Retropie 4.2 (all manually installed and updated). I decided to update Jessie to the actual build (via apt-get update / apt-get upgrade) und Retropie to the actual version 4.3.1.
            Now I get "illegal instruction" after trying to start Emulationstation.
            I tried to re-update Emulationstation but this didn't helped.
            What went wrong? Is my SD card corrupted? Any dependencies missing?

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

              @jimbo27 Did you also upgrade Jessie to Stretch ? I've seen this 'Illegal instruction' in ES when the wrong GLES libraries are installed and ES thinks it's running under X11 instead of the framebuffer.

              1 Reply Last reply Reply Quote 0
              • J
                jimbo27
                last edited by

                @mitu hm, I just made an update via apt-get update/upgrade and got a new kernel. I thought I'd stay on the Jessie path if I did a normal update. Did I accidentally installed Stretch over Jessie? How can I check this?

                mituM 1 Reply Last reply Reply Quote 0
                • J
                  jimbo27
                  last edited by jimbo27

                  My kernel is Linux 4.9.35-v7+

                  cat /etc/os-release:
                  PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
                  NAME="Raspbian GNU/Linux"
                  VERSION_ID="8"
                  VERSION="8 (jessie)"
                  ID=raspbian
                  ID_LIKE=debian

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

                    @jimbo27 No, you didn't upgrade - as you mentioned below, to upgrade you need to change the distro release in the sources.list and then do a apt-get dist-upgrade. Just wanted to check that you didn't accidentally upgrade to Stretch, since it's still unsupported.

                    Can you run EmulationStation via SSH (should work) and paste the complete error message ? What does ldd $(which emulationstation) show (paste here the output) ?

                    1 Reply Last reply Reply Quote 0
                    • J
                      jimbo27
                      last edited by

                      @mitu said in "Illegal Instruction" on previously working RP:

                      ldd $(which emulationstation)

                      Starting Emulationstation via SSH results in:
                      Illegal Instruction

                      Using ldd $(which emulationstation) results in:
                      not a dynamic executable

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

                        @jimbo27 Then it's not the same error as I've seen before. I'm at a loss.

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jimbo27 @mitu
                          last edited by

                          @mitu Thanks anyway. I will restore my backup and install all updates step by step. Let's see at which point Emulationstation will break.

                          1 Reply Last reply Reply Quote 0
                          • J
                            jimbo27
                            last edited by

                            I made a fsck on the partition which contains Retropie. There were several errors. :(
                            So it seems my SD card is corrupted.

                            1 Reply Last reply Reply Quote 0
                            • J
                              jimbo27
                              last edited by jimbo27

                              I can confirm it was the SD card. I bought a new one and made all updates. After that everything runs as intended. :)

                              PS: I buyed a more expensive SanDisk Extreme. Much faster than the SanDisk Ultra I had before!

                              1 Reply Last reply Reply Quote 1
                              • 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.