[Kernel-packages] [Bug 1952403] Re: Realtek 8822CE wireless card fails to work after laptop discharge in sleep

2021-12-16 Thread Ion Cebotari
I can confirm now that this isn't only an issue of the wireless card.
USB type C  doesn't work as well, unless I enter the BIOS on boot. I
will document the error messages I get and return with more data on USB
type C as well

** Summary changed:

- Realtek 8822CE wireless card fails to work after laptop discharge in sleep
+ Laptop discharged while in sleep breaks Realtek 8822CE wireless card and USB 
type C on Asus TUF FA506IV

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1952403

Title:
  Laptop discharged while in sleep breaks Realtek 8822CE wireless card
  and USB type C on Asus TUF FA506IV

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I own an Asus TUF A15 FA506IV laptop with Ubuntu 21.10. After putting
  it to sleep it discharged. Turning it back on the Wireless cards
  doesn't work.

  This is what I found in the logs that could help:
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:311] info: Store: 
POWER_RESUMED
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:312] info: Store: 
SET_SUSPEND_STATUS true
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:313] info: 
[DESKTOP-SIDE-EFFECT] Update from desktop for keys  ["app"]
  Nov 24 15:25:56 Zveri2 kernel: [21587.358139] rtw_8822ce :03:00.0: start 
vif 80:30:49:cc:98:0f on port 0
  Nov 24 15:25:56 Zveri2 charon: 01[KNL] interface wlp3s0 activated
  Nov 24 15:25:56 Zveri2 NetworkManager[1059]:   [1637760356.4839] 
manager: NetworkManager state is now CONNECTED_LOCAL
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:489] info: 
NetworkStatus: Network check failed {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "error": "Failed to fetch"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:490] info: Network 
status check {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "elapsed_time_ms": 999784,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "navigator_online": false,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "api_test": "offline"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }

  After this I am getting the following trace:
  Nov 24 15:26:05 Zveri2 kernel: [21596.291200] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[0]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291287] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[1]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291365] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[2]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291484] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[3]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291570] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[5]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291651] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[6]
  Nov 24 15:26:06 Zveri2 krunner[16146]: [11/24/21, 15:26:06:125] info: 
[NETWORK-CONNECTIVITY] Failed to establish a connection after 10 attempt(s).
  Nov 24 15:26:07 Zveri2 kernel: [21598.291806] rtw_8822ce :03:00.0: failed 
to poll offset=0x5 mask=0x2 value=0x0
  Nov 24 15:26:07 Zveri2 kernel: [21598.292047] [ cut here 
]
  Nov 24 15:26:07 Zveri2 kernel: [21598.292049] failed to read DBI register, 
addr=0x0719
  Nov 24 15:26:07 Zveri2 kernel: [21598.292082] WARNING: CPU: 2 PID: 17826 at 
drivers/net/wireless/realtek/rtw88/pci.c:1310 rtw_dbi_read8.constprop.0+0x
  aa/0xc0 [rtw88_pci]
  Nov 24 15:26:07 Zveri2 kernel: [21598.292096] Modules linked in: 
nf_conntrack_netlink xt_addrtype br_netfilter vboxnetadp(OE) vboxnetflt(OE) 
xfrm_user
   xfrm_algo vboxdrv(OE) rfcomm xt_CHECKSUM xt_MASQUERADE xt_conntrack 
ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack
  nf_defrag_ipv6 nf_defrag_ipv4 nft_counter nf_tables nfnetlink bridge stp llc 
cmac algif_hash algif_skcipher overlay af_alg bnep binfmt_misc zfs(PO) zu
  nicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) 
intel_rapl_msr intel_rapl_common joydev snd_hda_codec_realtek snd_hda_code
  c_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel edac_mce_amd 
snd_intel_dspcfg snd_intel_sdw_acpi uvcvideo snd_hda_codec rtw88_8822ce rtw88_88
  22c videobuf2_vmalloc snd_hda_core kvm_amd snd_hwdep rtw88_pci btusb 
videobuf2_memops snd_pcm btrtl rtw88_core videobuf2_v4l2 btbcm videobuf2_common 
k
  vm btintel snd_seq_midi bluetooth videodev snd_seq_midi_event ecdh_generic 
nls_iso8859_1 mc mac80211 rapl ecc snd_rawmidi input_leds
  Nov 24 15:26:07 Zveri2 kernel: [21598.292174]  serio_raw efi_pstore wmi_bmof 
hid_multitouch snd_seq k10temp snd_seq_device cfg80211 snd_timer ucsi_ccg
   snd snd_rn_pci_acp3x libarc4 ccp snd_pci_acp3x soundcore ucsi_acpi 
typec_ucsi typec asus_wireless mac_hid nvidia_uvm(POE) sch_fq_codel msr 
parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs blake2b_generic 
xor zstd_compress raid6_pq libcrc32c dm_crypt 

[Kernel-packages] [Bug 1952403] Re: Realtek 8822CE wireless card fails to work after laptop discharge in sleep

2021-12-14 Thread Ion Cebotari
I have tested the latest mainline kernel:

```
$ uname -a
Linux Zveri2 5.16.0-051600rc5-generic #202112121931 SMP PREEMPT Mon Dec 13 
00:36:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
```

No changes.

I agree that this might be an ACPI issue. On startup, I see the
following messages with this kernel:

```
Dec 14 14:24:28 Zveri2 kernel: [0.405868] Monitor-Mwait will be used to 
enter C-1 state
Dec 14 14:24:28 Zveri2 kernel: [0.405890] ACPI: \_SB_.PLTF.P000: Found 3 
idle states
Dec 14 14:24:28 Zveri2 kernel: [0.405898] ACPI: FW issue: working around 
C-state latencies out of order
***
Dec 14 14:24:28 Zveri2 kernel: [0.409080] ACPI: \_TZ_.THRM: Invalid passive 
threshold
Dec 14 14:24:28 Zveri2 kernel: [0.409110] ACPI: \_TZ_.THRM: Invalid active0 
threshold
Dec 14 14:24:28 Zveri2 kernel: [0.409172] ACPI BIOS Error (bug): Could not 
resolve symbol [\_TZ.THRM._SCP.CTYP], AE_NOT_FOUND (20210930/psargs-330)
Dec 14 14:24:28 Zveri2 kernel: [0.409181] 
Dec 14 14:24:28 Zveri2 kernel: [0.409182] No Local Variables are 
initialized for Method [_SCP]
Dec 14 14:24:28 Zveri2 kernel: [0.409183] 
Dec 14 14:24:28 Zveri2 kernel: [0.409184] Initialized Arguments for Method 
[_SCP]:  (1 arguments defined for method invocation)
Dec 14 14:24:28 Zveri2 kernel: [0.409185]   Arg0:   c253b8d9   
 Integer 
Dec 14 14:24:28 Zveri2 kernel: [0.409189] 
Dec 14 14:24:28 Zveri2 kernel: [0.409190] ACPI Error: Aborting method 
\_TZ.THRM._SCP due to previous error (AE_NOT_FOUND) (20210930/psparse-529)

```

I didn't check if there are changes compared to older linux packages.
The messages repeat for \_SB_.PLTF.P000 to \_SB_.PLTF.P00F. The BIOS is
updated to the latest version available.


I think @Ping-Ke Shih refers to classic pm-suspend behaviour vs the new S0ix 
sleep. I used the bash script from here: 
https://01.org/blogs/qwang59/2018/how-achieve-s0ix-states-linux to test S0ix 
compatibility of my laptop, and found that there is no support for S0ix at the 
moment:

```
ACPI: WSMT 0x 28 (v01 _ASUS_ Notebook 01072009 AMI  
00010013)
Acpi Data Table [WSMT] decoded
Formatted output:  wsmt.dsl - 1314 bytes
Low Power S0 Idle is 0
The system does not support S0ix!
```

I can add the full output if necessary.

Using either `systemctl suspend` or `pm-suspend`, the computer's
behaviour doesn't look different to me.

While googling I found this message in LKML:
http://lkml.iu.edu/hypermail/linux/kernel/2107.2/02226.html , and
judging by https://bugs.launchpad.net/amd/+bug/1928694 the fix should be
in kernel 5.10. Though my CPU's architecture is Renoir, it seems no S0ix
for me is available yet.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1952403

Title:
  Realtek 8822CE wireless card fails to work after laptop discharge in
  sleep

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I own an Asus TUF A15 FA506IV laptop with Ubuntu 21.10. After putting
  it to sleep it discharged. Turning it back on the Wireless cards
  doesn't work.

  This is what I found in the logs that could help:
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:311] info: Store: 
POWER_RESUMED
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:312] info: Store: 
SET_SUSPEND_STATUS true
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:313] info: 
[DESKTOP-SIDE-EFFECT] Update from desktop for keys  ["app"]
  Nov 24 15:25:56 Zveri2 kernel: [21587.358139] rtw_8822ce :03:00.0: start 
vif 80:30:49:cc:98:0f on port 0
  Nov 24 15:25:56 Zveri2 charon: 01[KNL] interface wlp3s0 activated
  Nov 24 15:25:56 Zveri2 NetworkManager[1059]:   [1637760356.4839] 
manager: NetworkManager state is now CONNECTED_LOCAL
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:489] info: 
NetworkStatus: Network check failed {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "error": "Failed to fetch"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:490] info: Network 
status check {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "elapsed_time_ms": 999784,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "navigator_online": false,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "api_test": "offline"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }

  After this I am getting the following trace:
  Nov 24 15:26:05 Zveri2 kernel: [21596.291200] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[0]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291287] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[1]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291365] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[2]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291484] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[3]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291570] rtw_8822ce :03:00.0: timed 
out to 

[Kernel-packages] [Bug 1952403] Re: Realtek 8822CE wireless card fails to work after laptop discharge in sleep

2021-12-13 Thread Kai-Heng Feng
This is more likely to be a PCI or ACPI issue. Maybe the ACPI power
resources for the card was turned off?

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

Headers are not needed.

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1952403

Title:
  Realtek 8822CE wireless card fails to work after laptop discharge in
  sleep

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I own an Asus TUF A15 FA506IV laptop with Ubuntu 21.10. After putting
  it to sleep it discharged. Turning it back on the Wireless cards
  doesn't work.

  This is what I found in the logs that could help:
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:311] info: Store: 
POWER_RESUMED
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:312] info: Store: 
SET_SUSPEND_STATUS true
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:313] info: 
[DESKTOP-SIDE-EFFECT] Update from desktop for keys  ["app"]
  Nov 24 15:25:56 Zveri2 kernel: [21587.358139] rtw_8822ce :03:00.0: start 
vif 80:30:49:cc:98:0f on port 0
  Nov 24 15:25:56 Zveri2 charon: 01[KNL] interface wlp3s0 activated
  Nov 24 15:25:56 Zveri2 NetworkManager[1059]:   [1637760356.4839] 
manager: NetworkManager state is now CONNECTED_LOCAL
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:489] info: 
NetworkStatus: Network check failed {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "error": "Failed to fetch"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:490] info: Network 
status check {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "elapsed_time_ms": 999784,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "navigator_online": false,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "api_test": "offline"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }

  After this I am getting the following trace:
  Nov 24 15:26:05 Zveri2 kernel: [21596.291200] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[0]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291287] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[1]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291365] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[2]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291484] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[3]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291570] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[5]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291651] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[6]
  Nov 24 15:26:06 Zveri2 krunner[16146]: [11/24/21, 15:26:06:125] info: 
[NETWORK-CONNECTIVITY] Failed to establish a connection after 10 attempt(s).
  Nov 24 15:26:07 Zveri2 kernel: [21598.291806] rtw_8822ce :03:00.0: failed 
to poll offset=0x5 mask=0x2 value=0x0
  Nov 24 15:26:07 Zveri2 kernel: [21598.292047] [ cut here 
]
  Nov 24 15:26:07 Zveri2 kernel: [21598.292049] failed to read DBI register, 
addr=0x0719
  Nov 24 15:26:07 Zveri2 kernel: [21598.292082] WARNING: CPU: 2 PID: 17826 at 
drivers/net/wireless/realtek/rtw88/pci.c:1310 rtw_dbi_read8.constprop.0+0x
  aa/0xc0 [rtw88_pci]
  Nov 24 15:26:07 Zveri2 kernel: [21598.292096] Modules linked in: 
nf_conntrack_netlink xt_addrtype br_netfilter vboxnetadp(OE) vboxnetflt(OE) 
xfrm_user
   xfrm_algo vboxdrv(OE) rfcomm xt_CHECKSUM xt_MASQUERADE xt_conntrack 
ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack
  nf_defrag_ipv6 nf_defrag_ipv4 nft_counter nf_tables nfnetlink bridge stp llc 
cmac algif_hash algif_skcipher overlay af_alg bnep binfmt_misc zfs(PO) zu
  nicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) 
intel_rapl_msr intel_rapl_common joydev snd_hda_codec_realtek snd_hda_code
  c_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel edac_mce_amd 
snd_intel_dspcfg snd_intel_sdw_acpi uvcvideo snd_hda_codec rtw88_8822ce rtw88_88
  22c videobuf2_vmalloc snd_hda_core kvm_amd snd_hwdep rtw88_pci btusb 
videobuf2_memops snd_pcm btrtl rtw88_core videobuf2_v4l2 btbcm videobuf2_common 
k
  vm btintel snd_seq_midi bluetooth videodev snd_seq_midi_event ecdh_generic 
nls_iso8859_1 mc mac80211 rapl ecc snd_rawmidi input_leds
  Nov 24 15:26:07 Zveri2 kernel: [21598.292174]  serio_raw efi_pstore wmi_bmof 
hid_multitouch snd_seq k10temp snd_seq_device cfg80211 snd_timer ucsi_ccg
   snd snd_rn_pci_acp3x libarc4 ccp snd_pci_acp3x soundcore ucsi_acpi 
typec_ucsi typec asus_wireless mac_hid nvidia_uvm(POE) sch_fq_codel msr 
parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs blake2b_generic 
xor zstd_compress raid6_pq libcrc32c dm_crypt hid_logitech_hidpp 
hid_logitech_dj nvidia_drm(POE) nvidia_modeset(POE) usbhid nvidia(POE) 
hid_generic amdgpu mfd_aaeon asus_wmi sparse_keymap iommu_v2 gpu_sched 

[Kernel-packages] [Bug 1952403] Re: Realtek 8822CE wireless card fails to work after laptop discharge in sleep

2021-12-08 Thread Ping-Ke Shih
> I put the laptop to sleep
> I use the sleep button from the GUI and it works well

I guess these two sleep methods are different. 
Maybe, you can try to change the behavior of laptop automatic sleep.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1952403

Title:
  Realtek 8822CE wireless card fails to work after laptop discharge in
  sleep

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I own an Asus TUF A15 FA506IV laptop with Ubuntu 21.10. After putting
  it to sleep it discharged. Turning it back on the Wireless cards
  doesn't work.

  This is what I found in the logs that could help:
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:311] info: Store: 
POWER_RESUMED
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:312] info: Store: 
SET_SUSPEND_STATUS true
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:313] info: 
[DESKTOP-SIDE-EFFECT] Update from desktop for keys  ["app"]
  Nov 24 15:25:56 Zveri2 kernel: [21587.358139] rtw_8822ce :03:00.0: start 
vif 80:30:49:cc:98:0f on port 0
  Nov 24 15:25:56 Zveri2 charon: 01[KNL] interface wlp3s0 activated
  Nov 24 15:25:56 Zveri2 NetworkManager[1059]:   [1637760356.4839] 
manager: NetworkManager state is now CONNECTED_LOCAL
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:489] info: 
NetworkStatus: Network check failed {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "error": "Failed to fetch"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:490] info: Network 
status check {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "elapsed_time_ms": 999784,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "navigator_online": false,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "api_test": "offline"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }

  After this I am getting the following trace:
  Nov 24 15:26:05 Zveri2 kernel: [21596.291200] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[0]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291287] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[1]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291365] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[2]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291484] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[3]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291570] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[5]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291651] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[6]
  Nov 24 15:26:06 Zveri2 krunner[16146]: [11/24/21, 15:26:06:125] info: 
[NETWORK-CONNECTIVITY] Failed to establish a connection after 10 attempt(s).
  Nov 24 15:26:07 Zveri2 kernel: [21598.291806] rtw_8822ce :03:00.0: failed 
to poll offset=0x5 mask=0x2 value=0x0
  Nov 24 15:26:07 Zveri2 kernel: [21598.292047] [ cut here 
]
  Nov 24 15:26:07 Zveri2 kernel: [21598.292049] failed to read DBI register, 
addr=0x0719
  Nov 24 15:26:07 Zveri2 kernel: [21598.292082] WARNING: CPU: 2 PID: 17826 at 
drivers/net/wireless/realtek/rtw88/pci.c:1310 rtw_dbi_read8.constprop.0+0x
  aa/0xc0 [rtw88_pci]
  Nov 24 15:26:07 Zveri2 kernel: [21598.292096] Modules linked in: 
nf_conntrack_netlink xt_addrtype br_netfilter vboxnetadp(OE) vboxnetflt(OE) 
xfrm_user
   xfrm_algo vboxdrv(OE) rfcomm xt_CHECKSUM xt_MASQUERADE xt_conntrack 
ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack
  nf_defrag_ipv6 nf_defrag_ipv4 nft_counter nf_tables nfnetlink bridge stp llc 
cmac algif_hash algif_skcipher overlay af_alg bnep binfmt_misc zfs(PO) zu
  nicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) 
intel_rapl_msr intel_rapl_common joydev snd_hda_codec_realtek snd_hda_code
  c_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel edac_mce_amd 
snd_intel_dspcfg snd_intel_sdw_acpi uvcvideo snd_hda_codec rtw88_8822ce rtw88_88
  22c videobuf2_vmalloc snd_hda_core kvm_amd snd_hwdep rtw88_pci btusb 
videobuf2_memops snd_pcm btrtl rtw88_core videobuf2_v4l2 btbcm videobuf2_common 
k
  vm btintel snd_seq_midi bluetooth videodev snd_seq_midi_event ecdh_generic 
nls_iso8859_1 mc mac80211 rapl ecc snd_rawmidi input_leds
  Nov 24 15:26:07 Zveri2 kernel: [21598.292174]  serio_raw efi_pstore wmi_bmof 
hid_multitouch snd_seq k10temp snd_seq_device cfg80211 snd_timer ucsi_ccg
   snd snd_rn_pci_acp3x libarc4 ccp snd_pci_acp3x soundcore ucsi_acpi 
typec_ucsi typec asus_wireless mac_hid nvidia_uvm(POE) sch_fq_codel msr 
parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs blake2b_generic 
xor zstd_compress raid6_pq libcrc32c dm_crypt hid_logitech_hidpp 
hid_logitech_dj nvidia_drm(POE) nvidia_modeset(POE) usbhid nvidia(POE) 
hid_generic amdgpu mfd_aaeon asus_wmi sparse_keymap iommu_v2 gpu_sched 
i2c_algo_bit drm_ttm_helper ttm drm_kms_helper crct10dif_pclmul crc32_pclmul 
syscopyarea 

[Kernel-packages] [Bug 1952403] Re: Realtek 8822CE wireless card fails to work after laptop discharge in sleep

2021-12-08 Thread Ion Cebotari
I forgot to add - I use the sleep button from the GUI and it works well.
Thank you for reminding me about it, as I tried another solution, based
on this forum post: https://forum.garudalinux.org/t/rtl8822ce-wifi-
problems-asus-tuf-gaming-a15/1940/7

I created a SystemD service, called `network-restart` with the following 
contents:
```
# cat /etc/systemd/system/network-restart.service
# systemctl enable --now network-restart.service
# systemctl start network-restart.service
# systemctl stop network-restart.service
# systemctl disable --now network-restart.service
# systemctl status network-restart.service
# systemctl daemon-reload

[Unit]
Description=Network Suspend/Resume Service 
Before=sleep.target
StopWhenUnneeded=yes

[Service]
User=root
Type=oneshot
RemainAfterExit=yes
ExecStartPre=/usr/bin/nmcli networking off
ExecStart=/usr/bin/sleep 1
ExecStart=-/usr/bin/systemctl stop NetworkManager
ExecStart=/usr/bin/sleep 1
ExecStart=/usr/bin/ip link set wlp3s0 down
ExecStart=/usr/bin/sleep 1
ExecStart=/usr/sbin/modprobe -r rtw88_8822ce
ExecStop=/usr/bin/sleep 5
ExecStop=/usr/sbin/modprobe rtw88_8822ce
ExecStop=/usr/bin/sleep 2
ExecStop=/usr/bin/ip link set wlp3s0 up
ExecStop=/usr/bin/sleep 2
ExecStop=/usr/bin/systemctl start NetworkManager
ExecStop=/usr/bin/sleep 2
ExecStop=/usr/bin/nmcli networking on
ExecStop=/usr/bin/sleep 1
ExecStop=/usr/bin/nmcli r wifi off
ExecStop=/usr/bin/sleep 1
ExecStop=/usr/bin/nmcli r wifi on

[Install]
WantedBy=sleep.target
```

I saw no changes, except goind to sleep taking more time. It didn't
succeed in "resurrecting" the wi-fi card after returning from sleep,
stopping at the line `/usr/bin/ip link set wlp3s0 up` with the error
that no such interface exists. Seeing that it didn't help, I removed
this service from the system.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1952403

Title:
  Realtek 8822CE wireless card fails to work after laptop discharge in
  sleep

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I own an Asus TUF A15 FA506IV laptop with Ubuntu 21.10. After putting
  it to sleep it discharged. Turning it back on the Wireless cards
  doesn't work.

  This is what I found in the logs that could help:
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:311] info: Store: 
POWER_RESUMED
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:312] info: Store: 
SET_SUSPEND_STATUS true
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:313] info: 
[DESKTOP-SIDE-EFFECT] Update from desktop for keys  ["app"]
  Nov 24 15:25:56 Zveri2 kernel: [21587.358139] rtw_8822ce :03:00.0: start 
vif 80:30:49:cc:98:0f on port 0
  Nov 24 15:25:56 Zveri2 charon: 01[KNL] interface wlp3s0 activated
  Nov 24 15:25:56 Zveri2 NetworkManager[1059]:   [1637760356.4839] 
manager: NetworkManager state is now CONNECTED_LOCAL
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:489] info: 
NetworkStatus: Network check failed {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "error": "Failed to fetch"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:490] info: Network 
status check {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "elapsed_time_ms": 999784,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "navigator_online": false,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "api_test": "offline"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }

  After this I am getting the following trace:
  Nov 24 15:26:05 Zveri2 kernel: [21596.291200] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[0]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291287] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[1]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291365] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[2]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291484] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[3]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291570] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[5]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291651] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[6]
  Nov 24 15:26:06 Zveri2 krunner[16146]: [11/24/21, 15:26:06:125] info: 
[NETWORK-CONNECTIVITY] Failed to establish a connection after 10 attempt(s).
  Nov 24 15:26:07 Zveri2 kernel: [21598.291806] rtw_8822ce :03:00.0: failed 
to poll offset=0x5 mask=0x2 value=0x0
  Nov 24 15:26:07 Zveri2 kernel: [21598.292047] [ cut here 
]
  Nov 24 15:26:07 Zveri2 kernel: [21598.292049] failed to read DBI register, 
addr=0x0719
  Nov 24 15:26:07 Zveri2 kernel: [21598.292082] WARNING: CPU: 2 PID: 17826 at 
drivers/net/wireless/realtek/rtw88/pci.c:1310 rtw_dbi_read8.constprop.0+0x
  aa/0xc0 [rtw88_pci]
  Nov 24 15:26:07 Zveri2 kernel: [21598.292096] Modules linked in: 
nf_conntrack_netlink xt_addrtype br_netfilter vboxnetadp(OE) vboxnetflt(OE) 
xfrm_user
   xfrm_algo 

[Kernel-packages] [Bug 1952403] Re: Realtek 8822CE wireless card fails to work after laptop discharge in sleep

2021-12-08 Thread Ion Cebotari
Thank you for your reply.

To clarify what  "laptop discharge in sleep" means - the day before I
put the laptop to sleep, with around 20% of battery remaining. On the
second day in the morning the laptop was off, fully discharged. When I
plugged it in and turned it on, there was no wireless conectivity, the
load on the CPU was increased with lots of messages like below in
syslog:

```
Dec  8 13:30:10 Zveri2 kernel: [   57.005777] rtw_8822ce :03:00.0: failed 
to poll offset=0x5 mask=0x2 value=0x0
Dec  8 13:30:10 Zveri2 kernel: [   57.005789] rtw_8822ce :03:00.0: mac 
power on failed
Dec  8 13:30:10 Zveri2 kernel: [   57.005793] rtw_8822ce :03:00.0: failed 
to power on mac
Dec  8 13:30:10 Zveri2 kernel: [   57.005795] rtw_8822ce :03:00.0: leave 
idle state failed
Dec  8 13:30:10 Zveri2 kernel: [   57.005956] rtw_8822ce :03:00.0: failed 
to leave ips state
Dec  8 13:30:10 Zveri2 kernel: [   57.005962] rtw_8822ce :03:00.0: failed 
to leave idle state
Dec  8 13:30:10 Zveri2 kernel: [   57.006050] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[0]
Dec  8 13:30:10 Zveri2 kernel: [   57.006122] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[1]
Dec  8 13:30:10 Zveri2 kernel: [   57.006193] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[2]
Dec  8 13:30:10 Zveri2 kernel: [   57.006264] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[3]
Dec  8 13:30:10 Zveri2 kernel: [   57.006335] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[5]
Dec  8 13:30:10 Zveri2 kernel: [   57.006406] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[6]
```

Now I have to add that with `options rtw88_pci disable_msi=1`, sometimes
the wifi starts on boot. It works for around 20-30 minutes, and after
that I get the following in the logs:

```
Dec  8 12:52:53 Zveri2 krunner[23639]: [12/08/21, 12:52:53:939] info: Store: 
SET_SYSTEM_IDLE idle
Dec  8 12:53:18 Zveri2 krunner[23954]: Qt: Session management error: 
networkIdsList argument is NULL
Dec  8 12:53:35 Zveri2 wpa_supplicant[1074]: wlp3s0: CTRL-EVENT-BEACON-LOSS  
Dec  8 12:53:35 Zveri2 kernel: [ 4589.882099] rtw_8822ce :03:00.0: failed 
to send h2c command
Dec  8 12:53:35 Zveri2 kernel: [ 4589.885182] rtw_8822ce :03:00.0: failed 
to send h2c command
```


> please check /proc/cmdline to see the setting take effect.
```
BOOT_IMAGE=/vmlinuz-5.13.0-22-generic root=/dev/mapper/vgkubuntu-root ro quiet 
splash pcie_aspm.policy=performance amd_iommu=off vt.handoff=7

```

> Please confirm the module parameters by
/sys/module/rtw88_pci/parameters/ if they are set properly

```

root@Zveri2:~# cat /sys/module/rtw88_pci/parameters/disable_aspm  
Y
root@Zveri2:~# cat /sys/module/rtw88_pci/parameters/disable_msi  
Y

```

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1952403

Title:
  Realtek 8822CE wireless card fails to work after laptop discharge in
  sleep

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I own an Asus TUF A15 FA506IV laptop with Ubuntu 21.10. After putting
  it to sleep it discharged. Turning it back on the Wireless cards
  doesn't work.

  This is what I found in the logs that could help:
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:311] info: Store: 
POWER_RESUMED
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:312] info: Store: 
SET_SUSPEND_STATUS true
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:313] info: 
[DESKTOP-SIDE-EFFECT] Update from desktop for keys  ["app"]
  Nov 24 15:25:56 Zveri2 kernel: [21587.358139] rtw_8822ce :03:00.0: start 
vif 80:30:49:cc:98:0f on port 0
  Nov 24 15:25:56 Zveri2 charon: 01[KNL] interface wlp3s0 activated
  Nov 24 15:25:56 Zveri2 NetworkManager[1059]:   [1637760356.4839] 
manager: NetworkManager state is now CONNECTED_LOCAL
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:489] info: 
NetworkStatus: Network check failed {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "error": "Failed to fetch"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:490] info: Network 
status check {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "elapsed_time_ms": 999784,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "navigator_online": false,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "api_test": "offline"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }

  After this I am getting the following trace:
  Nov 24 15:26:05 Zveri2 kernel: [21596.291200] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[0]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291287] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[1]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291365] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[2]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291484] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[3]
  Nov 24 15:26:05 Zveri2 kernel: 

[Kernel-packages] [Bug 1952403] Re: Realtek 8822CE wireless card fails to work after laptop discharge in sleep

2021-12-02 Thread Ping-Ke Shih
> add the options `rtw_pci disable_aspm=1` and `rtw_pci disable_msi=1`
but they didn't help.

Please confirm the module parameters by
/sys/module/rtw88_pci/parameters/ if they are set properly.

> kernel boot parameters `pcie_aspm.policy=performance`

Since your CPU is AMD, please also add `amd_iommu=off` to kernel command
line.

After booting, please check /proc/cmdline to see the setting take
effect.


> after laptop discharge in sleep

I would like to know if you use GUI to suspend the laptop. Does it work
well?

Also, I'm not clear what "laptop discharge in sleep" means. Could you
explain more?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1952403

Title:
  Realtek 8822CE wireless card fails to work after laptop discharge in
  sleep

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I own an Asus TUF A15 FA506IV laptop with Ubuntu 21.10. After putting
  it to sleep it discharged. Turning it back on the Wireless cards
  doesn't work.

  This is what I found in the logs that could help:
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:311] info: Store: 
POWER_RESUMED
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:312] info: Store: 
SET_SUSPEND_STATUS true
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:313] info: 
[DESKTOP-SIDE-EFFECT] Update from desktop for keys  ["app"]
  Nov 24 15:25:56 Zveri2 kernel: [21587.358139] rtw_8822ce :03:00.0: start 
vif 80:30:49:cc:98:0f on port 0
  Nov 24 15:25:56 Zveri2 charon: 01[KNL] interface wlp3s0 activated
  Nov 24 15:25:56 Zveri2 NetworkManager[1059]:   [1637760356.4839] 
manager: NetworkManager state is now CONNECTED_LOCAL
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:489] info: 
NetworkStatus: Network check failed {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "error": "Failed to fetch"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:490] info: Network 
status check {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "elapsed_time_ms": 999784,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "navigator_online": false,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "api_test": "offline"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }

  After this I am getting the following trace:
  Nov 24 15:26:05 Zveri2 kernel: [21596.291200] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[0]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291287] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[1]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291365] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[2]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291484] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[3]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291570] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[5]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291651] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[6]
  Nov 24 15:26:06 Zveri2 krunner[16146]: [11/24/21, 15:26:06:125] info: 
[NETWORK-CONNECTIVITY] Failed to establish a connection after 10 attempt(s).
  Nov 24 15:26:07 Zveri2 kernel: [21598.291806] rtw_8822ce :03:00.0: failed 
to poll offset=0x5 mask=0x2 value=0x0
  Nov 24 15:26:07 Zveri2 kernel: [21598.292047] [ cut here 
]
  Nov 24 15:26:07 Zveri2 kernel: [21598.292049] failed to read DBI register, 
addr=0x0719
  Nov 24 15:26:07 Zveri2 kernel: [21598.292082] WARNING: CPU: 2 PID: 17826 at 
drivers/net/wireless/realtek/rtw88/pci.c:1310 rtw_dbi_read8.constprop.0+0x
  aa/0xc0 [rtw88_pci]
  Nov 24 15:26:07 Zveri2 kernel: [21598.292096] Modules linked in: 
nf_conntrack_netlink xt_addrtype br_netfilter vboxnetadp(OE) vboxnetflt(OE) 
xfrm_user
   xfrm_algo vboxdrv(OE) rfcomm xt_CHECKSUM xt_MASQUERADE xt_conntrack 
ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack
  nf_defrag_ipv6 nf_defrag_ipv4 nft_counter nf_tables nfnetlink bridge stp llc 
cmac algif_hash algif_skcipher overlay af_alg bnep binfmt_misc zfs(PO) zu
  nicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) 
intel_rapl_msr intel_rapl_common joydev snd_hda_codec_realtek snd_hda_code
  c_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel edac_mce_amd 
snd_intel_dspcfg snd_intel_sdw_acpi uvcvideo snd_hda_codec rtw88_8822ce rtw88_88
  22c videobuf2_vmalloc snd_hda_core kvm_amd snd_hwdep rtw88_pci btusb 
videobuf2_memops snd_pcm btrtl rtw88_core videobuf2_v4l2 btbcm videobuf2_common 
k
  vm btintel snd_seq_midi bluetooth videodev snd_seq_midi_event ecdh_generic 
nls_iso8859_1 mc mac80211 rapl ecc snd_rawmidi input_leds
  Nov 24 15:26:07 Zveri2 kernel: [21598.292174]  serio_raw efi_pstore wmi_bmof 
hid_multitouch snd_seq k10temp snd_seq_device cfg80211 snd_timer ucsi_ccg
   snd snd_rn_pci_acp3x libarc4 ccp snd_pci_acp3x soundcore ucsi_acpi 
typec_ucsi typec asus_wireless mac_hid nvidia_uvm(POE) 

[Kernel-packages] [Bug 1952403] Re: Realtek 8822CE wireless card fails to work after laptop discharge in sleep

2021-11-26 Thread Ion Cebotari
** Description changed:

  I own an Asus TUF A15 FA506IV laptop with Ubuntu 21.10. After putting it
  to sleep it discharged. Turning it back on the Wireless cards doesn't
  work.
  
  This is what I found in the logs that could help:
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:311] info: Store: 
POWER_RESUMED
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:312] info: Store: 
SET_SUSPEND_STATUS true
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:313] info: 
[DESKTOP-SIDE-EFFECT] Update from desktop for keys  ["app"]
  Nov 24 15:25:56 Zveri2 kernel: [21587.358139] rtw_8822ce :03:00.0: start 
vif 80:30:49:cc:98:0f on port 0
  Nov 24 15:25:56 Zveri2 charon: 01[KNL] interface wlp3s0 activated
  Nov 24 15:25:56 Zveri2 NetworkManager[1059]:   [1637760356.4839] 
manager: NetworkManager state is now CONNECTED_LOCAL
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:489] info: 
NetworkStatus: Network check failed {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "error": "Failed to fetch"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }
  Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:490] info: Network 
status check {
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "elapsed_time_ms": 999784,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "navigator_online": false,
  Nov 24 15:25:56 Zveri2 krunner[16146]:   "api_test": "offline"
  Nov 24 15:25:56 Zveri2 krunner[16146]: }
  
  After this I am getting the following trace:
  Nov 24 15:26:05 Zveri2 kernel: [21596.291200] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[0]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291287] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[1]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291365] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[2]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291484] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[3]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291570] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[5]
  Nov 24 15:26:05 Zveri2 kernel: [21596.291651] rtw_8822ce :03:00.0: timed 
out to flush pci tx ring[6]
  Nov 24 15:26:06 Zveri2 krunner[16146]: [11/24/21, 15:26:06:125] info: 
[NETWORK-CONNECTIVITY] Failed to establish a connection after 10 attempt(s).
  Nov 24 15:26:07 Zveri2 kernel: [21598.291806] rtw_8822ce :03:00.0: failed 
to poll offset=0x5 mask=0x2 value=0x0
  Nov 24 15:26:07 Zveri2 kernel: [21598.292047] [ cut here 
]
  Nov 24 15:26:07 Zveri2 kernel: [21598.292049] failed to read DBI register, 
addr=0x0719
  Nov 24 15:26:07 Zveri2 kernel: [21598.292082] WARNING: CPU: 2 PID: 17826 at 
drivers/net/wireless/realtek/rtw88/pci.c:1310 rtw_dbi_read8.constprop.0+0x
  aa/0xc0 [rtw88_pci]
  Nov 24 15:26:07 Zveri2 kernel: [21598.292096] Modules linked in: 
nf_conntrack_netlink xt_addrtype br_netfilter vboxnetadp(OE) vboxnetflt(OE) 
xfrm_user
-  xfrm_algo vboxdrv(OE) rfcomm xt_CHECKSUM xt_MASQUERADE xt_conntrack 
ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat 
nf_conntrack 
+  xfrm_algo vboxdrv(OE) rfcomm xt_CHECKSUM xt_MASQUERADE xt_conntrack 
ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack
  nf_defrag_ipv6 nf_defrag_ipv4 nft_counter nf_tables nfnetlink bridge stp llc 
cmac algif_hash algif_skcipher overlay af_alg bnep binfmt_misc zfs(PO) zu
  nicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) 
intel_rapl_msr intel_rapl_common joydev snd_hda_codec_realtek snd_hda_code
  c_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel edac_mce_amd 
snd_intel_dspcfg snd_intel_sdw_acpi uvcvideo snd_hda_codec rtw88_8822ce rtw88_88
  22c videobuf2_vmalloc snd_hda_core kvm_amd snd_hwdep rtw88_pci btusb 
videobuf2_memops snd_pcm btrtl rtw88_core videobuf2_v4l2 btbcm videobuf2_common 
k
  vm btintel snd_seq_midi bluetooth videodev snd_seq_midi_event ecdh_generic 
nls_iso8859_1 mc mac80211 rapl ecc snd_rawmidi input_leds
  Nov 24 15:26:07 Zveri2 kernel: [21598.292174]  serio_raw efi_pstore wmi_bmof 
hid_multitouch snd_seq k10temp snd_seq_device cfg80211 snd_timer ucsi_ccg
-  snd snd_rn_pci_acp3x libarc4 ccp snd_pci_acp3x soundcore ucsi_acpi 
typec_ucsi typec asus_wireless mac_hid nvidia_uvm(POE) sch_fq_codel msr 
parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs blake2b_generic 
xor zstd_compress raid6_pq libcrc32c dm_crypt hid_logitech_hidpp 
hid_logitech_dj nvidia_drm(POE) nvidia_modeset(POE) usbhid nvidia(POE) 
hid_generic amdgpu mfd_aaeon asus_wmi sparse_keymap iommu_v2 gpu_sched 
i2c_algo_bit drm_ttm_helper ttm drm_kms_helper crct10dif_pclmul crc32_pclmul 
syscopyarea ghash_clmulni_intel sysfillrect sysimgblt fb_sys_fops cec 
aesni_intel i2c_hid_acpi r8169 rc_core nvme ahci i2c_hid crypto_simd xhci_pci 
cryptd drm i2c_piix4 nvme_core libahci realtek xhci_pci_renesas i2c_nvidia_gpu 
wmi video hid
+  snd snd_rn_pci_acp3x libarc4 ccp snd_pci_acp3x soundcore ucsi_acpi 
typec_ucsi typec asus_wireless mac_hid