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

    Cannonball crashing with "illegal instruction" in runcommand.log

    Scheduled Pinned Locked Moved Help and Support
    cannonballillegal instruc
    10 Posts 4 Posters 829 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.
    • M
      mrfalken
      last edited by

      Hi all!
      trying my best to have cannonball working, with no luck.

      Long story short: I messed a lot trying to find correct rom, but after a while I realized, using windows cannonball port, that the rom itself was correct (Rev.B, outrun.zip from latest mame romset).

      Looking at runcommand.log what I can see is :

      Parameters:
      Executing: pushd /opt/retropie/ports/cannonball; /opt/retropie/ports/cannonball/cannonball; popd
      /opt/retropie/ports/cannonball ~
      /opt/retropie/supplementary/runcommand/runcommand.sh: line 1255: 15014 Illegal instruction /opt/retropie/ports/cannonball/cannonball

      So seems some sort of "illegal instruction" (??).
      SD is ok and fsck gone without errors.
      Pi3 with latest retropie (4.6)

      Any clues ? :)
      Thks!

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

        Did you unpack the ROM (outrun.zip) in \\retropie\roms\ports\cannonball ?

        1 Reply Last reply Reply Quote 0
        • M
          mrfalken
          last edited by

          Yep, everything's in place.

          I had more confirmation that the rom content itself is correct because if I try to pick an older / wrong rom (and unpack it in the correct folder) I get a crc warning at cannonball startup in runcommand.log.

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

            Strange, that should work. Can you try updating the package (cannonball) from source and re-try ?

            M 1 Reply Last reply Reply Quote 0
            • M
              mrfalken @mitu
              last edited by

              @mitu said in Cannonball crashing with "illegal instruction" in runcommand.log:

              Strange, that should work. Can you try updating the package (cannonball) from source and re-try ?

              IIRC I installed from binary, will try building from source :)

              1 Reply Last reply Reply Quote 0
              • M
                mrfalken
                last edited by

                No luck at all.
                Even compiling from source didn't work: Illegal instruction" and back to ES. :(

                That's really bad, lr-mame 2003 runs outrun with hugly fps and dedicated "emulator" isn't working: any idea to save an outrun fan to get it working an a brand new bartop ? ;)

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

                  advmame runs Outrun pretty well. I don't know why canonball doesn't like your ROMs (which I assume is the cause of the segfault), I tried running it and it works fine (on a Pi4, though, but the software is identical).

                  1 Reply Last reply Reply Quote 0
                  • pjftP
                    pjft
                    last edited by

                    I also never had any issues with cannonball on my pi 3 nor 4, so I'm puzzled. Advmame is indeed a good option, but if you want to dig into this and have a spare SD card I'd suggest setting up a new instance from the latest image and then install cannonball.

                    You mention you're on the latest 4.6 RetroPie but can you detail where it started from? Did you install from the latest 4.6 image? Did you upgrade from an old one?

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Matt_B50 @pjft
                      last edited by

                      hitting the same problem, on raspberry pi 2

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Matt_B50 @Matt_B50
                        last edited by

                        So I've copied the 5 zip files from mame2010

                        outrunb.zip  outrundx.zip  outruno.zip  outrunra.zip  outrun.zip
                        

                        with just outrun.zip extracted I get the message:

                        cannot open rom: epr-10381a.132
                        

                        managed to get all the files from all those zips and then get "illegal instruction"

                        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.