MiniArcade - PiEditionUpdated RetroPie and Raspberry and broke everything! But I fixed it! Left Kernel 4.14, back to 4.9.

Updated RetroPie and Raspberry and broke everything! But I fixed it! Left Kernel 4.14, back to 4.9.

So I decided that it was time to update my Raspberry Pi that is inside of my Arcade machine! Great idea to keep up with patches and what not, right? Eh, not so much. It completed broke my joystick controls that are on the GPIO. I expected this, but my normal fix didn’t actually … fix it.

I downloaded the  mk_arcade_joystick_rpi   again to reinstall, but it didn’t wanna budge.

After multiple hours of trying to fix it

  • changing the dpkg file
  • changing the make file in the dpkg
  • trying manually run everything in the dpkg

It just didn’t like the kernel I was running. So I figured out after some digging on how to downgrade my kernel. I followed this guy

How to upgrade or downgrade raspberrypi’s kernel? (Servoblaster problem Raspberry Pi2)
rpi-update cc06d1a475531195a3e268e36be0e5eabff5265a # which goes to ‘kernel: Bump to 4.9.68’
I knew this version would work as it is the kernel I used before upgrading

But it doesn’t end there, I still wasn’t able to install it as uname -a was still showing 4.14 kernel. So I followed
https://www.raspberrypi.org/forums/viewtopic.php?t=70914
and riskily deleted all 4.14 kernels and rebooted.

I thought my Pi image was dead as there was a hang, but it finally got in! I did uname -a and it showed 4.9.68 and I was able to install mk_arcade_joystick_rpi!

root@retropie:/home/pi/mkjoystick# dpkg -i mk-arcade-joystick-rpi-0.1.4.deb
(Reading database … 130678 files and directories currently installed.)
Preparing to unpack mk-arcade-joystick-rpi-0.1.4.deb …

——————————
Deleting module version: 0.1.4
completely from the DKMS tree.
——————————
Done.
Unpacking mk-arcade-joystick-rpi-dkms (0.1.4) over (0.1.4) …
Setting up mk-arcade-joystick-rpi-dkms (0.1.4) …
Loading new mk_arcade_joystick_rpi-0.1.4 DKMS files…
First Installation: checking all kernels…
dpkg: warning: version ‘*-*’ has bad syntax: version number does not start with digit
It is likely that 4.9.68-v7+ belongs to a chroot’s host
Building for architecture armv7l
Building initial module for 4.9.68-v7+
Done.

mk_arcade_joystick_rpi:
Running module version sanity check.
– Original module
– No original module exists within this kernel
– Installation
– Installing to /lib/modules/4.9.68-v7+/updates/dkms/

depmod…..

DKMS: install completed.
root@retropie:/home/pi/mkjoystick# exit
exit
pi@retropie:~/mkjoystick $ sudo modprobe mk_arcade_joystick_rpi map=1

Moral of the story is to never update anything. Just kidding, better moral is not to update anything live. Test test test.

Categories: MiniArcade - PiEdition

Comments

No Comments Yet. Be the first?

Post a comment

Your email address will not be published. Required fields are marked *