[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-06-02 Thread Lenno Nagel
Using mainline kernel 5.18.0 and the following module options, it seems
more stable. At least it has not crashed anymore like that.

$ uname -a
Linux LNT480s 5.18.0-051800-generic #202205222030 SMP PREEMPT_DYNAMIC Sun May 
22 20:33:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/modprobe.d/50-rtw89.conf
options rtw89_pci disable_clkreq=1 disable_aspm_l1=1 disable_aspm_l1ss=1

Without these options it crashed about once per day and indeed after
suspends.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-30 Thread Göran Engdahl
Hi!
I have the same problem on my (Ryzen) Lenovo T14s running ubuntu 22.04

uname -a
Linux gengdahl-ThinkPad-T14s-Gen-1 5.15.0-33-generic #34-Ubuntu SMP Wed May 18 
13:34:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

This is extract from log /var/log/syslog when issue happens

May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884560] rtw89_pci 
:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d 
address=0x36b41c90 flags=0x]
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884566] rtw89_pci 
:03:00.0: FW status = 0xcd001100
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884576] rtw89_pci 
:03:00.0: FW BADADDR = 0x0
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884577] rtw89_pci 
:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d 
address=0x36b42000 flags=0x]
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884581] rtw89_pci 
:03:00.0: FW EPC/RA = 0x0
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884585] rtw89_pci 
:03:00.0: FW MISC = 0x0
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884587] rtw89_pci 
:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d 
address=0x36b42200 flags=0x]
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884589] rtw89_pci 
:03:00.0: R_AX_HALT_C2H = 0x1000
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884594] rtw89_pci 
:03:00.0: R_AX_SER_DBG_INFO = 0x100
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884596] rtw89_pci 
:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d 
address=0x36b42300 flags=0x]
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884602] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898fea3
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884622] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898fe8f
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884638] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898fea9
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884653] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898fe91
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884669] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898ff7d
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884684] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898febb
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884699] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898feaf
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884714] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898fe91
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884730] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898fea3
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884745] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898fe8b
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884760] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898fe81
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884775] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898ff97
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884790] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898fe3f
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884806] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898ff8f
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884821] rtw89_pci 
:03:00.0: [ERR]fw PC = 0xb898ff85
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884835] rtw89_pci 
:03:00.0: --->
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884835] err=0x1000
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884839] rtw89_pci 
:03:00.0: R_AX_SER_DBG_INFO =0x0100
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884843] rtw89_pci 
:03:00.0: R_AX_CMAC_ERR_ISR =0x
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884847] rtw89_pci 
:03:00.0: R_AX_DMAC_ERR_ISR =0x0100
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884850] rtw89_pci 
:03:00.0: R_AX_WDE_ERR_FLAG_CFG =0x
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884854] rtw89_pci 
:03:00.0: R_AX_PLE_ERR_FLAG_CFG =0x
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884858] rtw89_pci 
:03:00.0: R_AX_HOST_DISPATCHER_ALWAYS_IMR=0x0c40
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884862] rtw89_pci 
:03:00.0: R_AX_HOST_DISPATCHER_ALWAYS_ISR=0x0040
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884866] rtw89_pci 
:03:00.0: R_AX_CPU_DISPATCHER_ALWAYS_IMR=0x0462
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884870] rtw89_pci 
:03:00.0: R_AX_CPU_DISPATCHER_ALWAYS_ISR=0x
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884873] rtw89_pci 
:03:00.0: R_AX_OTHER_DISPATCHER_ALWAYS_IMR=0x
May 30 21:42:33 gengdahl-ThinkPad-T14s-Gen-1 kernel: [ 5688.884877] rtw89_pci 
:03:00.0: 

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-26 Thread Kai-Heng Feng
And please try kernel parameter "rtw89_pci.disable_clkreq=1
rtw89_pci.disable_aspm_l1=1 rtw89.disable_aspm_l1ss=1".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-26 Thread Kai-Heng Feng
Does the issue only happen when the system came out from suspend?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-26 Thread Lenno Nagel
This also affects my Lenovo P14s with a Ryzen CPU using a mainline
kernel.

$ uname -a
Linux LNT480s 5.17.7-051707-generic #202205121146 SMP PREEMPT Thu May 12 
13:20:51 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Setting kernel parameter "iommu=off" results in the network interface
being unavailable.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-05 Thread Kai-Heng Feng
Does kernel parameter "iommu=off" help?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-05 Thread Raphaël Pinson
@lissyx is that an Intel or Ryzen P14s you have?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-05 Thread Larry Finger
As maintainer of an rtw89 repo at GitHub, I have seen lots of complaints
about this kind of hangups. Nearly all of these happen with Lenovo
laptops. The remainder are a few HP machines.

For some reason, the BIOS or the PCI interface in the Lenovo laptops are
incompatible with the PCI code used in RTW89. My laptop is a Toshiba
from 2014, and it never has any problems, thus I cannot diagnose the
difficulty. The same is true for the software developers in Taiwan, with
whom I have discussed the problem.

This is the first I have heard that the problem started/got worse around
April 11. That sounds like a candidate for bisection, which would have
to be done with the mainline kernel, or even better, the one at
wireless-next
(git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-
next.git). Due to special patches in the GitHub version needed to build
on older kernels, I upgrade the repo in batches, and lose the details of
each individual patch from wireless-testing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-05 Thread Pirouette Cacahuète
I have been running into the same on my P14s, and I did upgrade to Jammy
early march, but it only started to happen very very much only around
the 11th of april (I have been updating mostly daily). Since that date,
any intensive use of the wifi started to trigger the same behavior,
whatever the version of rtw89 driver I was using (bundled in the 5.15
kernel or the one on github).

This made my life mostly impossible to work, I switched my laptop to an
Intel AC9260 WiFi chip and no more problem since.

Over the course of my debugging, I tested older versions of rtw89 repo
(that were known to be fine from my earlier use) as well as different
rtw89 firmwares versions, to no help.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-05 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-firmware (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-05 Thread Juerg Haefliger
Is this a regression? I.e. did this work before you upgraded to Jammy?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-05 Thread AaronMa
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18-rc5/

Please try AMD64 build.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-05 Thread Raphaël Pinson
Thanks for your reply Aaron. Is there an official Ubuntu package for
kernel 5.18-rc which I could try?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971656] Re: rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

2022-05-05 Thread AaronMa
Could you try upstream kernel?
5.18-rc kernel got a lot of patches for rtw89.

upstream bug:
https://github.com/lwfinger/rtw89/issues/144

** Bug watch added: github.com/lwfinger/rtw89/issues #144
   https://github.com/lwfinger/rtw89/issues/144

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1971656/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs