Public bug reported:

When I have one of my NFSv3 mounts active, the system will fail to go to
sleep. Kernel trace:

kernel: Freezing user space processes ... (elapsed 0.003 seconds) done.
kernel: OOM killer disabled.
kernel: Freezing remaining freezable tasks ...
kernel: Freezing of tasks failed after 20.003 seconds (1 tasks refusing to 
freeze, wq_busy=0):
kernel: task:lockd           state:I stack:    0 pid:174656 ppid:     2 
flags:0x00004000
kernel: Call Trace:
kernel:  <TASK>
kernel:  __schedule+0x24e/0x590
kernel:  schedule+0x69/0x110
kernel:  schedule_timeout+0x105/0x140
kernel:  svc_get_next_xprt+0xf1/0x190 [sunrpc]
kernel:  svc_recv+0x1a9/0x330 [sunrpc]
kernel:  lockd+0xa9/0x1c0 [lockd]
kernel:  ? set_grace_period+0xa0/0xa0 [lockd]
kernel:  kthread+0x127/0x150
kernel:  ? set_kthread_struct+0x50/0x50
kernel:  ret_from_fork+0x1f/0x30
kernel:  </TASK>

First appeared in linux-image-5.15.0-118-generic, present in linux-
image-5.15.0-119-generic, not present in linux-image-5.15.0-117-generic.

Steps to reproduce:
* Boot linux-image-5.15.0-118-generic or -119
* Mount an nfs share.  Ensure that lockd kernel module is loaded
* Put computer into suspsend, it will fail to enter suspend as the lockd task 
will fail to freeze.

When lockd module is not loaded, system is able to go into S3 without
issue.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-118-generic (not installed)
ProcVersionSignature: Ubuntu 5.15.0-117.127-generic 5.15.158
Uname: Linux 5.15.0-117-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  stieg      2541 F.... pipewire
                      stieg      2542 F.... wireplumber
 /dev/snd/controlC0:  stieg      2542 F.... wireplumber
 /dev/snd/seq:        stieg      2541 F.... pipewire
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon Sep 16 09:01:52 2024
InstallationDate: Installed on 2021-07-13 (1160 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 
(20210209.1)
MachineType: LENOVO 20Y4S0CQ00
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-117-generic 
root=/dev/mapper/vgubuntu-root ro nvidia_drm.modeset=1 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-117-generic N/A
 linux-backports-modules-5.15.0-117-generic  N/A
 linux-firmware                              20220329.git681281e4-0ubuntu3.31
SourcePackage: linux
UpgradeStatus: Upgraded to jammy on 2022-06-17 (821 days ago)
dmi.bios.date: 07/31/2024
dmi.bios.release: 1.29
dmi.bios.vendor: LENOVO
dmi.bios.version: N40ET47W (1.29 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20Y4S0CQ00
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.18
dmi.modalias: 
dmi:bvnLENOVO:bvrN40ET47W(1.29):bd07/31/2024:br1.29:efr1.18:svnLENOVO:pn20Y4S0CQ00:pvrThinkPadP1Gen4i:rvnLENOVO:rn20Y4S0CQ00:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20Y4_BU_Think_FM_ThinkPadP1Gen4i:
dmi.product.family: ThinkPad P1 Gen 4i
dmi.product.name: 20Y4S0CQ00
dmi.product.sku: LENOVO_MT_20Y4_BU_Think_FM_ThinkPad P1 Gen 4i
dmi.product.version: ThinkPad P1 Gen 4i
dmi.sys.vendor: LENOVO

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

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

Title:
  lockd: refusing to freeze on S3 suspend; prevents suspend

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


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

Reply via email to