#610380 pm-utils: pm-suspend-hybrid fails to resume after power loss

Package:
pm-utils
Source:
pm-utils
Submitter:
Daniel Kahn Gillmor
Date:
2023-12-21 18:00:52 UTC
Severity:
important
#610380#5
Date:
2011-01-18 04:21:36 UTC
From:
To:
On this dell dimension 4500S, pm-suspend seems to work (the system can resume from sleep), and pm-hibernate seems to work (the system can resume after a power loss).

But pm-suspend-hybrid doesn't work as expected:  it can resume from sleep, but after a power loss it does a full reboot instead of restoring from hibernation.

I also notice that it goes into sleep very fast, despite having 1.25GiB of RAM and 3GiB of swap.  I'd have expected it to have needed to write out data to disk,
but it seems to sleep about as quickly after invoking pm-suspend-hybrid as it does after invoking pm-suspend.

"pm-is-supported --suspend-hybrid" returns 0, fwiw.

Regards,

#610380#10
Date:
2011-02-07 06:04:18 UTC
From:
To:
Am 18.01.2011 05:21, schrieb Daniel Kahn Gillmor:

I guess you are not using the uswsusp backend. The kernel implementation
of suspend-hybrid works as follows:

suspend-to-ram
sleep for 15 min (configurable via PM_HIBERNATE_DELAY=)
wake up and hibernate

the uswsusp suspend-hybrid implementation works differently, it does:
create a hibernate image, but don't hibernate
suspend to ram
if battery does not run out: return from suspend
if battery runs out: return from hibernate (image) as soon as power is
back on


So, the described behaviour (given you use the kernel backend) is not
buggy, it just works differently and probably needs better documentation.

Michael

#610380#15
Date:
2013-04-22 00:43:43 UTC
From:
To:
control: found -1 1.4.1-9
control: severity -1 important

Mon, 17 Jan 2011 23:21:36 -0500 from Daniel Kahn Gillmor:

Mon, 07 Feb 2011 07:04:18 +0100 from Michael Biebl:

As of pm-utils 1.4.1-9, pm-action man page describes hybrid-suspend behavior
for uswsusp mode only.

It can lead to misunderstanding and data loss.

By the way, pm-utils package neither recommends nor suggests uswsusp.
---- Best wishes, Bob
#610380#24
Date:
2016-10-13 23:17:07 UTC
From:
To:
Dear Customer,

This is to confirm that one or more of your parcels has been shipped.
Shipment Label is attached to this email.

Regards,
Gordon Conway,
FedEx Station Manager.

#610380#29
Date:
2016-10-19 10:38:34 UTC
From:
To:
Dear Customer,

This is to confirm that one or more of your parcels has been shipped.
Shipment Label is attached to email.

Kind regards,
William Meyers,
Sr. Delivery Manager.

#610380#34
Date:
2016-10-25 11:22:07 UTC
From:
To:
Dear Customer,

Courier was unable to deliver the parcel to you.
You can review complete details of your order in the find attached.

Thanks and best regards,
Billy Owens,
FedEx Operation Manager.

#610380#39
Date:
2016-10-30 18:51:00 UTC
From:
To:
Dear Customer,

Courier was unable to deliver the parcel to you.
Please, open email attachment to print shipment label.

Sincerely,
Brad Rowe,
Sr. Delivery Manager.

#610380#44
Date:
2016-11-04 01:08:01 UTC
From:
To:
Dear Customer,

Courier was unable to deliver the parcel to you.
Delivery Label is attached to this email.

Thanks and best regards,
Lawrence Harvey,
Delivery Agent.

#610380#49
Date:
2016-11-08 00:48:12 UTC
From:
To:
Dear Customer,

This is to confirm that one or more of your parcels has been shipped.
Shipment Label is attached to email.

Kind regards,
Clayton Sloan,
Sr. Support Manager.

#610380#54
Date:
2016-11-11 00:10:55 UTC
From:
To:
Dear Customer,

Your parcel has arrived at November 08. Courier was unable to deliver the parcel to you.
Shipment Label is attached to email.

Kind regards,
Glenn Shepherd,
Operation Manager.

#610380#59
Date:
2016-11-18 22:22:13 UTC
From:
To:
Dear Customer,

Your parcel has arrived at November 15. Courier was unable to deliver the parcel to you.
You can review complete details of your order in the find attached.

Thanks and best regards,
Mitchell Garner,
FedEx Station Manager.

#610380#64
Date:
2016-11-18 22:23:11 UTC
From:
To:
Dear Customer,

Your parcel has arrived at November 15. Courier was unable to deliver the parcel to you.
You can review complete details of your order in the find attached.

Thanks and best regards,
Mitchell Garner,
FedEx Station Manager.

#610380#69
Date:
2018-01-04 06:08:35 UTC
From:
To:
The behavior you describe as "the uswsusp backend" is the only
behavior described in the man page for pm-suspend-hybrid.  It doesn't
mention an alternate behavior at all, let alone that the alternate
behavior is the *default*.

As of version 1.4.1-17 it's still true that pm-utils doesn't suggest
or recommend uswsusp.

#610380#74
Date:
2023-12-21 17:56:09 UTC
From:
To:
Dear submitter,

as the package pm-utils has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1058701

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)