Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-06-2005, 02:47 PM   #1
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Rep: Reputation: 30
Problem With Hibernate

I'm running Slack 10.1 on an ibm thinkpad i1300 , with kernel 2.6.10. everytime i use the Hibernate function on the Klaptop applet under KDE, it looks like it hibernates but when i power on the notebook, it goes through the boot up process (system messages) and just gets me back to the KDM login screen. i lose all my data or open applications or programs that i have, and with those messages that come up on my screen while i'm booting up it also tells me that the FS umount was unclean and it runs the scan on the partitions after that. any advice on how i should go about rectifying this. i have also compiled support for ACPI in the kernel that i built and the suspend function works perfect, but its just that the hibernate doesn't work at all.
also, the other thing i have an issue with is battery. its not really a big issue, but i'd thought i'd ask. my battery power drains off in roughly about an hour and a half to two from the time i boot up my notebook. i've noticed on the klaptop applet and on gkrellm, when the battery power reaches 20%, all of a sudden it goes to 11% or 3% and shuts off. what would be the cause to this.
any advice would be gladly appreciated.

Thanks again
Old 06-06-2005, 04:48 PM   #2
Registered: Apr 2004
Distribution: Gentoo, FreeBSD
Posts: 88

Rep: Reputation: 15
Hibernation is meant to stop all active processes and save all data to your hard drive. So, it's serving its specific purpose.
What you're looking for is suspend mode, which will return you to applications that you had been working with previously.

Suspend mode also provides for a minimal power drain, and that might alleviate your plaguing battery controversy.

*NOTE* Call IBM about the battery, or consult the vendor from which you purchased it.

Last edited by Diminished7th; 06-06-2005 at 04:57 PM.
Old 06-06-2005, 07:28 PM   #3
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
You guys are both confused.

Brokenflea, in order to use the hibernate functionality, you have to add an entry to /etc/lilo.conf telling the kernel that all of your running apps were on the swap partition. You're booting like normal. On boot, you should select the lilo entry you added that tells the kernel it's resuming, or set that to default so you won't have to select it.

What happens is this:
You tell the computer to hibernate,
It saves the ram to your swap partition
The machine shuts down as normal.
You turn on the machine, pointing at your swap partition to re-load the ram,
The machine goes through half the normal boot process, loading the kernel, and then reads the previous session's ram from /swap.
After a few seconds, you're staring at your previous session. Cool!

I suggest you refer to /usr/src/linux/Documentation/power/swsusp.txt for instructions on how to enable it correctly.

Sounds like you've got half of it done, you just need to add a lilo entry.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can I Hibernate? ernesto_cgf Linux - Software 3 12-23-2004 03:22 AM
Hibernate How To... ???? trey85stang Linux - Laptop and Netbook 3 05-12-2004 08:07 PM
ACPI problem -- not resuming from hibernate GoBillsBN Linux - Laptop and Netbook 13 04-20-2004 01:33 PM
ACPI problem -- not resuming from hibernate GoBillsBN Mandriva 2 03-24-2004 03:29 PM
hibernate demmylls Linux - General 3 09-12-2003 04:47 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:00 PM.

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