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

modprobe error in Pop!_OS 21.04 beta #55

Closed
lbkNhubert opened this issue Jun 2, 2021 · 2 comments
Closed

modprobe error in Pop!_OS 21.04 beta #55

lbkNhubert opened this issue Jun 2, 2021 · 2 comments

Comments

@lbkNhubert
Copy link

lbkNhubert commented Jun 2, 2021

edit to add - this was after upgrading from 20.10 to 21.04 beta

Followed steps in readme.

zzz@zzz:~$ sudo modprobe rtw_8822ce
modprobe: ERROR: could not insert 'rtw_8822ce': Exec format error

zzz@zzz:~/Downloads/rtw88$ uname -a
Linux pop-os 5.11.0-7614-generic #15161862669321.04~ecb25cd-Ubuntu SMP Thu Apr 22 15:59:53 UTC x86_64 x86_64 x86_64 GNU/Linux

zzz@zzz:~/Downloads/rtw88$ sudo dmesg | grep rtw
[ 4.766252] rtw_core: disagrees about version of symbol module_layout
[ 340.548457] rtw_core: disagrees about version of symbol module_layout

Guessing that the current code is not compatible with the kernel version.

@lwfinger
Copy link
Owner

lwfinger commented Jun 2, 2021

The kernel source that you compiled against does not match your running kernel. The code for rtw88 is fine.

@lbkNhubert
Copy link
Author

lbkNhubert commented Jun 2, 2021

Thanks for the reply. I ran make clean, then make, and sudo make install, and the driver is working, The make command had entries of the form: Skipping BTF generation for /mypath/rtw88/rtw_8822ce.ko due to unavailability of vmlinux. I'll see if I can make sure that the kernel source is up to date and retry the above. Thank you again for the help and for the quick response.

@lwfinger lwfinger closed this as completed Jun 7, 2021
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