Suspend unreliable (possibly FUSE related)

Bug #1860512 reported by Michał Sawicz
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Since updating to Focal my laptop stopped suspending reliably. It will sit there either without display or with the desktop stuck for almost a minute before it goes back to work again.

Looking at the kernel logs this seems to be related to a FUSE mount that I have running:

sty 22 09:00:49 michal-laptop kernel: Call Trace:
sty 22 09:00:49 michal-laptop kernel: __schedule+0x2e3/0x740
sty 22 09:00:49 michal-laptop kernel: schedule+0x42/0xb0
sty 22 09:00:49 michal-laptop kernel: request_wait_answer+0xa0/0x200
sty 22 09:00:49 michal-laptop kernel: ? wait_woken+0x80/0x80
sty 22 09:00:49 michal-laptop kernel: fuse_simple_request+0x177/0x260
sty 22 09:00:49 michal-laptop kernel: fuse_send_readpages.isra.0+0xea/0xf0
sty 22 09:00:49 michal-laptop kernel: fuse_readpages+0xbc/0x110
sty 22 09:00:49 michal-laptop kernel: read_pages+0x71/0x1a0
sty 22 09:00:49 michal-laptop kernel: __do_page_cache_readahead+0x180/0x1a0
sty 22 09:00:49 michal-laptop kernel: ondemand_readahead+0x192/0x2d0
sty 22 09:00:49 michal-laptop kernel: page_cache_sync_readahead+0x78/0xc0
sty 22 09:00:49 michal-laptop kernel: generic_file_buffered_read+0x571/0xc00
sty 22 09:00:49 michal-laptop kernel: ? ima_file_check+0x5a/0x80
sty 22 09:00:49 michal-laptop kernel: ? do_last+0x194/0x940
sty 22 09:00:49 michal-laptop kernel: generic_file_read_iter+0xdc/0x140
sty 22 09:00:49 michal-laptop kernel: fuse_file_read_iter+0x101/0x130
sty 22 09:00:49 michal-laptop kernel: ? do_filp_open+0xa5/0x100
sty 22 09:00:49 michal-laptop kernel: new_sync_read+0x122/0x1b0
sty 22 09:00:49 michal-laptop kernel: __vfs_read+0x29/0x40
sty 22 09:00:49 michal-laptop kernel: vfs_read+0xab/0x160
sty 22 09:00:49 michal-laptop kernel: ksys_read+0x67/0xe0
sty 22 09:00:49 michal-laptop kernel: __x64_sys_read+0x1a/0x20
sty 22 09:00:49 michal-laptop kernel: do_syscall_64+0x57/0x190
sty 22 09:00:49 michal-laptop kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
sty 22 09:00:49 michal-laptop kernel: RIP: 0033:0x7f432f9e4b1d
sty 22 09:00:49 michal-laptop kernel: Code: Bad RIP value.
sty 22 09:00:49 michal-laptop kernel: RSP: 002b:00007f430bffda28 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
sty 22 09:00:49 michal-laptop kernel: RAX: ffffffffffffffda RBX: 000000000000492a RCX: 00007f432f9e4b1d
sty 22 09:00:49 michal-laptop kernel: RDX: 0000000000001000 RSI: 00007f430bffda40 RDI: 0000000000000011
sty 22 09:00:49 michal-laptop kernel: RBP: 00007f430bffda40 R08: 0000000000000000 R09: 00007f430bffd9a8
sty 22 09:00:49 michal-laptop kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4300004670
sty 22 09:00:49 michal-laptop kernel: R13: 0000562dc32aaac0 R14: 0000000000000011 R15: 0000562dc32aaac0

A longer kernel log is attached.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-9-generic 5.4.0-9.12
ProcVersionSignature: Ubuntu 5.4.0-9.12-generic 5.4.3
Uname: Linux 5.4.0-9-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu15
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: michal 6829 F.... pulseaudio
 /dev/snd/controlC0: michal 6829 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 22 08:54:14 2020
InstallationDate: Installed on 2019-11-19 (63 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: Dell Inc. XPS 12-9Q33
ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=pl_PL.UTF-8
 SHELL=/bin/zsh
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_i2bkio@/vmlinuz-5.4.0-9-generic root=ZFS=rpool/ROOT/ubuntu_i2bkio ro quiet splash vt.handoff=1
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-9-generic N/A
 linux-backports-modules-5.4.0-9-generic N/A
 linux-firmware 1.184
SourcePackage: linux
UpgradeStatus: Upgraded to focal on 2020-01-20 (1 days ago)
dmi.bios.date: 03/03/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A08
dmi.board.name: XPS 12-9Q33
dmi.board.vendor: Dell Inc.
dmi.board.version: A08
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: Not Specified
dmi.modalias: dmi:bvnDellInc.:bvrA08:bd03/03/2015:svnDellInc.:pnXPS12-9Q33:pvrA08:rvnDellInc.:rnXPS12-9Q33:rvrA08:cvnDellInc.:ct8:cvrNotSpecified:
dmi.product.name: XPS 12-9Q33
dmi.product.sku: XPS 12-9Q33
dmi.product.version: A08
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-02-10 (4 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200124)
MachineType: Dell Inc. XPS 12-9Q33
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: linux (not installed)
ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=pl_PL.UTF-8
 SHELL=/usr/bin/zsh
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_vbwrmj@/vmlinuz-5.4.0-14-generic root=ZFS=rpool/ROOT/ubuntu_vbwrmj ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-14-generic N/A
 linux-backports-modules-5.4.0-14-generic N/A
 linux-firmware 1.186
StagingDrivers: exfat
Tags: focal staging
Uname: Linux 5.4.0-14-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 03/03/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A08
dmi.board.name: XPS 12-9Q33
dmi.board.vendor: Dell Inc.
dmi.board.version: A08
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: Not Specified
dmi.modalias: dmi:bvnDellInc.:bvrA08:bd03/03/2015:svnDellInc.:pnXPS12-9Q33:pvrA08:rvnDellInc.:rnXPS12-9Q33:rvrA08:cvnDellInc.:ct8:cvrNotSpecified:
dmi.product.name: XPS 12-9Q33
dmi.product.sku: XPS 12-9Q33
dmi.product.version: A08
dmi.sys.vendor: Dell Inc.

Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Which FUSE is in use?

Also please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/

Revision history for this message
Michał Sawicz (saviq) wrote :

This was https://rclone.org/ - but I've not had this issue in a while. Will close for now.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Michał Sawicz (saviq) wrote :

This came back with bug #1863411.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: apport-collected staging
description: updated
Revision history for this message
Michał Sawicz (saviq) wrote : AlsaInfo.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : CRDA.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : IwConfig.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : Lspci.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : Lsusb.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : Lsusb-t.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : Lsusb-v.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : ProcModules.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : PulseList.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : RfKill.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : UdevDb.txt

apport information

Revision history for this message
Michał Sawicz (saviq) wrote : WifiSyslog.txt

apport information

Revision history for this message
Neil McPhail (njmcphail) wrote :

I can partially reproduce this on Ubuntu Mate 20.04 development release, updated from 19.10. Hardware is a ThinkPad X230.

Steps to reproduce:

- mount an rclone remote drive
- do something which keeps the mountpoint busy (e.g. open the file manager and navigate to a photos folder on the remote drive so the thumbnailer kicks in)
- attempt to suspend

What should happen:

- Laptop suspends

What actually happens:

- mouse pointer becomes unresponsive for about 30 seconds. WiFi status icon changes to disconnected for a few seconds. Laptop does not suspend. WiFi reconnects and mouse pointer becomes responsive again.

Note that simply making the fuse mount with rclone does not inhibit suspend; the problem only occurs if the mount point is busy.

Revision history for this message
Michał Sawicz (saviq) wrote :

tracker-extract on Ubuntu is probably what is keeping it busy here, as I get it crashing from time to time when I mess about with the mountpoint (like unmount to get it to suspend).

Revision history for this message
Diegstroyer (diegstroyer) wrote :

Can't suspend in desktop 20.04, "dmesg -T|grep Freez -A4" output:

[dj. de set. 24 12:56:01 2020] Freezing user space processes ...
[dj. de set. 24 12:56:21 2020] Freezing of tasks failed after 20.010 seconds (2 tasks refusing to freeze, wq_busy=0):
[dj. de set. 24 12:56:21 2020] single D 0 2013 1909 0x00004324
[dj. de set. 24 12:56:21 2020] Call Trace:
[dj. de set. 24 12:56:21 2020] __schedule+0x2e3/0x740
[dj. de set. 24 12:56:21 2020] schedule+0x42/0xb0
--
[dj. de set. 24 12:56:21 2020] Freezing user space processes ...
[dj. de set. 24 12:56:41 2020] Freezing of tasks failed after 20.006 seconds (2 tasks refusing to freeze, wq_busy=0):
[dj. de set. 24 12:56:41 2020] single D 0 2013 1909 0x00004324
[dj. de set. 24 12:56:41 2020] Call Trace:
[dj. de set. 24 12:56:41 2020] __schedule+0x2e3/0x740
[dj. de set. 24 12:56:41 2020] schedule+0x42/0xb0
--
[dj. de set. 24 13:31:10 2020] Freezing user space processes ...
[dj. de set. 24 13:31:30 2020] Freezing of tasks failed after 20.006 seconds (2 tasks refusing to freeze, wq_busy=0):
[dj. de set. 24 13:31:30 2020] single D 0 2007 1909 0x00004324
[dj. de set. 24 13:31:30 2020] Call Trace:
[dj. de set. 24 13:31:30 2020] __schedule+0x2e3/0x740
[dj. de set. 24 13:31:30 2020] schedule+0x42/0xb0
--
[dj. de set. 24 13:31:30 2020] Freezing user space processes ...
[dj. de set. 24 13:31:50 2020] Freezing of tasks failed after 20.007 seconds (2 tasks refusing to freeze, wq_busy=0):
[dj. de set. 24 13:31:50 2020] single D 0 2007 1909 0x00004324
[dj. de set. 24 13:31:50 2020] Call Trace:
[dj. de set. 24 13:31:50 2020] __schedule+0x2e3/0x740
[dj. de set. 24 13:31:50 2020] schedule+0x42/0xb0

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.