Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hibernation mit tunonice macht Probleme
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
tazinblack
Veteran
Veteran


Joined: 23 Jan 2005
Posts: 1124
Location: Baden / Germany

PostPosted: Sat Feb 27, 2010 9:05 am    Post subject: hibernation mit tunonice macht Probleme Reply with quote

Hallo zusammen,

wenn ich meine Kiste schlafen schicke mit dem hibernate-Skript beendet er die Dienste, die ich eingestellt habe.
Beim resume hat er dann aber Probleme und bekommt nicht wieder alles zum Laufen.

Ich verwende einen 2.6.30-tuxonice-r6 Kernel.
Die Config sieht so aus
Code:

Kiste hibernate # pg tuxonice.conf
UseTuxOnIce yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
Compressor lzo
Encryptor none
SuspendDevice swap:/dev/sda5

FullSpeedCPU yes

Include common.conf                                                           
Kiste hibernate #


und

Code:

Kiste hibernate # pg common.conf
Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
AlwaysForce yes
Distribution gentoo

SaveClock restore-only

UnloadBlacklistedModules yes
LoadModules auto

StopServices apache2 mysql netmount nscd ntp-client sshd net.eth0
StartServices net.eth0 mysql apache2 netmount nscd ntp-client sshd

SwitchToTextMode yes
XStatus gnome

Kiste hibernate #


Im Log steht das
Code:

Starting suspend at Sa 27. Feb 09:50:33 CET 2010
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [05] Executing XStatusSuspendBegin ...
hibernate: [10] Executing EnsureTuxOnIceCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [20] Executing XStatusProgress ...
hibernate: [30] Executing ServicesStop ...
 * Stopping apache2 ...                                                   [ ok ]
 * Stopping mysql ...
 * Stopping mysqld (0)                                                    [ ok ]
 * Unmounting network filesystems ...                                     [ ok ]
 * Shutting down Name Service Cache Daemon ...                            [ ok ]
 * Stopping sshd ...                                                      [ ok ]
 * Stopping eth0
 *   Bringing down eth0
 *     Shutting down eth0 ...                                             [ ok ]
hibernate: [30] Executing XStatusProgress ...
hibernate: [40] Executing XStatusProgress ...
hibernate: [50] Executing XStatusProgress ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [60] Executing XStatusProgress ...
hibernate: [70] Executing XStatusProgress ...
hibernate: [80] Executing XStatusProgress ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [90] Executing XStatusProgress ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [95] Executing XStatusProgress ...
hibernate: [97] Executing ChangeToTuxOnIceVT ...
hibernate: [98] Executing CheckRunlevel ...
hibernate: [98] Executing FullSpeedCPUSuspend ...
hibernate: [98] Executing TuxOnIceConfigSet ...
hibernate: [98] Executing XStatusProgressKill ...
hibernate: [99] Executing DoTuxOnIce ...
hibernate: Activating TuxOnIce ...
hibernate: [98] Executing FullSpeedCPUResume ...
hibernate: [97] Executing ChangeFromTuxOnIceVT ...
hibernate: [95] Executing XStatusResumeBegin ...
hibernate: [90] Executing XStatusProgress ...
hibernate: [90] Executing ModulesLoad ...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [80] Executing XStatusProgress ...
hibernate: [70] Executing XStatusProgress ...
hibernate: [70] Executing ClockRestore ...
hibernate: [60] Executing XStatusProgress ...
hibernate: [59] Executing RemountXFSBootRW ...
hibernate: [50] Executing XStatusProgress ...
hibernate: [40] Executing XStatusProgress ...
hibernate: [30] Executing XStatusProgress ...
hibernate: [30] Executing ServicesStart ...
 * ERROR:  net.eth0 is already starting.
 * ERROR:  cannot start netmount as net.eth0 could not start
 * ERROR:  cannot start netmount as net.eth0 could not start
 * ERROR:  cannot start apache2 as net.eth0 could not start
 * ERROR:  cannot start netmount as net.eth0 could not start
 * ERROR:  cannot start netmount as net.eth0 could not start
 * Starting Name Service Cache Daemon ...                                 [ ok ]
 * ERROR:  cannot start ntp-client as net.eth0 could not start
 * ERROR:  cannot start sshd as net.eth0 could not start
hibernate: [20] Executing XStatusProgress ...
hibernate: [15] Executing XStatusProgress ...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [05] Executing XStatusProgressKill ...
hibernate: [01] Executing XStatusReportErrors ...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
Resumed at Sa 27. Feb 09:51:18 CET 2010
Kiste log #


Hat da jemand ne Idee? Kann man evtl. nach den einzelnen Services noch nen Sleep einbauen?
_________________
Gruß / Regards
tazinblack
_______________________________________________________
what's the point in being grown up if you can't be childish sometimes


Last edited by tazinblack on Sat Feb 27, 2010 2:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
Klaus Meier
Advocate
Advocate


Joined: 18 Apr 2005
Posts: 2903
Location: Bozen

PostPosted: Sat Feb 27, 2010 11:17 am    Post subject: Reply with quote

Ich hatte das gleiche Problem mit den ZEN-Sources. Aber die gentoo-sources haben doch auch suspend/hybernate, das funktioniert bei mir ohne Probleme.
Back to top
View user's profile Send private message
Evildad
Guru
Guru


Joined: 15 Apr 2004
Posts: 475

PostPosted: Sat Feb 27, 2010 11:47 am    Post subject: Reply with quote

Also bei mir funktioniert hibernate/resume mit den tuxonice Sources sogar mit einem Swapfile auf einer verschlüsselten Partition.
Das können die Gentoo-Sources übrigens nicht. Ein weiterer Vorteil ist auch noch, dass es eine Komprimierung gibt.

Kannst Du mal bei deinem ersten Post die Zeilen die eh auskommentiert sind ausblenden, dann kann ich das mal mit meinen Einstellungen vergleichen und ausserdem siehts dann übersichtlicher aus :-)
Back to top
View user's profile Send private message
tazinblack
Veteran
Veteran


Joined: 23 Jan 2005
Posts: 1124
Location: Baden / Germany

PostPosted: Sat Feb 27, 2010 2:28 pm    Post subject: Reply with quote

Evildad wrote:
Also bei mir funktioniert hibernate/resume mit den tuxonice Sources sogar mit einem Swapfile auf einer verschlüsselten Partition.
Das können die Gentoo-Sources übrigens nicht. Ein weiterer Vorteil ist auch noch, dass es eine Komprimierung gibt.

Kannst Du mal bei deinem ersten Post die Zeilen die eh auskommentiert sind ausblenden, dann kann ich das mal mit meinen Einstellungen vergleichen und ausserdem siehts dann übersichtlicher aus :-)


So besser?
_________________
Gruß / Regards
tazinblack
_______________________________________________________
what's the point in being grown up if you can't be childish sometimes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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