Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TuxOnIce non resuma
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
linoleum
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2004
Posts: 129

PostPosted: Tue Mar 18, 2008 7:48 am    Post subject: TuxOnIce non resuma Reply with quote

Ciao,
da qualche giorno sto cercando di attivare l'ibernazione sul mio thinkpad X40 senza successo.
Ho seguito il wiki sull'argomento e ho scelto di avere un file dedicato per salvare l'immagine. Quello che mi succede e' che il sistema sembra hibernarsi senza errori ma poi non c'e' verso di farlo resumare ed ogni volta che faccio reboot lui comincia come se non esistesse nessuna immagine da resumare (salvo dirmi che vi sono degli errori nel filesystem per un 19.6%, sempre 19.6% di blocchi non contigui). Non capisco se non trova oppure non cerca neanche il file dell'immagine.

Una cosa che trovo un po' strana e' che nel dmsg non vi e' alcun segnale di attivazione dell'hibernazione nel kernel
tranne

dmsg | grep swsusp
Code:

swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000dc000
swsusp: Registered nosave memory region: 00000000000dc000 - 0000000000100000


che non capisco cosa voglia dire.


Ecco un po' di informazioni sulla configurazione

uname -a
Code:

Linux 2.6.24-tuxonice-r3 #1 SMP Tue Mar 18 00:15:12 CET 2008 i686 Intel(R) Pentium(R) M processor 1.40GHz GenuineIntel GNU/Linux


more hibernate.conf
Code:

TryMethod suspend2.conf
TryMethod disk.conf
TryMethod ram.conf


more suspend2.conf
Code:

### suspend2 (for Software Suspend 2)
UseSuspend2 yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
Compressor lzf
Encryptor none
 
FilewriterLocation /file_suspend 1920
# VerifyFilewriterResume2 yes
## Specify a userui like this:
# ProcSetting userui_program /usr/local/sbin/suspend2ui_text
# Scale CPU to full speed to make sure we suspend as fast as possible.
FullSpeedCPU yes
Include common.conf   -----> (Questo non l'ho modificato)
# Modules
UnloadModules e1000 ipw2200 fuse usbserial pl2303
GentooModulesAutoload yes
RestartServices alsasound ntp-client ntpd sshd cupsd


more grub.conf
Code:

title=Gentoo Linux-2.6.24-tuxonice-r3
root(hd0,0)
kernel /kernel-genkernel-x86-2.6.24-tuxonice-r3 resume2=file:/dev/hda3:0x80038 root=/dev/ram0
init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd /initramfs-genkernel-x86-2.6.24-tuxonice-r3


Dopo aver letto un post del forum ho anche provato ad attivare nel kernel
Code:

CONFIG_PM_STD_PARTITION="/dev/hda3"

dove hda3 e' la partizione dove sta il mio file d'immagine, in particolare il file e' in /file_suspend

Per la cronaca vi fornisco anche il /var/log/hibernate.log

Code:

Starting suspend at Tue Mar 18 07:23:53 CET 2008
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSwsusp2Capable ...
hibernate: [11] Executing Swsusp2SetupFilewriter ...
hibernate: Detected filewriter image ready for use.
resume=file:/dev/hda3:0x80038 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [30] Executing ServicesStop ...
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...                                          [ ok ]
 * Killing processes using ALSA ...                                       [ ok ]
 * Unloading ALSA modules ...                                             [ ok ]
 * Stopping ntpd ...                                                      [ ok ]
 * Stopping sshd ...                                                      [ ok ]
 * Stopping cupsd ...                                                     [ ok ]
hibernate: [45] Executing FSTypesUnmount ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [60] Executing NetworkStop ...
 * Stopping eth0
 *   Bringing down eth0
 *     Stopping ifplugd on eth0 ...                                       [ ok ]
 *     Shutting down eth0 ...                                             [ ok ]
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [90] Executing ModulesUnload ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [97] Executing ChangeToSwsuspVT ...
hibernate: [98] Executing CheckRunlevel ...
hibernate: [98] Executing FullSpeedCPUSuspend ...
hibernate: [98] Executing Swsusp2ConfigSet ...
hibernate: [99] Executing DoSwsusp2 ...
hibernate: Activating suspend ...


Grazie in anticipo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum