Skip to content
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

Error! Bad return status for module build on kernel: 5.18.19-200.fc36.x86_64 (x86_64) #16

Closed
aimzieslol opened this issue Aug 26, 2022 · 2 comments

Comments

@aimzieslol
Copy link

Thanks for putting this on GitHub; most helpful!

OS: Fedora Workstation 36
Laptop: Redmibook Pro 15 2022
uname -a: Linux fedora 5.18.19-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Aug 21 15:52:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

When attempting to compile and install the Wifi drivers (using your script), this is the output:

...
Dependencies resolved.
Nothing to do.
Complete!
Sign command: /lib/modules/5.18.19-200.fc36.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Certificate or key are missing, generating self signed certificate for MOK...

Building module:
Cleaning build area...(bad exit status: 2)
make -j12 KERNELRELEASE=5.18.19-200.fc36.x86_64 ENTRY=yes all.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.18.19-200.fc36.x86_64 (x86_64)
Consult /var/lib/dkms/8852be/1.0.1/build/make.log for more information.

Where the errors start in the /var/lib/dkms/8852be/1.0.1/build/make.log file are with the /var/lib/dkms/8852be/1.0.1/build/platform/platform_linux_pc_pci.c compile (attached because it's big).

Any ideas?
make.log

@aimzieslol
Copy link
Author

Fixed it. What I had to do was checkout the original source of the driver and pull the dev branch:

git clone https://github.com/HRex39/rtl8852be.git -b dev

After that it compiled and installed just fine.

@vrolife
Copy link
Owner

vrolife commented Aug 26, 2022

/var/lib/dkms/8852be/1.0.1/build/make.log You built an old version rtl8852be 1.0.1. Please try latest version 1.0.2 a6d1516 8e3a013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants