-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retropie 4.4 Error! Bad return status for module build on kernel: 4.14.30-v7+ (armv7l) #62
Comments
Hi I also have this Problem and spend hours to fix it. Badly I couldn't find a solution. KMS: build completed. |
The problem is related to this change in kernel form 4.14 version: https://lwn.net/Articles/735887/ |
@gallochri thanks for the tip. Got it working with this:
|
Great! could you make a pull request? |
@gallochri I haven't done any driver code before, but I assume I'd have to wrap the differences in a macro like the one that was mentioned here right?: https://stackoverflow.com/questions/53839625/adaptation-from-old-init-timer-to-new-timer-setup If I wrap that then do a PR, you think that will keep it working for all kernels without any breaking changes? |
I've never written kernel modules to, but I think it's the right way. If you will do the PR someone will evaluate better... |
This worked a treat! |
Hi Could you share how to execute this ? I copied and pasted and just got a whole bunch of errors. Guessing I'm doing to wrong :-) |
Open up the mk_arcade_joystick_rpi file and do the following: REPLACE: REPLACE: |
Thanks for this. I eventually figured that i needed to replace the mentioned lines. Works perfectly with retro pi. |
I follow the step
https://github.com/recalbox/mk_arcade_joystick_rpi
-->Manual Installation-->3.b - Or compile and install with dkms:
I get the error
pi@retropie:
/mk_arcade_joystick_rpi-master $ sudo cp -a * /usr/src/mk_arcade_joystick_rpi-0.1.5//mk_arcade_joystick_rpi-master $ export MKVERSION=0.1.5pi@retropie:
pi@retropie:~/mk_arcade_joystick_rpi-master $ sudo -E dkms build -m mk_arcade_joystick_rpi -v 0.1.5
Creating symlink /var/lib/dkms/mk_arcade_joystick_rpi/0.1.5/source ->
/usr/src/mk_arcade_joystick_rpi-0.1.5
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make -j4 KERNELRELEASE=4.14.30-v7+ all KVERSION=4.14.30-v7+....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.14.30-v7+ (armv7l)
Consult /var/lib/dkms/mk_arcade_joystick_rpi/0.1.5/build/make.log for more information.
It can work fine at old Retropie 4.3 version but when I try it at Retropie 4.3 get the error
Error! Bad return status for module build on kernel: 4.14.30-v7+ (armv7l)
The text was updated successfully, but these errors were encountered: