You are not logged in.

#1 2018-11-25 00:32:24

BluCode
Member
Registered: 2018-11-25
Posts: 4

systemctl suspend fails

After doing a system upgrade about a week ago, I found that when I tried to suspend my computer, it rebooted. I could not debug it,
but after doing another upgrade a few days ago it now tries to suspend three times and then gives up.

The output of `sudo journalctl -b 0` after suspending is available at https://pastebin.com/wWSZagKH.
As you can see it errors with `kernel: PM: Some devices failed to suspend, or early wake event detected` right after stopping the disks,
and then suspend exists with `Failed to suspend system. System resumed again: Device or resource busy`.

I have tried a number of things to debug this:
Unloading xhci_pci and xhci_hcd with modprobe before suspending, no change.
Suspending via `echo -n "mem" | sudo tee /sys/power/state`, which results in a shutdown as it was originally.
Echoing EHC1, EHC2 and XHC to /proc/acpi/wakeup (none of which are listed there when I cat it), no change.
Echoing USB4 to /proc/acpi/wakeup, no change.

However I have run out of ideas and am turning to the community.

Offline

#2 2018-11-25 11:08:49

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,169

Re: systemctl suspend fails

This should give you more ideas https://01.org/node/3721


Github | Soundcloud

"Once you hit 10 nested VMs you're basically brad pitt with women who matter" ~ echoline

Offline

#3 2018-12-06 12:27:04

BluCode
Member
Registered: 2018-11-25
Posts: 4

Re: systemctl suspend fails

I have unfortunately not been able to work it out using that resource.
Here is the log with initcall_debug and no_console_suspend enabled: https://pastebin.com/LARMMMFc
Any other ideas would be greatly appreciated.

Offline

#4 2018-12-06 13:27:45

seth
Member
Registered: 2012-09-03
Posts: 8,912

Re: systemctl suspend fails

Let's first see what's there:

cat /proc/acpi/wakeup
lsusb

Online

#5 2018-12-06 20:02:20

BluCode
Member
Registered: 2018-11-25
Posts: 4

Re: systemctl suspend fails

Sorry for the slow reply, I was at school. Here are those two: https://pastebin.com/JRcjZaNS.

Offline

#6 2018-12-06 22:22:23

seth
Member
Registered: 2012-09-03
Posts: 8,912

Re: systemctl suspend fails

You saw all the fancy UHC* entries in the wakeup file?
Your USB devices - try to disable them (echoing the ID into the file toggles the state) until things work. My money is on the UPS. My *cyber*money, that is… ;-)

Online

#7 2018-12-06 22:40:17

BluCode
Member
Registered: 2018-11-25
Posts: 4

Re: systemctl suspend fails

Unfortunately that did not do it. After leaving everything disabled in /proc/acpi/wakeup I still get the same issue.

Offline

Board footer

Powered by FluxBB