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

rtw 89 kernal 6.11.2 issue RTL8852BE #370

Closed
sahl36 opened this issue Nov 24, 2024 · 12 comments
Closed

rtw 89 kernal 6.11.2 issue RTL8852BE #370

sahl36 opened this issue Nov 24, 2024 · 12 comments

Comments

@sahl36
Copy link

sahl36 commented Nov 24, 2024

make -C /lib/modules/6.11.5-amd64/build M=/home/kkiragu/Documents/git/rtw89 modules
make[1]: Entering directory '/usr/src/linux-headers-6.11.5-amd64'
CC [M] /home/kkiragu/Documents/git/rtw89/core.o
CC [M] /home/kkiragu/Documents/git/rtw89/mac80211.o
/home/kkiragu/Documents/git/rtw89/mac80211.c:1177:35: error: initialization of ‘void (*)(struct ieee80211_hw , bool)’ {aka ‘void ()(struct ieee80211_hw , _Bool)’} from incompatible pointer type ‘void ()(struct ieee80211_hw *)’ [-Wincompatible-pointer-types]
1177 | .stop = rtw89_ops_stop,
| ^~~~~~~~~~~~~~
/home/kkiragu/Documents/git/rtw89/mac80211.c:1177:35: note: (near initialization for ‘rtw89_ops.stop’)
make[3]: *** [/usr/src/linux-headers-6.11.5-common/scripts/Makefile.build:249: /home/kkiragu/Documents/git/rtw89/mac80211.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.11.5-common/Makefile:1951: /home/kkiragu/Documents/git/rtw89] Error 2
make[1]: *** [/usr/src/linux-headers-6.11.5-common/Makefile:236: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.11.5-amd64'
make: *** [Makefile:104: all] Error 2``

@a5a5aa555oo
Copy link

Larry passed away a few months ago, so this repo is no longer maintained.
Doesn't the rtw89 driver in kernel 6.11 work for you?

@sahl36 sahl36 closed this as completed Dec 3, 2024
@iiivwviii
Copy link

iiivwviii commented Dec 25, 2024

This error appeared on Kali Linux kernel 6.11.2. Is there a solution?
It works flawlessly on kernel versions 6.8.11 and 6.10.11, but something broke after the release of 6.11.2.

@a5a5aa555oo
Copy link

a5a5aa555oo commented Dec 25, 2024

Hi @iiivwviii,

There are two solution available for you.

  1. Use the built-in rtw89 in your kernel which is even newer than the one here.
  2. Use my rtw89 driver which is backported from kernel 6.13.

@iiivwviii
Copy link

unfortunately, these methods do not help (
Yes, all drivers are installed correctly, there are no errors during the installation process, but after restarting the PC, the Internet still works unstable, it may appear for a while, and then disappears again. There is a wi-fi connection, and when you try to execute a ping command to any site, there are long delays (1000ms) and severe packet loss, although there is a connection. Something is not working as it should.
Any idea why this might be?

@a5a5aa555oo
Copy link

@iiivwviii
Is your chip a RTL8852BE, too? Is there any error message in your dmesg? Could you post the full dmesg?
btw, the rtw89 driver here will work on kernel 6.11 if this patch is applied.

@iiivwviii
Copy link

iiivwviii commented Dec 26, 2024

@a5a5aa555oo
dmesg.txt
Yes, my chip is RTL8852BE.
Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
Everything seems to be fine in dmesg. There are no errors related to rtw89.
patch for mac80211.c did not help me.

@a5a5aa555oo
Copy link

@a5a5aa555oo dmesg.txt Yes, my chip is RTL8852BE. Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller Everything seems to be fine in dmesg. There are no errors related to rtw89. patch for mac80211.c did not help me.

I tested my rtw89 driver on Kali LiveCD 2024.4 and no problem found, so...no idea what is wrong.

Screenshot_2024-12-27_04-10-14

@iiivwviii
Copy link

iiivwviii commented Dec 27, 2024

@a5a5aa555oo Thank you for your help!
I tried to reinstall the system completely, but the problem remains(.
Both the built-in kernel and your driver refuse to work((.
I guess I'll just have to change the adapter.

@a5a5aa555oo
Copy link

@iiivwviii
I am curious about what is the signal strength shown in wavemon?
Did you ever try the older Kali LiveCD which has kernel 6.8 or 6.10? does your 8852BE work fine in these older release?

@iiivwviii
Copy link

iiivwviii commented Dec 27, 2024

@a5a5aa555oo
I'm currently using version 6.8.11. Everything is working flawlessly.
изображение
изображение
wavemon in the kernel 6.8.11:
изображение

@a5a5aa555oo
Copy link

a5a5aa555oo commented Dec 27, 2024

It looks like your 8852BE card is not broken, maybe you can email [email protected] to ask Realtek engineers for help as mentioned in README.md, that is the right place for you. Good luck!

@iiivwviii
Copy link

@a5a5aa555oo Thanks for the help! I'll try to turn to [email protected].

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