View previous topic :: View next topic |
Author |
Message |
tazinblack Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/471035045421ece2f11970.jpg)
Joined: 23 Jan 2005 Posts: 1146 Location: Baden / Germany
|
Posted: Sat Feb 27, 2010 9:05 am Post subject: hibernation mit tunonice macht Probleme |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Klaus Meier Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_Mini-Me.gif)
Joined: 18 Apr 2005 Posts: 2908 Location: Bozen
|
Posted: Sat Feb 27, 2010 11:17 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Evildad Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/320506604783c9a8c4591.jpg)
Joined: 15 Apr 2004 Posts: 475
|
Posted: Sat Feb 27, 2010 11:47 am Post subject: |
|
|
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 ![Smile :-)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tazinblack Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/471035045421ece2f11970.jpg)
Joined: 23 Jan 2005 Posts: 1146 Location: Baden / Germany
|
Posted: Sat Feb 27, 2010 2:28 pm Post subject: |
|
|
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 ![Smile :-)](images/smiles/icon_smile.gif) |
So besser? _________________ Gruß / Regards
tazinblack
_______________________________________________________
what's the point in being grown up if you can't be childish sometimes |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|