LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (http://www.linuxquestions.org/questions/mandriva-30/)
-   -   Hibernation (Oh no - not again...) (http://www.linuxquestions.org/questions/mandriva-30/hibernation-oh-no-not-again-111114/)

Napper 11-01-2003 10:06 AM

Hibernation (Oh no - not again...)
 
Hi everybody,

I was reading through some of yalls posts and rumors go that there is a hibernating-like funktion in Mandrake 9.2. Can anybody confirm or disconfirm this? I am using 9.1 now but am such a Newbie that I have not even managed to install one of these cool themes on kde-look.org yet (I know - the world of Linux ain't as simple as the "double click - would you like to install - sure I would - there you go, it worked / it didn't work and there is nothing you can do about it" world of Windows but I'll manage that bit eventually). Either way, hibernation is for me a much longed for feature since I am not a big fan of the fan (haha) sound of my pc so I like to switch it off whenever I am not using it...

Thanks a lot in advance!

Reg.

Napper

salparadise 11-07-2003 01:31 AM

mixed views on this one
but
the consensus seems to be
linux doesn't do hibernation unless you compile APM support in to the kernel

my mdk9.x will NOT switch my box off, i have to do it manually, and it will not go into hibernation mode

this is pants really

why this (now quite basic) pc task is not supported i do not know

(unless it's deliberatley left out of the "free" distros but is included in the bought ones--but that's just a guess)

adamis 11-07-2003 02:36 AM

I thought hibernation is also an ACPI thing and as such it's still being worked on. I compiled ACPI into my kernel and now my laptop hibernates whenver I close my screen. For me it's actually more annoying then anything because it takes forever for the thing to hibernate and when it wakes up my USB mouse is useless. I'm pretty sure I can change this feature but I haven't taken the time to figure it out. So if you want hibernation of some sort, you can play around with ACPI...

Napper 11-07-2003 03:42 AM

So no easy to use, one-click hibernation in Mandrake 9.2 yet.

Pitty.

Does anyone know if this is being worked on? Maybe for 9.3?

adamis 11-07-2003 01:03 PM

Actually, I'm running 9.2 RC2 and I do have as an option on the Kmenu suspend to Disk. I can't remember if it was something that came as a result of ACPI being compiled into my kernel or if it was that way when I first installed Mandrake. At anyrate, the thing that keeps me working with linux is it is all under development and if it doesn't work now, it will probably be working in six months.

Oddball79 11-07-2003 02:30 PM

ok, yes, you can do hibernation to disk.

First you must have either APM or ACPI support installed into your kernel. You are going to have to figure out which one of those protocols your computer likes. With that, either do research or just try using one, if it doesn't work, try the other. There is a decent chance that you might have to create a new partition for the hibernation bit to save to. There is a lot of documentation on the web on how to make a partition/what type it needs to be/etc. As for the statement "linux doesn't do hibernation unless you compile APM support in to the kernel," neither does windows. It just has it automatically in there."

As to salparadise's problem with Mandrake not shutting his machine off when it shuts down, I'm confused. I'm assuming that the motherboard is ATX, as apposed to the old AT, or he shouldn't be complaining. The ability to let software turn off the computer was introduced with the ATX configuration. The Linux kernel has supported this feature for a long time now. This includes Mandrake's distro.

Your right, Linux install double click easy to install things, but Mandrake is "rpm -i file.rpm" easy. :p

Napper 11-07-2003 05:28 PM

lol - well then I guess I will do some research then. I kinda messed up my 9.1 install by now anyway (the Mandrake Control Center and any sign of OpenOffice are gone and it started crashing at random and so on) but I will figure out eventually of how to "tweak" that system without harming it all too much. But since it is (for now - considering my level of experience) easier to reinstall then to spot the loony, I mean: error, I may as well download 9.2 to begin with and then follow the steps you suggested.

Oh - and one note to Salparadise: Love the nick! (Didn't notice it at first) Nice to meat another Moriaty fan out there. Keep searching for IT!

Reg.

Napper

Brain Drop 11-09-2003 10:12 AM

in 9.1 you merely have to type 'pmsuspend' and voila it does its thing. you do need to ensure that your lilo or grub conf file has an entry like 'resume=hda5' or whatever your swap is.

in 9.2 i cant find the command and have become quite confused as to why 9.1 works but i cant find it in 9.2

anybody know?

i believe it is related to the fact that i had to use 'acpi=force' because my bios is older and the standard 'acpi=on' would not work. again a problem that did not exist with 9.1

so now acpi works but i dont have swsusp.
help.

hulkt 11-09-2003 11:08 AM

be SURE that you enter the right config in lilo/grub to enable swap as resume partition...

xbaez 06-23-2004 08:41 AM

Suspend to disk works perfectly on my laptop, Mandrake 9

It creates a suspend image, and the PC turns off.

When I turn it on, it resumes back to my linux (like Window$$$ Hibernate option)

However, when I close the laptop lid, then it doesn't works (the suspend does works, but when I turn the pc on, all I see is a 1% brightness LCD, and I have to restart my machine)

Any ideas?


All times are GMT -5. The time now is 05:29 AM.