LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-03-2013, 04:01 AM   #1
asdrubale
LQ Newbie
 
Registered: Aug 2012
Posts: 6

Rep: Reputation: Disabled
pm-hibernate no longer working after upgrading to 14.1


I'm using a MacBook 6,1 (13"screen, white plastic case) since May
2012. On it I succesfully installed Slackware64 13.37, later
upgraded to 14.0 and now to 14.1.

Since the last upgrade to 14.1 pm-suspend works as usual, but
pm-hibernate is no longer working. The screen blanks, but there is no
disk activity, the system freezes and I have to turn it off
manually. When I turn it on again, it boots normally, without trying
to resume the memory image.

Any ideas? The following is the content of /var/log/pm-suspend after
rebooting.

Code:
Initial commandline parameters: 
mar  3 dic 2013, 09.43.31, CET: Running hooks for hibernate.
Running hook /usr/lib64/pm-utils/sleep.d/00logging hibernate hibernate:
Linux lamed 3.10.17 #1 SMP Wed Oct 23 16:28:33 CDT 2013 x86_64 Intel(R) Core(TM)2 Duo CPU     P7550  @ 2.26GHz GenuineIntel GNU/Linux
Module                  Size  Used by
rfcomm                 32551  8 
bnep                   10631  2 
cpufreq_ondemand        8799  2 
brcmsmac              531356  0 
cordic                  1072  1 brcmsmac
brcmutil                4437  1 brcmsmac
mac80211              429423  1 brcmsmac
cfg80211              380228  2 brcmsmac,mac80211
lp                      9851  0 
ppdev                   5862  0 
parport_pc             19332  0 
parport                30389  3 lp,ppdev,parport_pc
fuse                   73848  1 
nvidia               9406181  0 
uvcvideo               71742  0 
videobuf2_vmalloc       2912  1 uvcvideo
videobuf2_memops        1879  1 videobuf2_vmalloc
videobuf2_core         27437  1 uvcvideo
hid_apple               5481  0 
videodev              102061  2 uvcvideo,videobuf2_core
bcm5974                 8658  0 
snd_hda_codec_cirrus     7323  1 
btusb                  16152  0 
bluetooth             220516  24 bnep,btusb,rfcomm
coretemp                5870  0 
snd_hda_intel          34861  1 
snd_hda_codec         143196  2 snd_hda_intel,snd_hda_codec_cirrus
snd_hwdep               6388  1 snd_hda_codec
snd_pcm                76009  2 snd_hda_codec,snd_hda_intel
snd_page_alloc          7098  2 snd_pcm,snd_hda_intel
joydev                  9751  0 
rfkill                 15522  3 cfg80211,bluetooth
acpi_cpufreq            7230  1 
mperf                   1163  1 acpi_cpufreq
snd_timer              18614  1 snd_pcm
drm                   229054  1 nvidia
processor              27543  3 acpi_cpufreq
applesmc               12198  0 
thermal_sys            22993  1 processor
snd                    58630  8 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel,snd_hda_codec_cirrus
i2c_dev                 5843  0 
evdev                  10032  1 
freq_table              2628  3 cpufreq_ondemand,acpi_cpufreq,thermal_sys
forcedeth              56722  0 
input_polldev           2778  1 applesmc
agpgart                27267  1 drm
bcma                   30033  1 brcmsmac
shpchp                 25417  0 
soundcore               5354  1 snd
kvm_intel             126236  0 
kvm                   363491  1 kvm_intel
hwmon                   1337  3 applesmc,coretemp,thermal_sys
i2c_nforce2             5287  0 
i2c_core               20936  5 drm,i2c_dev,nvidia,i2c_nforce2,videodev
battery                11579  0 
microcode              13140  0 
ehci_pci                3688  0 
apple_bl                3056  0 
button                  4696  0 
ac                      4311  0 
loop                   18479  0 
ext4                  446312  2 
jbd2                   76403  1 ext4
mbcache                 5666  1 ext4
ohci_hcd               23924  0 
ehci_hcd               39275  1 ehci_pci
hid_generic             1145  0 
usbhid                 37080  0 
hid                    87523  3 hid_generic,usbhid,hid_apple
             total       used       free     shared    buffers     cached
Mem:       3763120     435192    3327928          0      54008     294904
-/+ buffers/cache:      86280    3676840
Swap:     10485756          0   10485756
/usr/lib64/pm-utils/sleep.d/00logging hibernate hibernate: success.

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

Running hook /usr/lib64/pm-utils/sleep.d/01grub hibernate hibernate:
/usr/lib64/pm-utils/sleep.d/01grub hibernate hibernate: not applicable.

Running hook /usr/lib64/pm-utils/sleep.d/49bluetooth-generic hibernate hibernate:
/usr/lib64/pm-utils/sleep.d/49bluetooth-generic hibernate hibernate: success.

Running hook /usr/lib64/pm-utils/sleep.d/49bluetooth-ibm hibernate hibernate:
/usr/lib64/pm-utils/sleep.d/49bluetooth-ibm hibernate hibernate: not applicable.

Running hook /usr/lib64/pm-utils/sleep.d/55wicd hibernate hibernate:
Unable to connect to wicd daemon - is it running?
/usr/lib64/pm-utils/sleep.d/55wicd hibernate hibernate: disabled.

Running hook /usr/lib64/pm-utils/sleep.d/75modules hibernate hibernate:
/usr/lib64/pm-utils/sleep.d/75modules hibernate hibernate: not applicable.

Running hook /usr/lib64/pm-utils/sleep.d/90clock hibernate hibernate:
/usr/lib64/pm-utils/sleep.d/90clock hibernate hibernate: not applicable.

Running hook /usr/lib64/pm-utils/sleep.d/94cpufreq hibernate hibernate:
/usr/lib64/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.

Running hook /usr/lib64/pm-utils/sleep.d/95led hibernate hibernate:
/usr/lib64/pm-utils/sleep.d/95led hibernate hibernate: not applicable.

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

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

mar  3 dic 2013, 09.43.33, CET: performing hibernate
 
Old 12-03-2013, 04:42 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,658
Blog Entries: 3

Rep: Reputation: 224Reputation: 224Reputation: 224
this may help you it helped me. but suspend to ram and my nvidia card dont get along. so I use hibernate. pm-hibernate how to
 
Old 12-03-2013, 04:55 AM   #3
asdrubale
LQ Newbie
 
Registered: Aug 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Drakeo View Post
this may help you it helped me. but suspend to ram and my nvidia card dont get along. so I use hibernate. pm-hibernate how to
my problem is the opposite: suspend to ram works, hibernate doesn't work.

I tried to remove the NVIDIA module and even to uninstall the proprietary driver, but nothing changed.

In 14.0 both pm-suspend and pm-hibernate worked fine with NVIDIA proprietary driver.
 
Old 12-03-2013, 07:18 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,658
Blog Entries: 3

Rep: Reputation: 224Reputation: 224Reputation: 224
yes i see that thats why i gave you that link. it helped me. On both of them I use a hybrid now.
 
Old 12-04-2013, 04:38 AM   #5
asdrubale
LQ Newbie
 
Registered: Aug 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Drakeo View Post
yes i see that thats why i gave you that link. it helped me. On both of them I use a hybrid now.
good suggestion! After re-reading the howto, I discovered this section of /usr/lib(64)/pm-utils/defaults:

Code:
# Default method to power down the system when hibernating.
# If commented out, the system will use the kernel default as a 
# default value.
#
# Check /sys/power/disk for valid values.  The default value
# will be surrounded by [square brackets].
# HIBERNATE_MODE="shutdown"
On my MacBook the default method was "platform":

Code:
root@lamed:~# cat /sys/power/disk 
[platform] shutdown reboot suspend
which is obviously wrong, because Macs don't have a standard BIOS.

So, after experimenting a little with

Code:
# echo shutdown > /sys/power/disk
# echo disk > /sys/power/state
as described here, I simply copied /usr/lib64/pm-utils/defaults to /etc/pm/config.d and removed the # at the beginning of the HIBERNATE_MODE definition line.

Now pm-hibernate works!

Last edited by asdrubale; 12-04-2013 at 07:50 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Software Update authorization no longer valid after upgrading from Fedora 13 to 14 jviezel Linux - Newbie 5 06-08-2011 04:28 PM
Lastfm no longer working after upgrading to Slackware64 13.1 (amarok 2.3) integrale16 Slackware 13 06-15-2010 03:28 AM
Sound No Longer Working when Upgrading to Ubuntu 9.10... rtoney5 Linux - Laptop and Netbook 4 01-11-2010 07:07 PM
KDE no longer supported in Artistx after upgrading to 9.? lipsalot Linux - Software 3 12-17-2009 12:23 AM
No longer have hostname after upgrading to Core 3... can't send mail JeffCT Fedora 7 05-12-2005 09:31 AM


All times are GMT -5. The time now is 05:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration