• 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

"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.
  • J
    jimbo27
    last edited by jimbo27 10 Feb 2017, 18:00 2 Oct 2017, 16:57

    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?

    M 1 Reply Last reply 2 Oct 2017, 17:02 Reply Quote 0
    • M
      mitu Global Moderator @jimbo27
      last edited by 2 Oct 2017, 17:02

      @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 2 Oct 2017, 17:08

        @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?

        M 1 Reply Last reply 2 Oct 2017, 17:20 Reply Quote 0
        • J
          jimbo27
          last edited by jimbo27 10 Feb 2017, 18:15 2 Oct 2017, 17:12

          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
          • M
            mitu Global Moderator @jimbo27
            last edited by 2 Oct 2017, 17:20

            @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 2 Oct 2017, 17:36

              @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

              M 1 Reply Last reply 2 Oct 2017, 18:03 Reply Quote 0
              • M
                mitu Global Moderator @jimbo27
                last edited by 2 Oct 2017, 18:03

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

                J 1 Reply Last reply 3 Oct 2017, 08:19 Reply Quote 0
                • J
                  jimbo27 @mitu
                  last edited by 3 Oct 2017, 08:19

                  @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 3 Oct 2017, 10:17

                    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 19 Oct 2017, 13:59

                      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.

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