Hi. Sorry for the long response time. I tried the different mainline
kernels but none seemed to solve the issue.

However, I upgraded the proprietary Lenovo system firmware with
fwupdmgr, and I have not seen the problem since. This is the output of
fwupdmgr get-history

LENOVO 21J5002KMX
│
└─System Firmware:
  │   Device ID:          [REDACTED]
  │   Previous version:   0.1.36
  │   Update State:       Success
  │   Last modified:      2025-03-07 15:02
  │   GUID:               e40809b1-7d9f-4dc4-7c0f-8ace63b43687
  │   Device Flags:       • Internal device
  │                       • Updatable
  │                       • System requires external power source
  │                       • Supported on remote server
  │                       • Needs a reboot after installation
  │                       • Reported to remote server
  │                       • Cryptographic hash verification is available
  │                       • Device is usable for the duration of the update
  │
  └─ThinkPad T14/P14s Gen 3 T16/P16s Gen 1 AMD System Update:
        New version:      0.1.57
        Remote ID:        lvfs
        Release ID:       105624
        Summary:          Lenovo ThinkPad T14/P14s Gen 3 T16/P16s Gen 1 AMD 
System Firmware
        License:          Proprietary
        Size:             34.6 MB
        Created:          2021-07-13
        Urgency:          High
        Vendor:           Lenovo
        Release Flags:    • Trusted metadata
        Description:
        This stable release has the following changes:

        • Fixed issue where USB device lost intermittently on dock.
        • Enhancement to address security vulnerability.
        • Update MediaTek wireless lan efi driver 1.4.6.
        • PI code update to fix potential blue screen issue.
        Issue:            LEN-167201
        Checksum:         
e8d033e810a1eea26f03a76f72b46312226e64b5946403839a592a6221d0a8fc


I will inform you if the issue re-appears (as I said, it is very sporadic), but 
for now I consider it closed. Do you want me to re-create the issue and test if 
new ath11k drivers fix it?

-- 
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/2099980

Title:
  Wi-Fi connection drops periodically on Ubuntu 24.04.02

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Connection to a an access point drops every 15 seconds or so on fresh
  installs of Ubuntu 24.04.02 on several machines in the Thinkpad P14s
  series. This problem did not occur on fresh installs of Ubuntu 20.04
  with exact same hardware.

  Steps to reproduce:
  1. Install Ubuntu 24.04 on a Thinkad P14s series laptop (tested with 21J5, 
21K5 and 21K3)
  2. Start an access point such as the hotspot from a phone
  3. Connect to the access point with `nmcli d wifi connect "<SSID>" password 
"<password>"
  4. Start pinging the gateway, shortly after, the connection drops. This looks 
like so:

  64 bytes from 192.168.12.1: icmp_seq=15 ttl=64 time=5.81 ms
  64 bytes from 192.168.12.1: icmp_seq=16 ttl=64 time=7.48 ms
  64 bytes from 192.168.12.1: icmp_seq=17 ttl=64 time=7.96 ms
  From 192.168.12.202 icmp_seq=18 Destination Host Unreachable
  From 192.168.12.202 icmp_seq=19 Destination Host Unreachable
  From 192.168.12.202 icmp_seq=20 Destination Host Unreachable

  5. The connection is restored and the ping continues

  
  Logs from NetworkManager upon connection drop:
  NetworkManager[8231]: <info>  [1740475864.3322] dhcp4 (wlp2s0): state changed 
new lease, address=192.168.12.202
  NetworkManager[8231]: <info>  [1740475890.6352] device (wlp2s0): supplicant 
interface state: completed -> disconnected
  NetworkManager[8231]: <info>  [1740475890.7039] device (wlp2s0): supplicant 
interface state: disconnected -> scanning
  NetworkManager[8231]: <info>  [1740475893.4299] device (wlp2s0): supplicant 
interface state: scanning -> authenticating
  NetworkManager[8231]: <info>  [1740475893.4382] device (wlp2s0): supplicant 
interface state: authenticating -> associating
  NetworkManager[8231]: <info>  [1740475893.4581] device (wlp2s0): supplicant 
interface state: associating -> 4way_handshake
  NetworkManager[8231]: <info>  [1740475893.5065] device (wlp2s0): supplicant 
interface state: 4way_handshake -> group_handshake
  NetworkManager[8231]: <info>  [1740475894.5378] device (wlp2s0): supplicant 
interface state: group_handshake -> completed
  NetworkManager[8231]: <info>  [1740475894.5381] device (wlp2s0): ip:dhcp4: 
restarting
  NetworkManager[8231]: <info>  [1740475894.5381] dhcp4 (wlp2s0): canceled DHCP 
transaction
  NetworkManager[8231]: <info>  [1740475894.5382] dhcp4 (wlp2s0): activation: 
beginning transaction (timeout in 45 seconds)
  NetworkManager[8231]: <info>  [1740475894.5382] dhcp4 (wlp2s0): state changed 
no lease
  NetworkManager[8231]: <info>  [1740475894.5382] dhcp4 (wlp2s0): activation: 
beginning transaction (timeout in 45 seconds)
  NetworkManager[8231]: <info>  [1740475894.5479] dhcp4 (wlp2s0): state changed 
new lease, address=192.168.12.202, acd pending
  NetworkManager[8231]: <info>  [1740475894.5481] dhcp4 (wlp2s0): state changed 
new lease, address=192.168.12.202

  Logs from wpa_supplicant upon drop:
  Feb 25 10:33:25 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: 
CTRL-EVENT-CONNECTED - Connection to e4:5f:01:39:2f:af completed [id=0 id_str=]
  Feb 25 10:33:48 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: 
CTRL-EVENT-BEACON-LOSS
  Feb 25 10:33:51 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: 
CTRL-EVENT-DISCONNECTED bssid=e4:5f:01:39:2f:af reason=4 locally_generated=1
  Feb 25 10:33:54 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: SME: Trying to 
authenticate with e4:5f:01:39:2f:af (SSID='testap' freq=5200 MHz)
  Feb 25 10:33:54 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: Trying to 
associate with e4:5f:01:39:2f:af (SSID='testap' freq=5200 MHz)
  Feb 25 10:33:54 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: Associated 
with e4:5f:01:39:2f:af
  Feb 25 10:33:54 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: 
CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
  Feb 25 10:33:55 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: WPA: Key 
negotiation completed with e4:5f:01:39:2f:af [PTK=CCMP GTK=TKIP]
  Feb 25 10:33:55 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: 
CTRL-EVENT-CONNECTED - Connection to e4:5f:01:39:2f:af completed [id=0 id_str=]

  Relevant logs from ring buffer
  [    5.281727] ath11k_pci 0000:02:00.0: BAR 0: assigned [mem 
0x80000000-0x801fffff 64bit]
  [    5.281748] ath11k_pci 0000:02:00.0: enabling device (0000 -> 0002)
  [ 3596.675247] wlp2s0: Limiting TX power to 23 (23 - 0) dBm as advertised by 
e4:5f:01:39:2f:af
  [ 3613.740436] wlp2s0: Connection to AP e4:5f:01:39:2f:af lost
  [ 3616.712013] wlp2s0: authenticate with e4:5f:01:39:2f:af
  [ 3616.745001] wlp2s0: send auth to e4:5f:01:39:2f:af (try 1/3)
  [ 3616.751405] wlp2s0: authenticated
  [ 3616.760743] wlp2s0: associate with e4:5f:01:39:2f:af (try 1/3)
  [ 3616.766666] wlp2s0: RX AssocResp from e4:5f:01:39:2f:af (capab=0x11 
status=0 aid=1)
  [ 3616.780208] wlp2s0: associated

  
  Any other device connecting to this hotspot (including the same computers on 
Ubuntu 20) do not face this issue. The affected computers all have a Qualcomm 
QCNFA765 Wi-Fi chip and use the ath11k drivers.

  I attempted the following to the fix the problem:
  * Disabling powersave in NetworkManager
  * Trying various kernel versions including 6.8.0, 6.11.0 and mainline 
6.14.0-rc4
  * Change band and channel of hotspot
  * Disabling IPv6 in the NetworkManager connection
  --- 
  ProblemType: Bug
  ApportVersion: 2.28.1-0ubuntu3.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: i3
  DistroRelease: Ubuntu 24.04
  InstallationDate: Installed on 2025-01-06 (52 days ago)
  InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
  MachineType: LENOVO 21J5002KMX
  Package: linux (not installed)
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-17-generic 
root=UUID=e39b669c-887c-49d9-9615-28acc025a7fd ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 6.11.0-17.17~24.04.2-generic 6.11.11
  RelatedPackageVersions:
   linux-restricted-modules-6.11.0-17-generic N/A
   linux-backports-modules-6.11.0-17-generic  N/A
   linux-firmware                             20240318.git3b128b60-0ubuntu2.9
  Tags: noble
  Uname: Linux 6.11.0-17-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip docker input lpadmin plugdev sudo users
  _MarkForUpload: True
  dmi.bios.date: 09/14/2022
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: R23ET60W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 21J5002KMX
  dmi.board.vendor: LENOVO
  dmi.board.version: ThinkPad
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.23
  dmi.modalias: 
dmi:bvnLENOVO:bvrR23ET60W(1.30):bd09/14/2022:br1.30:efr1.23:svnLENOVO:pn21J5002KMX:pvrThinkPadP14sGen3:rvnLENOVO:rn21J5002KMX:rvrThinkPad:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21J5_BU_Think_FM_ThinkPadP14sGen3:
  dmi.product.family: ThinkPad P14s Gen 3
  dmi.product.name: 21J5002KMX
  dmi.product.sku: LENOVO_MT_21J5_BU_Think_FM_ThinkPad P14s Gen 3
  dmi.product.version: ThinkPad P14s Gen 3
  dmi.sys.vendor: LENOVO
  --- 
  ProblemType: Bug
  ApportVersion: 2.28.1-0ubuntu3.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: i3
  DistroRelease: Ubuntu 24.04
  InstallationDate: Installed on 2025-01-06 (52 days ago)
  InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
  MachineType: LENOVO 21J5002KMX
  Package: linux (not installed)
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-17-generic 
root=UUID=e39b669c-887c-49d9-9615-28acc025a7fd ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 6.11.0-17.17~24.04.2-generic 6.11.11
  RelatedPackageVersions:
   linux-restricted-modules-6.11.0-17-generic N/A
   linux-backports-modules-6.11.0-17-generic  N/A
   linux-firmware                             20240318.git3b128b60-0ubuntu2.9
  Tags: noble
  Uname: Linux 6.11.0-17-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip docker input lpadmin plugdev sudo users
  _MarkForUpload: True
  dmi.bios.date: 09/14/2022
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: R23ET60W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 21J5002KMX
  dmi.board.vendor: LENOVO
  dmi.board.version: ThinkPad
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.23
  dmi.modalias: 
dmi:bvnLENOVO:bvrR23ET60W(1.30):bd09/14/2022:br1.30:efr1.23:svnLENOVO:pn21J5002KMX:pvrThinkPadP14sGen3:rvnLENOVO:rn21J5002KMX:rvrThinkPad:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21J5_BU_Think_FM_ThinkPadP14sGen3:
  dmi.product.family: ThinkPad P14s Gen 3
  dmi.product.name: 21J5002KMX
  dmi.product.sku: LENOVO_MT_21J5_BU_Think_FM_ThinkPad P14s Gen 3
  dmi.product.version: ThinkPad P14s Gen 3
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2099980/+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

Reply via email to