regressions.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: "G. P. B." <george.banyard@gmail.com>, snecknico@gmail.com
Cc: kvalo@kernel.org, linux-wireless@vger.kernel.org,
	regressions@leemhuis.info, regressions@lists.linux.dev,
	tony0620emma@gmail.com
Subject: Re: rtw_8822ce wifi regression after kernel update from 5.15 to 5.16
Date: Mon, 4 Apr 2022 09:49:11 -0500	[thread overview]
Message-ID: <ba45934b-69ab-edfa-1679-2e8e00fac126@lwfinger.net> (raw)
In-Reply-To: <CAFPFaMLHXhHMhuAuvXWHb3c-tX_9qRxsquEUHXY0fMxh_VsKtw@mail.gmail.com>

On 4/3/22 13:11, G. P. B. wrote:
> Dear all,
> 
> Hopefully this email gets added to the thread correctly as I came here from 
> https://lore.kernel.org/linux-wireless/CAO_iuKG0gE=5fEKMF2A+iWUhsxtnPOQtTQTkBRo2vH5CmKu7iA@mail.gmail.com/ 
> <https://lore.kernel.org/linux-wireless/CAO_iuKG0gE=5fEKMF2A+iWUhsxtnPOQtTQTkBRo2vH5CmKu7iA@mail.gmail.com/>
> and using the mailto link with Gmail.
> 
> I'm also hitting this issue but I'm not sure if this is a regression in 5.16. 
> I've been struggling with weird random disconnects for a while but I blamed it 
> on the known bad router that I usually connect to at my university (at least 
> October 2021 when I got this laptop brand new).
> 
> The laptop is a HP Pavilion Laptop 15-eh0014na running Fedora 34:
> Linux fedora 5.16.18-100.fc34.x86_64 #1 SMP PREEMPT Mon Mar 28 14:46:06 UTC 2022 
> x86_64 x86_64 x86_64 GNU/Linux
> 
> Network driver:
> 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac 
> PCIe Wireless Network Adapter DeviceName: Realtek Wireless LAN + BT Subsystem: 
> Hewlett-Packard Company Device 85f7 Kernel driver in use: rtw_8822ce Kernel 
> modules: rtw88_8822ce
> 
> A sample, similar to the ones of Nico, of the output of dmesg -w:
> [ 915.489081] rtw_8822ce 0000:02:00.0: timed out to flush queue 1 [ 915.599086] 
> rtw_8822ce 0000:02:00.0: timed out to flush queue 2 [ 915.711096] rtw_8822ce 
> 0000:02:00.0: timed out to flush queue 1 [ 915.822106] rtw_8822ce 0000:02:00.0: 
> timed out to flush queue 2 [ 916.265097] rtw_8822ce 0000:02:00.0: timed out to 
> flush queue 0 [ 916.376085] rtw_8822ce 0000:02:00.0: timed out to flush queue 1 
> [ 916.449083] rtw_8822ce 0000:02:00.0: failed to get tx report from firmware
> 
> I'm not very proficient at debugging Linux so not sure how much more I can help 
> to narrow down the issue.
> But maybe a description of my experience might help, the WiFi icon still 
> considers at all time to be connected to the router and have a perfect signal.
> Sometimes enabling and immediately disabling Airplane mode fixes the issue 
> (probably due to a restart of the module?), and the issue is more likely to come 
> up after waking up from sleep.
> 
> I will try to see if I can rollback the kernel to 5.15 and see if that fixes the 
> issue and report back.
> 
> If I can be of any other assistance please let me know.

George,

I do not know of any regression in 5.16 with regard to the driver for RTL8822CE. 
Certainly, I saw no regressions in my testing of that driver from before it was 
in the kernel up to the present. That said, I can only comment on the user-space 
part of openSUSE Tumbleweed, which is probably not your distro of choice.

Are you using the drivers at https://GitHub.com/lwfinger/rtw88.git rather than 
the ones in the kernel? Your posted errors that refer to rtw_8822ce indicate 
that to be true. If the drivers came from the kernel, the reference would be to 
rtw88_8822ce! If so, do a 'git pull' to get the drivers updated to match the 
code in kernel 5.18. A lot of things have been fixed.

In your system, please do a 'lsmod | grep rtw'. If any items refer to rtw88_*, 
you have mixed drivers loaded. In that case, you should blacklist the rtw88_* 
driver.

Larry

       reply	other threads:[~2022-04-04 14:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAFPFaMLHXhHMhuAuvXWHb3c-tX_9qRxsquEUHXY0fMxh_VsKtw@mail.gmail.com>
2022-04-04 14:49 ` Larry Finger [this message]
     [not found]   ` <CAFPFaMKpwmGqc_Cm1fv4psR6m+waax6YZO2ugOPhgmnG4mGJ4A@mail.gmail.com>
2022-04-05 15:02     ` rtw_8822ce wifi regression after kernel update from 5.15 to 5.16 Larry Finger
     [not found] <CAO_iuKEL8tHnovpGiQGUxg7JUpZFxHpxhOHbqAMgbt5R4Eftgg@mail.gmail.com>
2022-02-15  8:25 ` Thorsten Leemhuis
2022-02-28 14:30   ` Thorsten Leemhuis
2022-02-28 22:07     ` Larry Finger
2022-03-04  6:33       ` Thorsten Leemhuis
2022-03-04 14:45         ` Nico Sneck
2022-03-07  7:39           ` Kalle Valo
2022-03-16 10:14             ` Thorsten Leemhuis
2022-03-16 17:50               ` Nico Sneck

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=ba45934b-69ab-edfa-1679-2e8e00fac126@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=george.banyard@gmail.com \
    --cc=kvalo@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=snecknico@gmail.com \
    --cc=tony0620emma@gmail.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 NNTP newsgroup(s).