You are not logged in.

#1 2010-12-16 06:40:57

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

[SOLVED] Cannot resume from suspend but hibernate works fine

Please help me figuring out what can be the issues..

I cannot resume from suspend while "sudo pm-hibernate" works fine..

When I use "sudo pm-suspend", the system (samsung N210 netbook) goes to sleep and I can see the power light blinking as expected. But, when I try to resume the system from suspend by pressing the power button, the screen remains black with no HDD activity. Only thing I can see is the power LED on.

After I do "sudo pm-suspend" and try to resume from suspend but fails. So, I do a HARD reboot and then this is the content of  /var/log/pm-suspend.log

Initial commandline parameters: 
Thu Dec 16 12:00:27 IST 2010: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux archlinux-N210 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:32:37 CET 2010 x86_64 Intel(R) Atom(TM) CPU N450 @ 1.66GHz GenuineIntel GNU/Linux
Module                  Size  Used by
dm_mod                 66662  0 
rfcomm                 34874  4 
sco                     8828  2 
bnep                    8726  2 
l2cap                  42585  16 rfcomm,bnep
ipv6                  281833  24 
nls_utf8                1288  0 
cifs                  242984  0 
fscache                39915  1 cifs
fuse                   64259  3 
arc4                    1378  2 
snd_seq_dummy           1431  0 
snd_hda_codec_realtek   275887  1 
uvcvideo               61404  0 
videodev               64318  1 uvcvideo
v4l1_compat            15578  2 uvcvideo,videodev
ecb                     2041  2 
snd_seq_oss            28760  0 
ath9k                  80424  0 
joydev                 10055  0 
btusb                  11385  2 
v4l2_compat_ioctl32    10212  1 videodev
bluetooth              52419  9 rfcomm,sco,bnep,l2cap,btusb
snd_seq_midi_event      5436  1 snd_seq_oss
mac80211              196159  1 ath9k
ath9k_common            3624  1 ath9k
ath9k_hw              290909  2 ath9k,ath9k_common
snd_hda_intel          22285  1 
snd_hda_codec          79384  2 snd_hda_codec_realtek,snd_hda_intel
ath                     8822  2 ath9k,ath9k_hw
snd_seq                50082  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          5297  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            39221  0 
cfg80211              143110  3 ath9k,mac80211,ath
snd_hwdep               6110  1 snd_hda_codec
uhci_hcd               21926  0 
easy_slow_down_manager     3185  0 
snd_mixer_oss          17106  2 snd_pcm_oss
snd_pcm                71921  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              19265  2 snd_seq,snd_pcm
cpufreq_powersave        958  0 
sky2                   46293  0 
rfkill                 15882  3 bluetooth,cfg80211
led_class               2331  1 ath9k
snd                    57562  11 snd_hda_codec_realtek,snd_seq_oss,snd_hda_intel,snd_hda_codec,snd_seq,snd_seq_device,snd_pcm_oss,snd_hwdep,snd_mixer_oss,snd_pcm,snd_timer
psmouse                52592  0 
cpufreq_ondemand        8215  2 
soundcore               5969  2 snd
ehci_hcd               36988  0 
tpm_tis                 7928  0 
shpchp                 26453  0 
sg                     25652  0 
phc_intel               9527  1 
battery                10231  0 
tpm                    10957  1 tpm_tis
samsung_backlight       2844  0 
serio_raw               4486  0 
snd_page_alloc          7249  2 snd_hda_intel,snd_pcm
usbcore               137570  5 uvcvideo,btusb,uhci_hcd,ehci_hcd
ac                      3105  0 
pci_hotplug            24319  1 shpchp
tpm_bios                5505  1 tpm
i2c_i801                8550  0 
freq_table              2323  2 cpufreq_ondemand,phc_intel
pcspkr                  1819  0 
thermal                12242  0 
evdev                   8519  14 
processor              25936  1 phc_intel
mperf                   1243  1 phc_intel
ext4                  313574  1 
mbcache                 5722  1 ext4
jbd2                   69002  1 ext4
crc16                   1297  2 l2cap,ext4
sd_mod                 25856  4 
ahci                   20353  3 
libahci                17982  1 ahci
libata                156316  2 ahci,libahci
scsi_mod              124891  3 sg,sd_mod,libata
i915                  321187  3 
drm_kms_helper         25963  1 i915
drm                   175314  3 i915,drm_kms_helper
i2c_algo_bit            4911  1 i915
button                  4834  1 i915
i2c_core               18726  6 videodev,i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
video                  19305  1 i915
output                  1940  1 video
intel_agp              29459  2 i915
             total       used       free     shared    buffers     cached
Mem:       2046212     603128    1443084          0      11400     258660
-/+ buffers/cache:     333068    1713144
Swap:      2250748          0    2250748

/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:

/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:

/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
Running hook /etc/pm/sleep.d/20_samsung-tools suspend suspend:

/etc/pm/sleep.d/20_samsung-tools suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/91wicd suspend suspend:

/usr/lib/pm-utils/sleep.d/91wicd suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Thu Dec 16 12:00:31 IST 2010: performing suspend

Since, the last time I checked about suspend was 1.5 months back, I cant really make out as to what package caused the issue as I had a few upgrades since that time.

I am no expert but it seems like it is the log of suspending the system, it seems like the system didnt even go to initial stage of resuming.

Last edited by shadyabhi (2010-12-27 17:54:19)

Offline

#2 2010-12-16 10:42:45

Aeva
Member
Registered: 2010-12-01
Posts: 29

Re: [SOLVED] Cannot resume from suspend but hibernate works fine

Try the solution at https://wiki.archlinux.org/index.php/Pm … esume_Hook and also removing the autodetect hook.

Offline

#3 2010-12-16 11:53:58

damdim
Member
Registered: 2010-03-13
Posts: 48

Re: [SOLVED] Cannot resume from suspend but hibernate works fine

Edit /boot/grub/menu.lst ,add "acpi_sleep=nonvs" to your kernel line and reboot.

Offline

#4 2010-12-16 12:11:58

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: [SOLVED] Cannot resume from suspend but hibernate works fine

Aeva wrote:

Try the solution at https://wiki.archlinux.org/index.php/Pm … esume_Hook and also removing the autodetect hook.

I already had resume hook present. As you said, I tried removing autodetect hook, that also didnt solve the problem.. sad

Offline

#5 2010-12-16 12:17:26

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: [SOLVED] Cannot resume from suspend but hibernate works fine

damdim wrote:

Edit /boot/grub/menu.lst ,add "acpi_sleep=nonvs" to your kernel line and reboot.

I tried adding it too.. But, no success..
Guyz, please reply, it is too bad to have a netbook that cant even suspend to RAM.

Offline

#6 2010-12-16 14:14:31

Aeva
Member
Registered: 2010-12-01
Posts: 29

Re: [SOLVED] Cannot resume from suspend but hibernate works fine

Well this is a long shot... But my laptop had some issues with suspending due to low-power governors preventing it from fully working at times.

Because of that I manually suspend with the following script:

#!/bin/bash
clear
cpufreq-set -g performance
cpufreq-info
echo "Continue? y/n? ";read bevestiging
if [ $bevestiging = "y" ]
then
    echo "System going down for suspension NOW!"
    pm-suspend
else
    echo "Exiting..."
    exit 0
fi
exit 0

All it really does in the end, is change the governer from which it's currently on to "performance", thus allowing maximum clock speed.
I've also added in a little confirmation dialog to check whether it's properly switched.

Of course, this will only work for you if you're also using laptop-mode and cpufrequtils.

Edit: You need to run this script with sudo or as the root user.

Last edited by Aeva (2010-12-16 14:16:32)

Offline

#7 2010-12-22 02:10:57

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: [SOLVED] Cannot resume from suspend but hibernate works fine

@Avea
Even that didnt solve the problem.
So, can you guyz help me in knowing as to what issues can be there that cause no video on resume. Btw, I have also tried using pm-suspend --quirk-vbe-post..
I have also tried downgrading hal, tried s2ram too..

What else can I try?

Offline

#8 2010-12-26 15:02:50

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [SOLVED] Cannot resume from suspend but hibernate works fine

I have similar issue with the latest kernel. It seems to be related to this bug

edit 1: same link given by sik I missed one 0 sad

--

Last edited by kgas (2010-12-28 13:39:29)

Offline

#9 2010-12-27 17:06:55

sik
Member
Registered: 2010-12-27
Posts: 3

Re: [SOLVED] Cannot resume from suspend but hibernate works fine

I had the same problem which seems to be what is reported in https://bugs.launchpad.net/ubuntu/+sour … bug/640100

The workaround posted in a comment 115 worked for me. Just add intel_idle.max_cstate=0 to kernel boot parameters.

Offline

#10 2010-12-27 17:43:09

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: [SOLVED] Cannot resume from suspend but hibernate works fine

sik wrote:

I had the same problem which seems to be what is reported in https://bugs.launchpad.net/ubuntu/+sour … bug/640100

The workaround posted in a comment 115 worked for me. Just add intel_idle.max_cstate=0 to kernel boot parameters.

Thank you very much.... That worked perfectly on my samsung n210..

Offline

#11 2010-12-28 13:18:25

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [SOLVED] Cannot resume from suspend but hibernate works fine

thanks, sik for the heads up. wiki page (N150) updated accordingly.

Last edited by kgas (2010-12-28 13:28:15)

Offline

Board footer

Powered by FluxBB