Suspend from disk fails

I’ve got a situation wherein the box upon resuming from suspend to disk fails to properly resume and leaves me looking at a stalled system requiring a power off to return to normal. I see the normal decompressing of the image notification and shortly thereafter a very quick display of the desktop image with a dark screen following that, then the display of another notification that passes too quickly for me to understand what has happened. I am hoping there may be a log of some sort that will have captured this information which I might post for analysis.

I am on 13.1 with KDE desktop. Any suggestions? Thanks!

Also tell use the video card and driver you use.

AGP 8X GeForce EVGA 6200 4X 8X 256 MB Video Graphic Card VGA
With the attendant OpenSUSE NVidia drivers from its repository.

On 2013-12-29 21:16, chuckenheimer wrote:
> I am on 13.1 with KDE desktop. Any suggestions? Thanks!

32 or 64 bits?


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

32-bit

BTW, thanks for the hand holding!

Typically a useful log to review is in** /var/log/pm-suspend.log**.

On 2013-12-29 21:56, chuckenheimer wrote:
>
> 32-bit
>
> BTW, thanks for the hand holding!

Don’t suspend 13.1 - 32 bits, it is broken.

Choices:

  • downgrade to 12.3
  • do not suspend, ever.
  • Upgrade kernel to ??? don’t remember what version.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

Initial commandline parameters: 
Sun Dec 29 13:35:25 CST 2013: Running hooks for hibernate.
Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
hibernate initiated: Sun Dec 29 13:35:25 CST 2013

Linux linux-uc1g 3.11.6-4-desktop #1 SMP PREEMPT Wed Oct 30 18:04:56 UTC 2013 (e6d4a27) i686 athlon i386 GNU/Linux
kernel command line: 'BOOT_IMAGE=/boot/vmlinuz-3.11.6-4-desktop root=UUID=a8b942c7-9d25-481a-92ee-112c58b1b145 resume=/dev/disk/by-id/ata-WDC_WD3200AAJB-00J3A0_WD-WMAV2JV90478-part1 splash=silent quiet showopts'
Module                  Size  Used by
xt_tcpudp              12756  2 
xt_pkttype             12456  3 
xt_LOG                 17446  10 
xt_limit               12541  10 
bnep                   18959  2 
bluetooth             348196  5 bnep
af_packet              35121  0 
ip6t_REJECT            12826  3 
nf_conntrack_ipv6      18450  3 
nf_defrag_ipv6         26064  1 nf_conntrack_ipv6
ip6table_raw           12603  1 
ipt_REJECT             12485  3 
iptable_raw            12598  1 
xt_CT                  12820  4 
iptable_filter         12706  1 
ip6table_mangle        12620  0 
nf_conntrack_netbios_ns    12585  0 
nf_conntrack_broadcast    12541  1 nf_conntrack_netbios_ns
nf_conntrack_ipv4      14492  3 
nf_defrag_ipv4         12649  1 nf_conntrack_ipv4
ip_tables              17987  2 iptable_raw,iptable_filter
xt_conntrack           12664  6 
nf_conntrack           91897  6 nf_conntrack_ipv6,xt_CT,nf_conntrack_netbios_ns,nf_conntrack_broadcast,nf_conntrack_ipv4,xt_conntrack
ip6table_filter        12711  1 
ip6_tables             17819  3 ip6table_raw,ip6table_mangle,ip6table_filter
x_tables               26163  15 xt_tcpudp,xt_pkttype,xt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,ipt_REJECT,iptable_raw,xt_CT,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
binfmt_misc            13111  1 
sr_mod                 21964  0 
cdrom                  41371  1 sr_mod
i2c_viapro             13096  0 
nvidia              10300076  30 
ppdev                  13295  0 
arc4                   12536  2 
snd_via82xx            28414  2 
gameport               14952  1 snd_via82xx
snd_ac97_codec        113860  1 snd_via82xx
ac97_bus               12642  1 snd_ac97_codec
snd_pcm                97666  2 snd_via82xx,snd_ac97_codec
snd_page_alloc         14230  2 snd_via82xx,snd_pcm
snd_mpu401_uart        13865  1 snd_via82xx
snd_rawmidi            29458  1 snd_mpu401_uart
snd_seq                63575  0 
snd_timer              24363  2 snd_pcm,snd_seq
snd_seq_device         14137  2 snd_rawmidi,snd_seq
snd                    70538  12 snd_via82xx,snd_ac97_codec,snd_pcm,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
pcspkr                 12630  0 
serio_raw              13189  0 
via_rhine              31708  0 
mii                    13654  1 via_rhine
soundcore              14599  1 snd
joydev                 17060  0 
usb_storage            52390  0 
ata_generic            12790  0 
via_ircc               21618  0 
irda                  119587  1 via_ircc
crc_ccitt              12627  1 irda
firewire_ohci          39559  0 
firewire_core          65848  1 firewire_ohci
crc_itu_t              12627  1 firewire_core
floppy                 59474  0 
mperf                  12603  0 
aic7xxx               124372  0 
scsi_transport_spi     29662  1 aic7xxx
button                 13664  0 
ath5k                 147343  0 
ath                    19187  1 ath5k
mac80211              560282  1 ath5k
cfg80211              456679  3 ath5k,ath,mac80211
shpchp                 32129  0 
rfkill                 25410  3 bluetooth,cfg80211
parport_pc             36462  0 
parport                40768  2 ppdev,parport_pc
sg                     35720  0 
dm_mod                 88755  0 
autofs4                33269  2 
btrfs                 929222  0 
raid6_pq              101551  1 btrfs
zlib_deflate           26445  1 btrfs
xor                    26221  1 btrfs
libcrc32c              12543  1 btrfs
pata_via               13407  3 
ohci_pci               13305  0 
fan                    12858  0 
thermal                18282  0 
processor              35114  1 
thermal_sys            35374  3 fan,thermal,processor
scsi_dh_alua           17082  0 
scsi_dh_rdac           13106  0 
scsi_dh_hp_sw          12745  0 
scsi_dh_emc            12965  0 
scsi_dh                14458  4 scsi_dh_alua,scsi_dh_rdac,scsi_dh_hp_sw,scsi_dh_emc

             total       used       free     shared    buffers     cached
Mem:       2062652     756688    1305964          0      34128     353668
-/+ buffers/cache:     368892    1693760
Swap:      3026940          0    3026940


/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/02rtcwake hibernate hibernate:
rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing...

/usr/lib/pm-utils/sleep.d/02rtcwake hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/06autofs hibernate hibernate:
autofs.service - Automounts filesystems on demand
   Loaded: loaded (/usr/lib/systemd/system/autofs.service; disabled)
   Active: inactive (dead)


/usr/lib/pm-utils/sleep.d/06autofs hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate:
INFO: checking for suspend-to-disk prerequisites...
  using userspace suspend method, temp. config file /var/lib/s2disk.conf
  setting resume device to /dev/sda1
  setting image size to 950470041
  adding these parameters from /etc/suspend.conf:

/usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/45pcmcia hibernate hibernate:

/usr/lib/pm-utils/sleep.d/45pcmcia hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork hibernate hibernate:

/usr/lib/pm-utils/sleep.d/50rcnetwork hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:

/usr/lib/pm-utils/sleep.d/75modules 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/95packagekit hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95packagekit 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/99Zgrub hibernate hibernate:
INFO: running prepare-grub
  Skipping grub entry #2, because it has the noresume option
  running kernel is grub menu entry 0 (vmlinuz-3.11.6-4-desktop)
  preparing boot-loader: selecting entry 0, kernel /boot/3.11.6-4-desktop
  grub-once:   saving original /boot/grub2/grubenv
  running '/usr/sbin/grub2-once 0'
    time needed for sync: 0.4 seconds, time needed for grub: 0.1 seconds.

/usr/lib/pm-utils/sleep.d/99Zgrub hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99info hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99info hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Sun Dec 29 13:35:28 CST 2013: performing hibernate
INFO: using built-in quirks database from HAL.
INFO: S2RAM_OPTS from HAL quirks: ' '.
Sun Dec 29 13:37:54 CST 2013: Awake.
Sun Dec 29 13:37:54 CST 2013: Running hooks for thaw
Running hook /usr/lib/pm-utils/sleep.d/99video thaw hibernate:

/usr/lib/pm-utils/sleep.d/99video thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99info thaw hibernate:

/usr/lib/pm-utils/sleep.d/99info thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99Zgrub thaw hibernate:
INFO: running grub-once-restore

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

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

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

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

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

/usr/lib/pm-utils/sleep.d/90clock thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules thaw hibernate:
Reloaded unloaded modules.

/usr/lib/pm-utils/sleep.d/75modules thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork thaw hibernate:

/usr/lib/pm-utils/sleep.d/50rcnetwork thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/45pcmcia thaw hibernate:

/usr/lib/pm-utils/sleep.d/45pcmcia thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check thaw hibernate:

/usr/lib/pm-utils/sleep.d/30s2disk-check thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/06autofs thaw hibernate:

/usr/lib/pm-utils/sleep.d/06autofs thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/02rtcwake thaw hibernate:

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

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

/usr/lib/pm-utils/sleep.d/00logging thaw hibernate: success.
Sun Dec 29 13:37:54 CST 2013: Finished.


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Aha! At one time I think it was working with my Matrox Marvel G550 video adapter and mga drivers but now that I’ve upgraded, I’m seeing this suspend flakiness. Thanks for the heads up. My box is pretty loud and I was trying to accommodate the wife. C’est la vie.

You could try with the 3.11.10 kernel (the last one in the 3.11 series) from here:
Index of /repositories/Kernel:/openSUSE-13.1/standard
With this kernel even your nvidia driver should continue to work, if you installed it from the repo. (this won’t work if you install 3.12 f.e.)

I guess this one will be released as online update for 13.1 sooner or later… (although there is a discussion going on to switch to the 3.12 kernel even for 13.1)

Well, that was torturous. My wireless connection is stalled with configuring interface and then a not connected. And, the desktop is back to the large fonts/icons and I’m communicating from another machine. I could try to re-enable the wired connection but I thought I’d post this in the meantime. Maybe if I revert to the original kernel that I had beforehand, then I will be back in business. Thanks again for your help!

Did you install the same flavor of the kernel as you had before? (i.e. kernel-desktop, or kernel-default)

Maybe if I revert to the original kernel that I had beforehand, then I will be back in business.

Yes.
The old kernel should still be in the boot menu, under “Advanced Options”.

But did you try at least whether resume works with the newer kernel?

Yes, the same kernel-desktop and it’s working fine. I removed the newest kernel and have recovered just fine. But, I was too chicken to try the resume function because I was afeared my system configuration may have become fouled and I wanted only to get back to where I was. I’ll take a Clonezilla backup and try again shortly and let you know what I find. I just won’t suspend the box and leave it on as previously mentioned.

On 2013-12-30 01:16, wolfi323 wrote:

> You could try with the 3.11.10 kernel (the last one in the 3.11 series)
> from here:

That one should work. The issue is supposed to be solved on 3.11.8.

+++·············································
fixed in:

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-3.11.y&id=7668bd83b5e7fd1519b1fd92226a
948299692e6b

and

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-3.11.y&id=83da8ac7ee52d56e9bf5626502cc
a6e8e169580c

In short epoll() and select() may do stupid things after resume.
·············································+±


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

Sorry but your last post was over my head. I reviewed the links and see that the problem is indeed the one that I am having but I didn’t know if those “commit” or “parent” hot links were for the kernel or what. If you would be so kind as to educate me on these issues (and which of the two references you listed I might use, or try them both?) then I would be grateful. All when you are able though. Thanks!

USER ERROR!!

I chose the wrong kernel. I’m up and running with the new drop and am trying the suspend function after this post. BRB

On 2013-12-30 06:16, chuckenheimer wrote:
>
> Sorry but your last post was over my head. I reviewed the links and see
> that the problem is indeed the one that I am having but I didn’t know if
> those “commit” or “parent” hot links were for the kernel or what. If you
> would be so kind as to educate me on these issues (and which of the two
> references you listed I might use, or try them both?) then I would be
> grateful. All when you are able though. Thanks!

It was not my intention that you try those patches yourself. It is also too much for me. It is just
for reference.

As I said, the solutions are:

  • wait for an official upgrade that solves this (may take months). Certainly nothing is going to
    be done during the holidays.
  • downgrade to 12.3
  • try to upgrade to a more or less experimental kernel
  • never suspend/hibernate the machine.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

Suspend to RAM seems to work OK but suspend to disk is still problematic. Creates the same situation that the 13.1 distro “dekstop” kernel did. Requires a power off cycling to return to the opsys correctly.

But as an aside, I can tell those NVidia drivers are active, the way the screen flashes. I actually think the upgraded video adapter was a success for this slow, old box. :slight_smile: