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

During installation, "make" command not successful, prompts "Skipping BTF generation for /rtw89/rtw_8852be.ko due to unavailability of vmlinux" #338

Open
nikwou opened this issue May 25, 2024 · 4 comments

Comments

@nikwou
Copy link

nikwou commented May 25, 2024

Currently running Debian 12 / bookworm / Linux 6.1.0-21-amd64 x86_64 . I believe starting with Linux 6.1.0-20 - several weeks ago -, the above notices appeared when trying to install the driver. The subsequent "sudo make install" command reports "success". However, the interface is down and not working. Previously, everything worked fine; I am not aware of any other changes I might have done. Any ideas what could be wrong are very welcome.

@lwfinger
Copy link
Owner

lwfinger commented May 25, 2024

Does make report an error? If not, does the make operation produce *.ko files? If it does, the only problem is exactly what it says - vmlinux is not available. You need to look at the output of 'sudo dmesg | grep rtw' to see what it says. Otherwise, upgrade to sid with kernel 6.8.9 and use the in-kernel driver.

@nikwou
Copy link
Author

nikwou commented May 26, 2024

Thank you very much for the quick turnaround. I have posted the outputs of the respective steps (make, make install, dmesg). Looking at the directory after make and make install steps, I can see *.ko files, but only for the files not mentioned in make_output_1.log.txt ("Skipping BTF generation ...").

/usr/lib/firmware/rtw89 contains *.bin files, but they bear older date stamps (May 1st, 2023).

I have in deed tried to use higher kernel versions, but that brings other problems which I am unable to solve.

If the unavailability of vmlinux is the issue, would you be aware if a relevant storage location or something else could have been changed after kernel 6.1.0-15 or so?

dmesg_output.log
make_install_output.log
make_output_1.log.txt
make_output_2.log

@lwfinger
Copy link
Owner

Your firmware is old, but it should work.
[ 19.525472] rtw89_8852be 0000:2b:00.0: Firmware version 0.27.32.1 (ef7920a3), cmd version 0, type 1.

make_output_2.log shows the .ko files being made.

make -C /lib/modules/6.1.0-21-amd64/build
...
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/pci_be.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw89pci.o
MODPOST /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/Module.symvers
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw89core.mod.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw89core.ko
BTF [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw89core.ko
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw89pci.mod.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw89pci.ko
BTF [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw89pci.ko
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8851b.mod.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8851b.ko
BTF [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8851b.ko
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8851be.mod.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8851be.ko
BTF [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8851be.ko
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852a.mod.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852a.ko
BTF [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852a.ko
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852ae.mod.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852ae.ko
BTF [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852ae.ko
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852b.mod.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852b.ko
BTF [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852b.ko
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852be.mod.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852be.ko
BTF [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852be.ko
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852c.mod.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852c.ko
BTF [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852c.ko
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852ce.mod.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852ce.ko
BTF [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8852ce.ko
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8922a.mod.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8922a.ko
BTF [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8922a.ko
CC [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8922ae.mod.o
LD [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8922ae.ko
BTF [M] /home/nwwa/Dokumente/Misc/Computer/PC/23_Lenovo/Patch_WIFI/rtw89/rtw_8922ae.ko

I do not see anything wrong.

@AndreyRz
Copy link

AndreyRz commented Jul 11, 2024

Is there any solution for systems with a core lower than 6.8.9? When making, Skipping BTF generation for is issued... for all files .ko and .oh, and the wi-fi module is not visible in the system, the bluetooth module is only running, I have no way to upgrade the kernel version. I try dkms version, but it doesn't work either. The system is proxmox 8.2.4 with 6.8.8-1 kernel

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

3 participants