cilynx / rtl88x2bu

rtl88x2bu driver updated for current kernels.
http://www.wolfteck.com/2018/02/22/wsky_1200mbps_wireless_usb_wifi_adapter/
GNU General Public License v2.0
1.64k stars 318 forks source link

modprobe: ERROR: could not insert '88x2bu': Exec format error #49

Open StefanRehder opened 4 years ago

StefanRehder commented 4 years ago

On Raspberry Pi 4, I can build and install the module rtl88x2bu/5.6.1 with dkms using the steps described in the README.

But when I perform sudo modprobe 88x2bu to load the module I get this error message: modprobe: ERROR: could not insert '88x2bu': Exec format error

When I look in dmesg i see this: 88x2bu: disagrees about version of symbol module_layout

When I do uname -a I see this: Linux stellarmate 4.19.115-v7l+ #1305 SMP Fri Apr 17 11:59:28 BST 2020 armv7l GNU/Linux

Is it a bug or did I do something wrong?

dguerri commented 4 years ago

make sure you build for the current version of the kernel. I had exactly the same problem as I didn't restart the RPi after a kernel upgrade