View previous topic :: View next topic |
Author |
Message |
gen-next Tux's lil' helper
Joined: 16 Feb 2005 Posts: 128 Location: San Diego
|
Posted: Fri Nov 18, 2005 8:29 pm Post subject: can we hibernate/suspend a system?[Solved] |
|
|
Can someone please explain to me in a bit detail what changes need to be made in the kernel and also the grub to enable system suspend. I want to hibernate the system so that the next time i start the whole system starts from where it was left.
I searched the forums but could not find any information detailing the same.
Any help would be greately appreciated. Also describe the risks involved and is it actually worth the risk considering the fact that i am not talking about a laptop, rather a desktop system.
Thanks,
vb _________________ gen-next says it alll!!.
Last edited by gen-next on Sat Nov 19, 2005 1:12 am; edited 1 time in total |
|
Back to top |
|
|
gen-next Tux's lil' helper
Joined: 16 Feb 2005 Posts: 128 Location: San Diego
|
Posted: Fri Nov 18, 2005 8:58 pm Post subject: |
|
|
Now i got somewhere, i browsed more and found that one needs to install suspend 2. i.e
Code: | emerge suspend2-sources |
and after that what do i do? and what are the risks involved in this case? Can someone describe his/her experience. Any case in which the person ended up screwing up the whole system.
The reason why i am so anxious about doing this is because i happened to read this document /usr/src/linux/Documentation/power/swsusp.txt which just scared the hell out of me on every new line it says say good bye to data
Thanks,
vb _________________ gen-next says it alll!!. |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Fri Nov 18, 2005 9:12 pm Post subject: |
|
|
Do you actually need the feature?
The reason I'm asking is that it's uninteresting on desktop systems for the most time, because you don't carry them around and don't turn them off and on all the time. For a laptop it's great, you can leave things where they are, shut it, and continue working where you left off later, without having to sustain power all the time in between.
I'm not up-to-date with suspending to hardware right now, but my past experience was that if it worked at all, then only on specific laptops (because it was tested with only those devices), and that there were a hell of a load of problems with specific hardware that ceased working after waking the machine up, because the drivers were not reinitialized properly or whatever.
If your goal is to get faster startup times, there are better methods to do that, like throwing out unnecessary init scripts, or parallelizing / backgrounding them. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20585
|
Posted: Fri Nov 18, 2005 9:29 pm Post subject: |
|
|
frostschutz wrote: | it's uninteresting on desktop systems for the most time, because you don't carry them around and don't turn them off and on all the time. For a laptop it's great, you can leave things where they are, shut it, and continue working where you left off later, without having to sustain power all the time in between. | I think it'd be cool so I didn't have to leave it running all the time. I think it's a shame it hasn't been implemented yet. From my limited exposure to laptop hibernation, it'd speed up "reboot" times.
frostschutz wrote: | If your goal is to get faster startup times, there are better methods to do that, like throwing out unnecessary init scripts, or parallelizing / backgrounding them. | Last time I looked (briefly) into parallelizing/backgrounding, there were issues with stability/conflicts, and it didn't really save much time. Have there been improvements? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Fri Nov 18, 2005 11:08 pm Post subject: |
|
|
pjp wrote: | Last time I looked (briefly) into parallelizing/backgrounding, there were issues with stability/conflicts, and it didn't really save much time. Have there been improvements? |
You're right, I forgot about that. It's still experimental. |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
|
Back to top |
|
|
gen-next Tux's lil' helper
Joined: 16 Feb 2005 Posts: 128 Location: San Diego
|
Posted: Sat Nov 19, 2005 12:23 am Post subject: |
|
|
It works!! suspend2
I emerged suspend2-sources and then followed this http://gentoo-wiki.com/HOWTO_Software_Suspend_v2 and bingo now i have hibernate working on my system.
Hurray!!
vb _________________ gen-next says it alll!!. |
|
Back to top |
|
|
|