Wine broke Mk Arcade Joystick Rpi Package for Retropie Rpi3b+
-
I tried to install Wine x86 on an Rpi 3b+ on the lxde desktop on retropie, which isn't even recommended probably. I selected the choice of somthing (I cant remember) for something like 3/1 and it only takes 2 minutes of installation, and it said to reboot to install Wine Again, but after rebooting by restarting retropie, MK arcade Joystick, which I use for the Gamepad (because I have this: https://www.waveshare.com/game-hat.htm installed) broke, because of an evident "Failed to start Load Kernel Modules", Which I can trace back to this post here: https://retropie.org.uk/forum/topic/23559/failed-to-start-load-kernel-modules, which doesn't state the way to fix it. Thanks for the replies.
-
-
@Fenderus said in Wine broke Mk Arcade Joystick Rpi Package for Retropie Rpi3b+:
Which I can trace back to this post here: https://retropie.org.uk/forum/topic/23559/failed-to-start-load-kernel-modules, which doesn't state the way to fix it. Thanks for the replies.
The topic in question was fixed by removing the module from
/etc/modules
, but I don't think that's an option in your case, since you need the module. My guess is that whatever installation guide you found included installing a 3rd party kernel package, which doesn't include the module your need, so unless that particular kernel package has also the corresponding-headers
package to be installed, then you'll not be able to re-compile themk_arcade_rpi
module to work with it. -
@mitu So my only choice is to find and delete the header module responsible for breaking the mk arcade joystick? and if it is, does it include the default " raspberrypi-kernel-headers"?
-
@Fenderus said in Wine broke Mk Arcade Joystick Rpi Package for Retropie Rpi3b+:
@mitu So my only choice is to find and delete the header module responsible for breaking the mk arcade joystick?
There's no such thing as a 'header module'.
and if it is, does it include the default " raspberrypi-kernel-headers"?
That doesn't make sense or I don't understand what you mean.
-
@mitu sorry, i meant package, or probably a kernel package. So that means I'll have to format the sd card for a new Retropie again?
-
@Fenderus said in Wine broke Mk Arcade Joystick Rpi Package for Retropie Rpi3b+:
So that means I'll have to format the sd card for a new Retropie again?
If you don't have a backup (highly recommended for radical modifications like these), I think you can still get back to the regular kernel by reinstalling the default RaspiOS kernel packages:
sudo apt-get install --reinstall libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0 raspberrypi-bootloader raspberrypi-kernel raspberrypi-kernel-headers
EDIT: .. and then rebooting.
-
@mitu Done, but when I try to play a game of any console, It goes back to the main menu of retropie
Also, I still have that log, from the log, there is an error which can be the culprit of this problem:
run-parts: executing /etc/kernel/postinst.d/dkms 5.10.103-v7l+ /boot/kernel7l.img /etc/kernel/postinst.d/dkms: Job for systemd-modules-load.service failed because the control process exited with error code. See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details. Job for systemd-modules-load.service failed because the control process exited with error code. See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.10.103-v7l+ /boot/kernel7l.img run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.10.103-v8+ /boot/kernel8.img run-parts: executing /etc/kernel/postinst.d/dkms 5.10.103-v8+ /boot/kernel8.img /etc/kernel/postinst.d/dkms: Error! echo Your kernel headers for kernel 5.10.103-v8+ cannot be found at /lib/modules/5.10.103-v8+/build or /lib/modules/5.10.103-v8+/source. Error! echo Your kernel headers for kernel 5.10.103-v8+ cannot be found at /lib/modules/5.10.103-v8+/build or /lib/modules/5.10.103-v8+/source. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.10.103-v8+ /boot/kernel8.img
-
@Fenderus check whether any error is logged in
/dev/shm/runcommand.log
. Are you launching EmulationStation from the desktop (not supported on RasPi OS) or it's auto-start from the terminal (default in RetroPie on a Pi) ? -
@mitu nope, its an auto start since I installed (or burn, I forgot the term) Retropie OS onto the sd card.
I tried to use sudo nano on the file:
sudo nano /dev/shm/runcommand.log
but it says a [New File], probably because I already turned the Pi off after the reinstallation and discovery of the games not working. Maybe I can do the reinstallation process again.
-
@Fenderus said in Wine broke Mk Arcade Joystick Rpi Package for Retropie Rpi3b+:
I tried to use sudo nano on the file:
sudo
is un-necessary for viewing a file and you shouldn't usesudo
undiscriminately, for regular operations.but it says a [New File], probably because I already turned the Pi off after the reinstallation ...
yes, that's because
/dev/shm
is a folder in RAM and it's cleared when you reboot. If you want to see the contents of the file, you should look at it immediately after you start a game. -
@mitu oh never mind. I updated all of the core packages and returned to normal. I'll be posting something here if anything breaks again.
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.