Linux-Wireless Archive mirror
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Plamen Dimitrov <plamen.dimitrov@pevogam.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: Problems with RTL8852BE PCIe 802.11ax Wireless Network Controller and Linux kernel 6.7.7-100.fc38.x86_64
Date: Tue, 16 Apr 2024 00:31:34 +0000	[thread overview]
Message-ID: <2e67ec1dfc8b420bab05dc025c7c59cf@realtek.com> (raw)
In-Reply-To: <7833fd15-5875-40b8-a20b-a68fa92f814f@pevogam.com>

Plamen Dimitrov <plamen.dimitrov@pevogam.com> wrote:

> 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

These logs said that it can download firmware successfully, but timed out to
ask firmware to do scan. I would try module parameters like you did, but
please do "cold reboot" to take effect the parameters, because hardware
has been gotten into abnormal state. 

> 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

This is second IO driver does to read hardware revision, but inaccessible. 
You should reboot to recover hardware state. 

> [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




  reply	other threads:[~2024-04-16  0:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15  8:04 Problems with RTL8852BE PCIe 802.11ax Wireless Network Controller and Linux kernel 6.7.7-100.fc38.x86_64 Plamen Dimitrov
2024-04-16  0:31 ` Ping-Ke Shih [this message]
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=2e67ec1dfc8b420bab05dc025c7c59cf@realtek.com \
    --to=pkshih@realtek.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=plamen.dimitrov@pevogam.com \
    /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).