You are not logged in.

#1 2008-10-25 17:18:34

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

thinkpad suspend problems [solved]

hey guys.

i have a lenovo thinkpad t61. its been running arch since i got it a few months ago. until now it has been suspending with no problems. resume worked about 75% of the time. when it did not you would see a console cursor blink a few times and the screen would just go dark. i couldnt do anything but ctl+alt+del to reboot.

i dont know if it has anything to do with upgrading to 2.6.27 but now everytime i try to resume all you see is the blinking cursor. the system is completely unresponsive except for ctl+alt+del. im not really sure where to go from here.

system info:
thinkpad t61
intel video
gnome-power-manager
openbox
slim

thanks for any help you can give.

Last edited by thelastknowngod (2008-10-26 20:43:54)

Offline

#2 2008-10-25 17:48:35

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: thinkpad suspend problems [solved]

First of all check /var/log/pm-suspend.log and look fore something wrong.
Take a look to the pm-utils wiki and try to disable some hooks.


Till the last battle, till the last bottle.
aur - twitter

Offline

#3 2008-10-25 19:37:44

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

Re: thinkpad suspend problems [solved]

pm-suspend.log:

Initial commandline parameters: 
Sat Oct 25 03:10:10 EDT 2008: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/00auto-quirk suspend suspend: success.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: Linux thinkpad 2.6.27-ARCH #1 SMP PREEMPT Fri Oct 17 07:35:10 UTC 2008 i686 Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz GenuineIntel GNU/Linux
Module                  Size  Used by
i915                   31232  2 
drm                    74280  3 i915
ipv6                  260260  16 
vfat                   12800  0 
fat                    49312  1 vfat
joydev                 11584  0 
pcmcia                 35116  0 
sdhci_pci               9088  0 
yenta_socket           25228  1 
rsrc_nonstatic         12672  1 yenta_socket
ohci1394               30256  0 
sdhci                  16900  1 sdhci_pci
pcmcia_core            33812  3 pcmcia,yenta_socket,rsrc_nonstatic
ricoh_mmc               5632  0 
psmouse                38288  0 
ieee1394               80452  1 ohci1394
mmc_core               46620  1 sdhci
serio_raw               7172  0 
iTCO_wdt               12196  0 
snd_pcsp               11040  0 
i2c_i801               10768  0 
iTCO_vendor_support     4996  1 iTCO_wdt
i2c_core               22420  1 i2c_i801
sg                     28852  0 
video                  18064  0 
output                  4608  1 video
wmi                     7592  0 
e1000e                104616  0 
intel_agp              27068  1 
ehci_hcd               35724  0 
agpgart                30804  3 drm,intel_agp
uhci_hcd               23952  0 
thermal                17052  0 
processor              34732  3 thermal
fan                     6148  0 
button                  7824  0 
battery                12036  0 
ac                      6020  0 
snd_hda_intel         368816  2 
snd_seq_oss            31872  0 
snd_seq_midi_event      8192  1 snd_seq_oss
snd_seq                49968  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8332  2 snd_seq_oss,snd_seq
snd_hwdep               8964  1 snd_hda_intel
snd_pcm_oss            40192  0 
snd_pcm                69636  3 snd_pcsp,snd_hda_intel,snd_pcm_oss
snd_timer              21384  2 snd_seq,snd_pcm
snd_page_alloc          9224  2 snd_hda_intel,snd_pcm
snd_mixer_oss          16512  1 snd_pcm_oss
snd                    50724  14 snd_pcsp,snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               8160  1 snd
arc4                    3712  2 
ecb                     4608  2 
crypto_blkcipher       17540  1 ecb
iwl3945                90100  0 
mac80211              158876  1 iwl3945
cfg80211               25224  2 iwl3945,mac80211
evdev                  11296  8 
ipw                     9732  0 
usbserial              31848  1 ipw
usbcore               133744  5 ehci_hcd,uhci_hcd,ipw,usbserial
thinkpad_acpi          58936  0 
rfkill                 10008  3 iwl3945,thinkpad_acpi
led_class               5508  2 iwl3945,thinkpad_acpi
nvram                   8972  1 thinkpad_acpi
vboxdrv                66200  0 
e1000                 121668  0 
rtc_cmos               11424  0 
rtc_core               17564  1 rtc_cmos
rtc_lib                 4480  1 rtc_core
ext3                  126344  2 
jbd                    46100  1 ext3
mbcache                 8708  1 ext3
sd_mod                 27160  4 
sr_mod                 16708  0 
cdrom                  35360  1 sr_mod
ata_piix               18308  0 
ahci                   30348  3 
ata_generic             6788  0 
pata_acpi               6016  0 
libata                152992  4 ata_piix,ahci,ata_generic,pata_acpi
scsi_mod               96460  4 sg,sd_mod,sr_mod,libata
dock                    9488  1 libata
             total       used       free     shared    buffers     cached
Mem:       2049828     506000    1543828          0      34240     182044
-/+ buffers/cache:     289716    1760112
Swap:      3919852          0    3919852
success.
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
/usr/lib/pm-utils/sleep.d/01grub suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/50ntpd suspend suspend: success.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
/usr/lib/pm-utils/sleep.d/55battery suspend suspend: success.
/usr/lib/pm-utils/sleep.d/65alsa suspend suspend: success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/90chvt suspend suspend: success.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend: success.
/usr/lib/pm-utils/sleep.d/99video suspend suspend: kernel.acpi_video_flags = 3
success.
Sat Oct 25 03:10:13 EDT 2008: performing suspend
Sat Oct 25 03:10:25 EDT 2008: Awake.
Sat Oct 25 03:10:25 EDT 2008: Running hooks for resume
/usr/lib/pm-utils/sleep.d/99video resume suspend: kernel.acpi_video_flags = 0
success.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video resume suspend: success.
/usr/lib/pm-utils/sleep.d/95led resume suspend: success.
/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
/usr/lib/pm-utils/sleep.d/90clock resume suspend: success.
/usr/lib/pm-utils/sleep.d/90chvt resume suspend: success.
/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
/usr/lib/pm-utils/sleep.d/65alsa resume suspend: success.
/usr/lib/pm-utils/sleep.d/55battery resume suspend: success.
/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
/usr/lib/pm-utils/sleep.d/50ntpd resume suspend: success.
/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg resume suspend: success.
/usr/lib/pm-utils/sleep.d/01grub resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
/usr/lib/pm-utils/sleep.d/00auto-quirk resume suspend: success.
Sat Oct 25 03:10:26 EDT 2008: Finished.

i dont really see anything wrong here but i dont know what im looking for. it looks like everything worked fine.

Offline

#4 2008-10-25 19:55:44

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

Re: thinkpad suspend problems [solved]

i just suspended and got the console cursor again. this time i pushed ctl+alt+f7 and i got right back into my session with no problems. is there an option i can put somewhere that will just switch back to vt7 after resume?

Offline

#5 2008-10-26 20:43:31

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

Re: thinkpad suspend problems [solved]

thelastknowngod wrote:

i just suspended and got the console cursor again. this time i pushed ctl+alt+f7 and i got right back into my session with no problems. is there an option i can put somewhere that will just switch back to vt7 after resume?

figured it out. i changed this line in /etc/acpi/actions/s2ram.sh:

chvt $FGCONSOLE

to

chvt 7

my final s2ram.sh file:

#!/bin/sh

# Suspend to ram when the lid is closed

chvt 10

rmmod ehci_hcd

# First, let's make sure we're not shutting down or rebooting
if [ ! -e /etc/powerdown ]; then
  sync ; sync # Just in case...
  echo -n mem > /sys/power/state
fi

# change back to X
chvt 7

modprobe -i ehci_hcd

Offline

Board footer

Powered by FluxBB