You are not logged in.

#1 2010-12-27 16:25:18

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Unable to suspend - pm-suspend doesn't work?

heya,

I have a Lenovo X200 tablet, with Arch_64 installed, and I appear to be unable to suspend it.

This is running KDE 4.6, hal-less.

Attempting to suspend in KDE seems to do nothing.

Running a dbus/uPower command didn't seem to do anything

[victorhooi@narsil-arch services]$ sudo dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
method return sender=:1.9 -> dest=:1.36 reply_serial=2

It flashes the screen once, then spits out that second line above.

I also tried running pm-suspend manually from a console, it seemed to flash the screen black once, and Wicd lost its network connection, but otherwise nothing.

Are there any other tests I can run to figure out why suspend is not working?

Cheers,
Victor

Offline

#2 2010-12-28 12:27:55

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: Unable to suspend - pm-suspend doesn't work?

What size ram are you using?


You're just jealous because the voices only talk to me.

Offline

#3 2010-12-28 13:15:05

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Re: Unable to suspend - pm-suspend doesn't work?

heya,

I have 4Gb of RAM. Swap file is 2Gb.

The weird thing - this all worked before the re-format, although the major change is I'm now on KDE 4.6 (and hence [testing] as well, since that is required by [kde-unstable]).

When I use pm-suspend, it does flash the screen black very quickly, but then goes back to where it is - however, Wicd does drop its connection, so does that mean that it suspended, but then just resumed? Or that it failed to resume at all? I tried looking for a /var/log/acpid file, couldn't find any such file - any idea where acpid might be sending its logs? Or where I can get more verbose output from pm-suspend?

Cheers,
Victor

Offline

#4 2010-12-28 15:20:39

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Re: Unable to suspend - pm-suspend doesn't work?

heya,

I'm pasted my /var/log/pm-suspend.log file below, in the hopes it might help. This was run from the console (i.e. init/runlevel 3), nothing seemed to happen, pm-suspend didn't return anything, just returned straight away.

Initial commandline parameters: 
Wed Dec 29 02:02:50 EST 2010: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux narsil-arch 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:32:37 CET 2010 x86_64 Intel(R) Core(TM)2 Duo CPU L9600 @ 2.13GHz GenuineIntel GNU/Linux
Module                  Size  Used by
cpufreq_powersave        958  0 
cpufreq_ondemand        8215  0 
acpi_cpufreq            5865  1 
freq_table              2323  2 cpufreq_ondemand,acpi_cpufreq
mperf                   1243  1 acpi_cpufreq
snd_hda_codec_conexant    33817  1 
snd_hda_intel          22285  0 
snd_hda_codec          79384  2 snd_hda_codec_conexant,snd_hda_intel
arc4                    1378  2 
snd_hwdep               6110  1 snd_hda_codec
ecb                     2041  2 
snd_pcm_oss            39221  0 
snd_pcm                71921  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              19265  1 snd_pcm
snd_page_alloc          7249  2 snd_hda_intel,snd_pcm
snd_mixer_oss          17106  1 snd_pcm_oss
snd                    57562  8 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               5969  1 snd
pcspkr                  1819  0 
zaurus                  2776  0 
cdc_ether               3978  1 zaurus
usbnet                 14531  2 zaurus,cdc_ether
iwlagn                304281  0 
i915                  321187  2 
iwlcore               110506  1 iwlagn
tpm_tis                 7928  0 
drm_kms_helper         25963  1 i915
tpm                    10957  1 tpm_tis
battery                10231  0 
tpm_bios                5505  1 tpm
mac80211              196159  2 iwlagn,iwlcore
drm                   175314  2 i915,drm_kms_helper
ac                      3105  0 
cfg80211              143110  3 iwlagn,iwlcore,mac80211
wmi                     8051  0 
i2c_algo_bit            4911  1 i915
mii                     3826  1 usbnet
btusb                  11385  0 
uvcvideo               61404  0 
bluetooth              52419  1 btusb
video                  19305  1 i915
output                  1940  1 video
rfkill                 15882  2 cfg80211,bluetooth
videodev               64318  1 uvcvideo
v4l1_compat            15578  2 uvcvideo,videodev
v4l2_compat_ioctl32    10212  1 videodev
sg                     25652  0 
button                  4834  1 i915
psmouse                52592  0 
processor              25936  3 acpi_cpufreq
thermal                12242  0 
i2c_i801                8550  0 
cdc_acm                16597  0 
iTCO_wdt               10669  0 
iTCO_vendor_support     1801  1 iTCO_wdt
cdc_wdm                 8526  0 
evdev                   8519  0 
i2c_core               18726  6 i915,drm_kms_helper,drm,i2c_algo_bit,videodev,i2c_i801
serio_raw               4486  0 
intel_agp              29459  2 i915
e1000e                136590  0 
btrfs                 501459  1 
zlib_deflate           20022  1 btrfs
crc32c                  2792  1 
libcrc32c               1002  1 btrfs
ext4                  313574  1 
mbcache                 5722  1 ext4
jbd2                   69002  1 ext4
crc16                   1297  1 ext4
uhci_hcd               21926  0 
ehci_hcd               36988  0 
usbcore               137570  10 zaurus,cdc_ether,usbnet,btusb,uvcvideo,cdc_acm,cdc_wdm,uhci_hcd,ehci_hcd
sd_mod                 25856  3 
ahci                   20353  2 
libahci                17982  1 ahci
libata                156316  2 ahci,libahci
scsi_mod              124891  3 sg,sd_mod,libata
             total       used       free     shared    buffers     cached
Mem:       3949824     219588    3730236          0        684      83460
-/+ buffers/cache:     135444    3814380
Swap:            0          0          0

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

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Wed Dec 29 02:02:52 EST 2010: performing suspend
/usr/lib/pm-utils/pm-functions: line 297: echo: write error: Input/output error
Wed Dec 29 02:02:52 EST 2010: Awake.
Wed Dec 29 02:02:52 EST 2010: Running hooks for resume
Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:

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

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

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

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

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

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

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

/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg resume suspend:

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

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

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

/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
Wed Dec 29 02:02:54 EST 2010: Finished.

Hmm, anything else I can try?

(Also, I noted that there was a line about swap failed on my boot sequence, not sure if that's related at all).

Cheers,
Victor

Offline

#5 2010-12-28 15:23:01

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Re: Unable to suspend - pm-suspend doesn't work?

heya,

Just noticed that somebody else seemed to have a similar error - however, I can't seem to find a solution on that thread:

https://bbs.archlinux.org/viewtopic.php?pid=730763

Cheers,
Victor

Offline

#6 2010-12-29 21:21:21

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Re: Unable to suspend - pm-suspend doesn't work?

heya,

I found another thread that seems to have a similar problem:

https://bbs.archlinux.org/viewtopic.php?id=107046

I did try the fix suggested in there (adding SUSPEND_MODULES to /etc/pm/config.d/foobar)

However, when I try to do a "sudo pm_suspend" now, it goes to a black screen, with a white underscore character in the top-left. System is still powered on and spinning, Caps-lock key works, but nothing else seems responsive, had to manually pull power.

Output of /var/log/pm-suspend.log below:

Initial commandline parameters: 
Thu Dec 30 08:02:58 EST 2010: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux narsil-arch 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:32:37 CET 2010 x86_64 Intel(R) Core(TM)2 Duo CPU L9600 @ 2.13GHz GenuineIntel GNU/Linux
Module                  Size  Used by
cryptd                  6262  0 
aes_x86_64              7412  2 
aes_generic            26170  1 aes_x86_64
xts                     2429  1 
gf128mul                6658  1 xts
dm_crypt               12296  1 
loop                   15194  2 
dm_mod                 66662  3 dm_crypt
fuse                   64259  5 
ipv6                  281833  16 
cpufreq_powersave        958  0 
cpufreq_ondemand        8215  0 
acpi_cpufreq            5865  1 
freq_table              2323  2 cpufreq_ondemand,acpi_cpufreq
mperf                   1243  1 acpi_cpufreq
snd_hda_codec_conexant    33817  1 
snd_hda_intel          22285  2 
snd_hda_codec          79384  2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep               6110  1 snd_hda_codec
snd_pcm_oss            39221  0 
snd_pcm                71921  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
arc4                    1378  2 
snd_timer              19265  1 snd_pcm
snd_page_alloc          7249  2 snd_hda_intel,snd_pcm
snd_mixer_oss          17106  1 snd_pcm_oss
ecb                     2041  2 
snd                    57562  12 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               5969  1 snd
pcspkr                  1819  0 
zaurus                  2776  0 
cdc_ether               3978  1 zaurus
usbnet                 14531  2 zaurus,cdc_ether
i915                  321187  3 
iwlagn                304281  0 
btusb                  11385  0 
bluetooth              52419  1 btusb
iwlcore               110506  1 iwlagn
tpm_tis                 7928  0 
drm_kms_helper         25963  1 i915
tpm                    10957  1 tpm_tis
mac80211              196159  2 iwlagn,iwlcore
tpm_bios                5505  1 tpm
ac                      3105  0 
battery                10231  0 
drm                   175314  3 i915,drm_kms_helper
cfg80211              143110  3 iwlagn,iwlcore,mac80211
wmi                     8051  0 
rfkill                 15882  2 bluetooth,cfg80211
uvcvideo               61404  0 
i2c_algo_bit            4911  1 i915
video                  19305  1 i915
output                  1940  1 video
mii                     3826  1 usbnet
psmouse                52592  0 
videodev               64318  1 uvcvideo
v4l1_compat            15578  2 uvcvideo,videodev
v4l2_compat_ioctl32    10212  1 videodev
usb_storage            42540  1 
sg                     25652  0 
thermal                12242  0 
button                  4834  1 i915
processor              25936  3 acpi_cpufreq
cdc_acm                16597  0 
cdc_wdm                 8526  0 
i2c_i801                8550  0 
iTCO_wdt               10669  0 
iTCO_vendor_support     1801  1 iTCO_wdt
evdev                   8519  7 
i2c_core               18726  6 i915,drm_kms_helper,drm,i2c_algo_bit,videodev,i2c_i801
serio_raw               4486  0 
intel_agp              29459  2 i915
e1000e                136590  0 
btrfs                 501459  2 
zlib_deflate           20022  1 btrfs
crc32c                  2792  1 
libcrc32c               1002  1 btrfs
ext4                  313574  2 
mbcache                 5722  1 ext4
jbd2                   69002  1 ext4
crc16                   1297  1 ext4
uhci_hcd               21926  0 
ehci_hcd               36988  0 
usbcore               137570  11 zaurus,cdc_ether,usbnet,btusb,uvcvideo,usb_storage,cdc_acm,cdc_wdm,uhci_hcd,ehci_hcd
sd_mod                 25856  5 
ahci                   20353  2 
libahci                17982  1 ahci
libata                156316  2 ahci,libahci
scsi_mod              124891  4 usb_storage,sg,sd_mod,libata
             total       used       free     shared    buffers     cached
Mem:       3949824    3132528     817296          0       1212    1487232
-/+ buffers/cache:    1644084    2305740
Swap:            0          0          0

/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/75modules suspend suspend:
Unloading kernel module ehci_hcd...Done.
Unloading kernel module uhci_hcd...Done.
Unloading kernel module ohci_hcd...Done.
Unloading kernel module usbcore...FATAL: Module usb_storage is in use.
/usr/lib/pm-utils/functions: line 89: log: command not found
Done.

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

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Thu Dec 30 08:03:00 EST 2010: performing suspend
/usr/sbin/pm-suspend: line 107:  7937 Segmentation fault      sync

Cheers,
Victor

Offline

#7 2011-01-09 11:42:18

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Re: Unable to suspend - pm-suspend doesn't work?

heya,

I've upgraded to 2.6.37 (from [testing]), and it seems I can now suspend using

sudo pm-suspend

from either the console (init 3), or within KDE.

However, if I try to suspend within KDE using the "Sleep" option from the KDE menu, it doesn't seem to work - simply goes to a lock screen.

Very curious. Has anybody else experienced this, or might know why this is?

Cheers,
Victor

Offline

#8 2011-01-09 13:13:41

matthiaslinux
Member
Registered: 2008-12-01
Posts: 12

Re: Unable to suspend - pm-suspend doesn't work?

My Lenovo T400 has a similar problem in that it does try to suspend and then fails. The behavior is pretty much the same from the KDE (4.5.5) menu or pm-suspend: It seems to try, even the sleepy led blinks for a moment, then nothing, it falls right back into normal operation.

The most interesting line I found was in /var/log/errors.log:

Jan  9 08:09:03 vinnie kernel: legacy_suspend(): pnp_bus_suspend+0x0/0x80 returns -5
Jan  9 08:09:03 vinnie kernel: PM: Device 00:0a failed to suspend: error -5
Jan  9 08:09:03 vinnie kernel: PM: Some devices failed to suspend

I am using the current stock kernel: Linux vinnie 2.6.36-ARCH #1 SMP PREEMPT...

Offline

#9 2011-01-27 17:15:17

KerrickStaley
Member
Registered: 2011-01-26
Posts: 31

Re: Unable to suspend - pm-suspend doesn't work?

I'm still having this issue after as -Syu today, which upgraded the kernel to 2.6.37. I am using a Lenovo Thinkpad T500. I was able to suspend successfully under Ubuntu 10.10. I tried doing both pm-suspend and pm-hibernate as root; both result in the moon-shaped "Suspend" light flashing briefly, and the laptop waking back up. Like others, the relevent errors seem to be (in /var/log/pm-suspend.log):

/usr/lib/pm-utils/pm-functions: line 298: echo: write error: Input/output error

and

/usr/lib/pm-utils/pm-functions: line 317: echo: write error: Input/output error

Also, the -Syu today installed KDE 4.6. In KDE 4.5, choosing "Sleep" from the "Leave" menu resulted in the same behavior as pm-suspend as root. Now, it and other buttons like "Shut Down" do absolutely nothing. I'll post again if I figure anything out.

Offline

#10 2011-01-27 20:30:06

KerrickStaley
Member
Registered: 2011-01-26
Posts: 31

Re: Unable to suspend - pm-suspend doesn't work?

I've noticed that, since the KDE4.6 upgrade,

dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend

when run as an ordinary user also acts similarly to pm-suspend run as root, except that this command also disconnects the wireless connection.

Offline

#11 2011-01-27 21:54:05

johnpatcher
Member
Registered: 2009-08-23
Posts: 70

Re: Unable to suspend - pm-suspend doesn't work?

I've got a similar problem sad.

I've got no X server installed (just using the box as server, so I don't need a X server). Neither pm-suspend nor pm-hibernate work. While pm-suspend seem to do nothing at all, pm-hibernate at least refreshes the screen, although no modules get unloaded (still have access via ssh).

Here is my pm-suspend.log:

[root@nas ~]# cat /var/log/pm-suspend.log
Initial commandline parameters:
Thu Jan 27 22:51:45 CET 2011: Running hooks for hibernate.
Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
Linux nas 2.6.36-ARCH #1 SMP PREEMPT Mon Jan 24 18:41:03 CET 2011 x86_64 Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz GenuineIntel GNU/Linux
Module                  Size  Used by
ipv6                  281897  46
cpufreq_ondemand        8215  4
i915                  321411  2
drm_kms_helper         25963  1 i915
drm                   175250  2 i915,drm_kms_helper
ata_generic             3135  0
snd_hda_codec_intelhdmi    10645  1
snd_hda_codec_realtek   275887  1
snd_seq_dummy           1431  0
snd_seq_oss            28760  0
snd_seq_midi_event      5436  1 snd_seq_oss
pata_acpi               3248  0
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_hda_intel          22317  0
snd_pcm_oss            39221  0
snd_mixer_oss          17106  1 snd_pcm_oss
snd_hda_codec          79288  3 snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               6110  1 snd_hda_codec
snd_pcm                71953  3 snd_hda_intel,snd_pcm_oss,snd_hda_codec
snd_timer              19265  2 snd_seq,snd_pcm
psmouse                52592  0
ide_pci_generic         2940  0
acpi_cpufreq            5865  1
joydev                 10055  0
freq_table              2323  2 cpufreq_ondemand,acpi_cpufreq
snd                    57562  11 snd_hda_codec_realtek,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
evdev                   8519  0
usb_storage            42604  0
i2c_algo_bit            4911  1 i915
button                  4834  1 i915
video                  19305  1 i915
soundcore               5969  1 snd
serio_raw               4486  0
ide_core               89977  1 ide_pci_generic
megaraid_sas           43222  0
i2c_i801                8550  0
output                  1940  1 video
sg                     25652  0
thermal                12242  0
pcspkr                  1819  0
snd_page_alloc          7249  2 snd_hda_intel,snd_pcm
processor              25936  1 acpi_cpufreq
intel_agp              29459  2 i915
i2c_core               18790  5 i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
iTCO_wdt               10669  0
iTCO_vendor_support     1801  1 iTCO_wdt
mperf                   1275  1 acpi_cpufreq
fpu                     2608  1
aesni_intel            14471  3
cryptd                  6262  2 aesni_intel
aes_x86_64              7412  1 aesni_intel
aes_generic            26298  2 aesni_intel,aes_x86_64
xts                     2429  1
gf128mul                6658  1 xts
dm_crypt               12296  1
dm_mod                 66598  12 dm_crypt
usbhid                 36325  0
hid                    76008  1 usbhid
xhci_hcd               57936  0
e1000e                136654  0
ext4                  313446  3
mbcache                 5722  1 ext4
jbd2                   69002  1 ext4
crc16                   1297  1 ext4
ehci_hcd               36988  0
usbcore               137570  5 usb_storage,usbhid,xhci_hcd,ehci_hcd
sd_mod                 25856  3
ahci                   20353  2
libahci                18110  1 ahci
libata                156444  4 ata_generic,pata_acpi,ahci,libahci
scsi_mod              124891  5 usb_storage,megaraid_sas,sg,sd_mod,libata
             total       used       free     shared    buffers     cached
Mem:       7976144     236300    7739844          0       8612      33028
-/+ buffers/cache:     194660    7781484
Swap:      2920444          0    2920444

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

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

/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg hibernate hibernate:

/usr/lib/pm-utils/sleep.d/11netcfg hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:

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

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

/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:

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

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

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

/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Thu Jan 27 22:51:45 CET 2011: performing hibernate
/usr/lib/pm-utils/pm-functions: line 317: echo: write error: No such file or directory
Thu Jan 27 22:51:45 CET 2011: Awake.
Thu Jan 27 22:51:45 CET 2011: Running hooks for thaw
Running hook /usr/lib/pm-utils/sleep.d/99video thaw hibernate:

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

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95led thaw hibernate:

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

/usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock thaw hibernate:

/usr/lib/pm-utils/sleep.d/90clock thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules thaw hibernate:
Reloaded unloaded modules.

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

/usr/lib/pm-utils/sleep.d/49bluetooth thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg thaw hibernate:

/usr/lib/pm-utils/sleep.d/11netcfg thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub thaw hibernate:

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

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

/usr/lib/pm-utils/sleep.d/00logging thaw hibernate: success.
Thu Jan 27 22:51:45 CET 2011: Finished.

Seems that the machine is getting awake before actually suspending. Maybe a (major) bug within the kernel/pm-utils?

Best regards,
johnpatcher

Offline

#12 2011-02-01 21:13:03

KerrickStaley
Member
Registered: 2011-01-26
Posts: 31

Re: Unable to suspend - pm-suspend doesn't work?

It now works for me. I had to reinstall the new kernel with pacman -Sy kernel26 (for some reason I was still running 2.6.36 even though I had already updated) and then reboot again. I can suspend as expected; I haven't tested hibernation.

Offline

Board footer

Powered by FluxBB