You are not logged in.

#1 2012-08-26 04:45:56

ramboman
Member
Registered: 2010-01-23
Posts: 35

Suspend to ram/disk stopped working overnight

My suspend to ram/disk used to work fine, but overnight, it stopped. It is not an update issue since, I was able to suspend after the last update. I decided to update today hoping that it is going to solve the problem, but the problem persist.

Here is what happens:

$ sudo pm-suspend

or

$ sudo pm-hibernate

The computer suspends faster than usual, as if it does not take the time to complete the suspend procedure. When I turn the computer on, it starts to boot instead of resuming from suspend. In the case of hibernate, this is clearly obvious. Normally it is suppose to take 10-30 s. to save the memory data to the swap, but this time the computer shuts fast (1-2s.), and I doubt that all the data is saved to swap.

Here are the logs for each case (/var/log/pm-suspend.log):

suspend to ram:

Initial commandline parameters: 
Sat Aug 25 23:16:03 EDT 2012: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux gateway 3.4.9-1-ARCH #1 SMP PREEMPT Wed Aug 15 18:59:31 CEST 2012 x86_64 GNU/Linux
Module                  Size  Used by
xt_recent               7901  3 
xt_tcpudp               2471  51 
ip6table_mangle         1684  0 
ipt_MASQUERADE          1738  1 
nf_nat_ftp              1668  0 
iptable_nat             4024  1 
nf_nat                 15100  3 nf_nat_ftp,ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4       6871  20 nf_nat,iptable_nat
nf_defrag_ipv4          1339  1 nf_conntrack_ipv4
xt_TCPMSS               3439  5 
xt_LOG                 11943  48 
ipt_REJECT              2281  0 
iptable_mangle          1584  0 
xt_multiport            1758  0 
xt_state                1295  17 
xt_limit                2041  51 
xt_conntrack            3329  0 
nf_conntrack_ftp        6261  1 nf_nat_ftp
nf_conntrack           61584  8 nf_nat_ftp,ipt_MASQUERADE,nf_nat,xt_state,xt_conntrack,nf_conntrack_ftp,iptable_nat,nf_conntrack_ipv4
ip6table_filter         1396  1 
ip6_tables             18198  2 ip6table_filter,ip6table_mangle
iptable_filter          1456  1 
ip_tables              16946  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               16954  17 ip6table_filter,ip6table_mangle,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_multiport,iptable_filter,xt_TCPMSS,ipt_REJECT,iptable_mangle,ip6_tables,iptable_nat
adt7475                20329  0 
hwmon_vid               3196  1 adt7475
arc4                    1410  2 
sg                     25344  0 
st                     35573  0 
uas                     8823  0 
rtl8187                52559  0 
mxm_wmi                 1425  0 
wmi                     8475  1 mxm_wmi
shpchp                 26305  0 
pci_hotplug            23564  1 shpchp
eeprom_93cx6            2175  1 rtl8187
serio_raw               4653  0 
i2c_algo_bit            5391  0 
ttm                    64320  0 
drm_kms_helper         33051  0 
drm                   208958  2 ttm,drm_kms_helper
tpm_tis                 9074  0 
tpm                    13765  1 tpm_tis
tpm_bios                5121  1 tpm
video                  11307  0 
b43                   353506  0 
snd_hda_codec_realtek    60726  1 
iTCO_wdt               12813  0 
iTCO_vendor_support     1929  1 iTCO_wdt
snd_hda_intel          24053  0 
snd_hda_codec          94305  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               6300  1 snd_hda_codec
snd_pcm                74958  2 snd_hda_codec,snd_hda_intel
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
snd_timer              18966  1 snd_pcm
snd                    58997  6 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               5410  1 snd
nvidia              11182217  0 
sky2                   49219  0 
microcode              12345  0 
i2c_i801                8180  0 
ssb                    48803  1 b43
pcspkr                  1899  0 
evdev                   9754  11 
firewire_ohci          31709  0 
intel_agp              10936  0 
firewire_core          51552  1 firewire_ohci
intel_gtt              14047  1 intel_agp
crc_itu_t               1363  1 firewire_core
thermal                 7959  0 
fan                     2426  0 
button                  4502  0 
pcmcia                 35785  2 b43,ssb
bcma                   22757  1 b43
mmc_core               82070  2 b43,ssb
coretemp                5654  0 
i2c_core               20369  6 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,adt7475,nvidia
mac80211              395712  2 b43,rtl8187
cfg80211              170255  3 b43,mac80211,rtl8187
rfkill                 15604  1 cfg80211
pcmcia_core            12253  1 pcmcia
vboxnetadp             18387  0 
vboxnetflt             16871  0 
vboxdrv              1792216  2 vboxnetadp,vboxnetflt
acpi_cpufreq            5933  0 
mperf                   1299  1 acpi_cpufreq
processor              26567  1 acpi_cpufreq
nfs                   276152  0 
nfs_acl                 2359  1 nfs
lockd                  62987  1 nfs
auth_rpcgss            32327  1 nfs
sunrpc                185190  4 nfs,auth_rpcgss,lockd,nfs_acl
fscache                41059  1 nfs
ext4                  424871  6 
crc16                   1359  1 ext4
jbd2                   73919  1 ext4
mbcache                 5977  1 ext4
aes_x86_64              7508  40 
cryptd                  8741  0 
aes_generic            26138  1 aes_x86_64
xts                     3101  20 
gf128mul                6050  1 xts
dm_crypt               16496  5 
dm_mod                 70918  11 dm_crypt
sr_mod                 14823  0 
cdrom                  35648  1 sr_mod
sd_mod                 29239  8 
usbhid                 36462  0 
hid                    85541  1 usbhid
usb_storage            44760  0 
pata_jmicron            2480  0 
pata_acpi               3408  0 
ata_piix               23160  7 
ata_generic             3295  0 
uhci_hcd               23436  0 
libata                167611  4 pata_acpi,ata_generic,ata_piix,pata_jmicron
scsi_mod              132736  7 sg,st,uas,usb_storage,libata,sd_mod,sr_mod
ehci_hcd               41026  0 
usbcore               147661  7 uas,uhci_hcd,rtl8187,usb_storage,ehci_hcd,usbhid
usb_common               954  1 usbcore
floppy                 58615  0 
vfat                   10119  0 
fat                    49739  1 vfat
nls_cp437               5953  0 
             total       used       free     shared    buffers     cached
Mem:       4052416     174372    3878044          0      20828      36868
-/+ buffers/cache:     116676    3935740
Swap:      5122680          0    5122680

/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:

/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/50netcfg suspend suspend:

/usr/lib/pm-utils/sleep.d/50netcfg suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
Unloading kernel module rfkill...Done.

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /etc/pm/sleep.d/90alsa suspend suspend:

/etc/pm/sleep.d/90alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
nVidia binary video drive detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Sat Aug 25 23:16:04 EDT 2012: performing suspend

hibernate:

Initial commandline parameters: 
Sat Aug 25 22:13:46 EDT 2012: Running hooks for hibernate.
Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
Linux gateway 3.4.9-1-ARCH #1 SMP PREEMPT Wed Aug 15 18:59:31 CEST 2012 x86_64 GNU/Linux
Module                  Size  Used by
xt_recent               7901  3 
xt_tcpudp               2471  51 
ip6table_mangle         1684  0 
ipt_MASQUERADE          1738  1 
nf_nat_ftp              1668  0 
iptable_nat             4024  1 
nf_nat                 15100  3 nf_nat_ftp,ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4       6871  20 nf_nat,iptable_nat
nf_defrag_ipv4          1339  1 nf_conntrack_ipv4
xt_TCPMSS               3439  5 
xt_LOG                 11943  48 
ipt_REJECT              2281  0 
iptable_mangle          1584  0 
xt_multiport            1758  0 
xt_state                1295  17 
xt_limit                2041  51 
xt_conntrack            3329  0 
nf_conntrack_ftp        6261  1 nf_nat_ftp
nf_conntrack           61584  8 nf_nat_ftp,ipt_MASQUERADE,nf_nat,xt_state,xt_conntrack,nf_conntrack_ftp,iptable_nat,nf_conntrack_ipv4
ip6table_filter         1396  1 
ip6_tables             18198  2 ip6table_filter,ip6table_mangle
iptable_filter          1456  1 
ip_tables              16946  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               16954  17 ip6table_filter,ip6table_mangle,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_multiport,iptable_filter,xt_TCPMSS,ipt_REJECT,iptable_mangle,ip6_tables,iptable_nat
adt7475                20329  0 
hwmon_vid               3196  1 adt7475
sg                     25344  0 
st                     35573  0 
uas                     8823  0 
rtl8187                52559  0 
mxm_wmi                 1425  0 
wmi                     8475  1 mxm_wmi
shpchp                 26305  0 
pci_hotplug            23564  1 shpchp
eeprom_93cx6            2175  1 rtl8187
serio_raw               4653  0 
i2c_algo_bit            5391  0 
ttm                    64320  0 
drm_kms_helper         33051  0 
drm                   208958  2 ttm,drm_kms_helper
tpm_tis                 9074  0 
tpm                    13765  1 tpm_tis
tpm_bios                5121  1 tpm
video                  11307  0 
nvidia              11182217  0 
arc4                    1410  2 
snd_hda_codec_realtek    60726  1 
snd_hda_intel          24053  0 
snd_hda_codec          94305  2 snd_hda_codec_realtek,snd_hda_intel
b43                   353506  0 
ssb                    48803  1 b43
snd_hwdep               6300  1 snd_hda_codec
snd_pcm                74958  2 snd_hda_codec,snd_hda_intel
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
snd_timer              18966  1 snd_pcm
snd                    58997  6 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               5410  1 snd
sky2                   49219  0 
pcmcia                 35785  2 b43,ssb
bcma                   22757  1 b43
i2c_i801                8180  0 
iTCO_wdt               12813  0 
iTCO_vendor_support     1929  1 iTCO_wdt
thermal                 7959  0 
fan                     2426  0 
button                  4502  0 
firewire_ohci          31709  0 
mmc_core               82070  2 b43,ssb
firewire_core          51552  1 firewire_ohci
intel_agp              10936  0 
intel_gtt              14047  1 intel_agp
crc_itu_t               1363  1 firewire_core
i2c_core               20369  6 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,adt7475,nvidia
pcspkr                  1899  0 
microcode              12345  0 
evdev                   9754  11 
coretemp                5654  0 
mac80211              395712  2 b43,rtl8187
cfg80211              170255  3 b43,mac80211,rtl8187
rfkill                 15604  1 cfg80211
pcmcia_core            12253  1 pcmcia
vboxnetadp             18387  0 
vboxnetflt             16871  0 
vboxdrv              1792216  2 vboxnetadp,vboxnetflt
acpi_cpufreq            5933  0 
mperf                   1299  1 acpi_cpufreq
processor              26567  1 acpi_cpufreq
nfs                   276152  0 
nfs_acl                 2359  1 nfs
lockd                  62987  1 nfs
auth_rpcgss            32327  1 nfs
sunrpc                185190  4 nfs,auth_rpcgss,lockd,nfs_acl
fscache                41059  1 nfs
ext4                  424871  6 
crc16                   1359  1 ext4
jbd2                   73919  1 ext4
mbcache                 5977  1 ext4
aes_x86_64              7508  40 
cryptd                  8741  0 
aes_generic            26138  1 aes_x86_64
xts                     3101  20 
gf128mul                6050  1 xts
dm_crypt               16496  5 
dm_mod                 70918  11 dm_crypt
usbhid                 36462  0 
sr_mod                 14823  0 
hid                    85541  1 usbhid
sd_mod                 29239  8 
cdrom                  35648  1 sr_mod
pata_jmicron            2480  0 
usb_storage            44760  0 
pata_acpi               3408  0 
uhci_hcd               23436  0 
ata_piix               23160  7 
ata_generic             3295  0 
libata                167611  4 pata_acpi,ata_generic,ata_piix,pata_jmicron
scsi_mod              132736  7 sg,st,uas,usb_storage,libata,sd_mod,sr_mod
ehci_hcd               41026  0 
usbcore               147661  7 uas,uhci_hcd,rtl8187,usb_storage,ehci_hcd,usbhid
usb_common               954  1 usbcore
floppy                 58615  0 
vfat                   10119  0 
fat                    49739  1 vfat
nls_cp437               5953  0 
             total       used       free     shared    buffers     cached
Mem:       2054092     156900    1897192          0      20680      36788
-/+ buffers/cache:      99432    1954660
Swap:      5122680          0    5122680

/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:

/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub hibernate hibernate:

/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode hibernate hibernate:

/usr/lib/pm-utils/sleep.d/01laptop-mode hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:

/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/50netcfg hibernate hibernate:

/usr/lib/pm-utils/sleep.d/50netcfg hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:
Unloading kernel module rfkill...Done.

/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: success.
Running hook /etc/pm/sleep.d/90alsa hibernate hibernate:

/etc/pm/sleep.d/90alsa hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:

/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:

/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95led hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
nVidia binary video drive detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Sat Aug 25 22:13:48 EDT 2012: performing hibernate

This seems to be too few information to pin point the exact cause of the problem.

What should I do to troubleshoot this problem ?

Offline

#2 2012-08-26 12:10:36

johnislarry
Member
From: Seattle, WA, USA
Registered: 2010-08-18
Posts: 19
Website

Re: Suspend to ram/disk stopped working overnight

It's strange that there doesn't seem to be an obvious cause for why resuming has broken for you (such as an update).  Maybe you've already had a look, but the pm-utils wiki page has some suggestions for the problem you're having.

https://wiki.archlinux.org/index.php/Pm … om_suspend

Offline

#3 2012-08-26 21:41:11

ramboman
Member
Registered: 2010-01-23
Posts: 35

Re: Suspend to ram/disk stopped working overnight

My linux installation is actually on a harddrive using SATA on a desktop. I decided to remove this harddrive and put it into an external usb enclosure. I booted this linux installation on my laptop. When doing suspend, it works as it should, which let me think this is probably not a software issue.

If it is a hardware malfunction, which hardware malfunction can be responsible of an incomplete suspend procedure as described earlier?

Offline

Board footer

Powered by FluxBB