public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Hibernate
@ 2006-04-12 12:50 Cleaveland, AJ Allan @ IS
  2006-04-13  1:30 ` Hibernate Shaohua Li
  2006-04-13 11:26 ` Hibernate Nigel Cunningham
  0 siblings, 2 replies; 12+ messages in thread
From: Cleaveland, AJ Allan @ IS @ 2006-04-12 12:50 UTC (permalink / raw)
  To: linux-acpi

I'm trying to get hibernate to work on CentOS 4.  What I really want to do
is use hibernate to start-up the machine every time.  To do this I would
create an "image" to come out of hibernate with and set the machine to
always think it's coming out of hibernate, no matter how it was actually
shut down.  It would always use my "image", even if it was placed in
hibernate when it shut down.  Without rewriting other people's code does
anyone know of a way to do this?
 
Thank you,
Allan

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: Hibernate
@ 2006-04-13 13:19 Cleaveland, AJ Allan @ IS
  0 siblings, 0 replies; 12+ messages in thread
From: Cleaveland, AJ Allan @ IS @ 2006-04-13 13:19 UTC (permalink / raw)
  To: 'Shaohua Li'; +Cc: linux-acpi

Shaohua,

     I will look into that.  Thank you.

Sincerely,
Allan

-----Original Message-----
From: Shaohua Li [mailto:shaohua.li@intel.com] 
Sent: Wednesday, April 12, 2006 8:30 PM
To: Cleaveland, AJ Allan @ IS
Cc: linux-acpi@vger.kernel.org
Subject: Re: Hibernate


On Wed, 2006-04-12 at 20:50 +0800, Cleaveland, AJ Allan @ IS wrote:
> I'm trying to get hibernate to work on CentOS 4.  What I really want 
> to do is use hibernate to start-up the machine every time.  To do this 
> I would
> create an "image" to come out of hibernate with and set the machine
> to 
> always think it's coming out of hibernate, no matter how it was
> actually 
> shut down.  It would always use my "image", even if it was placed in 
> hibernate when it shut down.  Without rewriting other people's code
> does 
> anyone know of a way to do this? 
The resume from initrd might be good for you.

Thanks,
Shaohua

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: Hibernate
@ 2006-04-13 13:19 Cleaveland, AJ Allan @ IS
  2006-04-13 21:15 ` Hibernate Nigel Cunningham
  0 siblings, 1 reply; 12+ messages in thread
From: Cleaveland, AJ Allan @ IS @ 2006-04-13 13:19 UTC (permalink / raw)
  To: 'Nigel Cunningham'; +Cc: linux-acpi

Nigel,

    Thank you for the suggestion.  I will look into it.  It sounds like it
might work, though since this is likely to be used by us in a variety of
settings, it may also be too restrictive for some of our uses.

Allan

-----Original Message-----
From: Nigel Cunningham [mailto:ncunningham@cyclades.com] 
Sent: Thursday, April 13, 2006 6:27 AM
To: Allan.J.Cleaveland@L-3Com.com
Cc: linux-acpi@vger.kernel.org
Subject: Re: Hibernate


Hi Allan.

On Wednesday 12 April 2006 22:50, Cleaveland, AJ Allan @ IS wrote:
> I'm trying to get hibernate to work on CentOS 4.  What I really want 
> to do is use hibernate to start-up the machine every time.  To do this 
> I would create an "image" to come out of hibernate with and set the 
> machine to always think it's coming out of hibernate, no matter how it 
> was actually shut down.  It would always use my "image", even if it 
> was placed in hibernate when it shut down.  Without rewriting other 
> people's code does anyone know of a way to do this?
>
> Thank you,
> Allan

I'm not sure I understand what you're saying correctly, but it sounds to me 
like you want something like the KeepImage feature in Suspend2. This feature

lets you suspend once, and subsequently simply powerdown rather than 
rewriting the image. To use this mode reliably, any filesystems mounted when

the image is created have to be immutable. This is because the image will 
include information about the filesystems such as superblocks, inodes, 
dentries and so on, and these data structures must match the data on disk.

On resume, you can mount other filesystems (and unmount them prior to
powering 
down again), so it is possible to save state.

Is that the sort of thing you're after? If not, could you give further 
details?

Regards,

Nigel

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: hibernate
@ 2002-11-05 22:36 Grover, Andrew
  0 siblings, 0 replies; 12+ messages in thread
From: Grover, Andrew @ 2002-11-05 22:36 UTC (permalink / raw)
  To: 'Chris Howells'; +Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A

> From: Chris Howells [mailto:chris-NvB7AskkBIqIudiWw5vspbVCufUGDwFn@public.gmane.org] 
> On Monday 04 November 2002 2:02 pm, Robert Woerle wrote:
> > btw hibernate is S4 ! S3 is the standby ( suspend to ram )
> Could somebody please explain what S1 and S2 are as well?

>From ACPI 2.0a spec section 2.4:

S1 Sleeping State
The S1 sleeping state is a low wake latency sleeping state. In this state,
no system context is lost (CPU or chip set) and hardware maintains all
system context.

S2 Sleeping State
The S2 sleeping state is a low wake latency sleeping state. This state is
similar to the S1 sleeping state except that the CPU and system cache
context is lost (the OS is responsible for maintaining the caches and CPU
context). Control starts from the processor's reset vector after the wake
event.

(no one uses S2, since it is so similar to S3)

Regards -- Andy


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en

^ permalink raw reply	[flat|nested] 12+ messages in thread
* hibernate
@ 2002-11-04 13:37 Andrea Mennucc
  2002-11-04 14:02 ` hibernate Robert Woerle
  0 siblings, 1 reply; 12+ messages in thread
From: Andrea Mennucc @ 2002-11-04 13:37 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


hi

I would like to hibernate my Asus notebook

I use Debian 3.0

I have compiled kernel-image 2.4.19 with acpi patches 
acpi-20020821-2.4.19.diff.gz

I have tried 
$ echo S3 > /proc/acpi/sleep
or
$ echo 3 > /proc/acpi/sleep
(which I have seen in a e-mail somewhere) but to no effect


what else should I do? can someone point me to relevant information?

ps:  have seen today that there are more recent patches; I will compile
 them and try them


thanks

a.


-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Tonino Carotone)


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-04-14  4:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-12 12:50 Hibernate Cleaveland, AJ Allan @ IS
2006-04-13  1:30 ` Hibernate Shaohua Li
2006-04-13 11:26 ` Hibernate Nigel Cunningham
2006-04-14  2:56   ` Hibernate Shaohua Li
2006-04-14  4:31     ` Hibernate Nigel Cunningham
  -- strict thread matches above, loose matches on Subject: below --
2006-04-13 13:19 Hibernate Cleaveland, AJ Allan @ IS
2006-04-13 13:19 Hibernate Cleaveland, AJ Allan @ IS
2006-04-13 21:15 ` Hibernate Nigel Cunningham
2002-11-05 22:36 hibernate Grover, Andrew
2002-11-04 13:37 hibernate Andrea Mennucc
2002-11-04 14:02 ` hibernate Robert Woerle
     [not found]   ` <3DC67E0F.5010408-y2s3ugBAdl9BDgjK7y7TUQ@public.gmane.org>
2002-11-05  1:23     ` hibernate Chris Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox