Suse 11.3 + Hibernate not working

Hello,

i have openSUSE 11.3 64Bit installed on my Acer Aspire 7003. I have the latest official Nvidia graphics driver 256.35 installed and everything else is also up do date.
When i issue pm-hibernate i see the linux penguin on a white loading screen. The progress bar stops at ~80% and then the screen goes just white and nothing happens. When i press the power button of my notebook i see the penguin again and thats it. The system stops here.
What could be the problem?

Heres what pm-hibernate outputs:

looking for splash system ...found
s2disk: feeze failed. reason: device or resource busy

Heres my /var/log/pm-powersave.log:

/usr/lib/pm-utils/power.d/iwl-pm false:success.
/usr/lib/pm-utils/power.d/sata-pm false:not applicable.
/usr/lib/pm-utils/power.d/sched-powersave false:**sched policy powersave OFF
success.
/usr/lib/pm-utils/power.d/sound-pm false:**set power mode for sound driver to 0 seconds
success.
/usr/lib/pm-utils/power.d/wol false:not applicable.

and heres my /var/log/pm-suspend.log:

Initial commandline parameters: -h
Mon Aug 23 00:14:03 CEST 2010: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:hibernate initiated: Mon Aug 23 00:14:03 CEST 2010

Linux lulu-laptop 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux
kernel command line: 'root=/dev/disk/by-id/ata-WDC_WD2500BEVT-00A23T0_WD-WXH0A99V6521-part6 resume=/dev/disk/by-id/ata-WDC_WD2500BEVT-00A23T0_WD-WXH0A99V6521-part7 splash=silent quiet showopts nomodeset vga=0x317'
Module                  Size  Used by
ip6t_LOG                5898  6 
xt_tcpudp               2859  2 
xt_pkttype              1288  3 
ipt_LOG                 6067  6 
xt_limit                2559  12 
af_packet              23229  0 
edd                    10208  0 
nvidia              11114068  0 
cpufreq_conservative    12628  0 
cpufreq_userspace       3264  0 
cpufreq_powersave       1258  0 
powernow_k8            20075  1 
mperf                   1523  1 powernow_k8
ip6t_REJECT             4828  3 
nf_conntrack_ipv6      21550  4 
ip6table_raw            1627  1 
xt_NOTRACK              1192  4 
ipt_REJECT              2672  3 
xt_state                1618  8 
iptable_raw             1686  1 
iptable_filter          1946  1 
ip6table_mangle         2036  0 
nf_conntrack_netbios_ns     1854  0 
nf_conntrack_ipv4      10379  4 
nf_conntrack           89639  5 nf_conntrack_ipv6,xt_NOTRACK,xt_state,nf_conntrack_netbios_ns,nf_conntrack_ipv4
nf_defrag_ipv4          1673  1 nf_conntrack_ipv4
ip_tables              21698  2 iptable_raw,iptable_filter
ip6table_filter         1887  1 
ip6_tables             23320  4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
x_tables               26644  16 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,xt_NOTRACK,ipt_REJECT,xt_state,iptable_raw,iptable_filter,ip6table_mangle,ip_tables,ip6table_filter,ip6_tables
fuse                   75897  5 
loop                   18524  0 
dm_mod                 86809  0 
arc4                    1601  2 
ecb                     2495  2 
b43                   205773  0 
mac80211              290013  1 b43
cfg80211              182659  2 b43,mac80211
acer_wmi               17003  0 
tifm_7xx1               6660  0 
edac_core              50480  0 
sr_mod                 16684  0 
ssb                    64458  1 b43
rfkill                 21863  2 cfg80211,acer_wmi
mmc_core               83746  2 b43,ssb
yenta_socket           44382  0 
rsrc_nonstatic         11918  1 yenta_socket
tifm_core               8422  1 tifm_7xx1
pcmcia                 67555  3 b43,ssb
pcmcia_core            24074  3 yenta_socket,rsrc_nonstatic,pcmcia
joydev                 11942  0 
forcedeth              59560  0 
k8temp                  4264  0 
pcspkr                  2222  0 
edac_mce_amd            9619  0 
uvcvideo               67959  0 
wmi                     8750  1 acer_wmi
sg                     33348  0 
videodev               43828  1 uvcvideo
v4l1_compat            17249  2 uvcvideo,videodev
v4l2_compat_ioctl32    11225  1 videodev
processor              45715  1 powernow_k8
serio_raw               5318  0 
cdrom                  43440  1 sr_mod
ac                      4055  0 
battery                12302  0 
button                  6989  0 
video                  25256  0 
i2c_nforce2             7593  0 
thermal                20625  0 
thermal_sys            18230  3 processor,video,thermal
sd_mod                 41436  5 
ext4                  401724  1 
crc16                   1715  1 ext4
jbd2                  100410  1 ext4
ata_generic             3707  0 
sata_nv                25589  4 
pata_amd               12922  0 
libata                211330  3 ata_generic,sata_nv,pata_amd
scsi_mod              191748  4 sr_mod,sg,sd_mod,libata

             total       used       free     shared    buffers     cached
Mem:       1795348     475540    1319808          0      36900     393008
-/+ buffers/cache:      45632    1749716
Swap:      5229120          0    5229120

success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/02rtcwake hibernate hibernate:rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing...
not applicable.
/usr/lib/pm-utils/sleep.d/06autofs hibernate hibernate:Shutting down automount ..done
success.
/usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate:INFO: checking for suspend-to-disk prerequisites...
  using userspace suspend method
  setting resume device to /dev/sda7
  setting image size to 827296358
  adding these parameters from /etc/suspend.conf:
success.
/usr/lib/pm-utils/sleep.d/45pcmcia hibernate hibernate:ejecting PCMCIA cards...
success.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/50rcnetwork hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/80acpi-fan hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/80videobios 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/95led hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/95packagekit hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/99Zgrub hibernate hibernate:INFO: running prepare-grub
  Skipping grub entry #1, because it has the noresume option
  running kernel is grub menu entry 0 (vmlinuz-2.6.34-12-desktop)
  preparing boot-loader: selecting entry 0, kernel /boot/2.6.34-12-desktop
  grub-once:   saving original /boot/grub/default
  running '/usr/sbin/grubonce 0'
Using entry #0: Desktop -- openSUSE 11.3 - 2.6.34-12
    time needed for sync: 0.9 seconds, time needed for grub: 0.0 seconds.
success.
/usr/lib/pm-utils/sleep.d/99info hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success.
Mon Aug 23 00:14:05 CEST 2010: performing hibernate
INFO: using built-in quirks database from HAL.
INFO: S2RAM_OPTS from HAL quirks: ' '.
Mon Aug 23 00:14:26 CEST 2010: Awake.
Mon Aug 23 00:14:26 CEST 2010: Running hooks for thaw
/usr/lib/pm-utils/sleep.d/99video thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/99info thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/99Zgrub thaw hibernate:INFO: running grub-once-restore
  restoring original /boot/grub/default
success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/95packagekit thaw hibernate:Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Returned exit code 1.
/usr/lib/pm-utils/sleep.d/95led thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/90clock thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/80videobios thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/80acpi-fan thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/75modules thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/55NetworkManager thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/50rcnetwork thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/49bluetooth thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/45pcmcia thaw hibernate:inserting PCMCIA cards...
success.
/usr/lib/pm-utils/sleep.d/30s2disk-check thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/06autofs thaw hibernate:Shutting down automount ..done
Starting automount ..done
success.
/usr/lib/pm-utils/sleep.d/02rtcwake thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/00logging thaw hibernate:success.

Thank you for any help!

Regards,
pepe

Hello again,
i just found out that i can hibernate successfully after entering runlevel 1. I cannot hibernate in runlevel 2 and above.
Btw.: How do i edit posts? I couldnt find a button, although the ‘Posting Permissions’ say i may edit my posts.
Regards,
pepe

I managed to look at the output of dmesg after hibernate didnt work, but at least it went back to my console screen after some seconds:

   33.870982] ADDRCONF(NETDEV_UP): wlan0: link is not ready
   33.974580] eth0: no link during initialization.
   33.975390] ADDRCONF(NETDEV_UP): eth0: link is not ready
   34.041695] NET: Registered protocol family 17
  114.830370] PM: Marking nosave pages: 000000000009d000 - 0000000000100000
  114.830376] PM: Basic memory bitmaps created
  117.944107] Syncing filesystems ... done.
  117.977272] Freezing user space processes ... (elapsed 0.01 seconds) done.
  117.988292] Freezing remaining freezable tasks ... 
  137.997275] Freezing of tasks failed after 20.00 seconds (1 tasks refusing to freeze):
  137.997290] pccardd       R  running task        0   814      2 0x00800000
  137.997295]  ffff88006b2619c0 ffff88006ae1e000 ffff88006ae1e000 00000040000412d0
  137.997300]  0000000000013e40 000000006b261fd8 ffff88006cc20540 ffff88006f002080
  137.997304]  0000000000000000 0000000000000000 ffff88006f064c00 ffff88006f0444c0
  137.997309] Call Trace:
  137.997339]  <0000000000000202>] 0x202
  137.997366] 
  137.997368] Restarting tasks ... done.
  138.150047] PM: Basic memory bitmaps freed
  138.150054] video LNXVIDEO:00: Restoring backlight state
  139.108032] b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
  139.263578] ADDRCONF(NETDEV_UP): wlan0: link is not ready
  139.265686] eth0: no link during initialization.
  139.266530] ADDRCONF(NETDEV_UP): eth0: link is not ready

Looks like the “Freezing of tasks failed after 20.00 seconds” problem is the error im looking for. It says pccardd is it. What is that? How do i stop it? Who starts it? Why does it block?

This looks like some driver cannot be unloaded.

Ok, i tracked down pccardd to be part of pcmcia_core.ko. For me this is the end. I think one way would be to make a custom pm hook where i unload every module that pcmcia_core uses and then unload pcmcia_core itself before hibernating. But thats too much…
Is this maybe a bug in pcmcia_core.ko?