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

2022-05-25 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 Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

Status in linux-firmware package in Ubuntu:
  Confirmed

Bug description:
  On a Lenovo P14s (RTL8111/8168/8411), the WiFi connection gets stuck
  at times. When this happens, there is no way to use `sudo`, the WiFi
  GNOME UI says NetworkManager is not running (which it is), and `dmesg
  -w` continuously outputs:

  ```
  [90296.470925] rtw89_pci :03:00.0: failed to get available addr cam
  [90296.470935] rtw89_pci :03:00.0: failed to init addr cam
  [90296.586817] rtw89_pci :03:00.0: failed to get available addr cam
  [90296.586828] rtw89_pci :03:00.0: failed to init addr cam
  [90296.698790] rtw89_pci :03:00.0: failed to get available addr cam
  [90296.698797] rtw89_pci :03:00.0: failed to init addr cam
  [90296.810783] rtw89_pci :03:00.0: failed to get available addr cam
  [90296.810790] rtw89_pci :03:00.0: failed to init addr cam
  ```

  
  The only solution I've found is to reboot the machine. However, turning off 
needs to be forced (magic keys still work for rebooting).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-firmware 20220329.git681281e4-0ubuntu1
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  Uname: Linux 5.15.0-27-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Thu May  5 07:49:18 2022
  Dependencies: firmware-sof-signed 2.0-1ubuntu2
  InstallationDate: Installed on 2022-02-25 (68 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  MachineType: LENOVO 21A3MZ
  PackageArchitecture: all
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-27-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-27-generic N/A
   linux-backports-modules-5.15.0-27-generic  N/A
   linux-firmware 20220329.git681281e4-0ubuntu1
  SourcePackage: linux-firmware
  UpgradeStatus: Upgraded to jammy on 2022-04-21 (13 days ago)
  dmi.bios.date: 11/05/2021
  dmi.bios.release: 1.13
  dmi.bios.vendor: LENOVO
  dmi.bios.version: R1MET43W (1.13 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 21A3MZ
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40697 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.13
  dmi.modalias: 
dmi:bvnLENOVO:bvrR1MET43W(1.13):bd11/05/2021:br1.13:efr1.13:svnLENOVO:pn21A3MZ:pvrThinkPadP14sGen2a:rvnLENOVO:rn21A3MZ:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21A0_BU_Think_FM_ThinkPadP14sGen2a:
  dmi.product.family: ThinkPad P14s Gen 2a
  dmi.product.name: 21A3MZ
  dmi.product.sku: LENOVO_MT_21A0_BU_Think_FM_ThinkPad P14s Gen 2a
  dmi.product.version: ThinkPad P14s Gen 2a
  dmi.sys.vendor: LENOVO

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [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 Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1971656

Title:
  rtw89_pci failure on Lenovo P14s with Ubuntu 22.04

Status in linux-firmware package in Ubuntu:
  Confirmed

Bug description:
  On a Lenovo P14s (RTL8111/8168/8411), the WiFi connection gets stuck
  at times. When this happens, there is no way to use `sudo`, the WiFi
  GNOME UI says NetworkManager is not running (which it is), and `dmesg
  -w` continuously outputs:

  ```
  [90296.470925] rtw89_pci :03:00.0: failed to get available addr cam
  [90296.470935] rtw89_pci :03:00.0: failed to init addr cam
  [90296.586817] rtw89_pci :03:00.0: failed to get available addr cam
  [90296.586828] rtw89_pci :03:00.0: failed to init addr cam
  [90296.698790] rtw89_pci :03:00.0: failed to get available addr cam
  [90296.698797] rtw89_pci :03:00.0: failed to init addr cam
  [90296.810783] rtw89_pci :03:00.0: failed to get available addr cam
  [90296.810790] rtw89_pci :03:00.0: failed to init addr cam
  ```

  
  The only solution I've found is to reboot the machine. However, turning off 
needs to be forced (magic keys still work for rebooting).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-firmware 20220329.git681281e4-0ubuntu1
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  Uname: Linux 5.15.0-27-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Thu May  5 07:49:18 2022
  Dependencies: firmware-sof-signed 2.0-1ubuntu2
  InstallationDate: Installed on 2022-02-25 (68 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  MachineType: LENOVO 21A3MZ
  PackageArchitecture: all
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-27-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-27-generic N/A
   linux-backports-modules-5.15.0-27-generic  N/A
   linux-firmware 20220329.git681281e4-0ubuntu1
  SourcePackage: linux-firmware
  UpgradeStatus: Upgraded to jammy on 2022-04-21 (13 days ago)
  dmi.bios.date: 11/05/2021
  dmi.bios.release: 1.13
  dmi.bios.vendor: LENOVO
  dmi.bios.version: R1MET43W (1.13 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 21A3MZ
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40697 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.13
  dmi.modalias: 
dmi:bvnLENOVO:bvrR1MET43W(1.13):bd11/05/2021:br1.13:efr1.13:svnLENOVO:pn21A3MZ:pvrThinkPadP14sGen2a:rvnLENOVO:rn21A3MZ:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21A0_BU_Think_FM_ThinkPadP14sGen2a:
  dmi.product.family: ThinkPad P14s Gen 2a
  dmi.product.name: 21A3MZ
  dmi.product.sku: LENOVO_MT_21A0_BU_Think_FM_ThinkPad P14s Gen 2a
  dmi.product.version: ThinkPad P14s Gen 2a
  dmi.sys.vendor: LENOVO

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1998852] [NEW] amdgpu crash during bootup and instability during usage

2022-12-05 Thread Lenno Nagel
Public bug reported:

The following stack trace appears during boot. During normal usage the
system is rather unstable, i've had about 1 crash per hour today after
upgrading to Kinetic.

[3.165052] amdgpu :08:00.0: amdgpu: RAS: optional ras ta ucode is not 
available
[3.176406] amdgpu :08:00.0: amdgpu: RAP: optional rap ta ucode is not 
available
[3.176407] amdgpu :08:00.0: amdgpu: SECUREDISPLAY: securedisplay ta 
ucode is not available
[3.176794] amdgpu :08:00.0: amdgpu: SMU is initialized successfully!
[3.177673] [ cut here ]
[3.177674] WARNING: CPU: 6 PID: 286 at 
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:98
 rn_vbios_smu_send_msg_with_param+0x105/0x110 [amdgpu]
[3.177875] Modules linked in: fjes(+) amdgpu(+) iommu_v2 gpu_sched 
i2c_algo_bit drm_ttm_helper ttm drm_display_helper cec rc_core crct10dif_pclmul 
drm_kms_helper crc32_pclmul ghash_clmulni_intel syscopyarea aesni_intel 
sysfillrect sysimgblt fb_sys_fops crypto_simd cryptd sdhci_pci psmouse drm nvme 
cqhci mhi_pci_generic(+) r8169 nvme_core xhci_pci i2c_piix4 mhi sdhci 
xhci_pci_renesas realtek wmi video i2c_scmi
[3.177890] CPU: 6 PID: 286 Comm: systemd-udevd Not tainted 
5.19.0-26-generic #27-Ubuntu
[3.177892] Hardware name: LENOVO 21ACMH/21ACMH, BIOS R1MET51W (1.21 
) 09/15/2022
[3.177892] RIP: 0010:rn_vbios_smu_send_msg_with_param+0x105/0x110 [amdgpu]
[3.178052] Code: be 93 62 01 00 e8 ab 1f e8 ff 5b 41 5c 41 5d 41 5e 5d 31 
d2 31 c9 31 f6 31 ff c3 cc cc cc cc 3d fe 00 00 00 74 cf 0f 0b eb cb <0f> 0b e9 
49 ff ff ff 0f 1f 40 00 0f 1f 44 00 00 55 31 d2 be 02 00
[3.178053] RSP: 0018:bab080673498 EFLAGS: 00010202
[3.178055] RAX: 00fe RBX: 00030d41 RCX: 
[3.178056] RDX:  RSI:  RDI: 
[3.178056] RBP: bab0806734b8 R08: 0003 R09: 946e63eeac00
[3.178057] R10: 946e5c6a6c00 R11: 0005 R12: 946e5c6a6c00
[3.178057] R13: 000d R14: 0001 R15: 946e5c6a6c00
[3.178058] FS:  7feb74e9d8c0() GS:947451f8() 
knlGS:
[3.178059] CS:  0010 DS:  ES:  CR0: 80050033
[3.178060] CR2: 55ff990ed3ad CR3: 00011bac2000 CR4: 00750ee0
[3.178060] PKRU: 5554
[3.178061] Call Trace:
[3.178062]  
[3.178063]  rn_vbios_smu_enable_48mhz_tmdp_refclk_pwrdwn+0x17/0x30 [amdgpu]
[3.178209]  rn_clk_mgr_construct+0x135/0xd10 [amdgpu]
[3.178353]  ? amdgpu_device_rreg+0xa6/0x120 [amdgpu]
[3.178461]  dc_clk_mgr_create+0x442/0x5e0 [amdgpu]
[3.178606]  dc_construct+0x20f/0x500 [amdgpu]
[3.178755]  ? kmalloc_order+0x6a/0xa0
[3.178758]  ? kmem_cache_alloc_trace+0x189/0x310
[3.178761]  dc_create+0x46/0x140 [amdgpu]
[3.178905]  amdgpu_dm_init.isra.0+0x214/0x350 [amdgpu]
[3.179050]  ? dev_printk_emit+0x61/0x8d
[3.179053]  ? memcpy_erms+0x6/0x10
[3.179056]  dm_hw_init+0x12/0x30 [amdgpu]
[3.179196]  amdgpu_device_ip_init+0x5a2/0x7f7 [amdgpu]
[3.179353]  amdgpu_device_init.cold+0x2ea/0x7ef [amdgpu]
[3.179501]  amdgpu_driver_load_kms+0x1c/0x170 [amdgpu]
[3.179605]  amdgpu_pci_probe+0x16d/0x3b0 [amdgpu]
[3.179702]  local_pci_probe+0x47/0x90
[3.179705]  pci_call_probe+0x55/0x190
[3.179707]  pci_device_probe+0x84/0x120
[3.179708]  really_probe+0x1df/0x3b0
[3.179711]  __driver_probe_device+0x12c/0x1b0
[3.179712]  driver_probe_device+0x24/0xd0
[3.179713]  __driver_attach+0xe0/0x210
[3.179714]  ? __device_attach_driver+0x130/0x130
[3.179716]  bus_for_each_dev+0x90/0xe0
[3.179717]  driver_attach+0x1e/0x30
[3.179718]  bus_add_driver+0x187/0x230
[3.179719]  driver_register+0x8f/0x100
[3.179720]  __pci_register_driver+0x62/0x70
[3.179722]  amdgpu_init+0x6a/0x1000 [amdgpu]
[3.179834]  ? 0xc135d000
[3.179835]  do_one_initcall+0x5e/0x240
[3.179838]  do_init_module+0x50/0x210
[3.179840]  load_module+0xb7d/0xcd0
[3.179841]  ? kernel_read_file+0x255/0x2f0
[3.179844]  __do_sys_finit_module+0xc4/0x140
[3.179845]  ? __do_sys_finit_module+0xc4/0x140
[3.179846]  __x64_sys_finit_module+0x18/0x30
[3.179847]  do_syscall_64+0x5b/0x90
[3.179849]  ? syscall_exit_to_user_mode+0x26/0x50
[3.179851]  ? __x64_sys_read+0x19/0x30
[3.179853]  ? do_syscall_64+0x67/0x90
[3.179853]  ? exit_to_user_mode_prepare+0x30/0xb0
[3.179855]  ? syscall_exit_to_user_mode+0x26/0x50
[3.179856]  ? __x64_sys_mmap+0x33/0x70
[3.179858]  ? do_syscall_64+0x67/0x90
[3.179859]  entry_SYSCALL_64_after_hwframe+0x63/0xcd
[3.179861] RIP: 0033:0x7feb7557dc4d
[3.179862] Code: 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 83 f1 0d 00 f7 d8 64 89 01 48
[3.179