You are not logged in.

#1 2010-09-13 10:09:54

Kirodema
Member
Registered: 2010-01-08
Posts: 81

pm-suspend works randomly

Hi,

the pm-utils arent working correctly since I reinstalled Arch. I did everything the same manner as before. I installed pm-utils, added my user to the power group and even added the pm-commands to the sudo file so that I don't need a password. It seems to work randomly .. sometimes I am lucky and it works 10 times in a row and other times it doesnt even work once out of 10 trys.
I dont know why it doesnt work and I dont know which infos you need for successfully locating and fixing the problem. So lets start with you telling me, which information you need (it worked without problems before) smile

Offline

#2 2010-09-13 16:16:18

Kirodema
Member
Registered: 2010-01-08
Posts: 81

Re: pm-suspend works randomly

Ok, I found out, that there is an pm-suspend.log, but that file seems just fine after a notworking suspend.

db@kirodema ~ $ cat /var/log/pm-suspend.log 
Initial commandline parameters: 
Mo 13. Sep 18:00:02 CEST 2010: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux kirodema 2.6.35-ARCH #1 SMP PREEMPT Fri Aug 27 16:22:18 UTC 2010 i686 Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz GenuineIntel GNU/Linux
Module                  Size  Used by
ipv6                  239277  14 
fuse                   54698  3 
hdaps                   7604  1 
ext2                   56204  1 
btusb                   9745  0 
bluetooth              44753  1 btusb
uvcvideo               53488  0 
videodev               39124  1 uvcvideo
v4l1_compat            13562  2 uvcvideo,videodev
arc4                    1070  2 
ecb                     1589  2 
snd_seq_dummy           1079  0 
iwlagn                244259  0 
iwlcore               104224  1 iwlagn
joydev                  7503  0 
snd_seq_oss            25104  0 
snd_seq_midi_event      4496  1 snd_seq_oss
snd_seq                41752  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4369  3 snd_seq_dummy,snd_seq_oss,snd_seq
i915                  266496  2 
snd_hda_codec_conexant    25826  1 
mac80211              167958  2 iwlagn,iwlcore
snd_pcm_oss            33662  0 
drm_kms_helper         22011  1 i915
pcmcia                 32127  0 
snd_mixer_oss          14686  1 snd_pcm_oss
cfg80211              124335  3 iwlagn,iwlcore,mac80211
drm                   134132  3 i915,drm_kms_helper
snd_hda_intel          19020  0 
snd_hda_codec          67274  2 snd_hda_codec_conexant,snd_hda_intel
uhci_hcd               19251  0 
snd_hwdep               4764  1 snd_hda_codec
snd_pcm                58308  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
thinkpad_acpi          54236  0 
snd_timer              15423  2 snd_seq,snd_pcm
sdhci_pci               5774  0 
sdhci                  14341  1 sdhci_pci
nvram                   4749  1 thinkpad_acpi
snd                    43283  12 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_conexant,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,thinkpad_acpi,snd_timer
rfkill                 12854  3 bluetooth,cfg80211,thinkpad_acpi
tpm_tis                 6420  0 
soundcore               5025  1 snd
snd_page_alloc          5981  2 snd_hda_intel,snd_pcm
mmc_core               47268  1 sdhci
led_class               1843  2 thinkpad_acpi,sdhci
tpm                     9793  1 tpm_tis
tpm_bios                4629  1 tpm
i2c_algo_bit            4407  1 i915
firewire_ohci          20270  0 
firewire_core          38941  1 firewire_ohci
crc_itu_t               1053  1 firewire_core
yenta_socket           19842  0 
pcmcia_rsrc             9464  1 yenta_socket
pcmcia_core            10636  3 pcmcia,yenta_socket,pcmcia_rsrc
ehci_hcd               32860  0 
usbcore               121705  5 btusb,uvcvideo,uhci_hcd,ehci_hcd
i2c_i801                7426  0 
i2c_core               15599  6 videodev,i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
battery                 7879  0 
ac                      2329  0 
tg3                   115656  0 
psmouse                51529  0 
libphy                 14543  1 tg3
iTCO_wdt                8677  0 
iTCO_vendor_support     1433  1 iTCO_wdt
intel_agp              24087  2 i915
agpgart                23520  2 drm,intel_agp
wmi                     5962  0 
sg                     20932  0 
video                  15889  1 i915
output                  1448  1 video
button                  3746  1 i915
evdev                   6820  19 
thermal                 9786  0 
serio_raw               3566  0 
cpufreq_userspace       1560  0 
cpufreq_ondemand        6971  2 
acpi_cpufreq            5157  1 
freq_table              1999  2 cpufreq_ondemand,acpi_cpufreq
processor              25126  3 acpi_cpufreq
mperf                    979  1 acpi_cpufreq
tp_smapi               15845  0 
thinkpad_ec             4101  2 hdaps,tp_smapi
rtc_cmos                7746  0 
rtc_core               11831  1 rtc_cmos
rtc_lib                 1494  1 rtc_core
ext3                  110740  2 
jbd                    39247  1 ext3
mbcache                 4290  2 ext2,ext3
sr_mod                 13313  0 
sd_mod                 26768  5 
cdrom                  31410  1 sr_mod
ahci                   17813  0 
libahci                16174  5 ahci
libata                140707  2 ahci,libahci
scsi_mod              105888  4 sg,sr_mod,sd_mod,libata
             total       used       free     shared    buffers     cached
Mem:       1956992     480692    1476300          0      16808     270668
-/+ buffers/cache:     193216    1763776
Swap:      4000180          0    4000180

/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 /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/55NetworkManager suspend suspend:
Having NetworkManager put all interaces to sleep...Done.

/usr/lib/pm-utils/sleep.d/55NetworkManager 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/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:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Mo 13. Sep 18:00:02 CEST 2010: performing suspend

I cant find anything bad here, but I am not familiar with the pm-utils

Offline

#3 2010-09-15 07:59:24

Kirodema
Member
Registered: 2010-01-08
Posts: 81

Re: pm-suspend works randomly

Whoooops, I saw that I never told you that I have a Thinkpad R500, sorry.

Also it seems, that the suspend to RAM only works a few times directly after booting, but not everytime.

Offline

#4 2010-09-28 11:34:10

sammermpc
Member
Registered: 2010-07-16
Posts: 12

Re: pm-suspend works randomly

I'm having the exact same issue on a T400. Suspend 'usually' works, but often enough doesn't, leaving the computer hanging with a blinking "sleep" light, and a grayed-out (but not off) screen.

I think it may have something to do with a particular open program that is blocking the video suspend, but I have not been able to track it down. The pm-suspend log seems fine, though I don't know the place to start looking.

Initial commandline parameters: 
Mon Sep 27 22:11:07 EDT 2010: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux s-laptop 2.6.35-ARCH #1 SMP PREEMPT Tue Sep 21 11:00:23 UTC 2010 i686 Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz GenuineIntel GNU/Linux
Module                  Size  Used by
ext2                   56204  1 
nls_cp437               4525  0 
vfat                    8176  0 
fat                    42960  1 vfat
btusb                   9745  0 
bluetooth              44753  1 btusb
arc4                    1070  2 
ecb                     1589  2 
pcmcia                 32127  0 
joydev                  7503  0 
snd_hda_codec_conexant    26292  1 
usb_storage            34108  0 
firewire_ohci          20270  0 
firewire_core          38941  1 firewire_ohci
crc_itu_t               1053  1 firewire_core
i915                  266816  2 
yenta_socket           19842  0 
pcmcia_rsrc             9464  1 yenta_socket
pcmcia_core            10636  3 pcmcia,yenta_socket,pcmcia_rsrc
snd_hda_intel          19020  9 
snd_hda_codec          67274  2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep               4764  1 snd_hda_codec
iwlagn                244259  0 
snd_pcm                58308  5 snd_hda_intel,snd_hda_codec
snd_timer              15423  4 snd_pcm
snd_page_alloc          5981  2 snd_hda_intel,snd_pcm
drm_kms_helper         22043  1 i915
drm                   134132  3 i915,drm_kms_helper
sdhci_pci               5774  0 
sdhci                  14341  1 sdhci_pci
mmc_core               47522  1 sdhci
iwlcore               104224  1 iwlagn
i2c_algo_bit            4407  1 i915
tpm_tis                 6420  0 
tpm                     9793  1 tpm_tis
tpm_bios                4629  1 tpm
mac80211              167990  2 iwlagn,iwlcore
thinkpad_acpi          54236  0 
snd                    43283  19 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer,thinkpad_acpi
soundcore               5025  1 snd
led_class               1843  2 sdhci,thinkpad_acpi
nvram                   4749  1 thinkpad_acpi
cfg80211              124335  3 iwlagn,iwlcore,mac80211
uhci_hcd               19251  0 
e1000e                122295  0 
video                  15889  1 i915
output                  1448  1 video
ehci_hcd               32860  0 
psmouse                51529  0 
usbcore               121737  5 btusb,usb_storage,uhci_hcd,ehci_hcd
iTCO_wdt                8677  0 
iTCO_vendor_support     1433  1 iTCO_wdt
sg                     20932  0 
ac                      2329  0 
battery                 7879  0 
rfkill                 12854  3 bluetooth,thinkpad_acpi,cfg80211
processor              25126  2 
button                  3746  1 i915
evdev                   6820  2 
thermal                 9786  0 
wmi                     5962  0 
i2c_i801                7426  0 
i2c_core               15599  5 i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
serio_raw               3566  0 
intel_agp              24119  2 i915
agpgart                23520  2 drm,intel_agp
bridge                 60536  0 
stp                     1152  1 bridge
llc                     2916  2 bridge,stp
vboxdrv               149090  1 
fuse                   54801  3 
rtc_cmos                7746  0 
rtc_core               11831  1 rtc_cmos
rtc_lib                 1494  1 rtc_core
ext4                  282610  2 
mbcache                 4290  2 ext2,ext4
jbd2                   58396  1 ext4
crc16                   1053  1 ext4
sd_mod                 26768  6 
sr_mod                 13313  0 
cdrom                  31410  1 sr_mod
ahci                   17813  0 
libahci                16174  6 ahci
libata                140771  2 ahci,libahci
scsi_mod              105888  5 usb_storage,sg,sd_mod,sr_mod,libata
             total       used       free     shared    buffers     cached
Mem:       3058976    2753076     305900          0      79952     980404
-/+ buffers/cache:    1692720    1366256
Swap:      3061324        224    3061100

/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/11netcfg suspend suspend:

/usr/lib/pm-utils/sleep.d/11netcfg 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/55NetworkManager suspend suspend:
Having NetworkManager put all interaces to sleep...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager 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:
Unable to connect to wicd daemon - is it running?

/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:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Mon Sep 27 22:11:09 EDT 2010: performing suspend

Last edited by sammermpc (2010-10-05 10:37:29)

Offline

#5 2010-09-28 13:16:14

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: pm-suspend works randomly

I didn't find the topic right now but that's a known issue. Switch back to kernel 2.6.34 (works for me), try the 2.6.35 from testing or the RC of 2.6.36.
You also might wanna find the topic, there was a link to a bug report and maybe some other interesting info. I only skimmed through it.


no place like /home
github

Offline

Board footer

Powered by FluxBB