You are not logged in.

#1 2011-07-29 01:14:03

examon
Member
Registered: 2011-05-07
Posts: 208

[SOLVED] ThinkPad suspend-to-RAM problem

I wasn't suspending to RAM my laptop for a long time... but today I just needed to do that...
I remember b4 (like 2weeks ago) my suspend worked fine but today it just hangs... I was using pm-utils so I typed

pm-suspend

and laptop started to suspending but then it hangs in black screen with cursor in the left upper corner of my screen, while my LED suspend indicator was blinking all the time... So I rebooted and tested hibernate but with same effect...

/var/log/pm-suspend.log looks normally

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Fri Jul 29 02:42:59 CEST 2011: performing suspend

I was searching over the Internet.. so I tested 's2ram' software, everything looked fine but again... same problem.. system hangs with blinking LED.

Do you know how to fix this... I don't use suspend to RAM every day but sometimes I really need it... it worked before so there must be some simple fix.

[my laptop is ThinkPad X201i, 32bit Arch]

Last edited by examon (2011-08-06 11:36:53)

Offline

#2 2011-07-29 03:12:09

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: [SOLVED] ThinkPad suspend-to-RAM problem

I've had no problems with
echo -n "mem" > /sys/power/state
With the recent kernel updates it only takes a second to resume.

Offline

#3 2011-07-29 11:20:53

examon
Member
Registered: 2011-05-07
Posts: 208

Re: [SOLVED] ThinkPad suspend-to-RAM problem

I have fully updated system but

echo -n "mem" > /sys/power/state

== same effect...

Offline

#4 2011-08-02 13:47:43

buko
Member
Registered: 2011-08-02
Posts: 4

Re: [SOLVED] ThinkPad suspend-to-RAM problem

Hello,

I am having exactly the same problem.
Suspend worked with clean F15 install. Then sudenly stopped working.
Effect: machine preparing to suspend, half-moon light blinking, after couple of secs caps-lock light starts blinking as well and computer hangs
I am using Thinkpad T61

[root@thinkpad ~]# s2ram -i
This machine can be identified by:
    sys_vendor   = "LENOVO"
    sys_product  = "64574XG"
    sys_version  = "ThinkPad T61"
    bios_version = "7LETC6WW (2.26 )"

Have tried to change kernel, used 2.6.38.6-26 , 2.6.38.8-35
now using kernel 2.6.40-4.fc15.i686 - did not help

tried to check pm-suspend.log - no error there and last line look like:

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Tue Aug  2 14:07:43 CEST 2011: performing suspend

any help appreciated

Offline

#5 2011-08-02 15:20:15

buko
Member
Registered: 2011-08-02
Posts: 4

Re: [SOLVED] ThinkPad suspend-to-RAM problem

just upgraded thinkpad BIOS to latest 2.29 - does not help..

Offline

#6 2011-08-02 16:06:42

examon
Member
Registered: 2011-05-07
Posts: 208

Re: [SOLVED] ThinkPad suspend-to-RAM problem

I fixed this with clean arch installation... its working now with pm-utils.... but to be honest... I really don't know where was the problem..

Last edited by examon (2011-08-06 11:06:58)

Offline

#7 2011-08-06 02:18:01

davidcollins4481
Member
From: Canton, Ohio
Registered: 2011-08-06
Posts: 7

Re: [SOLVED] ThinkPad suspend-to-RAM problem

Ouch...reinstall?! Kinda sounds like overkill :0)


Hit me up on twitter! @DavidCollins81. Anyone else going to Ohio Linux Fest this September 9 - 11 in Columbus,OH ?

Offline

#8 2011-08-06 02:35:12

davidcollins4481
Member
From: Canton, Ohio
Registered: 2011-08-06
Posts: 7

Re: [SOLVED] ThinkPad suspend-to-RAM problem

The cause of this for me is the Virtual Box kernel modules. When I run: "sudo rmmod vboxdrv" my machine suspends. Really don't wanna pull those modules out of /etc/rc.conf, but I suspend more than I run Virtual Box. Works for now I guess


Hit me up on twitter! @DavidCollins81. Anyone else going to Ohio Linux Fest this September 9 - 11 in Columbus,OH ?

Offline

#9 2011-08-06 11:36:39

examon
Member
Registered: 2011-05-07
Posts: 208

Re: [SOLVED] ThinkPad suspend-to-RAM problem

davidcollins4481 wrote:

The cause of this for me is the Virtual Box kernel modules. When I run: "sudo rmmod vboxdrv" my machine suspends. Really don't wanna pull those modules out of /etc/rc.conf, but I suspend more than I run Virtual Box. Works for now I guess

Thanks davidcollins4481!
The problem is, as you mention, in the vboxdrv. After vboxdrv removal, suspend works great.

Offline

#10 2011-08-06 12:56:07

davidcollins4481
Member
From: Canton, Ohio
Registered: 2011-08-06
Posts: 7

Re: [SOLVED] ThinkPad suspend-to-RAM problem

Nice. I added this to handle loading/unloading the vbox kernel modules during suspend/resume:

create (as root obviously, perms: 644):
/etc/pm/config.d/modules

add:
SUSPEND_MODULES="vboxdrv"

now add 'vboxdrv' back to:
MODULES=(vboxdrv !pcspkr)

in /etc/rc.conf...now everything is working great. DO NOTE THOUGH IF YOU DO THIS:

Adding this file overrides the modules in:
/usr/lib/pm-utils/defaults (which you shouldn't edit)

So if there are modules listed here in 'SUSPEND_MODULES', copy those to your new version.

Last edited by davidcollins4481 (2011-08-06 12:58:55)


Hit me up on twitter! @DavidCollins81. Anyone else going to Ohio Linux Fest this September 9 - 11 in Columbus,OH ?

Offline

#11 2011-08-08 09:53:20

buko
Member
Registered: 2011-08-02
Posts: 4

Re: [SOLVED] ThinkPad suspend-to-RAM problem

Thank you davidcollins4481 !

tested and works for me as well
I use virtualbox often, but suspend even more often so removing/installing vboxdrv modules seems reasonable enough until it will be fixed in virtualbox release (hopefully)

good job!
Thanks smile

Offline

#12 2011-08-08 15:36:24

majeste
Member
Registered: 2011-08-08
Posts: 12

Re: [SOLVED] ThinkPad suspend-to-RAM problem

I use thinkpad T410, and I have this problem recently(which just appeared several days ago after a update) too. I have tried pm-utils and uswsusp, and what you said above, but I do not succeed.

Offline

#13 2011-08-08 16:55:11

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: [SOLVED] ThinkPad suspend-to-RAM problem

@davidcollins4481: how did you find out it's caused by this module? Is this discussed on the LKML?

In my case

modprobe -r kvm_intel

did the trick.

Thanks!

Offline

#14 2011-08-09 01:04:45

majeste
Member
Registered: 2011-08-08
Posts: 12

Re: [SOLVED] ThinkPad suspend-to-RAM problem

foobarch wrote:

@davidcollins4481: how did you find out it's caused by this module? Is this discussed on the LKML?

In my case

modprobe -r kvm_intel

did the trick.

Thanks!

tried, no use, just keep black screen and freeze.

Offline

#15 2011-08-09 02:53:35

Archieman
Member
Registered: 2011-01-09
Posts: 25

Re: [SOLVED] ThinkPad suspend-to-RAM problem

Looks like this issue may have been solved by the latest virtualbox update.

I was having this same problem on my T61p and it persisted even after updating to kernel 3.0.  Looks like a new virtualbox was released today, after upgrading everything is now working normally, no need to remove vboxdrv from modules.  Good thing too, I use vbox a lot!


A good solution applied with vigor now is better than a perfect solution applied ten minutes later. - George S. Patton

Offline

#16 2011-08-09 02:56:15

majeste
Member
Registered: 2011-08-08
Posts: 12

Re: [SOLVED] ThinkPad suspend-to-RAM problem

Archieman wrote:

Looks like this issue may have been solved by the latest virtualbox update.

I was having this same problem on my T61p and it persisted even after updating to kernel 3.0.  Looks like a new virtualbox was released today, after upgrading everything is now working normally, no need to remove vboxdrv from modules.  Good thing too, I use vbox a lot!

This doesn't apply to T410 tragically.

Offline

#17 2011-08-09 07:32:40

krum
Member
From: Grenoble - FR
Registered: 2008-04-10
Posts: 32

Re: [SOLVED] ThinkPad suspend-to-RAM problem

T520 here with the last kernel 3.0 and the last VB 4.1.0-5, and I still have the issue.

Offline

#18 2011-08-09 09:32:14

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: [SOLVED] ThinkPad suspend-to-RAM problem

Maybe you can show us the output of lsmod?

Offline

#19 2011-08-09 12:55:43

majeste
Member
Registered: 2011-08-08
Posts: 12

Re: [SOLVED] ThinkPad suspend-to-RAM problem

foobarch wrote:

Maybe you can show us the output of lsmod?

Module                  Size  Used by
fuse                   67290  3 
ipt_REJECT              2313  3 
xt_tcpudp               2535  2 
nf_conntrack_ipv4      11665  5 
nf_defrag_ipv4          1371  1 nf_conntrack_ipv4
ipv6                  290109  15 
xt_conntrack            3169  5 
nf_conntrack           59639  2 nf_conntrack_ipv4,xt_conntrack
iptable_filter          1488  1 
ip_tables              16647  1 iptable_filter
x_tables               17467  5 ipt_REJECT,xt_tcpudp,xt_conntrack,iptable_filter,ip_tables
usbhid                 35256  0 
hid                    81635  1 usbhid
joydev                  9895  0 
snd_hda_codec_hdmi     22092  1 
snd_hda_codec_conexant    46356  1 
arc4                    1410  2 
sdhci_pci               8530  0 
sdhci                  22194  1 sdhci_pci
mmc_core               73353  1 sdhci
iwlagn                236691  0 
snd_hda_intel          22122  2 
snd_hda_codec          77927  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
firewire_ohci          29586  0 
psmouse                55224  0 
serio_raw               4294  0 
ehci_hcd               39511  0 
sg                     25557  0 
firewire_core          50360  1 firewire_ohci
mei                    31249  0 
evdev                   9530  11 
e1000e                142449  0 
i2c_i801                8187  0 
mac80211              215605  1 iwlagn
snd_hwdep               6325  1 snd_hda_codec
mxm_wmi                 1393  0 
intel_ips              11213  0 
battery                10905  0 
crc_itu_t               1297  1 firewire_core
iTCO_wdt               12717  0 
iTCO_vendor_support     1929  1 iTCO_wdt
tpm_tis                 8193  0 
ac                      3265  0 
tpm                    11589  1 tpm_tis
thermal                 7863  0 
cfg80211              160516  2 iwlagn,mac80211
wmi                     8411  1 mxm_wmi
uvcvideo               64931  0 
usbcore               142544  4 usbhid,ehci_hcd,uvcvideo
videodev               78006  1 uvcvideo
tpm_bios                5057  1 tpm
processor              24256  0 
media                  10437  2 uvcvideo,videodev
v4l2_compat_ioctl32     8292  1 videodev
tp_smapi               20651  0 
thinkpad_ec             4189  1 tp_smapi
thinkpad_acpi          62743  0 
rfkill                 15402  2 cfg80211,thinkpad_acpi
nvram                   5805  1 thinkpad_acpi
vboxnetflt             17031  0 
vboxdrv              1786110  1 vboxnetflt
snd_pcm_oss            38818  0 
snd_mixer_oss          15275  1 snd_pcm_oss
snd_intel8x0           26863  0 
snd_ac97_codec        114231  1 snd_intel8x0
ac97_bus                1174  1 snd_ac97_codec
snd_pcm                73856  6 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              19416  1 snd_pcm
snd                    57786  16 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,thinkpad_acpi,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               6146  1 snd
snd_page_alloc          7121  3 snd_hda_intel,snd_intel8x0,snd_pcm
ext4                  369556  3 
mbcache                 5817  1 ext4
jbd2                   71074  1 ext4
crc16                   1297  1 ext4
sr_mod                 14951  0 
cdrom                  36329  1 sr_mod
sd_mod                 28307  5 
ahci                   20865  4 
libahci                18885  1 ahci
i915                  707243  8 
drm_kms_helper         25409  1 i915
drm                   183235  4 i915,drm_kms_helper
intel_agp              10904  1 i915
i2c_algo_bit            5199  1 i915
button                  4470  1 i915
intel_gtt              14423  3 i915,intel_agp
i2c_core               20133  6 i2c_i801,videodev,i915,drm_kms_helper,drm,i2c_algo_bit
video                  11228  1 i915
ata_piix               22005  0 
ata_generic             3359  0 
pata_acpi               3376  0 
libata                173297  5 ahci,libahci,ata_piix,ata_generic,pata_acpi
scsi_mod              131482  4 sg,sr_mod,sd_mod,libata

Last edited by majeste (2011-08-10 01:17:19)

Offline

#20 2011-08-09 22:33:25

krum
Member
From: Grenoble - FR
Registered: 2008-04-10
Posts: 32

Re: [SOLVED] ThinkPad suspend-to-RAM problem

Module                  Size  Used by
fuse                   67290  3
nfs                   306935  1
lockd                  73392  1 nfs
fscache                40810  1 nfs
auth_rpcgss            41587  1 nfs
nfs_acl                 2327  1 nfs
ipv6                  290109  58
sunrpc                196793  13 nfs,lockd,auth_rpcgss,nfs_acl
sbs                    10937  0
sbshc                   3436  1 sbs
coretemp                5947  0
vboxdrv              1786110  0
cpufreq_powersave        990  0
cpufreq_ondemand        6132  4
acpi_cpufreq            5877  1
freq_table              2451  2 cpufreq_ondemand,acpi_cpufreq
mperf                   1275  1 acpi_cpufreq
snd_hda_codec_hdmi     22092  1
snd_hda_codec_conexant    46356  1
joydev                  9895  0
uvcvideo               64931  0
videodev               78006  1 uvcvideo
media                  10437  2 uvcvideo,videodev
v4l2_compat_ioctl32     8292  1 videodev
cdc_ncm                 8811  0
usbnet                 15362  1 cdc_ncm
cdc_acm                16012  0
mii                     3995  1 usbnet
cdc_wdm                 8469  0
arc4                    1410  2
i915                  707243  2
thinkpad_acpi          62743  0
evdev                   9530  11
sg                     25557  0
nvram                   5805  1 thinkpad_acpi
battery                10905  0
iwlagn                236691  0
ac                      3265  0
psmouse                55224  0
pcspkr                  1819  0
drm_kms_helper         25409  1 i915
serio_raw               4294  0
tpm_tis                 8193  0
i2c_i801                8187  0
tpm                    11589  1 tpm_tis
tpm_bios                5057  1 tpm
drm                   183235  3 i915,drm_kms_helper
mac80211              215605  1 iwlagn
sdhci_pci               8530  0
sdhci                  22194  1 sdhci_pci
wmi                     8411  0
snd_hda_intel          22122  0
e1000e                142449  0
mmc_core               73353  1 sdhci
cfg80211              160516  2 iwlagn,mac80211
iTCO_wdt               12717  0
iTCO_vendor_support     1929  1 iTCO_wdt
intel_agp              10904  1 i915
i2c_algo_bit            5199  1 i915
snd_hda_codec          77927  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
rfkill                 15402  2 thinkpad_acpi,cfg80211
snd_hwdep               6325  1 snd_hda_codec
thermal                 7863  0
intel_gtt              14423  3 i915,intel_agp
i2c_core               20133  6 videodev,i915,drm_kms_helper,i2c_i801,drm,i2c_algo_bit
snd_pcm                73856  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
video                  11228  1 i915
mei                    31249  0
snd_timer              19416  1 snd_pcm
snd                    57786  8 snd_hda_codec_hdmi,snd_hda_codec_conexant,thinkpad_acpi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
button                  4470  1 i915
soundcore               6146  1 snd
snd_page_alloc          7121  2 snd_hda_intel,snd_pcm
processor              24256  1 acpi_cpufreq
ext4                  369556  2
mbcache                 5817  1 ext4
jbd2                   71074  1 ext4
crc16                   1297  1 ext4
sr_mod                 14951  0
sd_mod                 28307  3
cdrom                  36329  1 sr_mod
usbhid                 35256  0
hid                    81635  1 usbhid
ahci                   20865  2
libahci                18885  1 ahci
libata                173297  2 ahci,libahci
scsi_mod              131482  4 sg,sr_mod,sd_mod,libata
ehci_hcd               39511  0
usbcore               142544  8 uvcvideo,cdc_ncm,usbnet,cdc_acm,cdc_wdm,usbhid,ehci_hcd

Offline

#21 2011-08-10 01:06:22

vinoca
Member
Registered: 2011-07-24
Posts: 4

Re: [SOLVED] ThinkPad suspend-to-RAM problem

With X60S,me too, after upgrading to 3.0, my LED suspend indicator was blinking all the time,i had to dropped to 2.6.39, I think this is the kernel of the problem.

Offline

#22 2011-08-10 01:18:28

majeste
Member
Registered: 2011-08-08
Posts: 12

Re: [SOLVED] ThinkPad suspend-to-RAM problem

vinoca wrote:

With X60S,me too, after upgrading to 3.0, my LED suspend indicator was blinking all the time,i had to dropped to 2.6.39, I think this is the kernel of the problem.

I agree with you, suspend does not work after I upgrade my kernel to 3.0.

Offline

#23 2011-08-10 02:09:42

majeste
Member
Registered: 2011-08-08
Posts: 12

Re: [SOLVED] ThinkPad suspend-to-RAM problem

vinoca wrote:

With X60S,me too, after upgrading to 3.0, my LED suspend indicator was blinking all the time,i had to dropped to 2.6.39, I think this is the kernel of the problem.

I have downgraded to 2.6.39, it works wonderfully, hope this problem will be solved in the next kernel update.

Offline

#24 2011-08-10 02:29:00

Haptic
Member
Registered: 2009-09-03
Posts: 149

Re: [SOLVED] ThinkPad suspend-to-RAM problem

Oddly, on my T420, With the the 3.0 kernel and the latest Virtualbox update, I have had absolutely no problems with pm-suspend. Nor have I ever had problems with Virtualbox and pm-suspend.

Offline

#25 2011-08-10 03:10:16

majeste
Member
Registered: 2011-08-08
Posts: 12

Re: [SOLVED] ThinkPad suspend-to-RAM problem

Haptic wrote:

Oddly, on my T420, With the the 3.0 kernel and the latest Virtualbox update, I have had absolutely no problems with pm-suspend. Nor have I ever had problems with Virtualbox and pm-suspend.

You are really lucky.

Offline

Board footer

Powered by FluxBB