RinCat / RTL88x2BU-Linux-Driver

Realtek RTL88x2BU WiFi USB Driver for Linux
GNU General Public License v2.0
1.26k stars 198 forks source link

modprobe error #123

Closed pypaut closed 2 years ago

pypaut commented 2 years ago

The build and installation process is silky smooth, but running modprobe 88x2bu or modprobe --force 88x2bu gives me error modprobe: ERROR: could not insert '88x2bu': Exec format error.

Tried both methods from the readme file and reboot. I use a TP LINK Archer adapter which is recognized under Windows 10.

Thanks for your work, and thanks by advance if you read this.

RinCat commented 2 years ago

Hi, can you check if your running kernel version is the same as kernel header version? Also run dmesg may give you some information.

pypaut commented 2 years ago

Hello, I have since yesterday made a full reinstall of my OS, and cannot check the said error. I have another bug however trying to compile it, maybe I should open another issue instead of keeping this one?

RinCat commented 2 years ago

You can keep use this one.

pypaut commented 2 years ago

Thank you!

Here is what I get after running make -j4:

Skipping BTF generation for /home/pypaut/Downloads/RTL88x2BU-Linux-Driver/88x2bu.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-5.15.8-76051508-generic'

I read here that it might be caused by the vmlinux file not being where it used to?

RinCat commented 2 years ago

You can ignore "Skipping BTF generation" since that is for debug.

pypaut commented 2 years ago

Okay my bad.

All errors are gone now and my adapter works <3

Thanks again for your work and your reactivity!