Suspend problems

Hi there
Running 11.2 on laptop, working in KDE (4.3 i think), and ICEWM.
powersave -U has started freezing on me at about 80-90% on the progress bar. Just started today. Haven’t done anything i think would start a problem except perhaps switching from ifup to knetworkmanager for network.
Here’s the info i thought would be useful, but I can’t see what is wrong.

bendare@linux-mx1c:~> cat /var/log/pm-suspend.log
2010-03-30 12:27:26.261239629 +0100: running 'hibernate'/'hibernate'/'' hooks.
===== 2010-03-30 12:27:26.699275090 running hook: /usr/lib/pm-utils/sleep.d/00clear =====
===== 2010-03-30 12:27:26.835439121 running hook: /usr/lib/pm-utils/sleep.d/01logging =====
hibernate initiated: Tue Mar 30 12:27:26 BST 2010                                          

Linux linux-mx1c 2.6.31.12-0.2-default #1 SMP 2010-03-16 21:25:39 +0100 i686 i686 i386 GNU/Linux
kernel command line: 'root=/dev/disk/by-id/ata-FUJITSU_MHN2200AT_NH11T195ELNK-part6 resume=/dev/sda5 splash=silent showopts vga=0x314'                                                                                                                              
Module                  Size  Used by                                                                                             
nfs                   345200  0                                                                                                   
lockd                  81484  1 nfs                                                                                               
fscache                46552  1 nfs                                                                                               
nfs_acl                 3264  1 nfs                                                                                               
auth_rpcgss            43456  1 nfs                                                                                               
sunrpc                225664  5 nfs,lockd,nfs_acl,auth_rpcgss                                                                     
ip6t_LOG                6500  6                                                                                                   
xt_tcpudp               3136  2                                                                                                   
xt_pkttype              1632  3                                                                                                   
ipt_LOG                 6308  6                                                                                                   
xt_limit                2628  12                                                                                                  
af_packet              23680  2                                                                                                   
sis                     7104  2                                                                                                   
drm                   184640  3 sis                                                                                               
sisfb                 251796  1 sis                                                                                               
binfmt_misc             9576  1                                                                                                   
snd_pcm_oss            51648  0                                                                                                   
snd_mixer_oss          18496  1 snd_pcm_oss                                                                                       
snd_seq                64784  0                                                                                                   
ip6t_REJECT             5472  3                                                                                                   
nf_conntrack_ipv6      22100  4                                                                                                   
ip6table_raw            3008  1                                                                                                   
xt_NOTRACK              1632  4                                                                                                   
ipt_REJECT              3168  3                                                                                                   
xt_state                2208  8                                                                                                   
iptable_raw             2848  1                                                                                                   
iptable_filter          3616  1                                                                                                   
ip6table_mangle         4160  0                                                                                                   
nf_conntrack_netbios_ns     2432  0                                                                                               
nf_conntrack_ipv4      11688  4                                                                                                   
nf_conntrack           83616  5 nf_conntrack_ipv6,xt_NOTRACK,xt_state,nf_conntrack_netbios_ns,nf_conntrack_ipv4                   
nf_defrag_ipv4          2112  1 nf_conntrack_ipv4                                                                                 
ip_tables              13520  2 iptable_raw,iptable_filter                                                                        
ip6table_filter         3616  1                                                                                                   
ip6_tables             14960  4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter                                             
x_tables               19140  11 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_NOTRACK,ipt_REJECT,xt_state,ip_tables,ip6_tables                                                                                                                     
ipv6                  306100  23 ip6t_REJECT,nf_conntrack_ipv6,ip6table_mangle                                                    
fuse                   75964  1                                                                                                   
nls_iso8859_1           4000  1                                                                                                   
nls_cp437               5664  1                                                                                                   
vfat                   12320  1                                                                                                   
fat                    59264  1 vfat                                                                                              
loop                   17324  0                                                                                                   
dm_mod                 84836  0                                                                                                   
arc4                    1952  2                                                                                                   
ecb                     3264  2                                                                                                   
cryptomgr              95216  0                                                                                                   
aead                    8640  1 cryptomgr                                                                                         
pcompress               2752  1 cryptomgr                                                                                         
crypto_blkcipher       14884  2 ecb,cryptomgr                                                                                     
crypto_hash            14464  1 cryptomgr                                                                                         
crypto_algapi          21220  7 arc4,ecb,cryptomgr,aead,pcompress,crypto_blkcipher,crypto_hash                                    
rt73usb                28996  0                                                                                                   
crc_itu_t               1984  1 rt73usb                                                                                           
rt2500usb              23524  0                                                                                                   
rt2x00usb              13024  2 rt73usb,rt2500usb                                                                                 
rt2x00lib              36128  3 rt73usb,rt2500usb,rt2x00usb                                                                       
led_class               4836  1 rt2x00lib                                                                                         
input_polldev           4264  1 rt2x00lib                                                                                         
mac80211              214872  2 rt2x00usb,rt2x00lib                                                                               
snd_intel8x0m          16684  0                                                                                                   
snd_trident            44516  5                                                                                                   
gameport               13548  2 snd_trident                                                                                       
snd_ac97_codec        119364  2 snd_intel8x0m,snd_trident                                                                         
snd_util_mem            5120  1 snd_trident                                                                                       
ac97_bus                1920  1 snd_ac97_codec                                                                                    
pcmcia                 42152  0                                                                                                   
snd_mpu401_uart         8896  1 snd_trident                                                                                       
cfg80211              103584  2 rt2x00lib,mac80211                                                                                
snd_rawmidi            26720  1 snd_mpu401_uart                                                                                   
ppdev                  10212  0                                                                                                   
rfkill                 22868  1 cfg80211                                                                                          
snd_seq_device          8556  2 snd_seq,snd_rawmidi                                                                               
shpchp                 36372  0                                                                                                   
snd_pcm                97444  5 snd_pcm_oss,snd_intel8x0m,snd_trident,snd_ac97_codec                                              
yenta_socket           41388  2                                                                                                   
parport_pc             40004  0                                                                                                   
sis900                 23104  0                                                                                                   
i2c_sis630             11052  0                                                                                                   


more to follow…

snd_timer              27176  3 snd_seq,snd_pcm                                                                                   
pcspkr                  2784  0                                                                                                   
rsrc_nonstatic         13664  1 yenta_socket                                                                                      
pci_hotplug            32928  1 shpchp                                                                                            
pcmcia_core            41748  3 pcmcia,yenta_socket,rsrc_nonstatic                                                                
snd_page_alloc         10248  3 snd_intel8x0m,snd_trident,snd_pcm                                                                 
snd                    75076  19 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_intel8x0m,snd_trident,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer                                                                                            
soundcore               9120  1 snd                                                                                               
i2c_core               32628  2 drm,i2c_sis630                                                                                    
sr_mod                 17316  0                                                                                                   
cdrom                  40448  1 sr_mod                                                                                            
sg                     32660  0                                                                                                   
sis_agp                 7776  1                                                                                                   
parport                40236  2 ppdev,parport_pc                                                                                  
floppy                 61540  0                                                                                                   
irda                  145016  0                                                                                                   
crc_ccitt               1984  1 irda                                                                                              
ac                      4900  0                                                                                                   
button                  6544  0                                                                                                   
battery                12772  0                                                                                                   
usbhid                 51968  0                                                                                                   
hid                    46912  1 usbhid                                                                                            
ohci_hcd               37776  0                                                                                                   
rtc_cmos               15280  0                                                                                                   
ehci_hcd               57296  0                                                                                                   
rtc_core               22908  1 rtc_cmos                                                                                          
rtc_lib                 3168  1 rtc_core                                                                                          
edd                    10376  0                                                                                                   
pata_sis               11396  4                                                                                                   
libata                200748  1 pata_sis                                                                                          
fan                     5028  0                                                                                                   
thermal                21020  0                                                                                                   
processor              50384  0                                                                                                   
thermal_sys            18120  3 fan,thermal,processor
hwmon                   3676  1 thermal_sys

             total       used       free     shared    buffers     cached
Mem:        243364     239816       3548          0       7408     134136
-/+ buffers/cache:      98272     145092
Swap:       666656       4120     662536

===== 2010-03-30 12:27:27.103382694 running hook: /usr/lib/pm-utils/sleep.d/02rtcwake =====
rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing...
===== 2010-03-30 12:27:27.160827213 running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== 2010-03-30 12:27:27.181026544 running hook: /usr/lib/pm-utils/sleep.d/06autofs =====
===== 2010-03-30 12:27:27.484977363 running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
method return sender=:1.7 -> dest=:1.47 reply_serial=2
===== 2010-03-30 12:27:27.767202313 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/sda5
  setting image size to 112142131
  adding these parameters from /etc/suspend.conf:
===== 2010-03-30 12:27:28.049448127 running hook: /usr/lib/pm-utils/sleep.d/45pcmcia =====
ejecting PCMCIA cards...
===== 2010-03-30 12:27:28.163129102 running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== 2010-03-30 12:27:28.198929433 running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan =====
===== 2010-03-30 12:27:28.218599230 running hook: /usr/lib/pm-utils/sleep.d/80videobios =====
===== 2010-03-30 12:27:28.238393461 running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== 2010-03-30 12:27:28.342249380 running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== 2010-03-30 12:27:28.362086601 running hook: /usr/lib/pm-utils/sleep.d/95packagekit =====
===== 2010-03-30 12:27:28.402474047 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.31.12-0.2-default)
  preparing boot-loader: selecting entry 0, kernel /boot/2.6.31.12-0.2-default
  grub-once:   saving original /boot/grub/default
  running '/usr/sbin/grubonce 0'
Using entry #0: openSUSE 11.2 - 2.6.31.12-0.2
    time needed for sync: 0.3 seconds, time needed for grub: 0.7 seconds.
===== 2010-03-30 12:27:29.709933758 running hook: /usr/lib/pm-utils/sleep.d/99info =====
2010-03-30 12:27:29.750771183: done running hibernate/hibernate hooks.
+ /usr/sbin/s2disk --config /var/lib/s2disk.conf

I have had a look around for info, but not sure what to do next. Any suggestions?
Thanks in advance.
Ben

Well problem has changed a bit now, but is workable for the time being. I’ll re-post if something changes.

I was wondering ‘how’ the situation had changed to make it workable?

‘Changed a bit’ is probably too technical for me. :wink: Lots of folk (me included) tend to come across this kind of problem and I was hoping you could give some clue as to how you achieved a workable solution? Would be appreciated.

Hi there, sorry for not being more specific.
I realised that the only thing that had changed from it working to not working was that I started using a usb wireless adaptor. The computer (it is an old laptop!) wasn’t getting the right sort of signal from the usb device to say it was ready to shut down I think.
I don’t actually remember what I did now, but it was either switching back to ‘ifup’ from ‘knetworkmanager’, or I just removed the usb wireless adaptor each time before I hibernated.
I don’t get much more technical than that sorry. Feel free to ask more specific questions though and I might be able to point you in the right direction. I found other forum entries on this topic helpful.
Ben

Thanks for the reply. If you check your Network Settings you should be able to tell if you are now using ifup. The ifup check setting is usually on the first, leftmost tab.

Changing to ifup certainly worked for me.

Now all I have to do is solve how to Suspend/Resume cleanly, but the openSUSE support pages for configuring hooks etc lost something in translation from German I think :wink: They are not so clear for me.

.

I should add that I’ve just found the s2ram package (called ‘suspend’ in openSUSE distro - use webpin).

Suspend to RAM - openSUSE

I had to force it via terminal, and waking up was via power key. PCMCIA was fine after but I had to ifdown eth0 and then ifup eth0 to get internet back. (AM using traditional ifup and not NM)

Hope that helps :wink:

agree on hooks, I got a bit lost. Good luck with all your issues :wink: