LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-23-2009, 01:25 PM   #1
spirov92
LQ Newbie
 
Registered: Jan 2009
Distribution: openSUSE 11.1/GNOME
Posts: 11
Blog Entries: 1

Rep: Reputation: 0
SuSE 11 hibernation problem


Hi guys, I'm trying to get hibernation working on my openSUSE 11.1 machine.
I made sure the packages containing that functionality are installed, then I tried the following commands:
Code:
dean@dean-suse:~> su
Password: 
dean-suse:/home/dean # pm-suspend
Error: kernel cannot suspend to ram.
dean-suse:/home/dean # pm-hibernate
pm-hibernate shows the 'hibernating' screen and turns off the computer, but when I press the power button it tries to restore and crashes before the X-server is enabled(I didn't see the nVidia logo flashing).
I have no idea where the hibernation logs are. Can anyone help me?
 
Old 01-26-2009, 08:42 PM   #2
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
maybe this could help: https://www.linuxquestions.org/quest...blems.-479403/

Are you using a notebook? If so whats the model ?

take a look at this bugzilla thread: https://bugzilla.novell.com/show_bug.cgi?id=431037

The log is here: /var/log/pm-suspend.log

Try to see if you pc is in the support whitelist:
Code:
# s2ram -n
Then read this: http://en.opensuse.org/S2ram
...and this: http://en.opensuse.org/Pm-utils

Are you kernel >= 2.6.26? Suspend to disk and ram seens to be broken in the 2.6.26 and later kernels..


[ ]'s
 
Old 01-28-2009, 09:50 AM   #3
spirov92
LQ Newbie
 
Registered: Jan 2009
Distribution: openSUSE 11.1/GNOME
Posts: 11

Original Poster
Blog Entries: 1

Rep: Reputation: 0
Sorry for the delay.
Yes, I'm using kernel 2.6.27.7
No, I'm not using a laptop.
The bugzilla report seems unrelated, and it says it will be fixed in 11.1 beta 3(I'm using 11.1). The command outputs the following:
Code:
dean-suse:/home/dean # s2ram -n
Machine unknown
This machine can be identified by:
    sys_vendor   = "                               "
    sys_product  = "                               "
    sys_version  = "                       "
    bios_version = "PT84510A.86A.0027.P06.0207170134"
See http://en.opensuse.org/S2ram for details.

If you report a problem, please include the complete output above.
If you report success, please make sure you tested it from both X and
the text console and preferably without proprietary drivers.
And the content of /var/log/pm-suspend.log is:
Code:
2009-01-28 16:58:22.436083144 +0200: running 'hibernate'/'hibernate'/'' hooks.
===== 2009-01-28 16:58:22.564132737 running hook: /usr/lib/pm-utils/sleep.d/00clear =====
===== 2009-01-28 16:58:22.609925331 running hook: /usr/lib/pm-utils/sleep.d/01logging =====
hibernate initiated: Wed Jan 28 16:58:22 EET 2009

Linux dean-suse 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux
kernel command line: 'root=/dev/disk/by-id/ata-IC35L040AVER07-0_SXPTXMR7701-part7 resume=/dev/disk/by-id/ata-IC35L040AVER07-0_SXPTXMR7701-part6 splash=silent vga=0x31a'
Module                  Size  Used by
st                     34100  0 
ide_disk               13012  0 
ide_cd_mod             29140  0 
sco                     9996  2 
bridge                 48012  1 
stp                     2248  1 bridge
bnep                   11624  2 
rfcomm                 35548  0 
l2cap                  20504  6 bnep,rfcomm
bluetooth              54100  6 sco,bnep,rfcomm,l2cap
aes_i586                7580  1 
aes_generic            27792  1 aes_i586
af_packet              16596  4 
binfmt_misc             7872  1 
snd_pcm_oss            43300  0 
snd_mixer_oss          14288  1 snd_pcm_oss
snd_seq                52248  0 
snd_seq_device          7168  1 snd_seq
ipv6                  242608  38 
fuse                   52488  3 
loop                   15028  0 
dm_mod                 62236  0 
ppdev                   6876  0 
arc4                    1728  2 
ecb                     2672  2 
crypto_blkcipher       16940  1 ecb
rt61pci                18588  0 
crc_itu_t               1880  1 rt61pci
rt2x00pci               6792  1 rt61pci
snd_intel8x0           28772  3 
rt2x00lib              26616  2 rt61pci,rt2x00pci
snd_ac97_codec        100064  1 snd_intel8x0
rfkill                  8660  1 rt2x00lib
ac97_bus                1584  1 snd_ac97_codec
rtc_cmos               11488  0 
led_class               3896  1 rt2x00lib
rtc_core               18048  1 rtc_cmos
rtc_lib                 2816  1 rtc_core
snd_pcm                79096  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
mac80211              199840  2 rt2x00pci,rt2x00lib
snd_timer              21132  2 snd_seq,snd_pcm
snd                    57408  14 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               6900  1 snd
cfg80211               23356  2 rt2x00lib,mac80211
e100                   32448  0 
usb_storage            86716  0 
pcspkr                  2344  0 
snd_page_alloc          8184  2 snd_intel8x0,snd_pcm
mii                     4968  1 e100
eeprom_93cx6            2204  1 rt61pci
nvidia               4713860  32 
parport_pc             35032  0 
parport                33832  2 ppdev,parport_pc
floppy                 52980  0 
gspca_spca561          10876  0 
iTCO_wdt               10412  0 
gspca_main             19976  1 gspca_spca561
i2c_i801               10564  0 
iTCO_vendor_support     3368  1 iTCO_wdt
button                  6560  0 
intel_agp              24600  1 
shpchp                 28280  0 
joydev                  9384  0 
i2c_core               29972  2 nvidia,i2c_i801
sr_mod                 13536  0 
videodev               31236  1 gspca_main
v4l1_compat            13096  1 videodev
pci_hotplug            27392  1 shpchp
cdrom                  32288  2 ide_cd_mod,sr_mod
agpgart                32564  2 nvidia,intel_agp
sg                     29376  0 
usbhid                 45908  0 
hid                    35784  1 usbhid
ff_memless              7244  1 usbhid
uhci_hcd               23776  0 
usbcore               167604  6 usb_storage,gspca_spca561,gspca_main,usbhid,uhci_hcd
sd_mod                 31424  6 
crc_t10dif              1704  1 sd_mod
edd                     8616  0 
ext3                  124716  3 
mbcache                 8132  1 ext3
jbd                    56764  1 ext3
fan                     4712  0 
ide_pci_generic         3428  0 
piix                    5868  0 
ide_core               99412  4 ide_disk,ide_cd_mod,ide_pci_generic,piix
ata_generic             4484  0 
ata_piix               16336  4 
libata                161148  2 ata_generic,ata_piix
scsi_mod              149804  6 st,usb_storage,sr_mod,sg,sd_mod,libata
dock                   11988  1 libata
thermal                19916  0 
processor              44060  1 thermal
thermal_sys            11364  3 fan,thermal,processor
hwmon                   3092  1 thermal_sys

             total       used       free     shared    buffers     cached
Mem:        763208     694628      68580          0      29208     258860
-/+ buffers/cache:     406560     356648
Swap:      2176768     114216    2062552

===== 2009-01-28 16:58:22.712358417 running hook: /usr/lib/pm-utils/sleep.d/02rtcwake =====
rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing...
===== 2009-01-28 16:58:22.745534611 running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== 2009-01-28 16:58:22.757374969 running hook: /usr/lib/pm-utils/sleep.d/06autofs =====
===== 2009-01-28 16:58:22.950593324 running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
===== 2009-01-28 16:58:23.296914162 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/sdb6
  setting image size to 351686246
  adding these parameters from /etc/suspend.conf:
===== 2009-01-28 16:58:23.484780917 running hook: /usr/lib/pm-utils/sleep.d/45pcmcia =====
===== 2009-01-28 16:58:23.564712623 running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== 2009-01-28 16:58:23.611028295 running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan =====
===== 2009-01-28 16:58:23.627050432 running hook: /usr/lib/pm-utils/sleep.d/80videobios =====
===== 2009-01-28 16:58:23.693545778 running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== 2009-01-28 16:58:24.035541892 running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== 2009-01-28 16:58:24.073988618 running hook: /usr/lib/pm-utils/sleep.d/95packagekit =====
===== 2009-01-28 16:58:24.127213255 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.7-9-pae)
  preparing boot-loader: selecting entry 0, kernel /boot/2.6.27.7-9-pae
  grub-once:   running '/usr/sbin/grubonce 0'
Using entry #0: openSUSE 11.1 - 2.6.27.7-9
    time needed for sync: 1.8 seconds, time needed for grub: 0.0 seconds.
===== 2009-01-28 16:58:26.311443797 running hook: /usr/lib/pm-utils/sleep.d/99info =====
2009-01-28 16:58:26.376576598: done running hibernate/hibernate hooks.
+ /usr/sbin/s2disk --config /var/lib/s2disk.conf
+ RET=0
+ set +x
2009-01-28 16:59:55.529565514 +0200: running 'hibernate'/'thaw'/'reverse' hooks.
===== 2009-01-28 16:59:56.312634647 running hook: /usr/lib/pm-utils/sleep.d/99info =====
===== 2009-01-28 16:59:57.054215162 running hook: /usr/lib/pm-utils/sleep.d/99Zgrub =====
INFO: running grub-once-restore
===== 2009-01-28 16:59:58.564683438 running hook: /usr/lib/pm-utils/sleep.d/95packagekit =====
method return sender=:1.133 -> dest=:1.132 reply_serial=2
===== 2009-01-28 17:00:07.709523922 running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== 2009-01-28 17:00:07.739698583 running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== 2009-01-28 17:00:07.848936647 running hook: /usr/lib/pm-utils/sleep.d/80videobios =====
===== 2009-01-28 17:00:07.882751171 running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan =====
===== 2009-01-28 17:00:07.919056856 running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== 2009-01-28 17:00:07.989615347 running hook: /usr/lib/pm-utils/sleep.d/45pcmcia =====
===== 2009-01-28 17:00:08.032323868 running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check =====
===== 2009-01-28 17:00:08.059345154 running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
method return sender=:1.13 -> dest=:1.136 reply_serial=2
===== 2009-01-28 17:00:08.289873803 running hook: /usr/lib/pm-utils/sleep.d/06autofs =====
===== 2009-01-28 17:00:08.397536799 running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== 2009-01-28 17:00:08.518780093 running hook: /usr/lib/pm-utils/sleep.d/02rtcwake =====
===== 2009-01-28 17:00:08.630997529 running hook: /usr/lib/pm-utils/sleep.d/01logging =====
===== 2009-01-28 17:00:08.743564280 running hook: /usr/lib/pm-utils/sleep.d/00clear =====
2009-01-28 17:00:08.832961443: done running hibernate/thaw hooks.

Last edited by spirov92; 01-28-2009 at 09:55 AM.
 
Old 01-28-2009, 10:39 AM   #4
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
I have found this thread, have you saw it already ? http://linux.derkeiler.com/Mailing-L.../msg00392.html
 
Old 01-28-2009, 11:41 AM   #5
spirov92
LQ Newbie
 
Registered: Jan 2009
Distribution: openSUSE 11.1/GNOME
Posts: 11

Original Poster
Blog Entries: 1

Rep: Reputation: 0
Interesting, I'm getting the same output for "cat /sys/power/state". I'll try it.
 
Old 01-28-2009, 11:58 AM   #6
spirov92
LQ Newbie
 
Registered: Jan 2009
Distribution: openSUSE 11.1/GNOME
Posts: 11

Original Poster
Blog Entries: 1

Rep: Reputation: 0
Nope, tried disabling Legacy USB support in the BIOS but it doesn't help. The same black screen.
 
Old 01-28-2009, 12:05 PM   #7
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
you know, not all boards have support for pm-suspend like is write in pm-tools docs, and s2ram -n identified your box as being unknow, I think you should post your problem and specification at pm-tools support forums (or any support resources they have) too and if you get any fix to your problem there, please let us know, we will be glad to know the answer because honestly I don't know anything else to try ... sorry
 
Old 01-28-2009, 01:14 PM   #8
spirov92
LQ Newbie
 
Registered: Jan 2009
Distribution: openSUSE 11.1/GNOME
Posts: 11

Original Poster
Blog Entries: 1

Rep: Reputation: 0
Okay, thanks anyway. I can live without hibernating, but it would be useful since Gnome 2.24 lost the option to restore your programs from the last session.
 
Old 01-28-2009, 01:25 PM   #9
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
I don't remember witch one I used, but my old laptop wasn't able to hibernate from default configuration, so after searching in google I found a kernel module that made it word perfect for me, I had to make some tweaks that time, but nothing so hard that the how-to can't help...



I think was not this I used in the past, but take a look maybe you can find here other solution: http://www.linux.com/articles/54610


[ ]'s
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP/SuSe hibernation & drive clone problems siesa Linux - Laptop and Netbook 3 09-02-2006 03:18 AM
Hibernation Problem DJO910 SUSE / openSUSE 3 08-03-2006 05:42 AM
fritz! isdn pcmci card not working after hibernation/standby on suse 10 gematipa SUSE / openSUSE 0 01-05-2006 07:55 AM
LinspireLive Monitor Hibernation Problem jamiem Linux - Newbie 7 06-20-2005 09:14 PM
DISCUSSION: Hibernation with SuSE 9.0, Kernel 2.6.3 and Bootsplash hyperlink1uk LinuxAnswers Discussion 0 06-07-2004 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:42 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration