You are not logged in.

#1 2018-12-15 16:36:55

dasBook
Member
Registered: 2015-10-27
Posts: 2

Suspend started to fail with update to 4.19.8

My MBP (2015, 15") started to fail to sleep after last update with the following relevant dmesg output:

[13508.802033] PM: suspend entry (deep)
[13508.802035] PM: Syncing filesystems ... done.
...
[13508.819782] dpm_run_callback(): usb_dev_suspend+0x0/0x10 returns -16
[13508.819784] PM: Device usb2 failed to suspend async: error -16
...
[13509.836594] PM: Some devices failed to suspend, or early wake event detected

AFAICT, the error is -EBUSY and there's like a bajillion places in the kernel that report EBUSY in the USB code.  Anybody else seeing this? If so, any suggestions on how to fix it, or track the issue? Or maybe points to a more relevant other forum?

Update: it looks like the issue appeared in 4.19.6, see here. There is a workaround, to build your own after reverting commit 2f31a67f01a8beb22cae754c53522cb61a005750.

Last edited by dasBook (2018-12-15 17:01:54)

Offline

#2 2018-12-19 11:30:30

jaylittle
Member
Registered: 2013-01-16
Posts: 46

Re: Suspend started to fail with update to 4.19.8

Yeah I've been seeing this as well on a Purism Librem15 rev3 with no USB devices plugged into it at the time of suspend.  Thanks for posting about it as that assures me that I'm not going crazy.  Hopefully they will fix this soon.

Offline

#3 2018-12-19 18:47:50

revberaldo
Member
From: Campinas, Brazil
Registered: 2009-09-18
Posts: 45
Website

Re: Suspend started to fail with update to 4.19.8

I'm having exactly the same issue. Turns out that if I stop NetworkManager, suspend works fine again.

Running on a Macbook Air 2017 13" btw.

Offline

#4 2018-12-24 00:17:59

soren121
Member
From: USA
Registered: 2011-11-20
Posts: 9

Re: Suspend started to fail with update to 4.19.8

The patch for this will be in 4.20-rc8 [source]. And probably the next 4.19 patch release as well.

Offline

#5 2019-01-08 01:05:44

revberaldo
Member
From: Campinas, Brazil
Registered: 2009-09-18
Posts: 45
Website

Re: Suspend started to fail with update to 4.19.8

Still having the same problem on kernel 4.20. I think these are the relevant dmesg lines:

[jan 7 20:40] PM: suspend entry (deep)
[  +0,000002] PM: Syncing filesystems ... done.
[  +0,018885] Freezing user space processes ... (elapsed 0.002 seconds) done.
[  +0,002113] OOM killer disabled.
[  +0,000001] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  +0,001323] printk: Suspending console(s) (use no_console_suspend to debug)
[  +0,000798] dpm_run_callback(): usb_dev_suspend+0x0/0x10 returns -16
[  +0,000004] PM: Device usb2 failed to suspend async: error -16
[  +0,015435] pcieport 0000:06:04.0: quirk: waiting for Thunderbolt to reestablish PCI tunnels...
[  +0,000035] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  +0,000040] pcieport 0000:06:05.0: quirk: waiting for Thunderbolt to reestablish PCI tunnels...
[  +0,000006] pcieport 0000:06:06.0: quirk: waiting for Thunderbolt to reestablish PCI tunnels...
[  +0,000761] sd 0:0:0:0: [sda] Stopping disk
[  +0,093041] PM: Some devices failed to suspend, or early wake event detected
[  +0,000424] sd 0:0:0:0: [sda] Starting disk
[  +0,110119] OOM killer enabled.
[  +0,000003] Restarting tasks ... done.
[  +0,055958] video LNXVIDEO:00: Restoring backlight state
[  +0,000129] PM: suspend exit
[  +0,000057] PM: suspend entry (s2idle)
[  +0,000001] PM: Syncing filesystems ... done.

Offline

Board footer

Powered by FluxBB