LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2005, 01:23 AM   #1
ajkannan83
Member
 
Registered: Aug 2005
Location: Tamil Nadu, India
Distribution: Redhat, Fedora
Posts: 120

Rep: Reputation: 15
Linux Hibernate


Hello Friends

My doubt is

In Windows Operating System “Hibernate” feature is available.

Any body to know in Redhat Linux Operating System “Hibernate” feature is available are not.

If available please explain

Thank You

A.Kannan
 
Old 10-21-2005, 01:32 AM   #2
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
why do you really want to hibernate?


my install (slackware) does turn off the monitor after awhile if i tell it to. I think its possible to have full hibernation support, but it might take some hacking depending on the distro. It really doesnt come with much of a benifit anyway thou.



You might start searching around for apm or acpi if you really want it to work.
 
Old 10-21-2005, 02:14 AM   #3
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Rep: Reputation: 56
My desktop never gets turned off, you could look in power management and play around with it.
 
Old 10-21-2005, 04:36 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally posted by Kahless
why do you really want to hibernate?
If he has a laptop then an answer would be : do not loose everything when you run out of batteries.
Or even think about the environnement and just turn off your PC when you don't use it
With suspend, when you resume, you have evrything as you left it, its perfect!
Anyway it works almost perfectly(*) with suspend2 , you have to apply a patch to the kernel.

On my debain (I suppose it is quite the same on other NEW distros):

Get fresh kernel (eg 2.6.12 ) and software-suspend-2.1.9.9-for-2.6.12
Code:
Cd /usr/src 
Tar xvzf soft…2.1.9…tgz
Cd /usr/src/linux
../soft..2.1.9/apply
Rename /boot/configXX to /boot/_config so you have a clean config for the new kernel
Make menuconfig
I have APM as module , ACPI linked to the kernel. I think linux will try the first one loaded.. I don't really know ..
Desactivate software suspend (v1)
In software suspend2 , check Swap Writer and Warn if possible fs corruption

Compile kernel

Edit boot/grub/menu.lst , add resume2=/dev/hda5 (example). /dev/hda5 is a swap space (here I have 2.5G but it is too big, maybe 1.5*RAM is enough).



also in your hibernate.conf you can put
Code:
EnableEscape yes
ImageSizeLimit nocache (all the mem caches are erased so the writing to disk is faster)
SaveClock yes
LockKDE yes   <-- very important for physical security

for tweaking you can install
->xosd-bin
->userui suspend2 and then make an initrd image and have a nice splash screen saying "resuming..." with your prefered theme

(*) almost because if I remove the DC power supply while the lappy is writing his cache on the disk, then I have sometimes a kernel OOPS. As I also have script to lower the frequency when on batteries, it maybe due to this; I have to investigate..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hibernate in Linux? itz2000 Linux - General 1 11-12-2005 08:29 AM
Cant hibernate 9.3 alaios SUSE / openSUSE 20 08-18-2005 12:08 PM
Hibernate in Linux puishor Linux - General 2 06-22-2005 01:10 PM
ACPI hibernate mode (linux 2.4.22, Mandrake 9.2, Dell Inspiron 1100) arvind_s Linux - Laptop and Netbook 0 12-14-2004 03:04 AM
HP Pavilion, Linux, and Hibernate. Macguyvok Linux - Laptop and Netbook 3 09-15-2003 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration