From: Plamen Dimitrov <plamen.dimitrov@pevogam.com>
To: linux-wireless@vger.kernel.org
Subject: Problems with RTL8852BE PCIe 802.11ax Wireless Network Controller and Linux kernel 6.7.7-100.fc38.x86_64
Date: Mon, 15 Apr 2024 16:04:12 +0800 [thread overview]
Message-ID: <7833fd15-5875-40b8-a20b-a68fa92f814f@pevogam.com> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 2522 bytes --]
Hi all,
I had some problems with RTL8852BE and tried a commonly suggested fix
$ sudo cat /etc/modprobe.d/20-wifi.conf
options rtw89_pci disable_aspm_l1ss=y disable_aspm_l1=y disable_clkreq=y
options rtw89_core disable_ps_mode=y
as
$ lsmod | grep rtw
rtw89_8852be 12288 0
rtw89_8852b 364544 1 rtw89_8852be
rtw89_pci 81920 1 rtw89_8852be
rtw89_core 577536 2 rtw89_8852b,rtw89_pci
mac80211 1568768 2 rtw89_core,rtw89_pci
cfg80211 1335296 3 rtw89_8852b,rtw89_core,mac80211
but this doesn't fix my issue which looks like
[ 1794.542266] rtw89_8852be 0000:02:00.0: FW does not process h2c registers
[ 1794.542269] rtw89_8852be 0000:02:00.0: HW scan failed with status: -110
[ 1794.935328] rtw89_8852be 0000:02:00.0: xtal si not ready(W): offset=90 val=10 mask=10
[ 1795.006323] rtw89_8852be 0000:02:00.0: xtal si not ready(W): offset=90 val=10 mask=10
[ 1795.006330] rtw89_8852be 0000:02:00.0: mac init fail, ret:-110
I verified that the changes take effect via
$ sudo modprobe -r rtw89_8852be
$ sudo modprobe -r rtw89_core
$ sudo modprobe -v rtw89_8852be
which produces
insmod /lib/modules/6.7.4-100.fc38.x86_64/kernel/net/mac80211/mac80211.ko.xz
insmod /lib/modules/6.7.4-100.fc38.x86_64/kernel/drivers/net/wireless/realtek/rtw89/rtw89_core.ko.xz disable_ps_mode=y
insmod /lib/modules/6.7.4-100.fc38.x86_64/kernel/drivers/net/wireless/realtek/rtw89/rtw89_pci.ko.xz disable_aspm_l1ss=y disable_aspm_l1=y disable_clkreq=y
insmod /lib/modules/6.7.4-100.fc38.x86_64/kernel/drivers/net/wireless/realtek/rtw89/rtw89_8852b.ko.xz
insmod /lib/modules/6.7.4-100.fc38.x86_64/kernel/drivers/net/wireless/realtek/rtw89/rtw89_8852be.ko.xz
However, the `xtal is not ready` still appears after reloading and the device is likely in a bad state once the error is already encountered:
[12876.478139] rtw89_8852be 0000:02:00.0: loaded firmware rtw89/rtw8852b_fw-1.bin
[12876.478249] rtw89_8852be 0000:02:00.0: Unable to change power state from D3cold to D0, device inaccessible
[12876.529327] rtw89_8852be 0000:02:00.0: xtal si not ready(R): offset=41
[12876.529336] rtw89_8852be 0000:02:00.0: no suitable firmware found
[12876.529339] rtw89_8852be 0000:02:00.0: failed to recognize firmware
[12876.529342] rtw89_8852be 0000:02:00.0: failed to setup chip information
[12876.530074] rtw89_8852be: probe of 0000:02:00.0 failed with error -2
Does anyone know what is going on here?
Regards,
Plamen Dimitrov
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3211 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next reply other threads:[~2024-04-15 8:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-15 8:04 Plamen Dimitrov [this message]
2024-04-16 0:31 ` Problems with RTL8852BE PCIe 802.11ax Wireless Network Controller and Linux kernel 6.7.7-100.fc38.x86_64 Ping-Ke Shih
2024-04-16 2:23 ` Plamen Dimitrov
2024-04-16 2:31 ` Ping-Ke Shih
2024-04-23 2:30 ` Plamen Dimitrov
2024-04-23 2:49 ` Ping-Ke Shih
2024-04-25 3:30 ` Plamen Dimitrov
2024-04-25 5:41 ` Ping-Ke Shih
[not found] ` <c26272e9-069a-44b0-aee5-49530c084365@pevogam.com>
[not found] ` <d69ab1ccd3fd456a82ae954d25d056ba@realtek.com>
2024-05-13 3:34 ` Plamen Dimitrov
2024-05-14 3:26 ` Plamen Dimitrov
2024-05-15 3:47 ` Ping-Ke Shih
2024-05-15 5:40 ` Kalle Valo
2024-05-17 3:01 ` Plamen Dimitrov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7833fd15-5875-40b8-a20b-a68fa92f814f@pevogam.com \
--to=plamen.dimitrov@pevogam.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).