Thinkpad T400: Suspender para HD não retoma

2

Eu tenho um Thinkpad T400 com o Gentoo Linux instalado. Suspender para RAM funciona como um encanto.

No entanto, Susped-to-Disk não funciona: se eu suspender, o Laptop desliga e acessa o HD por volta dos 30s. No entanto, se eu ligá-lo novamente, ele é inicializado normalmente, mas não volta ao estado anterior.

Aqui está o /var/log/pm-suspend.log antes da suspensão:

Sun Oct 21 14:16:44 CEST 2012: Finished.
Initial commandline parameters: 
Blacklisting 01grub.
Sun Oct 21 15:26:06 CEST 2012: Running hooks for hibernate.
Running hook /usr/lib64/pm-utils/sleep.d/00logging hibernate hibernate:
Linux rgs-lenovo 3.4.9-gentoo #1 SMP Fri Aug 31 18:55:03 CEST 2012 x86_64 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux
Module                  Size  Used by
cdc_wdm                 8704  0 
cdc_acm                14890  0 
rfcomm                 21490  0 
bnep                    9782  0 
btusb                  10904  0 
bluetooth             162465  5 rfcomm,bnep,btusb
mmc_block              16408  0 
nls_iso8859_1           4521  0 
nls_cp850               5362  0 
vfat                    8384  0 
fat                    45316  1 vfat
twofish_x86_64_3way    19478  0 
lrw                     3622  1 twofish_x86_64_3way
twofish_x86_64          5539  1 twofish_x86_64_3way
twofish_common         14649  2 twofish_x86_64_3way,twofish_x86_64
aes_x86_64              7768  0 
aes_generic            26983  1 aes_x86_64
xts                     2912  1 twofish_x86_64_3way
gf128mul                7431  2 lrw,xts
dm_crypt               13973  0 
dm_mod                 62853  1 dm_crypt
rndis_host              6143  0 
cdc_ether               4584  1 rndis_host
usbnet                 17584  2 rndis_host,cdc_ether
arc4                    1345  2 
sdhci_pci              10056  0 
sdhci                  20883  1 sdhci_pci
firewire_ohci          27077  0 
mmc_core               82856  3 mmc_block,sdhci_pci,sdhci
firewire_core          49742  1 firewire_ohci
crc_itu_t               1635  1 firewire_core
iwlwifi               233406  0 
snd_hda_codec_conexant    43770  1 
mac80211              338064  1 iwlwifi
cfg80211              156724  2 iwlwifi,mac80211
snd_hda_intel          22760  4 
snd_hda_codec          88731  2 snd_hda_codec_conexant,snd_hda_intel
snd_pcm                73911  3 snd_hda_intel,snd_hda_codec
snd_timer              18324  2 snd_pcm
snd_page_alloc          7332  2 snd_hda_intel,snd_pcm
loop                   15063  0 
vboxnetflt             12915  0 
vboxdrv              1759366  1 vboxnetflt
fuse                   60817  1 
thinkpad_acpi          64233  0 
snd                    59641  12 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer,thinkpad_acpi
             total       used       free     shared    buffers     cached
Mem:       8062552    6417912    1644640          0     427824    4174720
-/+ buffers/cache:    1815368    6247184
Swap:     12582908          0   12582908

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

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

/usr/lib64/pm-utils/sleep.d/01grub hibernate hibernate: success.
Running hook /usr/lib64/pm-utils/sleep.d/49bluetooth hibernate hibernate:

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

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

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

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

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

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

/usr/lib64/pm-utils/sleep.d/99video hibernate hibernate: success.
Sun Oct 21 15:26:08 CEST 2012: performing hibernate

No /var/log/syslog , encontrei a seguinte linha:

Oct 21 15:27:10 lenovo kernel: PM: Hibernation image not present or could not be loaded.

Aqui está minha configuração do grub:

title Gentoo Linux
root (hd0,0)
kernel /3.4.9-gentoo root=/dev/sda3 rootfstype=ext4 resume=swap:/dev/sda2 i915.modeset=1 fan_control=1

/dev/sda2 é minha partição de troca.

O que poderia estar errado?

    
por Bob 21.10.2012 / 15:45

1 resposta

2

Eu consertei esse problema alterando minha configuração do grub. O swap: no parâmetro resume não é necessário. Minha configuração agora está assim:

title Gentoo Linux
root (hd0,0)
kernel /3.4.9-gentoo root=/dev/sda3 rootfstype=ext4 resume=/dev/sda2 i915.modeset=1 fan_control=1
    
por 21.10.2012 / 18:31