rtw88_8821ce causes freeze

Bug #1927808 reported by Paul Szabo
74
This bug affects 11 people
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Confirmed
Medium
Unassigned
Focal
Won't Fix
Undecided
Unassigned
Impish
Won't Fix
Medium
Unassigned
Jammy
Confirmed
Medium
Unassigned
linux-oem-5.13 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Won't Fix
Undecided
AceLan Kao
Impish
Invalid
Undecided
Unassigned
Jammy
Invalid
Undecided
Unassigned
linux-oem-5.14 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Medium
Unassigned
Impish
Invalid
Undecided
Unassigned
Jammy
Invalid
Undecided
Unassigned

Bug Description

My laptop (Ollee L116HTN6SPW) has a Realtek 8821CE WiFi card.
Now at hirsute, this is "supported" in the linux-image-5.11.0-16-generic kernel,and it works "well" for both WiFi and Bluetooth.
However, this module (driver) causes frequent freezes, randomly but usually within a few minutes of running (thus very soon after boot): screen display remains frozen, no response to either keyboard or mouse input. All I can do is to hold the power button to power off, then reboot.

After reboot, I do not see any crash reports, nor logs about the freeze.
Please let me know if I should try to collect some info, and how.

For now I use the DKMS module/driver from
  https://github.com/tomaspinho/rtl8821ce
(having blacklisted rtw88_8821ce), and it seems to work perfectly.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: linux-image-5.11.0-16-generic 5.11.0-16.17
ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12
Uname: Linux 5.11.0-16-generic x86_64
ApportVersion: 2.20.11-0ubuntu65
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: psz 1189 F.... pulseaudio
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat May 8 16:58:19 2021
InstallationDate: Installed on 2021-04-23 (14 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 058f:5608 Alcor Micro Corp. USB 2.0 Camera
 Bus 001 Device 003: ID 0bda:c821 Realtek Semiconductor Corp. Bluetooth Radio
 Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Protempo Ltd L116HTN6SPW
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-16-generic root=UUID=f3700d1b-be99-4cb7-baef-c0f157487c64 ro quiet splash pci=noaer vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.11.0-16-generic N/A
 linux-backports-modules-5.11.0-16-generic N/A
 linux-firmware 1.197
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/26/2020
dmi.bios.release: 5.12
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: YHSM-BI-11.6-X116AR300-AA55C-195-A
dmi.board.asset.tag: Default string
dmi.board.name: Default string
dmi.board.vendor: Default string
dmi.board.version: Default string
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 10
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.ec.firmware.release: 1.6
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrYHSM-BI-11.6-X116AR300-AA55C-195-A:bd05/26/2020:br5.12:efr1.6:svnProtempoLtd:pnL116HTN6SPW:pvrDefaultstring:rvnDefaultstring:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct10:cvrDefaultstring:
dmi.product.family: Notebook
dmi.product.name: L116HTN6SPW
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Protempo Ltd

CVE References

Revision history for this message
Paul Szabo (psz-maths) wrote :
Paul Szabo (psz-maths)
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul Szabo (psz-maths) wrote :

I should have added: I had tried the 5.12 kernel from
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12/amd64/
and that was same (or worse, seemed to freeze quicker).

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Possible to attach dmesg with the builtin driver?

Revision history for this message
Paul Szabo (psz-maths) wrote :

Output of dmesg (with kernel built-in driver)

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13-rc1/amd64/

There are several rtw88 fixes.

Revision history for this message
Paul Szabo (psz-maths) wrote :

I tried 5.13, installing packages
  linux-headers-5.13.0-051300rc1-generic_5.13.0-051300rc1.202105092230_amd64.deb
  linux-headers-5.13.0-051300rc1_5.13.0-051300rc1.202105092230_all.deb
  linux-image-unsigned-5.13.0-051300rc1-generic_5.13.0-051300rc1.202105092230_amd64.deb
  linux-modules-5.13.0-051300rc1-generic_5.13.0-051300rc1.202105092230_amd64.deb
Booting 5.13, the graphical (GDM?) login screen did not show; there was a mouse
pointer (moving correctly with the mouse) but otherwise black screen.
I could log in to the TTY console with Alt-Ctrl-F2, and obtained the output of
dmesg as attached; I wonder about the
  Initramfs unpacking failed: Decoding failed
line within.
Without the graphical login, I did not think I could properly test the rtw88 module,
did not remove the line
  blacklist rtw88_8821ce
from the /etc/modprobe.d/blacklist.conf file.

Should I re-try 5.13, somehow differently?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Possible bug in i915:
[ 35.655312] i915 0000:00:02.0: [drm] Resetting rcs0 for CS error
[ 35.655359] i915 0000:00:02.0: [drm] Xwayland[944] context reset due to GPU hang
[ 35.663410] i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:8cbf8db6, in Xwayland [944]

Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13-rc3/amd64/

If the issue persists, use kernel parameter "nomodeset" so it can proceed to test the WiFi driver.

Revision history for this message
Paul Szabo (psz-maths) wrote :

Hmm... would love to test v5.13-rc3, but no *.deb files there,
file "log" suggests the build filled up the disk.
I will check again in a day or two... or please let me know when fixed.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Hmm, it'll be great if you can build a kernel locally and test it...

Revision history for this message
Paul Szabo (psz-maths) wrote :

I have now tried the RC4 kernel from
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13-rc4/amd64/
and sorry, but the freeze is still there.

Only now I notice that, curiously, the freeze may (is more likely to?)
occur while the network is essentially idle.

Revision history for this message
Paul Szabo (psz-maths) wrote :

Just wondering (maybe I am way off ...).
In kernel code I often see segments like
  lock(thing)
  do stuff
  unlock(thing)
but in drivers/net/wireless/realtek/rtw88/main.c there is:

void rtw_core_stop(struct rtw_dev *rtwdev)
{
 ...
 mutex_unlock(&rtwdev->mutex);
 ...
 mutex_lock(&rtwdev->mutex);
 ...
}

and that seems back-to-front. Is that as should be?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

The caller already holds the lock. It's not uncommon.

Can you please try kernel parameter "pcie_aspm=force pcie_aspm.policy=performance"?

Revision history for this message
Paul Szabo (psz-maths) wrote :

Thanks, 5.13-rc4 with those pcie_aspm options looks promising,
no freeze in about an hour. Output of dmesg attached. I wonder
about the "timed out to flush queue 2" lines.
(Hmm... cannot attach file? Will try later.)

Revision history for this message
Paul Szabo (psz-maths) wrote :
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

PKShih, can you please take a look? It's ASPM related.

Revision history for this message
Ping-Ke Shih (pkshih) wrote :

Could you please try disable_aspm=0 when loading rtw88_pci.ko?
If it works, we may add a quirk in driver by vendor and product name.

Revision history for this message
Paul Szabo (psz-maths) wrote :

Do you mean to use disable_aspm=0 as kernel parameter, instead of
previous "pcie_aspm=force pcie_aspm.policy=performance"? OK, will try.

Revision history for this message
Ping-Ke Shih (pkshih) wrote :

My propose method is to fix ASPM issue by driver instead.

So, don't apply "pcie_aspm=force pcie_aspm.policy=performance" to kernel parameter, but
add a file /etc/modprobe.d/rtw88_pci.conf with below content
  options rtw88_pci disable_aspm=1

(Sorry, disable_aspm=0 in #17 is typo)

Then, power-off (ensure wifi card is power-off as well) and power-on.

To make sure the setting take effect
  cat /sys/module/rtw_pci/parameters/disable_aspm
The output must be 1.

Revision history for this message
Paul Szabo (psz-maths) wrote :

Setting /etc/modprobe.d/rtw88_pci.conf to contain
  options rtw88_pci disable_aspm=1
seems to have worked: no freeze. To confirm the setting:
  psz@ollee:~$ grep . /sys/module/rtw88_pci/parameters/*
  /sys/module/rtw88_pci/parameters/disable_aspm:Y
  /sys/module/rtw88_pci/parameters/disable_msi:N
Still, there are the lines
  rtw_8821ce 0000:04:00.0: timed out to flush queue 2
  rtw_8821ce 0000:04:00.0: firmware failed to leave lps state
in dmesg (to attach in next comment), and I wonder whether those
indicate some issue that should (also?) be fixed.

Revision history for this message
Paul Szabo (psz-maths) wrote :
Revision history for this message
Ping-Ke Shih (pkshih) wrote :

The first message, "rtw_8821ce 0000:04:00.0: timed out to flush queue 2", means the buffered data isn't transmitted properly. I think this isn't a big deal.

The second message, "rtw_8821ce 0000:04:00.0: firmware failed to leave lps state", means firmware doesn't respond the request of leaving LPS. The reason may be firmware is too busy at that moment, but it can work well, no? An alternative way is to use 'iw [dev] set power_save off' to turn off this function.

I plan to add a quirk to make someone who uses the same laptop can use Linux smoothly.
Could you provide your manufacturer and product names by below command?
  sudo dmidecode | grep "\(Manufacturer\|Product\)"
With these information, I can provide a patch or a driver tarball to check ASPM issue again.

Revision history for this message
Paul Szabo (psz-maths) wrote :

The info you wanted (though was in the original bug report):

  psz@ollee:~$ sudo dmidecode | grep -E "(Manufacturer|Product)"
 Manufacturer: Protempo Ltd
 Product Name: L116HTN6SPW
 ...

I still worry about that (0.1sec?) timeout "to flush queue 2":
why would that happen, surely uncommon as it is worth logging?
(I did not observe any data errors, not on the idle network.)

Revision history for this message
Ping-Ke Shih (pkshih) wrote :

Please try attached patch, and see if it works.
Note. Don't apply kernel command, and remove /etc/modprobe.d/rtw88_pci.conf

Without a 8821CE, I can't diagnose the symptom, so I contact my colleague to check if we can reproduce this symptom. If any update, I'll let you know.

tags: added: patch
Revision history for this message
Paul Szabo (psz-maths) wrote :

Sorry I do not think I can (in a practical sense) test the patch:
I do not think I have ever built my own Ubuntu kernel.

Revision history for this message
Ping-Ke Shih (pkshih) wrote (last edit ):

Could you tell me your version of Ubuntu kernel by 'uname -a'?
I can send you a tarball of rtw88 driver with my patch, and then you can only build the driver as long as you have kernel header and essential build tools.

Revision history for this message
Paul Szabo (psz-maths) wrote :

Running "uname -a" shows:
Linux ollee 5.13.0-051300rc4-generic #202105302331 SMP Sun May 30 23:33:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
as installed from
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13-rc4/amd64/
Maybe you could send me the compiled files that I would need to put in
place? I do have the kernel headers, but probably not the build tools,
nor the knowledge to build.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

A custom built Ubuntu kernel with the patch can be found here:
https://people.canonical.com/~khfeng/lp1927808/

Revision history for this message
Ping-Ke Shih (pkshih) wrote :

Please do below step-by-step:
1. install compiler
   $ sudo apt install build-essential
2. untar attached driver into any place you want
   $ tar zxvf rtw88_xxxx.tar.gz
3. enter the folder
4. compiler driver
   $ make -f Makefile-rtw88 -j8
5. remove module
   $ sudo rmmod rtw88_8821ce rtw88_8821c
   $ sudo rmmod rtw88_pci rtw88_core
6. insert module
   $ sudo insmod rtw88_core.ko
   $ sudo insmod rtw88_pci.ko
   $ sudo insmod rtw88_8821c.ko
   $ sudo insmod rtw88_8821ce.ko
7. check module paramters
   $ grep . /sys/module/rtw88_pci/parameters/*
8. try if it works well

If any error you meet, please let me know.

Revision history for this message
Ping-Ke Shih (pkshih) wrote :

For #28.

Thank you, Kai-Heng.

Revision history for this message
Paul Szabo (psz-maths) wrote :

Thanks, the kernel from
https://people.canonical.com/~khfeng/lp1927808/
seems to work fine. Attaching dmesg output.

Revision history for this message
Ping-Ke Shih (pkshih) wrote :

I have sent the patch to upstream:
https://<email address hidden>/T/#u
I add your description of this bug in the commit message. If there is anything wrong,
please let me know.

About the warnings "timed out to flush queue 2", my colleague told me he cannot see the symptom.
It seems like you don't need special steps to reproduce it, right?
If you have, please tell me the steps.
Thank you.

Revision history for this message
Paul Szabo (psz-maths) wrote :

Your message to "upstream" seems fine.

No I did not "do" anything to elicit those "timed out to flush queue 2"
messages with the RC4 kernel. With the 5.13.0-5 kernel as built by
Kai-Heng, I did not seem to get them anymore.

Revision history for this message
i30817 (i30817) wrote :

I'm getting this (hang with 'rtw_8821ce 0000:02:00.0: firmware failed to leave lps state') on a hp

sudo dmidecode | grep -E "(Manufacturer|Product)"
 Manufacturer: HP
 Product Name: HP Pavilion Laptop 14-ce0010np
 Version: Type1ProductConfigId
 Manufacturer: HP
 Product Name: 84BA
 Manufacturer: HP
 Manufacturer: Intel(R) Corporation
 Manufacturer: SK Hynix
 Manufacturer: 333-54-5D-A
 Manufacturer: OEM Define 2

Revision history for this message
i30817 (i30817) wrote :

Linux Splenir 5.11.0-25-generic #27~20.04.1-Ubuntu SMP Tue Jul 13 17:41:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
i30817 (i30817) wrote :

grep . /sys/module/rtw88_pci/parameters/*
/sys/module/rtw88_pci/parameters/disable_aspm:N
/sys/module/rtw88_pci/parameters/disable_msi:N

Revision history for this message
i30817 (i30817) wrote :

I'm trying to work around it with a systemd service using iw wlo1 set power_save off. I've rebooted and i'm waiting to see if the crash continues.

Revision history for this message
i30817 (i30817) wrote :

crash continued. Now trying the /etc/modprobe.d/rtw88_pci.conf method

Revision history for this message
i30817 (i30817) wrote :

That seems to work, no crash.

Revision history for this message
Paul Szabo (psz-maths) wrote :

Can you post the contents of your /etc/modprobe.d/rtw88_pci.conf file?

Revision history for this message
Paul Szabo (psz-maths) wrote :

You have not posted your /etc/modprobe.d/rtw88_pci.conf file:
was the method was not successful?

Revision history for this message
Francisco Z (rhodium-jka) wrote :

I have the same problem in my hp g4 250 laptop, adding: options rtw88_pci disable_aspm=1 to that file /etc/modprobe.d/rtw88_pci.conf fixed the freezes, but it happends in every linux distro using kernel 5.11+

Revision history for this message
Paul Szabo (psz-maths) wrote :

Seems the issue affects devices from multiple manufacturers,
and various models. Maybe some "commonality" can be found
between them, to trigger disabling ASPM they cannot handle,
better than trying to enumerate them in kernel sources as
suggested in commit 956c6d4f20c5446727e0c912dd8f527f2dc7b779,
see e.g.
https://<email address hidden>/

Revision history for this message
Shameek Dalal (shameek-dalal) wrote :

I have the same problem on a LENOVO ideacentre AIO 330-20IGM. I put options rtw88_pci disable_aspm=1 in /etc/modprobe.d/rtw88_pci.conf as told by PK Shih, but when I try to check if the change took effect by running cat /sys/module/rtw_pci/parameters/disable_aspm it throws an error that no file or directory.

Revision history for this message
Paul Szabo (psz-maths) wrote :

Now at Ubuntu 21.10 (impish) and kernel 5.13.0-19, my Ollee (ProTempo) L116HTN6SPW is "happy".
I wonder about other models with the same wireless device...

Revision history for this message
Nikos Boumakis (nikosboum) wrote :

Another model with the same problem. An HP 15-da1018nv with the same device (rtl8821ce). Ubuntu 21.10, minimal installation, kernel 5.13.0-20-generic.

Revision history for this message
Adriano Nisticò (adrianonistico) wrote :

HW: HP 17-CN0004NL
UBUNTU 21.10 kernel 5.13.0
This bug DOES NOT happen on 5.11.0-38-generic. Confirmed device RTL8821CE

Revision history for this message
Kaleev Vladimir (kaleevvv) wrote :

laptop HP 14s-dq0029ur with Realtek RTL8821CE. Same problem on kernels above 5.11

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

For those who are affected by this issue, here's a kernel with fix [1]:
https://people.canonical.com/~khfeng/8821ce-rx-aspm/

[1] https://lkml.org/lkml/2021/12/14/13

Changed in linux-oem-5.14 (Ubuntu Focal):
status: New → Confirmed
Changed in linux-oem-5.14 (Ubuntu Jammy):
status: New → Invalid
Changed in linux (Ubuntu Focal):
status: New → Won't Fix
Changed in linux-oem-5.14 (Ubuntu Impish):
status: New → Invalid
Changed in linux (Ubuntu Impish):
status: New → Confirmed
Changed in linux (Ubuntu Jammy):
importance: Undecided → Medium
Changed in linux (Ubuntu Impish):
importance: Undecided → Medium
Changed in linux-oem-5.14 (Ubuntu Focal):
importance: Undecided → Medium
AceLan Kao (acelankao)
Changed in linux-oem-5.13 (Ubuntu Focal):
assignee: nobody → AceLan Kao (acelankao)
status: New → In Progress
Changed in linux-oem-5.13 (Ubuntu Impish):
status: New → Invalid
Changed in linux-oem-5.13 (Ubuntu Jammy):
status: New → Invalid
AceLan Kao (acelankao)
tags: added: oem-priority originate-from-1950719 somerville
Changed in linux (Ubuntu Impish):
status: Confirmed → Fix Committed
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.14 (Ubuntu Focal):
status: Confirmed → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-5.14/5.14.0-1015.15 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Revision history for this message
Paul Szabo (psz-maths) wrote : Re: [Bug 1927808] Re: rtw88_8821ce causes freeze

Sorry I cannot easily test Focal, I had since upgraded to Impish.
(Is there some linux-image package for Impish to test?)

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

The fix for Impish should come soon.

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/5.13.0-24.24 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-impish' to 'verification-done-impish'. If the problem still exists, change the tag 'verification-needed-impish' to 'verification-failed-impish'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-impish
Paul Szabo (psz-maths)
tags: added: verification-failed-impish
removed: verification-needed-impish
Revision history for this message
Paul Szabo (psz-maths) wrote :

Sorry but verification failed. Doing
  sudo apt-get install linux-image-generic/impish-proposed
and rebooting (so "uname -r" shows 5.13.0-24-generic),
my Ollee (ProTempo) L116HTN6SPW froze almost instantly.
Adding the /etc/modprobe.d/rtw88_pci.conf workaround of
  options rtw88_pci disable_aspm=1
allowed 5.13.0-24-generic to work.

(I changed the tag to verification-failed-impish.)

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Paul, please make sure 5.13.0-24 is in use.

Revision history for this message
Paul Szabo (psz-maths) wrote :

(Had sent this via email, but that seems delayed.)

Sorry but verification failed. Doing
  sudo apt-get install linux-image-generic/impish-proposed
and rebooting (so "uname -r" shows 5.13.0-24-generic),
my Ollee (ProTempo) L116HTN6SPW froze almost instantly.
Adding the /etc/modprobe.d/rtw88_pci.conf workaround of
  options rtw88_pci disable_aspm=1
allowed 5.13.0-24-generic to work.

(I changed the tag to verification-failed-impish.)

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you please attach `sudo lspci -vvnn` here? Thanks!

Revision history for this message
Paul Szabo (psz-maths) wrote :

Output of sudo lspci -vvnn below.

In hindsight, I should have tested your
people.canonical.com/~khfeng/8821ce-rx-aspm/
kernel... did not do because it is 5.15 that I thought was
too different, and mainly because of my laziness. Sorry!

Seems you do not actually have access to a "problem" machine... is that so?

Revision history for this message
Paul Szabo (psz-maths) wrote :

Should have mentioned... that lspci is with the "plain impish" 5.13.0-23-generic kernel.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

> Seems you do not actually have access to a "problem" machine... is that so?

I do. But apparently the fix for those machines doesn't fix yours.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you please also attach `journalctl -b -1 -k`? Maybe some error messages were logged.

Revision history for this message
Paul Szabo (psz-maths) wrote :

I do not see anything interesting in journalctl (does not go back long enough)...

Revision history for this message
Paul Szabo (psz-maths) wrote :

... so I also show /var/log/syslog .

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

PKShih, does 8821ce support ASPM L0s?
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+

Revision history for this message
Ping-Ke Shih (pkshih) wrote :

By default, 8821ce doesn't not enter L0s.
Do you have any finding about this?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

So the L0s is fine to be up in LNKCTL?

And I noticed that the bug was filed against 5.11, which doesn't have commit "rtw88: add napi support". So yes my fix doesn't help this user. Do you know what's the possible difference between rtw88 and the old rtl8821ce?

Revision history for this message
David Chen (david.chen) wrote :

How about focal verify result?
ODM has run video streaming overnight with 5.14-oem-1015 kernel on TGL device, no hang observed, system still alive the next day.

Revision history for this message
Ping-Ke Shih (pkshih) wrote :

Reply #66

> So the L0s is fine to be up in LNKCTL?

As I know, L0s is a single direction function.
I mean rtl8821ce can decide to enter L0s or not; don't need peer support this simultaneously.

> what's the possible difference between rtw88 and the old rtl8821ce

What do you mean about the "old rtl8821ce"?
The older version of rtw88?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

The out of tree driver like this one:
https://github.com/tomaspinho/rtl8821ce

Revision history for this message
Ping-Ke Shih (pkshih) wrote :

The rtw88 is rewritten from out of tree driver, so ideally they should be the same.

Have you tried the out of tree driver on this platform? Does it work well?

Revision history for this message
Paul Szabo (psz-maths) wrote :

As per original/initial bug report: yes I used the
  https://github.com/tomaspinho/rtl8821ce
driver, and it seemed to work perfectly.

Revision history for this message
pavlopyshkin (pavel-pyshkin) wrote :
Download full text (9.1 KiB)

I just would like to add my (newbie) observation on the similar problem (maybe it can be useful for developers).
I have laptop "HP ProBook 455 G7 (1F3M4EA)" with WiFi card RTL8822CE.
My system is LinuxMint 20.2 with kernel 5.13.0-23-generic.

I noticed that old routers with 2.4 GHz work fine with laptop (i.e. wifi problems happens rarely, one a day or less). But in the case I use modern router with 5GHz (fibra, optical line) I have the following issue. From time to time, wifi networking is stopped. Network manager in tray shows wifi is connected but with 0% power. With 90% of probability it happens when I use speedtest site. After this happens I can not reconnect, I can not restart network manager and then reconnect (I tried restart it by different ways I found in internet: systemctl restart network-manager ; sudo killall NetworkManager ; sudo ifconfig wlp2s0 down , sudo ifconfig wlp2s0 up; sudo systemctl restart NetworkManager.service ...) only reboot allow to use wifi again.

After wifi stopping I see the dmesg output contains a lot of lines like these:

[12259.905821] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[1]
[12260.053680] rtw_8822ce 0000:02:00.0: timed out to flush queue 0
[12260.197672] rtw_8822ce 0000:02:00.0: timed out to flush queue 1
[12260.337653] rtw_8822ce 0000:02:00.0: timed out to flush queue 2

I also tried to follow the suggestion:
"Setting /etc/modprobe.d/rtw88_pci.conf to contain
  options rtw88_pci disable_aspm=1"

It does not help.

Another dmesg log - disconnection happens with 2.4 GHz router. Only reboot helped:
...
[165958.371098] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[3]
[165958.371199] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[5]
[165958.371325] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[1]
[165958.371426] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[3]
[165958.371527] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[5]
[165958.702963] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[1]
[165958.703069] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[3]
[165958.703169] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[5]
[165958.703292] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[1]
[165958.703393] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[3]
[165958.703493] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[5]
[165960.778897] wlp2s0: deauthenticating from 28:ee:52:61:aa:52 by local choice (Reason: 3=DEAUTH_LEAVING)
[165960.779384] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[1]
[165960.779488] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[3]
[165960.779588] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[5]
[165960.779756] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[1]
[165960.779859] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[3]
[165960.779963] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[5]
[165960.780016] rtw_8822ce 0000:02:00.0: sta 28:ee:52:61:aa:52 with macid 0 left
[165960.782309] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[1]
[165960.782403] rtw_8822ce 0000:02:00.0: timed out to flush pci tx ring[3]
[16...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.2 KiB)

This bug was fixed in the package linux-oem-5.14 - 5.14.0-1018.19

---------------
linux-oem-5.14 (5.14.0-1018.19) focal; urgency=medium

  * OOB write on BPF_RINGBUF (LP: #1956585)
    - SAUCE: bpf: prevent helper argument PTR_TO_ALLOC_MEM to have offset other
      than 0

linux-oem-5.14 (5.14.0-1015.15) focal; urgency=medium

  * focal/linux-oem-5.14: 5.14.0-1015.15 -proposed tracker (LP: #1956424)

  * Support Intel IPU6 MIPI camera on Alder Lake platforms (LP: #1955383)
    - SAUCE: intel ipu drivers first release
    - SAUCE: IPU driver release WW48
    - SAUCE: IPU driver release WW48 with MCU
    - SAUCE: IPU driver release WW52
    - SAUCE: IPU driver release WW04
    - SAUCE: IPU driver release WW14
    - SAUCE: Fix ov01a1s output mirror issue
    - SAUCE: integrate IPU6 builds
    - [Config] updateconfigs for IPU6 driver
    - SAUCE: Fix ov01a1s IQ issues
    - SAUCE: intel/ipu6: Remove unnecessary video devices
    - SAUCE: change power control driver to acpi driver
    - SAUCE: IPU6 driver release for kernel 5.13
    - SAUCE: sensor HM11b1 brightness bugfix
    - SAUCE: Fix build error on Kernel 5.13
    - SAUCE: IPU6 driver release for kernel 5.14 on 2021-11-01
    - [Config] IPU6: enable OV01A10 sensor
    - SAUCE: intel visual sensing controller(VSC) driver first release
    - [Config] ivsc: enable Intel VSC drivers
    - SAUCE: ivsc: return error when device not ready
    - SAUCE: ivsc: add soft dependencies for intel_vsc module
    - SAUCE: ljca: switch wait event to uninterruptible
    - SAUCE: mei-vsc: switch wait event to uninterruptible
    - SAUCE: mei_vsc: add ACPI HID for ADL
    - SAUCE: ljca: add multi ACPI HID support
    - SAUCE: ivsc: add delay for acquire camera to wait firmware ready
    - SAUCE: mei_vsc: distinguish platform with different camera sensor
    - SAUCE: i2c-ljca: fix a potential issue
    - SAUCE: ljca: disable autosuspend by default

  * Add Bluetooth support for Qualcomm WCN6856 (LP: #1955689)
    - Revert "UBUNTU: SAUCE: Bluetooth: btusb: Add support using different nvm for
      variant WCN6855 controller"
    - Bluetooth: btusb: Add support using different nvm for variant WCN6855
      controller
    - Bluetooth: btusb: re-definition for board_id in struct qca_version
    - Bluetooth: btusb: Add the new support IDs for WCN6855

  * Add basic Wifi support for Qualcomm WCN6856 (LP: #1955613)
    - bus: mhi: core: Add support for forced PM resume
    - ath11k: add string type to search board data in board-2.bin for WCN6855
    - ath11k: change to use dynamic memory for channel list of scan

  * rtw88_8821ce causes freeze (LP: #1927808)
    - rtw88: Disable PCIe ASPM while doing NAPI poll on 8821CE

linux-oem-5.14 (5.14.0-1014.14) focal; urgency=medium

  * focal/linux-oem-5.14: 5.14.0-1014.14 -proposed tracker (LP: #1956354)

  * [SRU][J/OEM-5.14] Add an ID of QCOM WCN6855 bluetooth (LP: #1955906)
    - SAUCE: Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0

  * audio mute/ mic mute are not working on a HP machine (LP: #1955691)
    - ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook

  * CVE-2021-4090
    - NFSD: Fix exposure in nfsd4_decode_bitmap()

 -- Thadeu Lima de Souza Casca...

Read more...

Changed in linux-oem-5.14 (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 5.15.0-17.17

---------------
linux (5.15.0-17.17) jammy; urgency=medium

  * jammy/linux: 5.15.0-17.17 -proposed tracker (LP: #1957809)

 -- Andrea Righi <email address hidden> Thu, 13 Jan 2022 17:11:21 +0100

Changed in linux (Ubuntu Jammy):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (74.6 KiB)

This bug was fixed in the package linux - 5.13.0-28.31

---------------
linux (5.13.0-28.31) impish; urgency=medium

  * amd_sfh: Null pointer dereference on early device init causes early panic
    and fails to boot (LP: #1956519)
    - HID: amd_sfh: Fix potential NULL pointer dereference

  * impish: ddebs build take too long and times out (LP: #1957810)
    - [Packaging] enforce xz compression for ddebs

  * audio mute/ mic mute are not working on a HP machine (LP: #1955691)
    - ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook

  * rtw88_8821ce causes freeze (LP: #1927808)
    - rtw88: Disable PCIe ASPM while doing NAPI poll on 8821CE

  * alsa/sdw: fix the audio sdw codec parsing logic in the acpi table
    (LP: #1955686)
    - ALSA: hda: intel-sdw-acpi: harden detection of controller
    - ALSA: hda: intel-sdw-acpi: go through HDAS ACPI at max depth of 2

  * icmp_redirect from selftests fails on F/kvm (unary operator expected)
    (LP: #1938964)
    - selftests: icmp_redirect: pass xfail=0 to log_test()

  * Impish update: upstream stable patchset 2021-12-17 (LP: #1955180)
    - arm64: zynqmp: Do not duplicate flash partition label property
    - arm64: zynqmp: Fix serial compatible string
    - ARM: dts: sunxi: Fix OPPs node name
    - arm64: dts: allwinner: h5: Fix GPU thermal zone node name
    - arm64: dts: allwinner: a100: Fix thermal zone node name
    - staging: wfx: ensure IRQ is ready before enabling it
    - ARM: dts: NSP: Fix mpcore, mmc node names
    - scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq()
    - arm64: dts: rockchip: Disable CDN DP on Pinebook Pro
    - arm64: dts: hisilicon: fix arm,sp805 compatible string
    - RDMA/bnxt_re: Check if the vlan is valid before reporting
    - bus: ti-sysc: Add quirk handling for reinit on context lost
    - bus: ti-sysc: Use context lost quirk for otg
    - usb: musb: tusb6010: check return value after calling
      platform_get_resource()
    - usb: typec: tipd: Remove WARN_ON in tps6598x_block_read
    - ARM: dts: ux500: Skomer regulator fixes
    - staging: rtl8723bs: remove possible deadlock when disconnect (v2)
    - ARM: BCM53016: Specify switch ports for Meraki MR32
    - arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency
    - arm64: dts: qcom: ipq6018: Fix qcom,controlled-remotely property
    - arm64: dts: freescale: fix arm,sp805 compatible string
    - ASoC: SOF: Intel: hda-dai: fix potential locking issue
    - clk: imx: imx6ul: Move csi_sel mux to correct base register
    - ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect
    - scsi: advansys: Fix kernel pointer leak
    - ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336
      codec
    - firmware_loader: fix pre-allocated buf built-in firmware use
    - ARM: dts: omap: fix gpmc,mux-add-data type
    - usb: host: ohci-tmio: check return value after calling
      platform_get_resource()
    - ARM: dts: ls1021a: move thermal-zones node out of soc/
    - ARM: dts: ls1021a-tsn: use generic "jedec,spi-nor" compatible for flash
    - ALSA: ISA: not for M68K
    - tty: tty_buffer: Fix the softlockup issue in flush_to_ldisc
    - MIPS: sni:...

Changed in linux (Ubuntu Impish):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (75.3 KiB)

This bug was fixed in the package linux-oem-5.13 - 5.13.0-1029.36

---------------
linux-oem-5.13 (5.13.0-1029.36) focal; urgency=medium

  * focal/linux-oem-5.13: 5.13.0-1029.36 -proposed tracker (LP: #1955196)

  * support signed v4l2loopback dkms build (LP: #1938531)
    - support v4l2loopback dkms build
    - enable v4l2loopback builds on oem kernels

  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2022.01.03)

  * Add missing BT ID for Qualcomm WCN6856 (LP: #1956407)
    - Bluetooth: btusb: Add one more Bluetooth part for WCN6855

  * Add Bluetooth support for Qualcomm WCN6856 (LP: #1955689)
    - Bluetooth: btusb: Add support using different nvm for variant WCN6855
      controller
    - Bluetooth: btusb: re-definition for board_id in struct qca_version
    - Bluetooth: btusb: Add the new support IDs for WCN6855

  [ Ubuntu: 5.13.0-28.31 ]

  * amd_sfh: Null pointer dereference on early device init causes early panic
    and fails to boot (LP: #1956519)
    - HID: amd_sfh: Fix potential NULL pointer dereference
  * impish: ddebs build take too long and times out (LP: #1957810)
    - [Packaging] enforce xz compression for ddebs
  * audio mute/ mic mute are not working on a HP machine (LP: #1955691)
    - ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
  * rtw88_8821ce causes freeze (LP: #1927808)
    - rtw88: Disable PCIe ASPM while doing NAPI poll on 8821CE
  * alsa/sdw: fix the audio sdw codec parsing logic in the acpi table
    (LP: #1955686)
    - ALSA: hda: intel-sdw-acpi: harden detection of controller
    - ALSA: hda: intel-sdw-acpi: go through HDAS ACPI at max depth of 2
  * icmp_redirect from selftests fails on F/kvm (unary operator expected)
    (LP: #1938964)
    - selftests: icmp_redirect: pass xfail=0 to log_test()
  * Impish update: upstream stable patchset 2021-12-17 (LP: #1955180)
    - arm64: zynqmp: Do not duplicate flash partition label property
    - arm64: zynqmp: Fix serial compatible string
    - ARM: dts: sunxi: Fix OPPs node name
    - arm64: dts: allwinner: h5: Fix GPU thermal zone node name
    - arm64: dts: allwinner: a100: Fix thermal zone node name
    - staging: wfx: ensure IRQ is ready before enabling it
    - ARM: dts: NSP: Fix mpcore, mmc node names
    - scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq()
    - arm64: dts: rockchip: Disable CDN DP on Pinebook Pro
    - arm64: dts: hisilicon: fix arm,sp805 compatible string
    - RDMA/bnxt_re: Check if the vlan is valid before reporting
    - bus: ti-sysc: Add quirk handling for reinit on context lost
    - bus: ti-sysc: Use context lost quirk for otg
    - usb: musb: tusb6010: check return value after calling
      platform_get_resource()
    - usb: typec: tipd: Remove WARN_ON in tps6598x_block_read
    - ARM: dts: ux500: Skomer regulator fixes
    - staging: rtl8723bs: remove possible deadlock when disconnect (v2)
    - ARM: BCM53016: Specify switch ports for Meraki MR32
    - arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency
    - arm64: dts: qcom: ipq6018: Fix qcom,controlled-remotely property
    - arm64: dts: freescale: fix arm,sp805 compatible string
    - AS...

Changed in linux-oem-5.13 (Ubuntu Focal):
status: In Progress → Fix Released
Revision history for this message
Paul Szabo (psz-maths) wrote :

Thanks! 5.13.0-28-generic seems to work fine for me

Revision history for this message
Paul Szabo (psz-maths) wrote :

Sorry spoke too soon! Just after my message, my laptop froze.
The issue is not fixed on my machine (as per Comment#59).
Since I am the "original poster" or reporter of this bug,
maybe it should NOT be marked as fixed.

Revision history for this message
Paul Szabo (psz-maths) wrote :

May I (should I) change status "Fix released" to "Confirmed"?

Revision history for this message
Paul Szabo (psz-maths) wrote :

Released "fix" did not solve issue

Changed in linux (Ubuntu Impish):
status: Fix Released → Confirmed
Changed in linux (Ubuntu Jammy):
status: Fix Released → Confirmed
Changed in linux-oem-5.13 (Ubuntu Focal):
status: Fix Released → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (75.3 KiB)

This bug was fixed in the package linux-oem-5.13 - 5.13.0-1029.36

---------------
linux-oem-5.13 (5.13.0-1029.36) focal; urgency=medium

  * focal/linux-oem-5.13: 5.13.0-1029.36 -proposed tracker (LP: #1955196)

  * support signed v4l2loopback dkms build (LP: #1938531)
    - support v4l2loopback dkms build
    - enable v4l2loopback builds on oem kernels

  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2022.01.03)

  * Add missing BT ID for Qualcomm WCN6856 (LP: #1956407)
    - Bluetooth: btusb: Add one more Bluetooth part for WCN6855

  * Add Bluetooth support for Qualcomm WCN6856 (LP: #1955689)
    - Bluetooth: btusb: Add support using different nvm for variant WCN6855
      controller
    - Bluetooth: btusb: re-definition for board_id in struct qca_version
    - Bluetooth: btusb: Add the new support IDs for WCN6855

  [ Ubuntu: 5.13.0-28.31 ]

  * amd_sfh: Null pointer dereference on early device init causes early panic
    and fails to boot (LP: #1956519)
    - HID: amd_sfh: Fix potential NULL pointer dereference
  * impish: ddebs build take too long and times out (LP: #1957810)
    - [Packaging] enforce xz compression for ddebs
  * audio mute/ mic mute are not working on a HP machine (LP: #1955691)
    - ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
  * rtw88_8821ce causes freeze (LP: #1927808)
    - rtw88: Disable PCIe ASPM while doing NAPI poll on 8821CE
  * alsa/sdw: fix the audio sdw codec parsing logic in the acpi table
    (LP: #1955686)
    - ALSA: hda: intel-sdw-acpi: harden detection of controller
    - ALSA: hda: intel-sdw-acpi: go through HDAS ACPI at max depth of 2
  * icmp_redirect from selftests fails on F/kvm (unary operator expected)
    (LP: #1938964)
    - selftests: icmp_redirect: pass xfail=0 to log_test()
  * Impish update: upstream stable patchset 2021-12-17 (LP: #1955180)
    - arm64: zynqmp: Do not duplicate flash partition label property
    - arm64: zynqmp: Fix serial compatible string
    - ARM: dts: sunxi: Fix OPPs node name
    - arm64: dts: allwinner: h5: Fix GPU thermal zone node name
    - arm64: dts: allwinner: a100: Fix thermal zone node name
    - staging: wfx: ensure IRQ is ready before enabling it
    - ARM: dts: NSP: Fix mpcore, mmc node names
    - scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq()
    - arm64: dts: rockchip: Disable CDN DP on Pinebook Pro
    - arm64: dts: hisilicon: fix arm,sp805 compatible string
    - RDMA/bnxt_re: Check if the vlan is valid before reporting
    - bus: ti-sysc: Add quirk handling for reinit on context lost
    - bus: ti-sysc: Use context lost quirk for otg
    - usb: musb: tusb6010: check return value after calling
      platform_get_resource()
    - usb: typec: tipd: Remove WARN_ON in tps6598x_block_read
    - ARM: dts: ux500: Skomer regulator fixes
    - staging: rtl8723bs: remove possible deadlock when disconnect (v2)
    - ARM: BCM53016: Specify switch ports for Meraki MR32
    - arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency
    - arm64: dts: qcom: ipq6018: Fix qcom,controlled-remotely property
    - arm64: dts: freescale: fix arm,sp805 compatible string
    - AS...

Changed in linux-oem-5.13 (Ubuntu Focal):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (74.6 KiB)

This bug was fixed in the package linux - 5.13.0-28.31

---------------
linux (5.13.0-28.31) impish; urgency=medium

  * amd_sfh: Null pointer dereference on early device init causes early panic
    and fails to boot (LP: #1956519)
    - HID: amd_sfh: Fix potential NULL pointer dereference

  * impish: ddebs build take too long and times out (LP: #1957810)
    - [Packaging] enforce xz compression for ddebs

  * audio mute/ mic mute are not working on a HP machine (LP: #1955691)
    - ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook

  * rtw88_8821ce causes freeze (LP: #1927808)
    - rtw88: Disable PCIe ASPM while doing NAPI poll on 8821CE

  * alsa/sdw: fix the audio sdw codec parsing logic in the acpi table
    (LP: #1955686)
    - ALSA: hda: intel-sdw-acpi: harden detection of controller
    - ALSA: hda: intel-sdw-acpi: go through HDAS ACPI at max depth of 2

  * icmp_redirect from selftests fails on F/kvm (unary operator expected)
    (LP: #1938964)
    - selftests: icmp_redirect: pass xfail=0 to log_test()

  * Impish update: upstream stable patchset 2021-12-17 (LP: #1955180)
    - arm64: zynqmp: Do not duplicate flash partition label property
    - arm64: zynqmp: Fix serial compatible string
    - ARM: dts: sunxi: Fix OPPs node name
    - arm64: dts: allwinner: h5: Fix GPU thermal zone node name
    - arm64: dts: allwinner: a100: Fix thermal zone node name
    - staging: wfx: ensure IRQ is ready before enabling it
    - ARM: dts: NSP: Fix mpcore, mmc node names
    - scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq()
    - arm64: dts: rockchip: Disable CDN DP on Pinebook Pro
    - arm64: dts: hisilicon: fix arm,sp805 compatible string
    - RDMA/bnxt_re: Check if the vlan is valid before reporting
    - bus: ti-sysc: Add quirk handling for reinit on context lost
    - bus: ti-sysc: Use context lost quirk for otg
    - usb: musb: tusb6010: check return value after calling
      platform_get_resource()
    - usb: typec: tipd: Remove WARN_ON in tps6598x_block_read
    - ARM: dts: ux500: Skomer regulator fixes
    - staging: rtl8723bs: remove possible deadlock when disconnect (v2)
    - ARM: BCM53016: Specify switch ports for Meraki MR32
    - arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency
    - arm64: dts: qcom: ipq6018: Fix qcom,controlled-remotely property
    - arm64: dts: freescale: fix arm,sp805 compatible string
    - ASoC: SOF: Intel: hda-dai: fix potential locking issue
    - clk: imx: imx6ul: Move csi_sel mux to correct base register
    - ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect
    - scsi: advansys: Fix kernel pointer leak
    - ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336
      codec
    - firmware_loader: fix pre-allocated buf built-in firmware use
    - ARM: dts: omap: fix gpmc,mux-add-data type
    - usb: host: ohci-tmio: check return value after calling
      platform_get_resource()
    - ARM: dts: ls1021a: move thermal-zones node out of soc/
    - ARM: dts: ls1021a-tsn: use generic "jedec,spi-nor" compatible for flash
    - ALSA: ISA: not for M68K
    - tty: tty_buffer: Fix the softlockup issue in flush_to_ldisc
    - MIPS: sni:...

Changed in linux (Ubuntu Impish):
status: Confirmed → Fix Released
Revision history for this message
Paul Szabo (psz-maths) wrote :

Sorry Mr Launchpad Janitor, you are mistaken.
This bug is NOT FIXED in impish 5.13.0-28.31 ...
my laptop proves you wrong!

Revision history for this message
Pol Dellaiera (d-paolino) wrote :

Same issue on my new HP Laptop 15s-fq2000nb (https://support.hp.com/be-fr/document/c07043807), and I confirm that the issue is still there and the PC is unusable while the Wifi is on.

Revision history for this message
Paul Szabo (psz-maths) wrote :

I do not actually know about Focal... but is NOT fixed in Impish,
and this is the only thing assigned to a person.

Changed in linux (Ubuntu Impish):
status: Fix Released → Confirmed
Changed in linux-oem-5.13 (Ubuntu Focal):
status: Fix Released → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 5.15.0-22.22

---------------
linux (5.15.0-22.22) jammy; urgency=medium

  * jammy/linux: 5.15.0-22.22 -proposed tracker (LP: #1960290)

 -- Paolo Pisati <email address hidden> Tue, 08 Feb 2022 10:48:49 +0100

Changed in linux (Ubuntu Jammy):
status: Confirmed → Fix Released
Revision history for this message
Paul Szabo (psz-maths) wrote :

My laptop is running Ubuntu 21.10 "impish", still.
Can I test this fix somehow, without fully upgrading to "jammy"?

Revision history for this message
Paul Szabo (psz-maths) wrote :

Do you know whether the fix that went into 5.15.0-22.22
(or into 5.15.0-17.17) is any different from what went
into impish 5.13.0-28.31? That impish fix did NOT work,
did NOT solve the issue.

Oh well... jammy will be released soon, and I will test.
I wonder whether this bug will remain "alive" until then
so, if needed, whether I will be able to complain about
the fix not working (as it did not for impish).

(How to keep a bug alive: regular "pings"?)

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Paul, can you please try v5.12-rc1:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12-rc1/

It's the first kernel release that has commit "rtw88: add napi support". And let's make sure that's the offending commit.

Revision history for this message
Paul Szabo (psz-maths) wrote :

Tested
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12-rc1/
and it causes freeze. Details:

Installing (dpkg -i) the files

linux-image-unsigned-5.12.0-051200rc1-generic_5.12.0-051200rc1.202103032009_amd64.deb

linux-modules-5.12.0-051200rc1-generic_5.12.0-051200rc1.202103032009_amd64.deb

(and rebooting, selecting that kernel in the grub menu) I have:

psz@ollee:~$ uname -a
Linux ollee 5.12.0-051200rc1-generic #202103032009 SMP Thu Mar 4 01:30:54
UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

and my laptop freezes. It needs the workaround:

psz@ollee:~$ cat /etc/modprobe.d/rtw88_pci.conf
options rtw88_pci disable_aspm=1

to work (then without freeze).

Revision history for this message
Paul Szabo (psz-maths) wrote :

Surely same non-fix as Impish

Changed in linux (Ubuntu Jammy):
status: Fix Released → Confirmed
Revision history for this message
Paul Szabo (psz-maths) wrote :

Now at Jammy with kernel 5.15.0-25-generic, I have still observed
freezes. Quite infrequent, so not "quick" to reproduce (whereas at
Impish were frequent, within minutes of uptime).

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

There are many new fixes for rtw88 driver in linux-next, please give it a try:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/drivers/net/wireless/realtek/rtw88

Revision history for this message
Pippo Franco (pippofrancoz) wrote :

I tested it and it won't give me freezes. But it seems to stop being able to connect to my network after 24 hours. Even if I try to forget and remake connection and reset router it will still can't connect. (This happened even with Ubuntu 20.04, now I am on 22.04)

Revision history for this message
Brian Murray (brian-murray) wrote :

Ubuntu 21.10 (Impish Indri) has reached end of life, so this bug will not be fixed for that specific release.

Changed in linux (Ubuntu Impish):
status: Confirmed → Won't Fix
Revision history for this message
Paul Szabo (psz-maths) wrote :

Should I also test linux-next as per comment #95?
(Pippo said in #96 that it blocks network after 24 hours.)
Sorry for the slow response, I have been away on holidays
(and relying on my laptop, so unwilling to run tests).

Changed in linux-oem-5.13 (Ubuntu Focal):
status: Confirmed → Won't Fix
Changed in hwe-next:
status: New → Fix Released
status: Fix Released → New
Timo Aaltonen (tjaalton)
Changed in linux (Ubuntu Jammy):
status: Confirmed → Fix Released
Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Changed in hwe-next:
status: New → Fix Released
Revision history for this message
Paul Szabo (psz-maths) wrote :

Sorry, NOT FIXED. I updated to 5.15.0-47-generic and removed file
/etc/modprobe.d/rtw88_pci.conf that contained the setting
  options rtw88_pci disable_aspm=1
and my laptop promptly froze. Sanity restored by putting the
rtw88_pci.conf file back in place.

Please do not "resolve" this ticket at each kernel update, unless you
have a good reason to believe that the issue is actually solved.

Revision history for this message
Paul Szabo (psz-maths) wrote :

Tested 5.15.0-47-generic, not fixed

Changed in linux (Ubuntu):
status: Fix Released → Confirmed
Changed in linux (Ubuntu Jammy):
status: Fix Released → Confirmed
To post a comment you must log in.