"suspend to disk" doesn't complete

Hi,

I have opensuse 11.1 on x86-64 AMD hardware, AMI BIOS, emachines from early 2006. I was able to suspend to disk, until just recently. Besides regular opensuse updates, the only hardware change I can think of is I got off a wired network cnxn and installed a PCI wireless network card (which works).

I goto ‘suspend to disk’ from the KDE 4.1 “leave” option on the start menu. I get the suspend splash screen, the bar pauses with it full most of the way to the right.

I added “splash = n” to /etc/suspend.conf (editing /var/lib/s2disk.conf directly doesn’t work, the changes get lost after rebooting). Now, a lot of messages appear (including some warnings about the BIOS not supporting ACPI or something; I have indeed turn on ACPI on the BIOS). The last msg is “s2disk: snapshotting system”. And then nothing. The machine just sits there, still on.

If you want, I even took a snapshot w/ my digital camera of the screen w/ msgs!

Anyway, the same thing happens if I login as a user or as root.

However, I was able (at least once) to suspend to disk when I chose the “failsafe” option on the grub boot menu and logged into KDE as root.

Any ideas? My intel. reports (google) show a fair amount of chatter about suspend issues in linux, even something on kernel.org.

Thanks,
David

Have a look at for /var/log/pm-suspend.log file. This might tell you what is going on. Some proprietary graphics drivers can be problematic for example (this usually get reported in log file). Post the output here. Someone should be able to help.

Thanks!

FWIW, I have an nvidia GeForce 6100 Micro-Star display “card” (the chipset is builtin to the motherboard).

Here is /var/log/pm-suspend.log:

2009-04-26 21:35:37.491572470 -0700: running ‘hibernate’/‘hibernate’/’’ hooks.
===== 2009-04-26 21:35:37.619654540 running hook: /usr/lib/pm-utils/sleep.d/00clear =====
===== 2009-04-26 21:35:37.647317518 running hook: /usr/lib/pm-utils/sleep.d/01logging =====
hibernate initiated: Sun Apr 26 21:35:37 PDT 2009

Linux linux-4ks5 2.6.27.21-0.1-default #1 SMP 2009-03-31 14:50:44 +0200 x86_64 x86_64 x86_64 GNU/Linux
kernel command line: ‘root=/dev/disk/by-id/ata-WDC_WD2000BB-22GUC0_WD-WCAL77817142-part2 resume=/dev/disk/by-id/ata-WDC_WD2000BB-22GUC0_WD-WCAL77817142-part1 splash=silent showopts vga=0x31a’
Module Size Used by
ip6t_LOG 7180 7
xt_tcpudp 3608 2
xt_pkttype 2152 3
ipt_LOG 6812 8
xt_limit 3180 15
snd_pcm_oss 48528 0
snd_mixer_oss 16808 1 snd_pcm_oss
snd_seq 61504 0
snd_seq_device 8604 1 snd_seq
af_packet 20232 4
ip6t_REJECT 6024 3
nf_conntrack_ipv6 24696 4
ip6table_raw 2456 1
xt_NOTRACK 2152 4
ipt_REJECT 3480 3
xt_state 2568 8
iptable_raw 2760 1
iptable_filter 3400 1
ip6table_mangle 3128 0
nf_conntrack_netbios_ns 2840 0
nf_conntrack_ipv4 12792 4
nf_conntrack 80496 5 nf_conntrack_ipv6,xt_NOTRACK,xt_state,nf_conntrack_netbios_ns,nf_conntrack_ipv4
ip_tables 19464 2 iptable_raw,iptable_filter
ip6table_filter 3240 1
ip6_tables 21048 4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
x_tables 23376 11 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_NOTRACK,ipt_REJECT,xt_state,ip_tables,ip6_tables
ipv6 292328 27 ip6t_REJECT,nf_conntrack_ipv6,ip6table_mangle
fuse 57840 1
loop 16660 0
dm_mod 73952 0
ide_pci_generic 4652 0
ide_core 115068 1 ide_pci_generic
ata_generic 6044 0
ppdev 8240 0
snd_hda_intel 548980 3
snd_pcm 91984 3 snd_pcm_oss,snd_hda_intel
snd_timer 24968 3 snd_seq,snd_pcm
snd_page_alloc 9800 2 snd_hda_intel,snd_pcm
parport_pc 40168 0
rtc_cmos 13000 0
snd_hwdep 9072 1 snd_hda_intel
sata_nv 26800 0
rt2860sta 517948 1
sr_mod 15940 0
rtc_core 21396 1 rtc_cmos
button 8328 0
parport 40400 2 ppdev,parport_pc
rtc_lib 3560 1 rtc_core
i2c_nforce2 8608 0
snd 73560 12 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
joydev 11392 0
forcedeth 56408 0
cdrom 36184 1 sr_mod
serio_raw 6412 0
nvidia 8148328 36
k8temp 5160 0
usb_storage 105744 0
usblp 13672 0
i2c_core 35312 2 i2c_nforce2,nvidia
soundcore 8368 1 snd
pcspkr 3064 0
sg 35376 0
usbhid 52512 0
hid 41136 1 usbhid
ff_memless 8752 1 usbhid
sd_mod 35272 5
crc_t10dif 2152 1 sd_mod
ohci_hcd 35204 0
ehci_hcd 54164 0
usbcore 195712 6 usb_storage,usblp,usbhid,ohci_hcd,ehci_hcd
edd 10272 0
pata_amd 13692 4
libata 183184 3 ata_generic,sata_nv,pata_amd
scsi_mod 178632 5 sr_mod,usb_storage,sg,sd_mod,libata
dock 14164 1 libata
ext3 140696 3
mbcache 9484 1 ext3
jbd 61688 1 ext3
fan 6016 0
thermal 24408 0
processor 49104 1 thermal
thermal_sys 14368 3 fan,thermal,processor
hwmon 3720 2 k8temp,thermal_sys

         total       used       free     shared    buffers     cached

Mem: 892880 498296 394584 0 14624 258356
-/+ buffers/cache: 225316 667564
Swap: 2104472 0 2104472

===== 2009-04-26 21:35:37.672647565 running hook: /usr/lib/pm-utils/sleep.d/02rtcwake =====
rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing…
===== 2009-04-26 21:35:37.677109160 running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== 2009-04-26 21:35:37.680731163 running hook: /usr/lib/pm-utils/sleep.d/06autofs =====
===== 2009-04-26 21:35:37.750493000 running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
===== 2009-04-26 21:35:37.794820559 running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check =====
INFO: checking for suspend-to-disk prerequisites…
using userspace suspend method
setting resume device to /dev/sda1
setting image size to 411439104
adding these parameters from /etc/suspend.conf:
splash = n
===== 2009-04-26 21:35:37.807931663 running hook: /usr/lib/pm-utils/sleep.d/45pcmcia =====
ejecting PCMCIA cards…
===== 2009-04-26 21:35:37.847852984 running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== 2009-04-26 21:35:37.855162778 running hook: /usr/lib/pm-utils/sleep.d/50storage-fixup =====
===== 2009-04-26 21:35:37.872604902 running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan =====
===== 2009-04-26 21:35:37.876394290 running hook: /usr/lib/pm-utils/sleep.d/80videobios =====
===== 2009-04-26 21:35:37.880161664 running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== 2009-04-26 21:35:37.891511472 running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== 2009-04-26 21:35:37.895151542 running hook: /usr/lib/pm-utils/sleep.d/99Zgrub =====
INFO: running prepare-grub
Skipping grub entry #1, because it has the noresume option
running kernel is grub menu entry 0 (vmlinuz-2.6.27.21-0.1-default)
preparing boot-loader: selecting entry 0, kernel /boot/2.6.27.21-0.1-default
grub-once: saving original /boot/grub/default
running ‘/usr/sbin/grubonce 0’
Using entry #0: openSUSE 11.1 - 2.6.27.21-0.1
time needed for sync: 0.8 seconds, time needed for grub: 0.0 seconds.
===== 2009-04-26 21:35:38.844137378 running hook: /usr/lib/pm-utils/sleep.d/99info =====
2009-04-26 21:35:38.853139796: done running hibernate/hibernate hooks.

  • /usr/sbin/s2disk --config /var/lib/s2disk.conf