#586855 pm-utils: pm-hibernate fails without any hint of why

#586855#5
Date:
2010-06-22 21:57:02 UTC
From:
To:
On my ThinkPad T60, occasionally the system gets into a state where pm-
hibernate fails.  s2disk still succeeds and I haven't tracked down the cause of
the failure.  One of the reason is that running "pm-hibernate" as root from the
command-line just returns sliently (with error code 1), whereas I would expect
it to return some output on stderr giving a hint as to where the problem comes
from.

After some digging I noticed that /var/log/pm-suspend might contain relevant
debug info (tho it didn't help me, yet), but that's no substitute for putting
some diagnostics right into stderr.

#586855#10
Date:
2010-07-06 19:40:04 UTC
From:
To:
I can confirm this bug for squeeze on my Thinkpad R61.

Suspend (suspend to ram) and resume works. Hibernate (suspend to disk)
fails without any error messages that I could read.

My /var/log/pm-suspend.log is shown below.

Initial commandline parameters:
Tue Jul  6 12:21:07 PDT 2010: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:Linux debian
2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux
Module                  Size  Used by
aes_i586                6816  2
aes_generic            25738  1 aes_i586
acpi_cpufreq            4943  0
cpufreq_powersave        602  0
cpufreq_userspace       1480  0
cpufreq_stats           1940  0
cpufreq_conservative     4018  0
parport_pc             15799  0
ppdev                   4058  0
lp                      5570  0
parport                22554  3 parport_pc,ppdev,lp
sco                     5857  2
bridge                 32987  0
stp                      996  1 bridge
bnep                    7444  2
rfcomm                 25167  8
l2cap                  21705  16 bnep,rfcomm
binfmt_misc             4907  1
uinput                  4796  1
fuse                   43758  1
ext4                  254973  1
jbd2                   56091  1 ext4
crc16                   1027  2 l2cap,ext4
loop                    9757  0
firewire_sbp2           9647  0
snd_hda_codec_analog    45518  1
snd_hda_intel          16703  1
snd_hda_codec          46002  2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep               4054  1 snd_hda_codec
snd_pcm_oss            28671  0
snd_mixer_oss          10461  1 snd_pcm_oss
snd_pcm                47214  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            3576  0
snd_rawmidi            12505  1 snd_seq_midi
snd_seq_midi_event      3684  1 snd_seq_midi
btusb                   7997  2
snd_seq                35463  2 snd_seq_midi,snd_seq_midi_event
bluetooth              36327  9 sco,bnep,rfcomm,l2cap,btusb
pcmcia                 17442  0
uvcvideo               45226  0
snd_timer              12258  2 snd_pcm,snd_seq
arc4                     974  2
snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
ecb                     1405  2
videodev               25545  1 uvcvideo
yenta_socket           16403  1
rsrc_nonstatic          7057  1 yenta_socket
v4l1_compat            10250  2 uvcvideo,videodev
iwl3945                45943  0
pcmcia_core            20450  3 pcmcia,yenta_socket,rsrc_nonstatic
snd                    34363  13
snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
joydev                  6771  0
soundcore               3450  1 snd
i915                  219952  3
iwlcore                67394  1 iwl3945
snd_page_alloc          5045  2 snd_hda_intel,snd_pcm
drm_kms_helper         18305  1 i915
drm                   112020  4 i915,drm_kms_helper
mac80211              123258  2 iwl3945,iwlcore
i2c_i801                6462  0
i2c_algo_bit            3497  1 i915
i2c_core               12696  6
videodev,i915,drm_kms_helper,drm,i2c_i801,i2c_algo_bit
cfg80211               87601  3 iwl3945,iwlcore,mac80211
thinkpad_acpi          41995  0
video                  14605  1 i915
rfkill                 10264  5 bluetooth,cfg80211,thinkpad_acpi
processor              26599  3 acpi_cpufreq
button                  3598  1 i915
serio_raw               2916  0
evdev                   5609  25
psmouse                44653  0
pcspkr                  1207  0
tpm_tis                 5496  0
tpm                     8137  1 tpm_tis
battery                 3782  0
ac                      1640  0
wmi                     3575  0
nvram                   3957  1 thinkpad_acpi
tpm_bios                3569  1 tpm
output                  1204  1 video
ext3                   94204  1
jbd                    32169  1 ext3
mbcache                 3762  2 ext4,ext3
sg                     15968  0
sr_mod                 10770  0
cdrom                  26487  1 sr_mod
sd_mod                 25869  4
crc_t10dif              1012  1 sd_mod
ata_generic             2019  0
uhci_hcd               16057  0
sdhci_pci               4525  0
sdhci                  12147  1 sdhci_pci
firewire_ohci          16509  0
ata_piix               17640  0
firewire_core          31143  2 firewire_sbp2,firewire_ohci
crc_itu_t               1035  1 firewire_core
ricoh_mmc               2561  0
mmc_core               38503  1 sdhci
led_class               1757  4 iwl3945,iwlcore,thinkpad_acpi,sdhci
thermal                 9206  0
thermal_sys             9378  3 video,processor,thermal
ahci                   27246  3
libata                115665  3 ata_generic,ata_piix,ahci
scsi_mod              101401  5 firewire_sbp2,sg,sr_mod,sd_mod,libata
ehci_hcd               27763  0
e1000e                 97629  0
usbcore                98402  5 btusb,uvcvideo,uhci_hcd,ehci_hcd
nls_base                4541  1 usbcore
              total       used       free     shared    buffers     cached
Mem:       2032864     529120    1503744          0      16732     329980
-/+ buffers/cache:     182408    1850456
Swap:      4194296          0    4194296
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/70action_wpa hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate
hibernate:success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success.
Tue Jul  6 12:21:08 PDT 2010: performing hibernate

Package: pm-utils
Version: 1.3.0-2
Kernel: Linux 2.6.32-5-686

#586855#15
Date:
2015-11-12 00:54:04 UTC
From:
To:
Hi,

I installed Debian 8.2 on a USB drive to test some of packages that cause serious issue.

penguin@test:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       4.5G  1.4G  2.9G  32% /
udev             10M     0   10M   0% /dev
tmpfs           1.6G  8.6M  1.6G   1% /run
tmpfs           3.8G     0  3.8G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup

I noticed since Debian 8.0 to 8.2, pm-suspend stopped working. So I relied on pm-hibernate to continue computer work on and off without restart every program in Xorg.

Well, Debian 8.2 with systemd seems to make the matter worse now. A Debian fork, Devuan which uses Debian 8.0 as base system without systemd at least provides pm-utils feature.

#586855#20
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)