Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hibernating under Linux ...

0 views
Skip to first unread message

Albretch Mueller

unread,
Nov 21, 2009, 7:49:37 AM11/21/09
to linux-...@vger.kernel.org

One of the few things I think Windows does well (well, definitely
better than "us") is hibernating. You can actually notice how the hard
drives don't seem to be powered and even the fans stop spipping

I have tried hibernating under both, knoppix 6.2 and Ubuntu 9.10 and
none of them get it right. Is there any Linux distro that does?

Why is that?

Thanks
lbrtchx

Richard Rasker

unread,
Nov 21, 2009, 9:48:06 AM11/21/09
to
Albretch Mueller wrote:

I have good experiences with Mandriva 2009.1 on an Asus EeePC 1000H netbook.
Both suspend-to-RAM and hibernate to disk function flawlessly.
I recently installed 2010.0 on several AMD64 desktop machines, and even
though I didn't have time to check everything out in detail, I recall that
both functions worked fine here too. But I believe that it's not so much
the Linux distribution which is responsible for proper ACPI/APM support,
but the BIOS of the machine it runs on (see below), so YMMV.

> Why is that?

ACPI/APM has indeed a long history of problems under Linux, and yes, you
guessed it: once again this is Microsoft's fault. Even though ACPI is
ostensibly a fully documented, open industry standard, with Microsoft
(among others) as one of the original designers, Microsoft's own
implementation of ACPI/APM has often deviated from the official
specifications.
The first priority of most hardware manufacturers is of course to have their
stuff working under Windows -- and if they have to screw around with the
ACPI implementation to fulfil Microsoft's hardware compliance tests, then
that's what they did.

This means that lots of mainboards and BIOS implementations don't follow the
officially documented ACPI/APM standards, but instead comply with
Microsoft's undocumented slop jobs in this respect. And this in turn
results in Linux being partly or sometimes largely incompatible with
particular ACPI/APM BIOS implementations, because Linux ACPI /does/ follow
the official standards.

Richard Rasker
--
http://www.linetec.nl

Lusotec

unread,
Nov 21, 2009, 9:53:18 AM11/21/09
to

Hibernate in GNU/Linux is called suspend to disk (S2DISK). GNU/Linux support
for S2DISK is hardware and firmware dependent (same for Windows) and works
for some hardware/firmware but not other.

On my personal MSI notebook S2DISK and S2RAM works in GNU/Linux and Windows
XP but not in Windows Vista and 7. For Vista (and maybe 7) it requires a
firmware update but some people reported problems with the update, so I did
not apply it and I can't tell if it would have solve the problem. I don't
use those OSs in my notebook anyway.

On my desktop workstation, both S2RAM and S2DISK works on GNU/Linux, Windows
XP and Windows 7 RC. Both entering and leaving S2DISK is faster on GNU/Linux
than on XP or 7. Entering S2RAM takes a few seconds in the three OSs but
leaving S2RAM is much slower in GNU/Linux taking 12 seconds while XP and 7
only take one or two seconds.

On a final note, probably all distros use the same software packages (e.g.
Linux kernel and pm package) to implement S2RAM and S2DISK. Different
distros have different versions of those packages and this results in
different hardware/firmware support.

Bleeding edge distros probably have more recent versions of those packages
and thus better support but you can cut your fingers in the sharp edges else
where. :)

Regards.

Jelly Bean

unread,
Nov 21, 2009, 11:33:56 AM11/21/09
to

I'm not having any problems here with hibernate or suspend on 3 different
notebooks. Ubuntu 9.10 worked from a fresh install and Fedora 11 did as
well. The hardware is Lenovo T400, Thinkpad T43, Gateway Core Duo, don't
remember the model. All I did was install Linux and everything worked with
no troubles. What hardware do you have?
JB.

Chris Ahlstrom

unread,
Nov 21, 2009, 12:04:19 PM11/21/09
to
Albretch Mueller pulled this Usenet boner:

Beats me. I watched a Windows machine come out of hibernation, and the time
taken was on par with booting up. Suspend seems a better option, to me, at
least it is a lot faster. I've never been tempted to try hibernation.

--
Do something unusual today. Pay a bill.

Albretch Mueller

unread,
Nov 21, 2009, 12:33:23 PM11/21/09
to
~
I see. Obviously hibernate is a very hardware/BIOS dependent thing
and as usual MS is doing their thing. I see right there grounds for a
big ass lawsuit. let me see if I can understand that. So the US and
their allies are going to war "to spread democracy" (read for oil,
political supremacy and heeding their interese) while MS wants for you
to waste energy while they make money ...
~
Generally I have had a -very- good experience multi booting HP
hardware and using it under Linux. Unfortunately I don't own an HP Box
right now.
~
I think what we need is a Linux Hibernate hardware black list. BIOS
manufacturers will take notice
~
lbrtchx

JeffM

unread,
Nov 21, 2009, 1:02:09 PM11/21/09
to
Albretch Mueller wrote:
>One of the few things I think Windows does well
>(well, definitely better than "us") is hibernating[...]

>I have tried hibernating under both, knoppix 6.2 and Ubuntu 9.10
>and none of them get it right. Is there any Linux distro that does?

You're not assigning the blame properly.
YOU bought **hardware** from a sucky vendor
who doesn't care about his customers who use non-M$ software.

There was a high-profile case where a clumsy vendor did this
http://google.com/search?q=cache:JVfaRndmhK0J:linux.slashdot.org/article.pl?sid=08/07/25/1150218+*-*-*-hugely-*-*-*-*-*+*-*-*-solutions-exist+*-*-*-*-*-original-article+*-advertises-*-*-*+*-fishy+*-*-*-star-*-*+rss+Don't-Buy-*+*-*-common-occurrence+*-*-*-*-*-*-*-*-identify-*+*-*-*-*-*-*-rebranders+rss+rss+ACPI.compliant#24332827
http://tinyurl.com/FoxconnScrewsUp
http://linux.slashdot.org/article.pl?sid=08/07/25/1150218

...and after it made the tech press, was apologetic
and showed that by quickly making amends:
http://google.com/search?q=cache:w-6MXb1tC4QJ:tech.slashdot.org/tech/08/08/02/1552226.shtml+angry+rss*-*-*-painstakingly-*-*-*-*+didn't-bother-*-*-*-*-*-*-*.*-*-*+*-null-*+Incompetence+*-*-*-*-*-*-*-*-*-spin+*-*-*-*-*-*-ported-*-*+*-*-*-*-*-*-*-*-*.*-*-*-*-*-*-*-becoming-*-*+*-*-*-*-*-*-*-follow-through+*-rabid#24449893
http://tinyurl.com/FoxconnBackpedals
http://tech.slashdot.org/tech/08/08/02/1552226.shtml

Your **hardware** vendor obviously isn't in the same class.

7

unread,
Nov 21, 2009, 3:31:31 PM11/21/09
to
Flatcake Albretch Mueller wrote:


Hello flatcake. Trolling aside, what made you take a holiday break
from doofi and his happy and gay 30 day gathering?


> Thanks
> lbrtchx


My Asus EEE has no problems.
My main desktop has no problems.
The other PCs I have around the house has no problems.
My work PC has no problems.

It must be your specific hardware.

If I were you, I'd make sure your hardware is supported by Linux by
searching for HCL (Hardware Compatibility List) and googling
for specific hardware functions that are supported by Linux.

Micoshaft doesn't write drivers to support appil products,
neither does appil to support micoshaft products.

Linux however does support both hardware but obviously you need to
check the status of current drivers before buying any
specific product.

It helps everyone if you choose a Linux friendly vendor
like Samsung, Asus or Acer to make sure your
hardware is supported. They can sell more hardware that
way and you will get companies more committed to hardware that
sells because Linux supports it.


JEDIDIAH

unread,
Nov 21, 2009, 3:27:54 PM11/21/09
to

...perhaps this fellow should actually mention what hardware he has trouble with.

--
Apple: because TRANS.TBL is an mp3 file. It really is! |||
/ | \

Lusotec

unread,
Nov 21, 2009, 4:55:28 PM11/21/09
to

Hibernate in GNU/Linux is called suspend to disk (S2DISK). GNU/Linux

support for S2DISK is hardware and firmware dependent (same for Windows) and

works for some hardware/firmware but not others.

felmon

unread,
Nov 21, 2009, 10:44:09 PM11/21/09
to
On Sat, 21 Nov 2009 11:33:56 -0500, Jelly Bean wrote:

> I'm not having any problems here with hibernate or suspend on 3
> different notebooks. Ubuntu 9.10 worked from a fresh install and Fedora
> 11 did as well. The hardware is Lenovo T400, Thinkpad T43, Gateway Core
> Duo, don't remember the model. All I did was install Linux and
> everything worked with no troubles. What hardware do you have? JB.

when I hibernate my HP Pavillion dv2000 laptop (kind of old), with Debian
Lenny, I have a little fussing to do to get the network back when it
comes out of hibernation. I have to do some random hits on wicd and
dhclient before it gets ip. maybe a router issue?

sometimes though it seems I have to assign an ip address in order to get
other routers to give me a route.

it would be grand if there were no problems at all but once I know the
tricks, it's minor frustration.

wish there were a real solution though.

Felmon

Jelly Bean

unread,
Nov 22, 2009, 12:54:45 AM11/22/09
to

I'm assuming this is wireless? What if you assign a fixed ip address to the
laptop?
Also, I had a similar problem with an older laptop and older version of
suse. I had to stop networking before suspend, and restart it afterwards.
I set up a script to do it. A bit of a pain but it worked.
Is there any setting in the wireless setup to preserve settings or
something similar?
I know under Windows 7 if I suspend, sometimes when I resume I have a
different ip address, but it is transparent and works. Doesn't happen all
the time though. I have a Cisco router.

Albretch Mueller

unread,
Nov 22, 2009, 1:17:06 AM11/22/09
to

"7 enemygadgets.com"

I don't exactly know what you call "trolling" or if I should pay
attention to your "gay" elaborations/projections and stuff, but I am
answering in this public forum in a general way:

> It must be your specific hardware.

Right now I am using a shuttle mini box I could get my hands on and
you are right I could have "bought" some Linux friendly hardware
vendor. I think it does not make any sense to obfuscate on the details
of my hardware

lbrtchx

felmon

unread,
Nov 22, 2009, 3:56:26 AM11/22/09
to
On Sun, 22 Nov 2009 00:54:45 -0500, Jelly Bean wrote:

> On Sat, 21 Nov 2009 21:44:09 -0600, felmon wrote:
>
>> On Sat, 21 Nov 2009 11:33:56 -0500, Jelly Bean wrote:
>>
>>> I'm not having any problems here with hibernate or suspend on 3
>>> different notebooks. Ubuntu 9.10 worked from a fresh install and
>>> Fedora 11 did as well. The hardware is Lenovo T400, Thinkpad T43,
>>> Gateway Core Duo, don't remember the model. All I did was install
>>> Linux and everything worked with no troubles. What hardware do you
>>> have? JB.
>>
>> when I hibernate my HP Pavillion dv2000 laptop (kind of old), with
>> Debian Lenny, I have a little fussing to do to get the network back
>> when it comes out of hibernation. I have to do some random hits on wicd
>> and dhclient before it gets ip. maybe a router issue?
>>
>> sometimes though it seems I have to assign an ip address in order to
>> get other routers to give me a route.
>>
>> it would be grand if there were no problems at all but once I know the
>> tricks, it's minor frustration.
>>
>> wish there were a real solution though.
>>
>> Felmon
>
> I'm assuming this is wireless? What if you assign a fixed ip address to
> the laptop?

yes, wireless. I'll try doing it with a fixed ip and see.

> Also, I had a similar problem with an older laptop and older version of
> suse. I had to stop networking before suspend, and restart it
> afterwards. I set up a script to do it. A bit of a pain but it worked.
> Is there any setting in the wireless setup to preserve settings or
> something similar?

it should be possible to set this up. I'll see if shutting down wifi
before hibernating works. if so, then your suggestion looks like the way
to go.

> I know under Windows 7 if I suspend, sometimes when I resume I have a
> different ip address, but it is transparent and works. Doesn't happen
> all the time though. I have a Cisco router.

I no longer have Windows on this machine and can't recall if the problem
occurred there. my spouse visits with her XP machine and it seems to
suspend and waken fine with no connection problem. I don't know if her
machine goes completely "asleep" - power out.

I have some kind of Belkin.

great tips, thanks!

Felmon

7

unread,
Nov 22, 2009, 6:47:41 AM11/22/09
to
Flatcake Albretch Mueller wrote:

Of course you were - you just happen to be trolling at the same time?



>> It must be your specific hardware.
>
> Right now I am using a shuttle mini box

So you are now trolling against shuttle and their Linux supported mini?


> I could get my hands on and
> you are right I could have "bought" some Linux friendly hardware
> vendor. I think it does not make any sense to obfuscate on the details
> of my hardware

You don't? What in a linux hardware newsgroup?

pfft!

Shuttle has support for Linux and you should use it instead of
ranting generally in public forums. If you were a employee of mine
wasting time like this, I would have no hesitation to sack you
because you are a waste of space.


> lbrtchx


Lusotec

unread,
Nov 22, 2009, 7:40:17 AM11/22/09
to

Hibernate in GNU/Linux is called suspend to disk (S2DISK). GNU/Linux support

for S2DISK is hardware and firmware dependent (same for Windows) and works

for some hardware/firmware but not other.

0 new messages